2003-01-28 Andrew Cagney <ac131313@redhat.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
1ae18a04
AC
12003-01-28 Andrew Cagney <ac131313@redhat.com>
2
3 * complaints.c (complain): Delete function.
4 * complaints.h (struct deprecated_complaint): Delete definition.
5 (complain): Delete declaration.
6
f2c16bd6
KB
72003-01-28 Kevin Buettner <kevinb@redhat.com>
8
9 * mips-tdep.c (mips_init_extra_frame_info): Return early for
10 dummy frames.
11
a94dd1fd
AC
122003-01-27 Andrew Cagney <ac131313@redhat.com>
13
14 * sentinel-frame.h, sentinel-frame.c: New files.
15 * Makefile.in (frame.o): Update dependencies.
16 (SFILES): Add sentinel-frame.c.
17 (sentinel_frame_h): Define.
18 (COMMON_OBS): Add sentinel-frame.o.
19 (sentinel-frame.o): Specify dependencies.
20 * frame.c: Include "sentinel-frame.h".
21 (frame_register_unwind): Rewrite assuming that there is always a a
22 ->next frame.
23 (frame_register, generic_unwind_get_saved_register): Ditto.
24 (frame_read_unsigned_register, frame_read_signed_register): Ditto.
25 (create_sentinel_frame, unwind_to_current_frame): New functions.
26 (get_current_frame): Rewrite using create_sentinel_frame and
27 unwind_to_current_frame. When possible, always create a frame.
28 (create_new_frame): Set next to the sentinel frame.
29 (get_next_frame): Rewrite. Don't go below the level 0 frame.
30 (deprecated_update_frame_pc_hack): Update the next frame's PC and
31 ID cache when necessary.
32 (frame_saved_regs_id_unwind): Use frame_relative_level.
33 (deprecated_generic_get_saved_register): Use frame_relative_level,
34 get_frame_saved_regs, get_frame_pc, get_frame_base and
35 get_next_frame.
36 (frame_saved_regs_register_unwind): Use get_frame_saved_regs and
37 frame_register.
38
5378adc4
DJ
392003-01-27 Daniel Jacobowitz <drow@mvista.com>
40
41 * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments.
42
51ee2ddc
DJ
432003-01-27 Daniel Jacobowitz <drow@mvista.com>
44
45 * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
46 (maintenance_set_profile_cmd): Use error () instead of warning ().
47
d9feb4e7
DJ
482003-01-27 Daniel Jacobowitz <drow@mvista.com>
49
50 * configure.in: Check that -pg works if using --enable-profiling.
51 Check for monstartup and _mcleanup regardless of --enable-profiling.
52 * maint.c: Check for monstartup and _mcleanup before using them.
53 * config.in: Regenerated.
54 * configure: Regenerated.
55
cb3c37b2
JB
562003-01-23 Jim Blandy <jimb@redhat.com>
57
58 * symfile.c (syms_from_objfile): Don't print the "(no debugging
59 symbols found)" message here; we haven't checked for a separate
60 debug info file yet, so we don't know yet.
61 (symbol_file_add_with_addrs_or_offsets): Print it here, after
62 we've looked everywhere. Also, there's no need to print a special
63 message when we're loading the separate debug info file: the one
64 symbol_file_add prints is fine.
65
5b5d99cf
JB
662003-01-23 Alexander Larsson <alexl@redhat.com>
67 Jim Blandy <jimb@redhat.com>
68
69 Add support for executables whose debug info has been separated
70 out into a separate file, leaving only a link behind.
71 * objfiles.h (struct objfile): New fields: separate_debug_objfile
72 and separate_debug_objfile_backlink.
73 (put_objfile_before): New declaration.
74 * symfile.c: #include "filenames.h".
75 (symbol_file_add_with_addrs_or_offsets): If this objfile has its
76 debug info in a separate file, read that, too. Save the addrs
77 argument, so we can use it again to read the separated debug info;
78 syms_from_objfile modifies the table we pass it.
79 (reread_symbols): After re-reading an objfile, call
80 reread_separate_symbols to refresh its separate debug info
81 objfile, if it has one.
82 (reread_separate_symbols, find_separate_debug_file,
83 get_debug_link_info, separate_debug_file_exists): New functions.
84 (debug_file_directory): New global var.
85 (_initialize_symfile): Initialize debug_file_directory, and
86 provide the new `set debug-file-directory' command to let the user
87 change it.
88 * objfiles.c (free_objfile): If this objfile has its debug info in
89 a separate objfile, free that one too. If this is itself a
90 separate debug info objfile, clear our parent's backlink.
91 (put_objfile_before): New function.
92 * utils.c (gnu_debuglink_crc32): New function.
93 * defs.h (gnu_debuglink_crc32): New declaration.
94 * Makefile.in (symfile.o): Note dependency on "filenames.h".
95 * configure.in: Handle --with-separate-debug-dir config option.
96 * acinclude.m4 (AC_DEFINE_DIR): New macro.
97 * acconfig.h (DEBUGDIR): New macro.
98 * configure, aclocal.m4, config.in: Regenerated.
99
7e8580c1
JB
1002003-01-22 Jim Blandy <jimb@redhat.com>
101
7904e09f
JB
102 * symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
103 like the old symbol_file_add, but taking new arguments: you can
104 now pass in either a `struct section_addr_info' list to say where
105 each section is loaded, or a `struct section_offsets' table. Pass
106 these new arguments through to syms_from_objfile as appropriate.
107 (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets,
108 with the appropriate quiescent values for the new arguments.
109
7e8580c1
JB
110 * symfile.c: #include "gdb_assert.h".
111 (syms_from_objfile): Add the ability to pass in a section offset
112 table directly, as an alternative to the section_addr_info table.
113 Document arguments better.
114 (symbol_file_add): Pass extra arguments to syms_from_objfile.
115 * symfile.h (syms_from_objfile): Update declaration.
116 * rs6000-nat.c (objfile_symbol_add): Pass new arguments to
117 syms_from_objfile.
118 * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
119
d28f9cdf
DJ
1202003-01-22 Daniel Jacobowitz <drow@mvista.com>
121
122 Original patch by Tom Tromey <tromey@cygnus.com> and
123 Jason Molenda <jmolenda@apple.com>.
124 * Makefile.in (PROFILE_CFLAGS): Substitute from configure.
125 (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS.
126 * NEWS: Mention profiling.
127 * configure.in (--enable-gdbtk): Fix typo.
128 (--enable-profiling): New. Set PROFILE_CFLAGS.
129 * maint.c (maintenance_set_profile_cmd): Remove NOTYET.
130 Fill in function.
131 (profiling_state): New variable.
132 (mcleanup_wrapper): New function.
133 (_initialize_maint): Remove NOTYET, fix call to
134 add_setshow_boolean_cmd for "maint set profile".
135 * configure: Regenerated.
136
df21e465
MH
1372003-01-21 Martin M. Hunt <hunt@redhat.com>
138
139 * Makefile.in (install-gdbtk): Install PNG images too.
140
73c1f219
AC
1412003-01-21 Andrew Cagney <ac131313@redhat.com>
142
143 * exec.c (text_start): Delete global variable.
144 (exec_file_attach): Make text_start local to the function.
145 * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros.
146 * valops.c (hand_function_call): Delete code that handles
147 BEFORE_TEXT_END and AFTER_TEXT_END.
148 * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead
149 of CALL_DUMMY_LOCATION.
150 * gdbarch.c: Regenerate.
151 * inferior.h (deprecated_pc_in_call_dummy_before_text_end)
152 (deprecated_pc_in_call_dummy_after_text_end): Delete declaration.
153 * blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
154 (deprecated_pc_in_call_dummy_after_text_end): Delete functions.
155 (text_end): Delete extern declaration.
156
eb4f72c5
AC
1572003-01-21 Andrew Cagney <ac131313@redhat.com>
158
159 * frame.h (FRAME_OBSTACK_ZALLOC): Define.
160 * blockframe.c (backtrace_below_main): Move to "frame.c".
161 (frame_chain_valid): Delete check for backtrace_below_main.
162 (_initialize_blockframe): Delete initialization, move ``set
163 backtrace-below-main'' command to "frame.c".
164 (do_flush_frames_sfunc): Delete function.
165 * frame.c: Include "command.h" and "gdbcmd.h".
166 (frame_type_from_pc): New function.
167 (create_new_frame): Use frame_type_from_pc.
168 (legacy_get_prev_frame): New function.
169 (get_prev_frame): Rewrite. When an old style frame, call
170 legacy_get_prev_frame. Otherwize, unwind the PC first.
171 (_initialize_frame): Add ``set backtrace-below-main'' command.
172 * Makefile.in (frame.o): Update dependencies.
173
778ce8cc
AC
1742003-01-19 Andrew Cagney <ac131313@redhat.com>
175
176 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename
177 DEPRECATED_REGISTERS_INFO.
178
01c193c8
AC
1792003-01-19 Andrew Cagney <ac131313@redhat.com>
180
181 * MAINTAINERS: Replace `Blanket Write Privs' with `Global
182 Maintainers'. Update `Various Maintainers'.
183
dedc2a2b
AC
1842003-01-19 Andrew Cagney <ac131313@redhat.com>
185
186 * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
187 * gdbarch.sh (POP_FRAME): Change to function with predicate.
188 Suppress actual parameters when `-'.
189 * gdbarch.h, gdbarch.c: Regenerate.
190
b7261c70
AC
1912003-01-19 Andrew Cagney <ac131313@redhat.com>
192
193 * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore
194 code handling dummy frames.
195
dbe9fe58
AC
1962003-01-19 Andrew Cagney <ac131313@redhat.com>
197
198 * frame-unwind.h (frame_unwind_pop_ftype): Declare.
199 (struct frame_unwind): Add field pop.
200 * frame.h (frame_pop): Declare.
201 * frame.c (frame_saved_regs_pop): New function.
202 (trad_frame_unwinder): Add frame_saved_regs_pop.
203 (frame_pop): New function.
204 * dummy-frame.c (dummy_frame_pop): New function.
205 (discard_innermost_dummy): New function.
206 (generic_pop_dummy_frame): Use discard_innermost_dummy.
207 (dummy_frame_unwind): Add dummy_frame_pop.
208 * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
209 * valops.c (hand_function_call): Ditto.
210 * stack.c (return_command): Ditto.
211
570b8f7c
AC
2122003-01-18 Andrew Cagney <ac131313@redhat.com>
213
214 * cris-tdep.c: Fix function declaration indentation.
215 * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
216 * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
217 * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
218 * symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
219 * xcoffread.c, config/pa/tm-hppa.h: Ditto.
220 * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
221
2222003-01-18 Michael Chastain <mec@shout.net>
eaec4d85
MC
223
224 * README (Unpacking and Installation -- quick overview):
225 Warn against ".../gdb-5.3/gdb/configure".
226
494cca16
AC
2272003-01-18 Andrew Cagney <ac131313@redhat.com>
228
229 * dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
230 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
231 (struct frame_unwind): Declare opaque.
232 (dummy_frame_p): Declare function.
233 * dummy-frame.c (dummy_frame_id_unwind): Make static.
234 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
235 * dummy-frame.c: Include "frame-unwind.h".
236 (dummy_frame_p): New function.
237 (dummy_frame_unwind): New variable.
238 * frame.c: Include "frame-unwind.h".
239 (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
240 to use the new unwind field.
241 (set_unwind_by_pc): Delete function.
242 (create_new_frame, get_prev_frame): Set unwind field using
243 frame_unwind_find_by_pc.
244 (trad_frame_unwind, trad_frame_unwinder): New variables.
245 * frame.h (trad_frame_unwind): Declare variable.
246 (frame_id_unwind_ftype): Delete declaration.
247 (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
248 (struct frame_unwind): Declare opaque.
249 (struct frame_info): Replace the fields id_unwind, pc_unwind and
250 register_unwind with a single unwind pointer.
251 * frame-unwind.h, frame-unwind.c: New files.
252 * Makefile.in (SFILES): Add frame-unwind.c.
253 (frame_unwind_h): Define.
254 (COMMON_OBS): Add frame-unwind.o.
255 (frame-unwind.o): Specify dependencies.
256 (frame.o, dummy-frame.o): Update dependencies.
257
4efb68b1
AC
2582003-01-18 Andrew Cagney <ac131313@redhat.com>
259
260 * ada-valprint.c: Eliminate PTR.
261 * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
262 * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
263 * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
264 * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
265 * remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
266 * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
267 * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
268
a84d24ee
AC
2692003-01-17 Andrew Cagney <ac131313@redhat.com>
270
762f08a3
AC
271 * main.c (captured_main): Don't use PTR.
272 * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp.
273 * gdbtypes.c (lookup_primitive_typename): Ditto.
274 (lookup_struct_elt_type): Ditto.
275 * f-valprint.c (info_common_command): Ditto.
276 (list_all_visible_commons): Ditto.
277 * jv-typeprint.c (java_type_print_base): Ditto.
278
a84d24ee
AC
279 * config/djgpp/fnchange.lst: Rename mi1-var-block.exp,
280 mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp.
281 Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename
282 i386-interix-nat.c and i386-interix-tdep.c. Rename
283 m68klinux-nat.c and m68klinux-tdep.c. Rename
284 config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename
285 bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename
286 gdb/objc-exp.tab.c and gdb/ada-exp.tab.c
287 * main.c (captured_main): Use xfree, not free.
288
c170fb60
AC
2892003-01-16 Andrew Cagney <ac131313@redhat.com>
290
291 * frame.h (frame_id_unwind_ftype): Change type so that the frame's
292 ID back using a parameter.
293 * frame.c (frame_id_unwind): Update call.
294 (frame_saved_regs_id_unwind): Update.
295 * dummy-frame.c (dummy_frame_id_unwind): Update function.
296 * dummy-frame.h (struct frame_id): Add opaque declaration.
297 (dummy_frame_id_unwind): Update declaration.
298
867f3898
AC
2992003-01-15 Andrew Cagney <ac131313@redhat.com>
300
301 * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.
302
40622be8 3032003-01-15 Stephen P. Smith <ischis2@cox.net>
de3a8c23 304
40622be8 305 * MAINTAINERS (Stephen P. Smith): Updated email address.
de3a8c23 306
ae66c1fc
EZ
3072003-01-14 Elena Zannoni <ezannoni@redhat.com>
308
309 * breakpoint.c (until_break_command): Add new argument. Use it to
310 decide whether to stop only at the current frame or not.
311 * breakpoint.h (until_break_command): Update prototype.
312 * infcmd.c (until_command): Add new argument to until_break_command
313 call.
314 (advance_command): New function.
315 (_initialize_infcmd): Update help string for 'until' command.
316 Add new 'advance' command.
317
a04257e6
DC
3182003-01-14 David Carlton <carlton@math.stanford.edu>
319
320 * linespec.c (decode_line_1): Normalize comments.
321 (set_flags): Ditto.
322 (locate_first_half): Ditto.
323 (decode_compound): Ditto.
324 (symtab_from_filename): Ditto.
325 (decode_all_digits): Ditto.
326 (decode_dollar): Ditto.
327 (find_methods): Ditto.
328 (find_toplevel_char): Ditto.
329
1bac305b
AC
3302003-01-13 Andrew Cagney <ac131313@redhat.com>
331
332 * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright.
333 * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright.
334 * elfread.c, eval.c, expprint.c, expression.h: Update copyright.
335 * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright.
336 * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright.
337 * language.c, language.h, m32r-tdep.c: Update copyright.
338 * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright.
339 * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright.
340 * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright.
341 * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright.
342 * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright.
343 * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright.
344
25caa7a8
EZ
3452003-01-13 Elena Zannoni <ezannoni@redhat.com>
346
347 * stabsread.h (process_later, resolve_cfront_continuation):
348 Obsolete.
349 Update copyright years.
350 * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront.
351 Update copyright year.
352 * dbxread.c(struct cont_elem): Obsolete.
353 (process_later, process_now): Obsolete functions.
354 (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support.
355 Update copyright year.
356 * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros.
357 (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions.
358 * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront.
359 (parse_partial_symbols): Obsolete cfront support.
360 * stabsread.c
361 (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete
362 macros.
363 (get_substring, get_cfront_method_physname, msg_unknown_complaint,
364 read_cfront_baseclasses, read_cfront_member_functions,
365 resolve_cfront_continuation,read_cfront_static_fields,
366 copy_cfront_struct_fields): Obsolete functions.
367 (define_symbol, read_one_struct_field): Obsolete cfront support.
368 * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support.
369 Update Copyright year.
370
7789c6f5
EZ
3712003-01-13 Elena Zannoni <ezannoni@redhat.com>
372
373 * stack.c (print_frame_info, print_stack_frame_base_stub,
374 print_stack_frame_base, show_and_print_stack_frame_stub,
375 show_and_print_stack_frame, print_only_stack_frame_stub,
376 print_only_stack_frame): Delete functions.
377 (print_stack_frame_stub): Call print_frame_info instead of
378 print_frame_info_base.
379 (print_frame_info_base): Rename to print_frame_info.
380 (backtrace_command_1): Call print_frame_info, instead of
381 print_frame_info_base.
382 (current_frame_command): Call print_stack_frame, instead of
383 print_only_stack_frame.
384 (frame_command): Call print_stack_frame, instead of
385 show_and_print_stack_frame.
386 (up_command): Ditto.
387 (down_command): Ditto.
388 * frame.h (print_only_stack_frame): Delete prototype.
389 * infrun.c (normal_stop): Call print_stack_frame, instead of
390 show_and_print_stack_frame.
391 * thread.c (info_threads_command): Call print_stack_frame, instead
392 of print_only_stack_frame.
393
3f5a3016
AC
3942003-01-13 Andrew Cagney <ac131313@redhat.com>
395
d99ba314
AC
396 * README (Graphical interface to GDB): Update URL. Point at
397 gdb/links/.
398
3f5a3016
AC
399 * gdb_indent.sh: Update to version 2.2.9. Warn when not exact
400 version match.
401
083ae935
DJ
4022003-01-13 Daniel Jacobowitz <drow@mvista.com>
403
404 * symtab.c (find_pc_sect_line): Don't consider end-of-function
405 lines.
406
5365276c
DJ
4072003-01-13 Daniel Jacobowitz <drow@mvista.com>
408
409 * thread-db.c (attach_thread): Prototype.
410 (struct private_thread_info): Remove lwpid. Add thread handle (th),
411 thread information (ti), and valid flags (th_valid, ti_valid).
412 (attach_thread): Move target_pid_to_str call to after the thread
413 is added to GDB's list. Initialize the cache.
414 (thread_get_info_callback, thread_db_map_id2thr)
415 (thread_db_get_info): New functions.
416 (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers)
417 (thread_db_store_registers, thread_db_thread_alive)
418 (thread_db_get_thread_local_address): Use them.
419 (thread_db_pid_to_str): Likewise. Return "Missing" instead
420 of calling error() for threads in unknown state.
421
422 (clear_lwpid_callback): New function.
423 (thread_db_resume): Use it to clear the cache.
424
9fc30b6b
DJ
4252003-01-13 Daniel Jacobowitz <drow@mvista.com>
426
427 * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
428 (resume_callback): Remove dead code.
429
8f871025
AC
4302003-01-13 Andrew Cagney <ac131313@redhat.com>
431
432 * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
433 predicate.
434 * gdbarch.h, gdbarch.c: Regenerate.
435 * stack.c (frame_info): Only initialize the saved registers when
436 FRAME_INIT_SAVED_REGS_P.
437 * frame.c (frame_saved_regs_register_unwind): Assert
438 FRAME_INIT_SAVED_REGS_P.
439 (deprecated_generic_get_saved_register): Ditto.
440
3f565f1e
DJ
4412003-01-13 Daniel Jacobowitz <drow@mvista.com>
442
443 * source.c (openp): Squelch warning about "filename".
444
072b1022
DJ
4452003-01-13 Daniel Jacobowitz <drow@mvista.com>
446
447 * source.c (openp): If the file does not exist don't necessarily
448 search the path.
449
973ccf8b
DJ
4502003-01-13 Daniel Jacobowitz <drow@mvista.com>
451
452 Fix PR gdb/872.
453 * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN.
454 (integer_types_same_name_p): New function.
455 (rank_one_type): Use it.
456 * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN.
457
030292b7
DJ
4582003-01-13 Daniel Jacobowitz <drow@mvista.com>
459
460 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
461 variables.
462 (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE).
463 * configure.in: Add --with-sysroot.
464 * configure: Regenerated.
465 * main.c (gdb_sysroot): New variable.
466 (captured_main): Initialize gdb_sysroot.
467 * defs.h (gdb_sysroot): New extern declaration.
468 * solib.c (_initialize_solib): Initialize solib_absolute_prefix.
469
afb5d334
MC
4702003-01-12 Michael Chastain <mec@shout.net>
471
472 * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
473
751ceeb4
MC
4742003-01-12 Michael Chastain <mec@shout.net>
475
476 * top.c (print_gdb_version): Bump copyright year to 2003.
477
94cd26f8
DC
4782003-01-12 David Carlton <carlton@bactrian.org>
479
480 * linespec.c (symtab_from_filename): Rename variable 's' to
481 'file_symtab'.
482
1ce79225
AC
4832003-01-12 Andrew Cagney <ac131313@redhat.com>
484
485 * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
486 dummy frame.
487 (d10v_frame_saved_pc, d10v_frame_chain): Ditto.
488
fa1fd571
AC
4892003-01-12 Andrew Cagney <ac131313@redhat.com>
490
491 * d10v-tdep.c: Include "gdb_assert.h".
492 (d10v_store_return_value): Rewrite to match current interface.
493 (d10v_extract_struct_value_address): Ditto.
494 (d10v_extract_return_value): Ditto.
495 (d10v_gdbarch_init): Set store_restore_value,
496 extract_struct_value_address and extract_return_value.
497
68b8d23e
JB
4982003-01-12 J. Brobecker <brobecker@gnat.com>
499
500 * hpread.c (set_namestring): New procedure replacing the
501 SET_NAMESTRING macro.
502 (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
503 by calls to set_namestring.
504
5052003-01-11 J. Brobecker <brobecker@gnat.com>
1fb309ea
JB
506
507 * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
508 a compilation warning.
509 (hpread_process_one_debug_symbol): Likewise.
510
88d262ca
DC
5112003-01-10 David Carlton <carlton@math.stanford.edu>
512
513 * linespec.c (decode_line_1): Rename variable 's' to
514 'file_symtab'.
515 (decode_all_digits): Rename argument 's' to 'file_symtab'.
516 (decode_dollar): Ditto.
517 (decode_variable): Ditto.
518 (symbol_found): Ditto.
519
86669319
MC
5202003-01-09 Michael Chastain <mec@shout.net>
521
522 * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
523
616a9dc4
CV
5242003-01-07 Corinna Vinschen <vinschen@redhat.com>
525
526 * win32-nat.c (set_process_privilege): New function.
527 (child_attach): Call set_process_privilege() to enable the
528 SE_DEBUG_NAME user privilege if available in process token.
529
3269bcfa
JB
5302003-01-10 J. Brobecker <brobecker@gnat.com>
531
532 * hpread.c (hpread_process_one_debug_symbol): Fix a small
533 compilation error in the previous revision.
534
2b0ee454
DC
5352003-01-09 David Carlton <carlton@math.stanford.edu>
536
537 * linespec.c: Update copyright.
538
b3ba1b44
DJ
5392003-01-09 Daniel Jacobowitz <drow@mvista.com>
540
541 * lin-lwp.c (child_wait): Ignore exit statuses for processes other
542 than inferior_ptid.
543 (lin_lwp_wait): Ignore exit statuses for unknown LWPs.
544
4ef3f3be
AC
5452003-01-09 Andrew Cagney <ac131313@redhat.com>
546
479ab5a0
AC
547 * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
548 Update comments.
549 * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
550 (frame_saved_regs_zalloc): Update.
551 (frame_saved_regs_register_unwind): Update.
552 (create_new_frame): Update.
553 (get_prev_frame): Update.
554 (frame_extra_info_zalloc): Update.
555 (deprecated_get_frame_saved_regs): Update.
556 * dwarf2cfi.c (cfi_init_extra_frame_info): Update.
557 * cris-tdep.c: Update comment.
558
bde58177
AC
559 * somsolib.h: Fix function indentation.
560 * disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
561 * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
562 * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
563 * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
564 * somsolib.c, inftarg.c: Remove assignment in if conditional.
565
4ef3f3be
AC
566 * infrun.c (follow_fork): Use ISO C definition.
567 * expprint.c (print_subexp): Use xfree instead of free.
568 * charset.c: Include "gdb_string.h" instead of <string.h>.
569 (register_iconv_charsets): Use ISO C definition.
570 (host_charset, target_charset): Ditto.
571 * Makefile.in (charset.o): Update dependencies.
572 (mi-cmd-env.o): Update dependencies.
573
1c615f7a
AC
5742003-01-08 Andrew Cagney <cagney@redhat.com>
575
576 * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
577 get_frame_base.
578
c9a1dc08
AC
5792003-01-08 Andrew Cagney <ac131313@redhat.com>
580
581 * gdb_mbuild.sh: Add --keep option. When specified, keep the
582 build directories. Save edited gdb output in Mbuild.log. If a
583 build fails, remove any final GDB executable.
584
dbad9d94
AC
5852003-01-08 Andrew Cagney <ac131313@redhat.com>
586
587 * gdb_mbuild.sh: Edit the output of `maint print architecture'
588 replacing hex constants with function names and stripping leading
589 file name directory prefixes.
590
8d357cca
AC
5912003-01-08 Andrew Cagney <cagney@redhat.com>
592
593 * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
594 get_frame_base.
595
bca02a8a
DC
5962003-01-08 David Carlton <carlton@math.stanford.edu>
597
598 * linespec.c (decode_line_1): Move code into decode_variable.
599 (decode_variable): New function.
600
7f8ab3a0
AC
6012003-01-08 Andrew Cagney <ac131313@redhat.com>
602
603 * mn10300-tdep.c (analyze_dummy_frame): Fix typo.
604
7b5849cc
AC
6052003-01-08 Andrew Cagney <cagney@redhat.com>
606
607 * cris-tdep.c (cris_frame_init_saved_regs): Use
608 get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
609 saved_regs buffer.
610 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
611 (sh64_nofp_frame_init_saved_regs): Ditto.
612 (sh_fp_frame_init_saved_regs): Ditto.
613 * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
614 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
615 * mcore-tdep.c (analyze_dummy_frame): Ditto.
616 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
617
72a5efb3
DJ
6182003-01-08 Daniel Jacobowitz <drow@mvista.com>
619
620 * minsyms.c (lookup_minimal_symbol): Update comment.
621 (lookup_minimal_symbol_text): Update comment. Use the hash table.
622 (lookup_minimal_symbol_solib_trampoline): Likewise.
623
11c02a10
AC
6242003-01-08 Andrew Cagney <cagney@redhat.com>
625
aab3ea25
AC
626 * d10v-tdep.c (d10v_init_extra_frame_info): Use
627 frame_relative_level.
628
da50a4b7
AC
629 * alpha-tdep.c: Use get_frame_extra_info.
630 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
631 * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
632 * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
633 * sparc-tdep.c, xstormy16-tdep.c: Ditto.
634
11c02a10
AC
635 * alpha-tdep.c: Use get_next_frame.
636 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
637 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
638 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
639 * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
640 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
641 * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
642 * xstormy16-tdep.c: Ditto.
643
1e2330ba
AC
6442003-01-07 Andrew Cagney <cagney@redhat.com>
645
646 * alpha-tdep.c: Use get_frame_base.
647 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
648 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
649 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
650 * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
651 * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
652 * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
653 * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
654 * config/sparc/tm-sparc.h: Ditto.
655
2d75187b
AC
6562003-01-07 Andrew Cagney <cagney@redhat.com>
657
658 * frame.c (deprecated_get_frame_context): New function.
659 (deprecated_set_frame_context): New function.
660 * frame.h (deprecated_get_frame_context): Declare.
661 (deprecated_set_frame_context): Declare.
662 * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
663 (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
664
483d36b2
AC
6652003-01-07 Andrew Cagney <cagney@redhat.com>
666
667 * frame.c (deprecated_set_frame_next_hack): New function.
668 (deprecated_set_frame_prev_hack): New function.
669 * frame.h (deprecated_set_frame_next_hack): Declare.
670 (deprecated_set_frame_prev_hack): Declare.
671 * mcore-tdep.c (analyze_dummy_frame): Use
672 deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
673 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
674
14e91ac5
DC
6752003-01-07 David Carlton <carlton@math.stanford.edu>
676
677 * linespec.c (decode_line_1): Move code into decode_dollar.
678 (decode_dollar): New function.
679
b0c6b05c
AC
6802003-01-07 Andrew Cagney <cagney@redhat.com>
681
682 * arm-tdep.c (arm_init_extra_frame_info): Use
683 deprecated_update_frame_base_hack.
684 * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto.
685 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
686 (fix_frame_pointer): Ditto.
687 (mn10300_analyze_prologue): Ditto.
688
a00a19e9
AC
6892003-01-07 Andrew Cagney <cagney@redhat.com>
690
691 * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
692 extra_info using frame_extra_info_zalloc.
693 * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
694 * sh-tdep.c (sh_init_extra_frame_info): Ditto.
695 (sh64_init_extra_frame_info): Ditto.
696 * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
697 * s390-tdep.c (s390_init_extra_frame_info): Ditto.
698 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
699 * mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
700 * frv-tdep.c (frv_init_extra_frame_info): Ditto.
701 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
702 * ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
703 * h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
704 * d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
705 * cris-tdep.c (cris_init_extra_frame_info): Ditto.
706 * arm-tdep.c (arm_init_extra_frame_info): Ditto.
707 * alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
708
709 * mn10300-tdep.c (analyze_dummy_frame): Use
710 deprecated_set_frame_extra_info_hack.
711 * mcore-tdep.c (analyze_dummy_frame): Ditto.
712
1fb4c65b
JB
7132003-01-07 J. Brobecker <brobecker@gnat.com>
714
715 * mdebugread.c (parse_symbol): Skip stProc entries which storage
716 class is not scText. These do not define "real" procedures.
717 (parse_partial_symbols): Likewise.
718
9fe7d6bf
MS
7192003-01-06 Michael Snyder <msnyder@redhat.com>
720
721 * lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
722
f6c609c4
AC
7232003-01-06 Andrew Cagney <ac131313@redhat.com>
724
725 * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
726 * frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
727 * arm-tdep.c (arm_frame_chain): Allocate caller_fi using
728 deprecated_frame_xmalloc_with_cleanup.
729 * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
730 deprecated_frame_xmalloc.
731 * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
732 * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
733
d995ff4b
AC
7342003-01-06 Andrew Cagney <cagney@redhat.com>
735
84dc46cb
AC
736 * x86-64-linux-tdep.c: Include "osabi.h".
737 * Makefile.in (x86-64-linux-tdep.o): Update dependencies.
738
d995ff4b
AC
739 * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
740
66140c26
AC
7412003-01-06 Andrew Cagney <cagney@redhat.com>
742
743 * MAINTAINERS (Target Instruction Set Architectures): Update
744 arm-elf. Can be built with -Werror, has been multiarched.
745
746 * value.h (unpack_long): Make buffer parameter constant.
747 (unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
748 * scm-lang.h (scm_parse): Ditto.
749 * defs.h (extract_typed_address, extract_address): Ditto.
750 (extract_long_unsigned_integer): Ditto.
751 * inferior.h (unsigned_pointer_to_address): Ditto.
752 (signed_pointer_to_address): Ditto.
753 * gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
754 * gdbarch.h, gdbarch.c: Regenerate.
755 * findvar.c (extract_long_unsigned_integer): Update.
756 (extract_address): Update.
757 (extract_typed_address): Update.
758 (unsigned_pointer_to_address): Update.
759 * values.c (unpack_long): Update.
760 (unpack_double): Update.
761 (unpack_pointer): Update.
762 (unpack_field_as_long): Update.
763 * d10v-tdep.c (d10v_pointer_to_address): Update.
764 * avr-tdep.c (avr_pointer_to_address): Update.
765 * scm-lang.c (scm_unpack): Update.
766 * findvar.c (signed_pointer_to_address): Update.
767
b089b3da
ML
7682003-01-06 Michal Ludvig <mludvig@suse.cz>
769
770 * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore
771 since it is in i386-tdep.c.
772
aff87235
JB
7732003-01-06 J. Brobecker <brobecker@gnat.com>
774
775 * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
776 failure introduced in the previous change.
777
34f5e845
MC
7782003-01-05 Michael Chastain <mec@shout.net>
779
780 * README: Remove references to deleted remote-*.c files:
781 remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
782 remote-nrom.c, remote-os9k.c, remote-udi.c.
783
28bcfd30
MK
7842003-01-05 Mark Kettenis <kettenis@gnu.org>
785
786 * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
787 * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
788 i386_get_longjmp_target.
789
15a5b3ee
AC
7902003-01-05 Andrew Cagney <ac131313@redhat.com>
791
792 * arm-tdep.c (prologue_cache): Change to a pointer.
793 (_initialize_arm_tdep): Allocate prologue_cache.
794 (check_prologue_cache): Update.
795 (save_prologue_cache): Update.
796 (arm_gdbarch_init): Update.
797
c263362b
DJ
7982003-01-04 Daniel Jacobowitz <drow@mvista.com>
799
800 * stabsread.c (update_method_name_from_physname): Call complaint()
801 instead of error.
802
51603483
DJ
8032003-01-04 Daniel Jacobowitz <drow@mvista.com>
804
805 * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
806 * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
807 * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
808
809 * blockframe.c: Include "gdbcmd.h" and "command.h".
810 (backtrace_below_main): New variable.
811 (file_frame_chain_valid, func_frame_chain_valid)
812 (nonnull_frame_chain_valid, generic_file_frame_chain_valid)
813 (generic_func_frame_chain_valid): Remove functions.
814 (frame_chain_valid, do_flush_frames_sfunc): New functions.
815 (_initialize_blockframe): New function.
816 * Makefile.in (blockframe.o): Update dependencies.
817 * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
818 comment. Call frame_chain_valid ().
819 * frame.h: Remove old prototypes. Add prototype for
820 frame_chain_valid and update comments to match.
821 * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
822 Remove old comment.
823 * gdbarch.h: Regenerated.
824 * gdbarch.c: Regenerated.
825
826 * alpha-tdep.c (alpha_gdbarch_init): Don't call
827 set_gdbarch_frame_chain_valid.
828 * avr-tdep.c (avr_gdbarch_init): Likewise.
829 * cris-tdep.c (cris_gdbarch_init): Likewise.
830 * frv-tdep.c (frv_gdbarch_init): Likewise.
831 * h8300-tdep.c (h8300_gdbarch_init): Likewise.
832 * i386-tdep.c (i386_svr4_init_abi): Likewise.
833 (i386_nw_init_abi): Likewise.
834 (i386_gdbarch_init): Likewise.
835 * ia64-tdep.c (ia64_gdbarch_init): Likewise.
836 * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
837 * m68k-tdep.c (m68k_gdbarch_init): Likewise.
838 * mcore-tdep.c (mcore_gdbarch_init): Likewise.
839 * mips-tdep.c (mips_gdbarch_init): Likewise.
840 * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
841 * ns32k-tdep.c (ns32k_gdbarch_init): Likewise.
842 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise.
843 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
844 * s390-tdep.c (s390_gdbarch_init): Likewise.
845 * sh-tdep.c (sh_gdbarch_init): Likewise.
846 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
847 * v850-tdep.c (v850_gdbarch_init): Likewise.
848 * vax-tdep.c (vax_gdbarch_init): Likewise.
849 * x86-64-tdep.c (x86_64_init_abi): Likewise.
850
851 * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define.
852 * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise.
853 * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise.
854 * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise.
855 * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise.
856 * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise.
857 * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise.
858 * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise.
859
b00a8037
DJ
8602002-01-04 Daniel Jacobowitz <drow@mvista.com>
861
862 * Makefile.in (acconfig_h): Remove incorrect macro.
863 (config_h): Define.
864 (osabi.o): Update dependencies.
865 * configure.tgt: Set gdb_osabi based on target triplet.
866 * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
867 * configure: Regenerated.
868 * config.in: Regenerated.
869 * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
870 (GDB_OSABI_DEFAULT): Define if not already defined.
871 (user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
872 (set_osabi_string): New variables.
873 (gdbarch_register_osabi): Add new OS ABI to
874 gdb_osabi_available_names.
875 (gdbarch_lookup_osabi): Honor specified and default OS ABIs.
876 (set_osabi, show_osabi): New functions.
877 (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
878
4be87837
DJ
8792003-01-04 Daniel Jacobowitz <drow@mvista.com>
880
881 * arch-utils.c (gdbarch_info_init): Set osabi to
882 GDB_OSABI_UNINITIALIZED.
883 * gdbarch.sh: Add osabi to struct gdbarch and to struct
884 gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi
885 in gdbarch_list_lookup_by_info and in gdbarch_update_p.
886 * gdbarch.c: Regenerated.
887 * gdbarch.h: Regenerated.
888 * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
889 there's no BFD.
890 (gdbarch_init_osabi): Remove osabi argument; use info.osabi.
891 * osabi.h (enum gdb_osabi): Move to defs.h.
892 (gdbarch_init_osabi): Update prototype.
893 * defs.h (enum gdb_osabi): Moved here.
894 * Makefile.in: Update dependencies.
895
896 * alpha-tdep.h: Don't include "osabi.h".
897 (struct gdbarch_tdep): Remove osabi member.
898 * alpha-tdep.c: Include "osabi.h".
899 (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
900 iterate over arches. Update call to gdbarch_init_osabi.
901 (alpha_dump_tdep): Don't dump osabi.
902 * alpha-linux-tdep.c: Include "osabi.h".
903 * alpha-osf1-tdep.c: Include "osabi.h".
904 * alphafbsd-tdep.c: Include "osabi.h".
905 * alphanbsd-tdep.c: Include "osabi.h".
906
907 * arm-tdep.h: Don't include "osabi.h".
908 (struct gdbarch_tdep): Remove osabi member.
909 * arm-tdep.c: Include "osabi.h".
910 (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
911 iterate over arches. Update call to gdbarch_init_osabi.
912 (arm_dump_tdep): Don't dump osabi.
913 * arm-linux-tdep.c: Include "osabi.h".
914 * armnbsd-tdep.c: Include "osabi.h".
915
916 * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi.
917 Update call to gdbarch_init_osabi.
918
919 * i386-tdep.h: Don't include "osabi.h".
920 (struct gdbarch_tdep): Remove osabi member.
921 * i386-tdep.c: Include "osabi.h".
922 (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
923 iterate over arches. Update call to gdbarch_init_osabi.
924 (i386_dump_tdep): Don't dump osabi.
925 * i386-linux-tdep.c: Include "osabi.h".
926 * i386-sol2-tdep.c: Include "osabi.h".
927 * i386bsd-tdep.c: Include "osabi.h".
928 * i386gnu-tdep.c: Include "osabi.h".
929 * i386ly-tdep.c: Include "osabi.h".
930 * i386nbsd-tdep.c: Include "osabi.h".
931 * i386obsd-tdep.c: Include "osabi.h".
932
933 * mips-tdep.c (struct gdbarch_tdep): Remove osabi member.
934 (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
935 check osabi when iterating over arches. Update call to
936 gdbarch_init_osabi.
937 (mips_dump_tdep): Don't dump osabi.
938
939 * ns32k-tdep.h: Don't include "osabi.h".
940 (struct gdbarch_tdep): Remove.
941 * ns32k-tdep.c (ns32k_gdbarch_init): Don't call
942 gdbarch_lookup_osabi. Don't iterate over arches. Don't
943 allocate tdep. Update call to gdbarch_init_osabi.
944 (ns32k_dump_tdep): Remove.
945 (_initialize_ns32k_tdep): Update call to gdbarch_register.
946 * ns32knbsd-tdep.c: Include "osabi.h".
947
948 * ppc-tdep.h: Don't include "osabi.h".
949 (struct gdbarch_tdep): Remove osabi member.
950 * rs6000-tdep.c: Include "osabi.h".
951 (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check
952 osabi when iterating over arches. Update call to
953 gdbarch_init_osabi.
954 (rs6000_dump_tdep): Don't dump osabi.
955 * ppc-linux-tdep.c: Include "osabi.h".
956 * ppcnbsd-tdep.c: Include "osabi.h".
957
958 * sh-tdep.h: Don't include "osabi.h".
959 (struct gdbarch_tdep): Remove osabi member.
960 * sh-tdep.c: Include "osabi.h".
961 (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
962 iterate over arches. Update call to gdbarch_init_osabi.
963 (sh_dump_tdep): Don't dump osabi.
964 * shnbsd-tdep.c: Include "osabi.h".
965
966 * sparc-tdep.c: Include "osabi.h".
967 (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
968 iterate over arches. Update call to gdbarch_init_osabi.
969 (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the
970 tdep structure.
971
972 * vax-tdep.h: Don't include "osabi.h".
973 (struct gdbarch_tdep): Remove.
974 * vax-tdep.c: Include "osabi.h".
975 (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
976 iterate over arches. Don't allocate tdep. Update call
977 to gdbarch_init_osabi.
978 (vax_dump_tdep): Remove.
979 (_initialize_vax_tdep): Update call to gdbarch_register.
980
a881cf8e
DJ
9812003-01-04 Daniel Jacobowitz <drow@mvista.com>
982
983 * breakpoint.c (insert_breakpoints): Skip disabled breakpoints
984 entirely.
985 (breakpoint_re_set_one): Don't fetch the value for a disabled
986 watchpoint.
987
1e698235
DJ
9882003-01-04 Daniel Jacobowitz <drow@mvista.com>
989
990 * buildsym.h (processing_hp_compilation): Remove obsolete variable.
991 * gdbarch.sh Remove include of "value.h" in gdbarch.h.
992 (COERCE_FLOAT_TO_DOUBLE): Remove.
993 * gdbarch.c: Regenerate.
994 * gdbarch.h: Regenerate.
995 * Makefile.in: Remove value_h from gdbarch_h.
996 * valops.c (coerce_float_to_double): New variable.
997 (default_coerce_float_to_double): Remove.
998 (standard_coerce_float_to_double): Remove.
999 (value_arg_coerce): Use coerce_float_to_double.
1000 (_initialize_valops): Add "set coerce-float-to-double".
1001 * value.h (default_coerce_float_to_double): Remove prototype.
1002 (standard_coerce_float_to_double): Remove prototype.
1003
1004 * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
1005 prototyped.
1006 * mdebugread.c (parse_symbol): Likewise.
1007 * stabsread.c (define_symbol): Mark all functions as prototyped.
1008
1009 * hppa-tdep.c (hppa_coerce_float_to_double): Remove.
1010 * alpha-tdep.c (alpha_gdbarch_init): Remove call to
1011 set_gdbarch_coerce_float_to_double.
1012 * arm-tdep.c (arm_gdbarch_init): Likewise.
1013 * frv-tdep.c (frv_gdbarch_init): Likewise.
1014 * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
1015 * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
1016 * mips-tdep.c (mips_gdbarch_init): Likewise.
1017 (mips_coerce_float_to_double): Remove.
1018 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
1019 (rs6000_coerce_float_to_double): Remove.
1020 * s390-tdep.c (s390_gdbarch_init): Likewise.
1021 * sh-tdep.c (sh_gdbarch_init): Likewise.
1022 (sh_coerce_float_to_double): Remove.
1023 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
1024 (sparc_coerce_float_to_double): Remove.
1025 * v850-tdep.c (v850_gdbarch_init): Likewise.
1026 * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
1027 * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
1028 * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
1029 (hppa_coerce_float_to_double): Remove prototype.
1030 * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
1031
f436a26a
DJ
10322003-01-04 Daniel Jacobowitz <drow@mvista.com>
1033
1034 * regformats/reg-m68k.dat: Remove fpcode and fpflags.
1035
248f8055
DJ
10362003-01-04 Daniel Jacobowitz <drow@mvista.com>
1037
1038 Suggested by Stewart Brown <sb24@avaya.com>:
1039 * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
1040 in recursive calls. Handle TYPE_CODE_TYPEDEF.
1041 (c_type_print_varspec_suffix): Likewise.
1042
72cfdc76
MK
10432003-01-04 Mark Kettenis <kettenis@gnu.org>
1044
bfd260bb
MK
1045 * configure.in: Don't set and AC_SUBST SUBDIRS.
1046 * configure: Regenerated.
1047
72cfdc76
MK
1048 * configure.in: Remove code dealing with shared libraries.
1049 * Makefile.in: Remove HLDFLAGS and HLDENV.
1050 * configure: Regenerated.
1051
c8b8a898
AC
10522003-01-04 Andrew Cagney <ac131313@redhat.com>
1053
1054 * frame.c (deprecated_frame_xmalloc): New function.
1055 (deprecated_set_frame_saved_regs_hack): New function.
1056 (deprecated_set_frame_extra_info_hack): New function.
1057 * frame.h (deprecated_frame_xmalloc): Declare.
1058 (deprecated_set_frame_saved_regs_hack): Declare.
1059 (deprecated_set_frame_extra_info_hack): Declare.
1060
14abd0fb
MK
10612003-01-04 Mark Kettenis <kettenis@gnu.org>
1062
8ee53726
MK
1063 * configure.in: Move code that provides the --enable-gdbtk option
1064 right after the code that handles the --enable-tui option, and
1065 polish it somewhat.
1066 * configure: Regenerated.
1067
14abd0fb
MK
1068 * configure.in: Call AC_GNU_SOURCE. Check for pread64 using
1069 AC_CHECK_FUNCS and remove the old check for pread64.
1070 * acinclude.m4 (AC_GNU_SOURCE): New macro.
1071 * acconfig.h (_GNU_SOURCE): Add.
1072 (HAVE_PREAD64): Remove.
1073 * configure, aclocal.m4, config.in: Regenerated.
1074
b2fb4676
AC
10752003-01-03 Andrew Cagney <ac131313@redhat.com>
1076
1077 * alpha-tdep.c: Use get_frame_saved_regs.
1078 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
1079 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
1080 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
1081 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
1082 * vax-tdep.c, xstormy16-tdep.c: Ditto.
1083
8dcde887
MK
10842003-01-03 Mark Kettenis <kettenis@gnu.org>
1085
1086 * configure.in: Remove all use of the SUBDIRS variable; add
1087 directories using the AC_CONFIG_SUBDIRS macro instead. Polish
1088 code providing the --enable-multi-ice option, and move it right in
1089 front of the code that checks whether gdbserver is supported.
1090 Polish that too.
1091 * configure: Regenerated.
1092 * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
1093 @SUBDIRS@.
1094
8ccd593b
AC
10952003-01-03 Andrew Cagney <cagney@redhat.com>
1096
1097 * alpha-tdep.c: Use deprecated_update_frame_base_hack.
1098 * avr-tdep.c, cris-tdep.c: Ditto.
1099 * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
1100 * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
1101
91151a06
MK
11022003-01-03 Mark Kettenis <kettenis@gnu.org>
1103
1104 * configure.in: Remove --enable-netrom option.
1105 * configure: Regenerated.
1106
8fe84d01
MK
11072003-01-03 Mark Kettenis <kettenis@gnu.org>
1108
1109 * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
1110 declaration for `struct re_pattern_buffer' instead.
1111 * Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
1112
f0394be6
JB
11132003-01-03 J. Brobecker <brobecker@gnat.com>
1114
1115 * mdebugread.c (parse_symbol): Count until the stEnd matching
1116 the structure name.
1117
27e9bf90
MK
11182003-01-02 Mark Kettenis <kettenis@gnu.org>
1119
93d331ba
MK
1120 * configure.in: Remove --with-cpu option.
1121 subscripts. Remove evil changequotes here.
1122 * acconfig.h (TARGET_CPU_DEFAULT): Remove.
1123 * config.in, configure: Regenerated.
1124
27e9bf90
MK
1125 * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
1126 * configure.in: Cleanup section that sources GDB and BFD configure
1127 subscripts. Remove evil changequotes here.
1128 * config.in, configure: Regenerated.
1129
50abf9e5
AC
11302003-01-02 Andrew Cagney <ac131313@redhat.com>
1131
1132 * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
1133 frame accessor methods.
1134 * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
1135 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
1136 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
1137 * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
1138 * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
1139 * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
1140 * z8k-tdep.c: Ditto.
1141
287c1a40
MK
11422003-01-02 Mark Kettenis <kettenis@gnu.org>
1143
f5dbc56d
MK
1144 * configure.in: Remove UI_OUT configuration code.
1145 * ada-lang.c: Update assuming UI_OUT is always true.
1146 * Makefile.in (UIOUT_CFLAGS): Remove.
1147 * configure: Regenerated.
1148 * TODO: Remove blurb about elimination of -DUI_OUT.
1149
627af7ea
MK
1150 * configure.in: Move code that provides the --enable-gdbcli,
1151 --enable-gdbmi options right before the code that handles the
1152 --enable-tui option. Polish a bit.
1153 * configure: Regenerated.
1154
06825bd1
MK
1155 * configure.in: Rewrite check for GNU regex and the
1156 --without-included regex option, and move it into the "Checks for
1157 library functions" section. This makes us use the system regex
1158 again by default on systems with version 2 of the GNU C library.
1159 This was apparently broken.
1160 * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
1161 * acconfig.h (USE_INCLUDED_REGEX): Remove.
1162 * config.in, configure: Regenerated.
1163
287c1a40
MK
1164 * configure.in: Move code that provides the --enable-tui option
1165 before the "Checks for libraries" section. Polish the code
1166 somewhat and set need_curses to yes if we build the TUI. Rewrite
1167 code that looks for a library providing termcap functionality to
1168 match more closely what's done in the Readline library, and move
1169 it into to the "Checks for libraries" section.
1170 * configure: Regenerated.
1171 * Makefile.in (TERMCAP): Remove variable.
1172 * config/i386/go32.mh (TERMCAP): Remove variable.
1173
684e56bf
AC
11742003-01-02 Andrew Cagney <ac131313@redhat.com>
1175
1176 * MAINTAINERS: Mention gdb_mbuild.sh.
1177 * gdb_mbuild.sh: Rewrite.
1178
e1ea1d75
MK
11792003-01-02 Mark Kettenis <kettenis@gnu.org>
1180
1181 * configure.in: Fix typo in last change.
1182 * config.in, configure: Regenerated.
1183
1b831c93
AC
11842003-01-02 Andrew Cagney <ac131313@redhat.com>
1185
1186 * valarith.c (value_binop): Delete obsolete code and comments.
1187 * configure.host: Ditto.
1188 * buildsym.h (make_blockvector): Ditto.
1189 * buildsym.c (make_blockvector): Ditto.
1190 * defs.h (enum language): Ditto.
1191 (chill_demangle): Ditto.
1192 * elfread.c (elf_symtab_read): Ditto.
1193 * dwarfread.c (CHILL_PRODUCER): Ditto.
1194 (set_cu_language): Ditto.
1195 (handle_producer): Ditto.
1196 * expprint.c (print_subexp): Ditto.
1197 * gdbtypes.c (chill_varying_type): Ditto.
1198 * gdbtypes.h (builtin_type_chill_bool): Ditto.
1199 (builtin_type_chill_char, builtin_type_chill_long): Ditto.
1200 (builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
1201 (chill_varying_type): Ditto.
1202 * language.h (_LANG_chill): Ditto.
1203 * language.c (binop_result_type, integral_type): Ditto.
1204 (character_type, string_type, structured_type): Ditto.
1205 (lang_bool_type, binop_type_check): Ditto.
1206 * stabsread.h (os9k_stabs): Ditto.
1207 * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
1208 (define_symbol, read_type, read_struct_fields): Ditto.
1209 (read_array_type, read_enum_type, read_huge_number): Ditto.
1210 (read_range_type, start_stabs): Ditto.
1211 * symfile.c (init_filename_language_table): Ditto.
1212 (add_psymbol_with_dem_name_to_list): Ditto.
1213 * symtab.c (symbol_init_language_specific): Ditto.
1214 (symbol_init_demangled_name, symbol_demangled_name): Ditto.
1215 * symtab.h (struct general_symbol_info): Ditto.
1216 (SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
1217 * typeprint.c (typedef_print): Ditto.
1218 * utils.c (fprintf_symbol_filtered): Ditto.
1219 * valops.c (value_cast, search_struct_field, value_slice): Delete
1220 obsolete code.
1221 (varying_to_slice): Delete function.
1222 * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
1223 (varying_to_slice): Delete declaration.
1224 * MAINTAINERS: Update.
1225
8bb2c122
MK
12262003-01-02 Mark Kettenis <kettenis@gnu.org>
1227
97bf5e38
MK
1228 * configure.in: Reorganize "Checks for library functions section"
1229 a bit. Remove check for `btowc' and `isascii' functions.
1230 * configure: Regenerated.
1231
5ee754fc
MK
1232 * acconfig.h (_MSE_INT_H): Remove.
1233 * configure.in: Create "Checks for header files" section, and move
1234 appropriate tests there. Don't check for objlist.h, wchar.h,
1235 wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h>
1236 misdetection fix. Also add "Checks for types", "Checks for
1237 compiler characteristics" and "Checks for library functions"
1238 sections.
1239 * config.in, configure: Regenerated.
1240
8bb2c122
MK
1241 * configure.in: Create "Checks for programs" section, and move
1242 appropriate tests there.
1243
9a156167
MK
12442003-01-01 Mark Kettenis <kettenis@gnu.org>
1245
1246 * configure.in: Create "Checks for libraries" section, and move
1247 appropriate tests there. Cleanup check for wctype in libw. Use
1248 AC_SEARCH_LIBS to see whether we need libsocket.
1249 * configure: Regenerated.
1250
a80e2bcb 1251For older changes see ChangeLog-2002
c906108c
SS
1252\f
1253Local Variables:
1254mode: change-log
1255left-margin: 8
1256fill-column: 74
1257version-control: never
1258End:
This page took 0.423773 seconds and 4 git commands to generate.