1 2003-01-28 Andrew Cagney <ac131313@redhat.com>
3 * hppah-nat.c (child_pid_to_exec_file): Don't use boolean.
5 * complaints.c (complain): Delete function.
6 * complaints.h (struct deprecated_complaint): Delete definition.
7 (complain): Delete declaration.
9 2003-01-28 Kevin Buettner <kevinb@redhat.com>
11 * mips-tdep.c (mips_init_extra_frame_info): Return early for
14 2003-01-27 Andrew Cagney <ac131313@redhat.com>
16 * sentinel-frame.h, sentinel-frame.c: New files.
17 * Makefile.in (frame.o): Update dependencies.
18 (SFILES): Add sentinel-frame.c.
19 (sentinel_frame_h): Define.
20 (COMMON_OBS): Add sentinel-frame.o.
21 (sentinel-frame.o): Specify dependencies.
22 * frame.c: Include "sentinel-frame.h".
23 (frame_register_unwind): Rewrite assuming that there is always a a
25 (frame_register, generic_unwind_get_saved_register): Ditto.
26 (frame_read_unsigned_register, frame_read_signed_register): Ditto.
27 (create_sentinel_frame, unwind_to_current_frame): New functions.
28 (get_current_frame): Rewrite using create_sentinel_frame and
29 unwind_to_current_frame. When possible, always create a frame.
30 (create_new_frame): Set next to the sentinel frame.
31 (get_next_frame): Rewrite. Don't go below the level 0 frame.
32 (deprecated_update_frame_pc_hack): Update the next frame's PC and
33 ID cache when necessary.
34 (frame_saved_regs_id_unwind): Use frame_relative_level.
35 (deprecated_generic_get_saved_register): Use frame_relative_level,
36 get_frame_saved_regs, get_frame_pc, get_frame_base and
38 (frame_saved_regs_register_unwind): Use get_frame_saved_regs and
41 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
43 * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments.
45 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
47 * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
48 (maintenance_set_profile_cmd): Use error () instead of warning ().
50 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
52 * configure.in: Check that -pg works if using --enable-profiling.
53 Check for monstartup and _mcleanup regardless of --enable-profiling.
54 * maint.c: Check for monstartup and _mcleanup before using them.
55 * config.in: Regenerated.
56 * configure: Regenerated.
58 2003-01-23 Jim Blandy <jimb@redhat.com>
60 * symfile.c (syms_from_objfile): Don't print the "(no debugging
61 symbols found)" message here; we haven't checked for a separate
62 debug info file yet, so we don't know yet.
63 (symbol_file_add_with_addrs_or_offsets): Print it here, after
64 we've looked everywhere. Also, there's no need to print a special
65 message when we're loading the separate debug info file: the one
66 symbol_file_add prints is fine.
68 2003-01-23 Alexander Larsson <alexl@redhat.com>
69 Jim Blandy <jimb@redhat.com>
71 Add support for executables whose debug info has been separated
72 out into a separate file, leaving only a link behind.
73 * objfiles.h (struct objfile): New fields: separate_debug_objfile
74 and separate_debug_objfile_backlink.
75 (put_objfile_before): New declaration.
76 * symfile.c: #include "filenames.h".
77 (symbol_file_add_with_addrs_or_offsets): If this objfile has its
78 debug info in a separate file, read that, too. Save the addrs
79 argument, so we can use it again to read the separated debug info;
80 syms_from_objfile modifies the table we pass it.
81 (reread_symbols): After re-reading an objfile, call
82 reread_separate_symbols to refresh its separate debug info
83 objfile, if it has one.
84 (reread_separate_symbols, find_separate_debug_file,
85 get_debug_link_info, separate_debug_file_exists): New functions.
86 (debug_file_directory): New global var.
87 (_initialize_symfile): Initialize debug_file_directory, and
88 provide the new `set debug-file-directory' command to let the user
90 * objfiles.c (free_objfile): If this objfile has its debug info in
91 a separate objfile, free that one too. If this is itself a
92 separate debug info objfile, clear our parent's backlink.
93 (put_objfile_before): New function.
94 * utils.c (gnu_debuglink_crc32): New function.
95 * defs.h (gnu_debuglink_crc32): New declaration.
96 * Makefile.in (symfile.o): Note dependency on "filenames.h".
97 * configure.in: Handle --with-separate-debug-dir config option.
98 * acinclude.m4 (AC_DEFINE_DIR): New macro.
99 * acconfig.h (DEBUGDIR): New macro.
100 * configure, aclocal.m4, config.in: Regenerated.
102 2003-01-22 Jim Blandy <jimb@redhat.com>
104 * symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
105 like the old symbol_file_add, but taking new arguments: you can
106 now pass in either a `struct section_addr_info' list to say where
107 each section is loaded, or a `struct section_offsets' table. Pass
108 these new arguments through to syms_from_objfile as appropriate.
109 (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets,
110 with the appropriate quiescent values for the new arguments.
112 * symfile.c: #include "gdb_assert.h".
113 (syms_from_objfile): Add the ability to pass in a section offset
114 table directly, as an alternative to the section_addr_info table.
115 Document arguments better.
116 (symbol_file_add): Pass extra arguments to syms_from_objfile.
117 * symfile.h (syms_from_objfile): Update declaration.
118 * rs6000-nat.c (objfile_symbol_add): Pass new arguments to
120 * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
122 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
124 Original patch by Tom Tromey <tromey@cygnus.com> and
125 Jason Molenda <jmolenda@apple.com>.
126 * Makefile.in (PROFILE_CFLAGS): Substitute from configure.
127 (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS.
128 * NEWS: Mention profiling.
129 * configure.in (--enable-gdbtk): Fix typo.
130 (--enable-profiling): New. Set PROFILE_CFLAGS.
131 * maint.c (maintenance_set_profile_cmd): Remove NOTYET.
133 (profiling_state): New variable.
134 (mcleanup_wrapper): New function.
135 (_initialize_maint): Remove NOTYET, fix call to
136 add_setshow_boolean_cmd for "maint set profile".
137 * configure: Regenerated.
139 2003-01-21 Martin M. Hunt <hunt@redhat.com>
141 * Makefile.in (install-gdbtk): Install PNG images too.
143 2003-01-21 Andrew Cagney <ac131313@redhat.com>
145 * exec.c (text_start): Delete global variable.
146 (exec_file_attach): Make text_start local to the function.
147 * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros.
148 * valops.c (hand_function_call): Delete code that handles
149 BEFORE_TEXT_END and AFTER_TEXT_END.
150 * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead
151 of CALL_DUMMY_LOCATION.
152 * gdbarch.c: Regenerate.
153 * inferior.h (deprecated_pc_in_call_dummy_before_text_end)
154 (deprecated_pc_in_call_dummy_after_text_end): Delete declaration.
155 * blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
156 (deprecated_pc_in_call_dummy_after_text_end): Delete functions.
157 (text_end): Delete extern declaration.
159 2003-01-21 Andrew Cagney <ac131313@redhat.com>
161 * frame.h (FRAME_OBSTACK_ZALLOC): Define.
162 * blockframe.c (backtrace_below_main): Move to "frame.c".
163 (frame_chain_valid): Delete check for backtrace_below_main.
164 (_initialize_blockframe): Delete initialization, move ``set
165 backtrace-below-main'' command to "frame.c".
166 (do_flush_frames_sfunc): Delete function.
167 * frame.c: Include "command.h" and "gdbcmd.h".
168 (frame_type_from_pc): New function.
169 (create_new_frame): Use frame_type_from_pc.
170 (legacy_get_prev_frame): New function.
171 (get_prev_frame): Rewrite. When an old style frame, call
172 legacy_get_prev_frame. Otherwize, unwind the PC first.
173 (_initialize_frame): Add ``set backtrace-below-main'' command.
174 * Makefile.in (frame.o): Update dependencies.
176 2003-01-19 Andrew Cagney <ac131313@redhat.com>
178 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename
179 DEPRECATED_REGISTERS_INFO.
181 2003-01-19 Andrew Cagney <ac131313@redhat.com>
183 * MAINTAINERS: Replace `Blanket Write Privs' with `Global
184 Maintainers'. Update `Various Maintainers'.
186 2003-01-19 Andrew Cagney <ac131313@redhat.com>
188 * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
189 * gdbarch.sh (POP_FRAME): Change to function with predicate.
190 Suppress actual parameters when `-'.
191 * gdbarch.h, gdbarch.c: Regenerate.
193 2003-01-19 Andrew Cagney <ac131313@redhat.com>
195 * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore
196 code handling dummy frames.
198 2003-01-19 Andrew Cagney <ac131313@redhat.com>
200 * frame-unwind.h (frame_unwind_pop_ftype): Declare.
201 (struct frame_unwind): Add field pop.
202 * frame.h (frame_pop): Declare.
203 * frame.c (frame_saved_regs_pop): New function.
204 (trad_frame_unwinder): Add frame_saved_regs_pop.
205 (frame_pop): New function.
206 * dummy-frame.c (dummy_frame_pop): New function.
207 (discard_innermost_dummy): New function.
208 (generic_pop_dummy_frame): Use discard_innermost_dummy.
209 (dummy_frame_unwind): Add dummy_frame_pop.
210 * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
211 * valops.c (hand_function_call): Ditto.
212 * stack.c (return_command): Ditto.
214 2003-01-18 Andrew Cagney <ac131313@redhat.com>
216 * cris-tdep.c: Fix function declaration indentation.
217 * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
218 * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
219 * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
220 * symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
221 * xcoffread.c, config/pa/tm-hppa.h: Ditto.
222 * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
224 2003-01-18 Michael Chastain <mec@shout.net>
226 * README (Unpacking and Installation -- quick overview):
227 Warn against ".../gdb-5.3/gdb/configure".
229 2003-01-18 Andrew Cagney <ac131313@redhat.com>
231 * dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
232 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
233 (struct frame_unwind): Declare opaque.
234 (dummy_frame_p): Declare function.
235 * dummy-frame.c (dummy_frame_id_unwind): Make static.
236 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
237 * dummy-frame.c: Include "frame-unwind.h".
238 (dummy_frame_p): New function.
239 (dummy_frame_unwind): New variable.
240 * frame.c: Include "frame-unwind.h".
241 (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
242 to use the new unwind field.
243 (set_unwind_by_pc): Delete function.
244 (create_new_frame, get_prev_frame): Set unwind field using
245 frame_unwind_find_by_pc.
246 (trad_frame_unwind, trad_frame_unwinder): New variables.
247 * frame.h (trad_frame_unwind): Declare variable.
248 (frame_id_unwind_ftype): Delete declaration.
249 (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
250 (struct frame_unwind): Declare opaque.
251 (struct frame_info): Replace the fields id_unwind, pc_unwind and
252 register_unwind with a single unwind pointer.
253 * frame-unwind.h, frame-unwind.c: New files.
254 * Makefile.in (SFILES): Add frame-unwind.c.
255 (frame_unwind_h): Define.
256 (COMMON_OBS): Add frame-unwind.o.
257 (frame-unwind.o): Specify dependencies.
258 (frame.o, dummy-frame.o): Update dependencies.
260 2003-01-18 Andrew Cagney <ac131313@redhat.com>
262 * ada-valprint.c: Eliminate PTR.
263 * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
264 * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
265 * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
266 * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
267 * remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
268 * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
269 * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
271 2003-01-17 Andrew Cagney <ac131313@redhat.com>
273 * main.c (captured_main): Don't use PTR.
274 * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp.
275 * gdbtypes.c (lookup_primitive_typename): Ditto.
276 (lookup_struct_elt_type): Ditto.
277 * f-valprint.c (info_common_command): Ditto.
278 (list_all_visible_commons): Ditto.
279 * jv-typeprint.c (java_type_print_base): Ditto.
281 * config/djgpp/fnchange.lst: Rename mi1-var-block.exp,
282 mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp.
283 Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename
284 i386-interix-nat.c and i386-interix-tdep.c. Rename
285 m68klinux-nat.c and m68klinux-tdep.c. Rename
286 config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename
287 bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename
288 gdb/objc-exp.tab.c and gdb/ada-exp.tab.c
289 * main.c (captured_main): Use xfree, not free.
291 2003-01-16 Andrew Cagney <ac131313@redhat.com>
293 * frame.h (frame_id_unwind_ftype): Change type so that the frame's
294 ID back using a parameter.
295 * frame.c (frame_id_unwind): Update call.
296 (frame_saved_regs_id_unwind): Update.
297 * dummy-frame.c (dummy_frame_id_unwind): Update function.
298 * dummy-frame.h (struct frame_id): Add opaque declaration.
299 (dummy_frame_id_unwind): Update declaration.
301 2003-01-15 Andrew Cagney <ac131313@redhat.com>
303 * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.
305 2003-01-15 Stephen P. Smith <ischis2@cox.net>
307 * MAINTAINERS (Stephen P. Smith): Updated email address.
309 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
311 * breakpoint.c (until_break_command): Add new argument. Use it to
312 decide whether to stop only at the current frame or not.
313 * breakpoint.h (until_break_command): Update prototype.
314 * infcmd.c (until_command): Add new argument to until_break_command
316 (advance_command): New function.
317 (_initialize_infcmd): Update help string for 'until' command.
318 Add new 'advance' command.
320 2003-01-14 David Carlton <carlton@math.stanford.edu>
322 * linespec.c (decode_line_1): Normalize comments.
324 (locate_first_half): Ditto.
325 (decode_compound): Ditto.
326 (symtab_from_filename): Ditto.
327 (decode_all_digits): Ditto.
328 (decode_dollar): Ditto.
329 (find_methods): Ditto.
330 (find_toplevel_char): Ditto.
332 2003-01-13 Andrew Cagney <ac131313@redhat.com>
334 * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright.
335 * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright.
336 * elfread.c, eval.c, expprint.c, expression.h: Update copyright.
337 * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright.
338 * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright.
339 * language.c, language.h, m32r-tdep.c: Update copyright.
340 * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright.
341 * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright.
342 * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright.
343 * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright.
344 * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright.
345 * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright.
347 2003-01-13 Elena Zannoni <ezannoni@redhat.com>
349 * stabsread.h (process_later, resolve_cfront_continuation):
351 Update copyright years.
352 * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront.
353 Update copyright year.
354 * dbxread.c(struct cont_elem): Obsolete.
355 (process_later, process_now): Obsolete functions.
356 (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support.
357 Update copyright year.
358 * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros.
359 (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions.
360 * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront.
361 (parse_partial_symbols): Obsolete cfront support.
363 (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete
365 (get_substring, get_cfront_method_physname, msg_unknown_complaint,
366 read_cfront_baseclasses, read_cfront_member_functions,
367 resolve_cfront_continuation,read_cfront_static_fields,
368 copy_cfront_struct_fields): Obsolete functions.
369 (define_symbol, read_one_struct_field): Obsolete cfront support.
370 * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support.
371 Update Copyright year.
373 2003-01-13 Elena Zannoni <ezannoni@redhat.com>
375 * stack.c (print_frame_info, print_stack_frame_base_stub,
376 print_stack_frame_base, show_and_print_stack_frame_stub,
377 show_and_print_stack_frame, print_only_stack_frame_stub,
378 print_only_stack_frame): Delete functions.
379 (print_stack_frame_stub): Call print_frame_info instead of
380 print_frame_info_base.
381 (print_frame_info_base): Rename to print_frame_info.
382 (backtrace_command_1): Call print_frame_info, instead of
383 print_frame_info_base.
384 (current_frame_command): Call print_stack_frame, instead of
385 print_only_stack_frame.
386 (frame_command): Call print_stack_frame, instead of
387 show_and_print_stack_frame.
389 (down_command): Ditto.
390 * frame.h (print_only_stack_frame): Delete prototype.
391 * infrun.c (normal_stop): Call print_stack_frame, instead of
392 show_and_print_stack_frame.
393 * thread.c (info_threads_command): Call print_stack_frame, instead
394 of print_only_stack_frame.
396 2003-01-13 Andrew Cagney <ac131313@redhat.com>
398 * README (Graphical interface to GDB): Update URL. Point at
401 * gdb_indent.sh: Update to version 2.2.9. Warn when not exact
404 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
406 * symtab.c (find_pc_sect_line): Don't consider end-of-function
409 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
411 * thread-db.c (attach_thread): Prototype.
412 (struct private_thread_info): Remove lwpid. Add thread handle (th),
413 thread information (ti), and valid flags (th_valid, ti_valid).
414 (attach_thread): Move target_pid_to_str call to after the thread
415 is added to GDB's list. Initialize the cache.
416 (thread_get_info_callback, thread_db_map_id2thr)
417 (thread_db_get_info): New functions.
418 (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers)
419 (thread_db_store_registers, thread_db_thread_alive)
420 (thread_db_get_thread_local_address): Use them.
421 (thread_db_pid_to_str): Likewise. Return "Missing" instead
422 of calling error() for threads in unknown state.
424 (clear_lwpid_callback): New function.
425 (thread_db_resume): Use it to clear the cache.
427 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
429 * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
430 (resume_callback): Remove dead code.
432 2003-01-13 Andrew Cagney <ac131313@redhat.com>
434 * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
436 * gdbarch.h, gdbarch.c: Regenerate.
437 * stack.c (frame_info): Only initialize the saved registers when
438 FRAME_INIT_SAVED_REGS_P.
439 * frame.c (frame_saved_regs_register_unwind): Assert
440 FRAME_INIT_SAVED_REGS_P.
441 (deprecated_generic_get_saved_register): Ditto.
443 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
445 * source.c (openp): Squelch warning about "filename".
447 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
449 * source.c (openp): If the file does not exist don't necessarily
452 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
455 * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN.
456 (integer_types_same_name_p): New function.
457 (rank_one_type): Use it.
458 * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN.
460 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
462 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
464 (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE).
465 * configure.in: Add --with-sysroot.
466 * configure: Regenerated.
467 * main.c (gdb_sysroot): New variable.
468 (captured_main): Initialize gdb_sysroot.
469 * defs.h (gdb_sysroot): New extern declaration.
470 * solib.c (_initialize_solib): Initialize solib_absolute_prefix.
472 2003-01-12 Michael Chastain <mec@shout.net>
474 * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
476 2003-01-12 Michael Chastain <mec@shout.net>
478 * top.c (print_gdb_version): Bump copyright year to 2003.
480 2003-01-12 David Carlton <carlton@bactrian.org>
482 * linespec.c (symtab_from_filename): Rename variable 's' to
485 2003-01-12 Andrew Cagney <ac131313@redhat.com>
487 * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
489 (d10v_frame_saved_pc, d10v_frame_chain): Ditto.
491 2003-01-12 Andrew Cagney <ac131313@redhat.com>
493 * d10v-tdep.c: Include "gdb_assert.h".
494 (d10v_store_return_value): Rewrite to match current interface.
495 (d10v_extract_struct_value_address): Ditto.
496 (d10v_extract_return_value): Ditto.
497 (d10v_gdbarch_init): Set store_restore_value,
498 extract_struct_value_address and extract_return_value.
500 2003-01-12 J. Brobecker <brobecker@gnat.com>
502 * hpread.c (set_namestring): New procedure replacing the
503 SET_NAMESTRING macro.
504 (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
505 by calls to set_namestring.
507 2003-01-11 J. Brobecker <brobecker@gnat.com>
509 * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
510 a compilation warning.
511 (hpread_process_one_debug_symbol): Likewise.
513 2003-01-10 David Carlton <carlton@math.stanford.edu>
515 * linespec.c (decode_line_1): Rename variable 's' to
517 (decode_all_digits): Rename argument 's' to 'file_symtab'.
518 (decode_dollar): Ditto.
519 (decode_variable): Ditto.
520 (symbol_found): Ditto.
522 2003-01-09 Michael Chastain <mec@shout.net>
524 * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
526 2003-01-07 Corinna Vinschen <vinschen@redhat.com>
528 * win32-nat.c (set_process_privilege): New function.
529 (child_attach): Call set_process_privilege() to enable the
530 SE_DEBUG_NAME user privilege if available in process token.
532 2003-01-10 J. Brobecker <brobecker@gnat.com>
534 * hpread.c (hpread_process_one_debug_symbol): Fix a small
535 compilation error in the previous revision.
537 2003-01-09 David Carlton <carlton@math.stanford.edu>
539 * linespec.c: Update copyright.
541 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
543 * lin-lwp.c (child_wait): Ignore exit statuses for processes other
545 (lin_lwp_wait): Ignore exit statuses for unknown LWPs.
547 2003-01-09 Andrew Cagney <ac131313@redhat.com>
549 * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
551 * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
552 (frame_saved_regs_zalloc): Update.
553 (frame_saved_regs_register_unwind): Update.
554 (create_new_frame): Update.
555 (get_prev_frame): Update.
556 (frame_extra_info_zalloc): Update.
557 (deprecated_get_frame_saved_regs): Update.
558 * dwarf2cfi.c (cfi_init_extra_frame_info): Update.
559 * cris-tdep.c: Update comment.
561 * somsolib.h: Fix function indentation.
562 * disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
563 * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
564 * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
565 * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
566 * somsolib.c, inftarg.c: Remove assignment in if conditional.
568 * infrun.c (follow_fork): Use ISO C definition.
569 * expprint.c (print_subexp): Use xfree instead of free.
570 * charset.c: Include "gdb_string.h" instead of <string.h>.
571 (register_iconv_charsets): Use ISO C definition.
572 (host_charset, target_charset): Ditto.
573 * Makefile.in (charset.o): Update dependencies.
574 (mi-cmd-env.o): Update dependencies.
576 2003-01-08 Andrew Cagney <cagney@redhat.com>
578 * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
581 2003-01-08 Andrew Cagney <ac131313@redhat.com>
583 * gdb_mbuild.sh: Add --keep option. When specified, keep the
584 build directories. Save edited gdb output in Mbuild.log. If a
585 build fails, remove any final GDB executable.
587 2003-01-08 Andrew Cagney <ac131313@redhat.com>
589 * gdb_mbuild.sh: Edit the output of `maint print architecture'
590 replacing hex constants with function names and stripping leading
591 file name directory prefixes.
593 2003-01-08 Andrew Cagney <cagney@redhat.com>
595 * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
598 2003-01-08 David Carlton <carlton@math.stanford.edu>
600 * linespec.c (decode_line_1): Move code into decode_variable.
601 (decode_variable): New function.
603 2003-01-08 Andrew Cagney <ac131313@redhat.com>
605 * mn10300-tdep.c (analyze_dummy_frame): Fix typo.
607 2003-01-08 Andrew Cagney <cagney@redhat.com>
609 * cris-tdep.c (cris_frame_init_saved_regs): Use
610 get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
612 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
613 (sh64_nofp_frame_init_saved_regs): Ditto.
614 (sh_fp_frame_init_saved_regs): Ditto.
615 * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
616 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
617 * mcore-tdep.c (analyze_dummy_frame): Ditto.
618 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
620 2003-01-08 Daniel Jacobowitz <drow@mvista.com>
622 * minsyms.c (lookup_minimal_symbol): Update comment.
623 (lookup_minimal_symbol_text): Update comment. Use the hash table.
624 (lookup_minimal_symbol_solib_trampoline): Likewise.
626 2003-01-08 Andrew Cagney <cagney@redhat.com>
628 * d10v-tdep.c (d10v_init_extra_frame_info): Use
629 frame_relative_level.
631 * alpha-tdep.c: Use get_frame_extra_info.
632 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
633 * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
634 * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
635 * sparc-tdep.c, xstormy16-tdep.c: Ditto.
637 * alpha-tdep.c: Use get_next_frame.
638 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
639 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
640 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
641 * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
642 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
643 * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
644 * xstormy16-tdep.c: Ditto.
646 2003-01-07 Andrew Cagney <cagney@redhat.com>
648 * alpha-tdep.c: Use get_frame_base.
649 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
650 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
651 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
652 * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
653 * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
654 * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
655 * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
656 * config/sparc/tm-sparc.h: Ditto.
658 2003-01-07 Andrew Cagney <cagney@redhat.com>
660 * frame.c (deprecated_get_frame_context): New function.
661 (deprecated_set_frame_context): New function.
662 * frame.h (deprecated_get_frame_context): Declare.
663 (deprecated_set_frame_context): Declare.
664 * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
665 (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
667 2003-01-07 Andrew Cagney <cagney@redhat.com>
669 * frame.c (deprecated_set_frame_next_hack): New function.
670 (deprecated_set_frame_prev_hack): New function.
671 * frame.h (deprecated_set_frame_next_hack): Declare.
672 (deprecated_set_frame_prev_hack): Declare.
673 * mcore-tdep.c (analyze_dummy_frame): Use
674 deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
675 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
677 2003-01-07 David Carlton <carlton@math.stanford.edu>
679 * linespec.c (decode_line_1): Move code into decode_dollar.
680 (decode_dollar): New function.
682 2003-01-07 Andrew Cagney <cagney@redhat.com>
684 * arm-tdep.c (arm_init_extra_frame_info): Use
685 deprecated_update_frame_base_hack.
686 * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto.
687 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
688 (fix_frame_pointer): Ditto.
689 (mn10300_analyze_prologue): Ditto.
691 2003-01-07 Andrew Cagney <cagney@redhat.com>
693 * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
694 extra_info using frame_extra_info_zalloc.
695 * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
696 * sh-tdep.c (sh_init_extra_frame_info): Ditto.
697 (sh64_init_extra_frame_info): Ditto.
698 * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
699 * s390-tdep.c (s390_init_extra_frame_info): Ditto.
700 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
701 * mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
702 * frv-tdep.c (frv_init_extra_frame_info): Ditto.
703 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
704 * ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
705 * h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
706 * d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
707 * cris-tdep.c (cris_init_extra_frame_info): Ditto.
708 * arm-tdep.c (arm_init_extra_frame_info): Ditto.
709 * alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
711 * mn10300-tdep.c (analyze_dummy_frame): Use
712 deprecated_set_frame_extra_info_hack.
713 * mcore-tdep.c (analyze_dummy_frame): Ditto.
715 2003-01-07 J. Brobecker <brobecker@gnat.com>
717 * mdebugread.c (parse_symbol): Skip stProc entries which storage
718 class is not scText. These do not define "real" procedures.
719 (parse_partial_symbols): Likewise.
721 2003-01-06 Michael Snyder <msnyder@redhat.com>
723 * lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
725 2003-01-06 Andrew Cagney <ac131313@redhat.com>
727 * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
728 * frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
729 * arm-tdep.c (arm_frame_chain): Allocate caller_fi using
730 deprecated_frame_xmalloc_with_cleanup.
731 * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
732 deprecated_frame_xmalloc.
733 * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
734 * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
736 2003-01-06 Andrew Cagney <cagney@redhat.com>
738 * x86-64-linux-tdep.c: Include "osabi.h".
739 * Makefile.in (x86-64-linux-tdep.o): Update dependencies.
741 * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
743 2003-01-06 Andrew Cagney <cagney@redhat.com>
745 * MAINTAINERS (Target Instruction Set Architectures): Update
746 arm-elf. Can be built with -Werror, has been multiarched.
748 * value.h (unpack_long): Make buffer parameter constant.
749 (unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
750 * scm-lang.h (scm_parse): Ditto.
751 * defs.h (extract_typed_address, extract_address): Ditto.
752 (extract_long_unsigned_integer): Ditto.
753 * inferior.h (unsigned_pointer_to_address): Ditto.
754 (signed_pointer_to_address): Ditto.
755 * gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
756 * gdbarch.h, gdbarch.c: Regenerate.
757 * findvar.c (extract_long_unsigned_integer): Update.
758 (extract_address): Update.
759 (extract_typed_address): Update.
760 (unsigned_pointer_to_address): Update.
761 * values.c (unpack_long): Update.
762 (unpack_double): Update.
763 (unpack_pointer): Update.
764 (unpack_field_as_long): Update.
765 * d10v-tdep.c (d10v_pointer_to_address): Update.
766 * avr-tdep.c (avr_pointer_to_address): Update.
767 * scm-lang.c (scm_unpack): Update.
768 * findvar.c (signed_pointer_to_address): Update.
770 2003-01-06 Michal Ludvig <mludvig@suse.cz>
772 * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore
773 since it is in i386-tdep.c.
775 2003-01-06 J. Brobecker <brobecker@gnat.com>
777 * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
778 failure introduced in the previous change.
780 2003-01-05 Michael Chastain <mec@shout.net>
782 * README: Remove references to deleted remote-*.c files:
783 remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
784 remote-nrom.c, remote-os9k.c, remote-udi.c.
786 2003-01-05 Mark Kettenis <kettenis@gnu.org>
788 * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
789 * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
790 i386_get_longjmp_target.
792 2003-01-05 Andrew Cagney <ac131313@redhat.com>
794 * arm-tdep.c (prologue_cache): Change to a pointer.
795 (_initialize_arm_tdep): Allocate prologue_cache.
796 (check_prologue_cache): Update.
797 (save_prologue_cache): Update.
798 (arm_gdbarch_init): Update.
800 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
802 * stabsread.c (update_method_name_from_physname): Call complaint()
805 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
807 * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
808 * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
809 * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
811 * blockframe.c: Include "gdbcmd.h" and "command.h".
812 (backtrace_below_main): New variable.
813 (file_frame_chain_valid, func_frame_chain_valid)
814 (nonnull_frame_chain_valid, generic_file_frame_chain_valid)
815 (generic_func_frame_chain_valid): Remove functions.
816 (frame_chain_valid, do_flush_frames_sfunc): New functions.
817 (_initialize_blockframe): New function.
818 * Makefile.in (blockframe.o): Update dependencies.
819 * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
820 comment. Call frame_chain_valid ().
821 * frame.h: Remove old prototypes. Add prototype for
822 frame_chain_valid and update comments to match.
823 * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
825 * gdbarch.h: Regenerated.
826 * gdbarch.c: Regenerated.
828 * alpha-tdep.c (alpha_gdbarch_init): Don't call
829 set_gdbarch_frame_chain_valid.
830 * avr-tdep.c (avr_gdbarch_init): Likewise.
831 * cris-tdep.c (cris_gdbarch_init): Likewise.
832 * frv-tdep.c (frv_gdbarch_init): Likewise.
833 * h8300-tdep.c (h8300_gdbarch_init): Likewise.
834 * i386-tdep.c (i386_svr4_init_abi): Likewise.
835 (i386_nw_init_abi): Likewise.
836 (i386_gdbarch_init): Likewise.
837 * ia64-tdep.c (ia64_gdbarch_init): Likewise.
838 * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
839 * m68k-tdep.c (m68k_gdbarch_init): Likewise.
840 * mcore-tdep.c (mcore_gdbarch_init): Likewise.
841 * mips-tdep.c (mips_gdbarch_init): Likewise.
842 * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
843 * ns32k-tdep.c (ns32k_gdbarch_init): Likewise.
844 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise.
845 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
846 * s390-tdep.c (s390_gdbarch_init): Likewise.
847 * sh-tdep.c (sh_gdbarch_init): Likewise.
848 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
849 * v850-tdep.c (v850_gdbarch_init): Likewise.
850 * vax-tdep.c (vax_gdbarch_init): Likewise.
851 * x86-64-tdep.c (x86_64_init_abi): Likewise.
853 * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define.
854 * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise.
855 * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise.
856 * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise.
857 * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise.
858 * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise.
859 * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise.
860 * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise.
862 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
864 * Makefile.in (acconfig_h): Remove incorrect macro.
866 (osabi.o): Update dependencies.
867 * configure.tgt: Set gdb_osabi based on target triplet.
868 * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
869 * configure: Regenerated.
870 * config.in: Regenerated.
871 * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
872 (GDB_OSABI_DEFAULT): Define if not already defined.
873 (user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
874 (set_osabi_string): New variables.
875 (gdbarch_register_osabi): Add new OS ABI to
876 gdb_osabi_available_names.
877 (gdbarch_lookup_osabi): Honor specified and default OS ABIs.
878 (set_osabi, show_osabi): New functions.
879 (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
881 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
883 * arch-utils.c (gdbarch_info_init): Set osabi to
884 GDB_OSABI_UNINITIALIZED.
885 * gdbarch.sh: Add osabi to struct gdbarch and to struct
886 gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi
887 in gdbarch_list_lookup_by_info and in gdbarch_update_p.
888 * gdbarch.c: Regenerated.
889 * gdbarch.h: Regenerated.
890 * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
892 (gdbarch_init_osabi): Remove osabi argument; use info.osabi.
893 * osabi.h (enum gdb_osabi): Move to defs.h.
894 (gdbarch_init_osabi): Update prototype.
895 * defs.h (enum gdb_osabi): Moved here.
896 * Makefile.in: Update dependencies.
898 * alpha-tdep.h: Don't include "osabi.h".
899 (struct gdbarch_tdep): Remove osabi member.
900 * alpha-tdep.c: Include "osabi.h".
901 (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
902 iterate over arches. Update call to gdbarch_init_osabi.
903 (alpha_dump_tdep): Don't dump osabi.
904 * alpha-linux-tdep.c: Include "osabi.h".
905 * alpha-osf1-tdep.c: Include "osabi.h".
906 * alphafbsd-tdep.c: Include "osabi.h".
907 * alphanbsd-tdep.c: Include "osabi.h".
909 * arm-tdep.h: Don't include "osabi.h".
910 (struct gdbarch_tdep): Remove osabi member.
911 * arm-tdep.c: Include "osabi.h".
912 (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
913 iterate over arches. Update call to gdbarch_init_osabi.
914 (arm_dump_tdep): Don't dump osabi.
915 * arm-linux-tdep.c: Include "osabi.h".
916 * armnbsd-tdep.c: Include "osabi.h".
918 * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi.
919 Update call to gdbarch_init_osabi.
921 * i386-tdep.h: Don't include "osabi.h".
922 (struct gdbarch_tdep): Remove osabi member.
923 * i386-tdep.c: Include "osabi.h".
924 (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
925 iterate over arches. Update call to gdbarch_init_osabi.
926 (i386_dump_tdep): Don't dump osabi.
927 * i386-linux-tdep.c: Include "osabi.h".
928 * i386-sol2-tdep.c: Include "osabi.h".
929 * i386bsd-tdep.c: Include "osabi.h".
930 * i386gnu-tdep.c: Include "osabi.h".
931 * i386ly-tdep.c: Include "osabi.h".
932 * i386nbsd-tdep.c: Include "osabi.h".
933 * i386obsd-tdep.c: Include "osabi.h".
935 * mips-tdep.c (struct gdbarch_tdep): Remove osabi member.
936 (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
937 check osabi when iterating over arches. Update call to
939 (mips_dump_tdep): Don't dump osabi.
941 * ns32k-tdep.h: Don't include "osabi.h".
942 (struct gdbarch_tdep): Remove.
943 * ns32k-tdep.c (ns32k_gdbarch_init): Don't call
944 gdbarch_lookup_osabi. Don't iterate over arches. Don't
945 allocate tdep. Update call to gdbarch_init_osabi.
946 (ns32k_dump_tdep): Remove.
947 (_initialize_ns32k_tdep): Update call to gdbarch_register.
948 * ns32knbsd-tdep.c: Include "osabi.h".
950 * ppc-tdep.h: Don't include "osabi.h".
951 (struct gdbarch_tdep): Remove osabi member.
952 * rs6000-tdep.c: Include "osabi.h".
953 (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check
954 osabi when iterating over arches. Update call to
956 (rs6000_dump_tdep): Don't dump osabi.
957 * ppc-linux-tdep.c: Include "osabi.h".
958 * ppcnbsd-tdep.c: Include "osabi.h".
960 * sh-tdep.h: Don't include "osabi.h".
961 (struct gdbarch_tdep): Remove osabi member.
962 * sh-tdep.c: Include "osabi.h".
963 (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
964 iterate over arches. Update call to gdbarch_init_osabi.
965 (sh_dump_tdep): Don't dump osabi.
966 * shnbsd-tdep.c: Include "osabi.h".
968 * sparc-tdep.c: Include "osabi.h".
969 (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
970 iterate over arches. Update call to gdbarch_init_osabi.
971 (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the
974 * vax-tdep.h: Don't include "osabi.h".
975 (struct gdbarch_tdep): Remove.
976 * vax-tdep.c: Include "osabi.h".
977 (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
978 iterate over arches. Don't allocate tdep. Update call
979 to gdbarch_init_osabi.
980 (vax_dump_tdep): Remove.
981 (_initialize_vax_tdep): Update call to gdbarch_register.
983 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
985 * breakpoint.c (insert_breakpoints): Skip disabled breakpoints
987 (breakpoint_re_set_one): Don't fetch the value for a disabled
990 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
992 * buildsym.h (processing_hp_compilation): Remove obsolete variable.
993 * gdbarch.sh Remove include of "value.h" in gdbarch.h.
994 (COERCE_FLOAT_TO_DOUBLE): Remove.
995 * gdbarch.c: Regenerate.
996 * gdbarch.h: Regenerate.
997 * Makefile.in: Remove value_h from gdbarch_h.
998 * valops.c (coerce_float_to_double): New variable.
999 (default_coerce_float_to_double): Remove.
1000 (standard_coerce_float_to_double): Remove.
1001 (value_arg_coerce): Use coerce_float_to_double.
1002 (_initialize_valops): Add "set coerce-float-to-double".
1003 * value.h (default_coerce_float_to_double): Remove prototype.
1004 (standard_coerce_float_to_double): Remove prototype.
1006 * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
1008 * mdebugread.c (parse_symbol): Likewise.
1009 * stabsread.c (define_symbol): Mark all functions as prototyped.
1011 * hppa-tdep.c (hppa_coerce_float_to_double): Remove.
1012 * alpha-tdep.c (alpha_gdbarch_init): Remove call to
1013 set_gdbarch_coerce_float_to_double.
1014 * arm-tdep.c (arm_gdbarch_init): Likewise.
1015 * frv-tdep.c (frv_gdbarch_init): Likewise.
1016 * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
1017 * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
1018 * mips-tdep.c (mips_gdbarch_init): Likewise.
1019 (mips_coerce_float_to_double): Remove.
1020 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
1021 (rs6000_coerce_float_to_double): Remove.
1022 * s390-tdep.c (s390_gdbarch_init): Likewise.
1023 * sh-tdep.c (sh_gdbarch_init): Likewise.
1024 (sh_coerce_float_to_double): Remove.
1025 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
1026 (sparc_coerce_float_to_double): Remove.
1027 * v850-tdep.c (v850_gdbarch_init): Likewise.
1028 * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
1029 * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
1030 * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
1031 (hppa_coerce_float_to_double): Remove prototype.
1032 * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
1034 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
1036 * regformats/reg-m68k.dat: Remove fpcode and fpflags.
1038 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
1040 Suggested by Stewart Brown <sb24@avaya.com>:
1041 * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
1042 in recursive calls. Handle TYPE_CODE_TYPEDEF.
1043 (c_type_print_varspec_suffix): Likewise.
1045 2003-01-04 Mark Kettenis <kettenis@gnu.org>
1047 * configure.in: Don't set and AC_SUBST SUBDIRS.
1048 * configure: Regenerated.
1050 * configure.in: Remove code dealing with shared libraries.
1051 * Makefile.in: Remove HLDFLAGS and HLDENV.
1052 * configure: Regenerated.
1054 2003-01-04 Andrew Cagney <ac131313@redhat.com>
1056 * frame.c (deprecated_frame_xmalloc): New function.
1057 (deprecated_set_frame_saved_regs_hack): New function.
1058 (deprecated_set_frame_extra_info_hack): New function.
1059 * frame.h (deprecated_frame_xmalloc): Declare.
1060 (deprecated_set_frame_saved_regs_hack): Declare.
1061 (deprecated_set_frame_extra_info_hack): Declare.
1063 2003-01-04 Mark Kettenis <kettenis@gnu.org>
1065 * configure.in: Move code that provides the --enable-gdbtk option
1066 right after the code that handles the --enable-tui option, and
1068 * configure: Regenerated.
1070 * configure.in: Call AC_GNU_SOURCE. Check for pread64 using
1071 AC_CHECK_FUNCS and remove the old check for pread64.
1072 * acinclude.m4 (AC_GNU_SOURCE): New macro.
1073 * acconfig.h (_GNU_SOURCE): Add.
1074 (HAVE_PREAD64): Remove.
1075 * configure, aclocal.m4, config.in: Regenerated.
1077 2003-01-03 Andrew Cagney <ac131313@redhat.com>
1079 * alpha-tdep.c: Use get_frame_saved_regs.
1080 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
1081 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
1082 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
1083 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
1084 * vax-tdep.c, xstormy16-tdep.c: Ditto.
1086 2003-01-03 Mark Kettenis <kettenis@gnu.org>
1088 * configure.in: Remove all use of the SUBDIRS variable; add
1089 directories using the AC_CONFIG_SUBDIRS macro instead. Polish
1090 code providing the --enable-multi-ice option, and move it right in
1091 front of the code that checks whether gdbserver is supported.
1093 * configure: Regenerated.
1094 * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
1097 2003-01-03 Andrew Cagney <cagney@redhat.com>
1099 * alpha-tdep.c: Use deprecated_update_frame_base_hack.
1100 * avr-tdep.c, cris-tdep.c: Ditto.
1101 * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
1102 * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
1104 2003-01-03 Mark Kettenis <kettenis@gnu.org>
1106 * configure.in: Remove --enable-netrom option.
1107 * configure: Regenerated.
1109 2003-01-03 Mark Kettenis <kettenis@gnu.org>
1111 * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
1112 declaration for `struct re_pattern_buffer' instead.
1113 * Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
1115 2003-01-03 J. Brobecker <brobecker@gnat.com>
1117 * mdebugread.c (parse_symbol): Count until the stEnd matching
1120 2003-01-02 Mark Kettenis <kettenis@gnu.org>
1122 * configure.in: Remove --with-cpu option.
1123 subscripts. Remove evil changequotes here.
1124 * acconfig.h (TARGET_CPU_DEFAULT): Remove.
1125 * config.in, configure: Regenerated.
1127 * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
1128 * configure.in: Cleanup section that sources GDB and BFD configure
1129 subscripts. Remove evil changequotes here.
1130 * config.in, configure: Regenerated.
1132 2003-01-02 Andrew Cagney <ac131313@redhat.com>
1134 * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
1135 frame accessor methods.
1136 * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
1137 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
1138 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
1139 * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
1140 * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
1141 * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
1142 * z8k-tdep.c: Ditto.
1144 2003-01-02 Mark Kettenis <kettenis@gnu.org>
1146 * configure.in: Remove UI_OUT configuration code.
1147 * ada-lang.c: Update assuming UI_OUT is always true.
1148 * Makefile.in (UIOUT_CFLAGS): Remove.
1149 * configure: Regenerated.
1150 * TODO: Remove blurb about elimination of -DUI_OUT.
1152 * configure.in: Move code that provides the --enable-gdbcli,
1153 --enable-gdbmi options right before the code that handles the
1154 --enable-tui option. Polish a bit.
1155 * configure: Regenerated.
1157 * configure.in: Rewrite check for GNU regex and the
1158 --without-included regex option, and move it into the "Checks for
1159 library functions" section. This makes us use the system regex
1160 again by default on systems with version 2 of the GNU C library.
1161 This was apparently broken.
1162 * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
1163 * acconfig.h (USE_INCLUDED_REGEX): Remove.
1164 * config.in, configure: Regenerated.
1166 * configure.in: Move code that provides the --enable-tui option
1167 before the "Checks for libraries" section. Polish the code
1168 somewhat and set need_curses to yes if we build the TUI. Rewrite
1169 code that looks for a library providing termcap functionality to
1170 match more closely what's done in the Readline library, and move
1171 it into to the "Checks for libraries" section.
1172 * configure: Regenerated.
1173 * Makefile.in (TERMCAP): Remove variable.
1174 * config/i386/go32.mh (TERMCAP): Remove variable.
1176 2003-01-02 Andrew Cagney <ac131313@redhat.com>
1178 * MAINTAINERS: Mention gdb_mbuild.sh.
1179 * gdb_mbuild.sh: Rewrite.
1181 2003-01-02 Mark Kettenis <kettenis@gnu.org>
1183 * configure.in: Fix typo in last change.
1184 * config.in, configure: Regenerated.
1186 2003-01-02 Andrew Cagney <ac131313@redhat.com>
1188 * valarith.c (value_binop): Delete obsolete code and comments.
1189 * configure.host: Ditto.
1190 * buildsym.h (make_blockvector): Ditto.
1191 * buildsym.c (make_blockvector): Ditto.
1192 * defs.h (enum language): Ditto.
1193 (chill_demangle): Ditto.
1194 * elfread.c (elf_symtab_read): Ditto.
1195 * dwarfread.c (CHILL_PRODUCER): Ditto.
1196 (set_cu_language): Ditto.
1197 (handle_producer): Ditto.
1198 * expprint.c (print_subexp): Ditto.
1199 * gdbtypes.c (chill_varying_type): Ditto.
1200 * gdbtypes.h (builtin_type_chill_bool): Ditto.
1201 (builtin_type_chill_char, builtin_type_chill_long): Ditto.
1202 (builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
1203 (chill_varying_type): Ditto.
1204 * language.h (_LANG_chill): Ditto.
1205 * language.c (binop_result_type, integral_type): Ditto.
1206 (character_type, string_type, structured_type): Ditto.
1207 (lang_bool_type, binop_type_check): Ditto.
1208 * stabsread.h (os9k_stabs): Ditto.
1209 * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
1210 (define_symbol, read_type, read_struct_fields): Ditto.
1211 (read_array_type, read_enum_type, read_huge_number): Ditto.
1212 (read_range_type, start_stabs): Ditto.
1213 * symfile.c (init_filename_language_table): Ditto.
1214 (add_psymbol_with_dem_name_to_list): Ditto.
1215 * symtab.c (symbol_init_language_specific): Ditto.
1216 (symbol_init_demangled_name, symbol_demangled_name): Ditto.
1217 * symtab.h (struct general_symbol_info): Ditto.
1218 (SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
1219 * typeprint.c (typedef_print): Ditto.
1220 * utils.c (fprintf_symbol_filtered): Ditto.
1221 * valops.c (value_cast, search_struct_field, value_slice): Delete
1223 (varying_to_slice): Delete function.
1224 * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
1225 (varying_to_slice): Delete declaration.
1226 * MAINTAINERS: Update.
1228 2003-01-02 Mark Kettenis <kettenis@gnu.org>
1230 * configure.in: Reorganize "Checks for library functions section"
1231 a bit. Remove check for `btowc' and `isascii' functions.
1232 * configure: Regenerated.
1234 * acconfig.h (_MSE_INT_H): Remove.
1235 * configure.in: Create "Checks for header files" section, and move
1236 appropriate tests there. Don't check for objlist.h, wchar.h,
1237 wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h>
1238 misdetection fix. Also add "Checks for types", "Checks for
1239 compiler characteristics" and "Checks for library functions"
1241 * config.in, configure: Regenerated.
1243 * configure.in: Create "Checks for programs" section, and move
1244 appropriate tests there.
1246 2003-01-01 Mark Kettenis <kettenis@gnu.org>
1248 * configure.in: Create "Checks for libraries" section, and move
1249 appropriate tests there. Cleanup check for wctype in libw. Use
1250 AC_SEARCH_LIBS to see whether we need libsocket.
1251 * configure: Regenerated.
1253 For older changes see ChangeLog-2002
1259 version-control: never