1 2003-02-20 Adam Fedor <fedor@gnu.org>
3 * objc-lang.h (find_methods): Remove declaration.
4 * objc-lang.c (find_methods): Make static.
6 2003-02-20 Christopher Faylor <cgf@redhat.com>
8 * win32-nat.c (get_image_name): Check return value from
10 (child_xfer_memory): Ditto.
12 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
14 * configure.in (TARGET_SYSTEM_ROOT): Set default to
15 ${exec_prefix}/${target_alias}/sys-root. Match explicit
16 '${exec_prefix}' (in addition to the expansion thereof) as
20 2003-02-20 David Carlton <carlton@math.stanford.edu>
22 * symtab.c (search_symbols): Revert the search_symbols part of my
23 2002-12-23 patch. Add comment.
25 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
27 * coffread.c (coff_symfile_read): Clean up minimal symbols earlier.
28 * dbxread.c (elfstab_build_psymtabs): Don't call
29 install_minimal_symbols.
30 (stabsect_build_psymtabs): Likewise.
31 * elfread.c (elf_symfile_read): Call install_minimal_symbols
33 * somread.c (som_symfile_read): Call install_minimal_symbols
34 and do_cleanups earlier.
35 * nlmread.c (nlm_symfile_read): Likewise.
36 * mdebugread.c (elfmdebug_build_psymtabs): Call
37 install_minimal_symbols and make appropriate cleanups.
39 2003-02-20 Kevin Buettner <kevinb@redhat.com>
41 * solib.c (reload_shared_libraries): New function.
42 (_initialize_solib): Add callbacks for ``set solib-search-path''
43 and ``set solib-absolute-prefix''.
45 2003-02-20 David Carlton <carlton@math.stanford.edu>
47 * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME;
49 * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace
50 SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME.
51 * ada-typeprint.c (ada_typedef_print): Ditto.
52 * ax-gdb.c (gen_var_ref): Ditto.
53 * breakpoint.c (print_one_breakpoint): Ditto.
54 * buildsym.c (finish_block): Ditto.
55 * c-valprint.c (c_val_print): Ditto.
56 * expprint.c (print_subexp): Ditto.
57 * findvar.c (locate_var_value): Ditto.
58 * infcmd.c (jump_command): Ditto.
59 * linespec.c (decode_line_2, decode_compound): Ditto.
60 * maint.c (maintenance_translate_address): Ditto.
61 * objc-lang.c (compare_selectors, compare_classes): Ditto.
62 * printcmd.c (build_address_symbolic, sym_info, print_frame_args):
64 * p-valprint.c (pascal_val_print): Ditto.
65 * stabsread.c (define_symbol): Ditto.
66 * stack.c (print_frame, frame_info, print_block_frame_locals)
67 (print_frame_arg_vars, return_command): Ditto.
68 * symfile.c (compare_symbols, compare_psymbols): Ditto.
69 * symmisc.c (print_symbol): Ditto.
70 * symtab.c (lookup_partial_symbol, lookup_block_symbol)
71 (compare_search_syms, print_symbol_info, print_msymbol_info)
72 (rbreak_command): Ditto.
73 * tracepoint.c (tracepoints_info): Ditto.
74 * typeprint.c (typedef_print): Ditto.
75 * valops.c (value_of_variable, hand_function_call): Ditto.
76 * cli/cli-cmds.c (edit_command, list_command): Ditto.
77 * ada-typeprint.c: Update Copyright.
78 * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto.
79 * tracepoint.c, cli/cli-cmds.c: Ditto.
81 2003-02-20 Kevin Buettner <kevinb@redhat.com>
83 * frame.c (generic_unwind_get_saved_register): Make non-static.
84 * frame.h (generic_unwind_get_saved_register): Declare.
85 * mips-tdep.c (read_next_frame_reg): Fetch register from
86 current regcache when frame is NULL.
87 (mips_init_extra_frame_info): Pass NULL explicitly for parameter
89 (mips_get_saved_register): Call generic_unwind_get_saved_register()
90 instead of frame_register_unwind().
92 2003-02-20 Andrew Cagney <ac131313@redhat.com>
94 * remote-sim.c (gdbsim_insert_breakpoint)
95 (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS
98 2003-02-20 Andrew Cagney <ac131313@redhat.com>
100 * remote.c (_initialize_remote): Add commands "set/show remote
101 hardware-watchpoint-limit" and "set/show remote
102 hardware-breakpoint-limit".
103 (remote_hw_watchpoint_limit): Initialize to -1.
104 (remote_hw_breakpoint_limit): Ditto.
105 (remote_check_watch_resources): Treat a limit of -1 as unlimited.
107 2003-02-19 Raoul Gough <RaoulGough@yahoo.co.uk>
109 * coff-pe-read.c: New file - support reading of minimal symbols from a
110 portable executable using the export table.
111 * coff-pe-read.h: New file.
112 * coffread.c: Include coff-pe-read.h.
113 (coff_symtab_read): Call read_pe_exported_syms iff no recognized
114 debugging symbols found.
115 * Makefile.in (SFILES): Add coff-pe-read.o.
116 (coff_pe_read_h): Define.
117 (COMMON_OBS): Add coff-pe-read.o.
118 (coffread.o): Add coff_pe_read_h dependency.
119 (coff-pe-read.o): New target.
121 2003-02-19 David Carlton <carlton@math.stanford.edu>
123 * Makefile.in (SFILES): Add block.c.
125 (COMMON_OBS): Add block.o.
127 (x86-64-tdep.o): Add $(block_h).
128 (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o)
129 (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o)
130 (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o)
131 (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o)
132 (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o)
133 (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o)
134 (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto.
135 * value.h: Add opaque declaration for struct block.
136 * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto.
138 * x86-64-tdep.c: #include "block.h"
139 * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto.
140 * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto.
141 * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto.
142 * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto.
143 * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto.
144 * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto.
145 * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto.
146 * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto.
147 * blockframe.c (blockvector_for_pc_sect): Move to "block.c".
148 (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto.
149 * symtab.c (block_function): Ditto.
150 (contained_in): Ditto.
151 * frame.h: Move block_for_pc and block_for_pc_sect declarations to
152 block.h. Add opaque declaration for struct block.
153 * symtab.h: Move block_function and contained_in declarations to
154 block.h. Add opaque declarations for struct block, struct
156 (struct block): Move to block.h.
157 (struct blockvector): Ditto.
158 (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK)
159 (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM)
160 (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE)
161 (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS)
162 (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):
167 2003-02-19 Theodore A. Roth <troth@openavr.org>
169 * avr-tdep.c (avr_extract_return_value): Remove function.
170 (avr_store_return_value): Remove function.
171 (avr_extract_struct_value_address): Remove function.
172 (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls.
174 2003-02-19 Andrew Cagney <ac131313@redhat.com>
176 * rs6000-tdep.c: Include "gdb_assert.h".
177 (registers_e500): Add "acc" and "spefscr".
178 (PPC_GPRS_PSEUDO_REGS): Remove trailing comma.
179 (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum,
180 ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum
182 (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson).
184 2003-02-18 Keith Seitz <keiths@redhat.com>
186 * Makefile.in: Add gdbtk-interps.c.
188 2003-02-18 Kevin Buettner <kevinb@redhat.com>
190 * sparc-tdep.c (sparc_frame_chain): Adjust return value.
191 * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare.
193 2003-02-18 Andrew Cagney <cagney@redhat.com>
195 * symtab.h (struct objfile): Add opaque declaration.
197 2003-02-18 Elena Zannoni <ezannoni@redhat.com>
199 From Jim Ingham <jingham@apple.com>:
200 * dbxread.c (process_one_symbol): Use last_function_start rather
201 than function_start_offset to find the real beginning of the
202 current function. The latter is just the text section offset on
203 some systems, the former is always the real function start.
205 2003-02-17 Andrew Cagney <cagney@redhat.com>
207 * configure.in: Revert ${target} != ${host}.
209 2003-02-17 Andrew Cagney <ac131313@redhat.com>
211 * configure.in (Makefile): Use the test ${target} != ${host},
212 instead of the absence of the "nm.h" file, to determine of the
213 configuration non-native.
214 * configure: Regenerate.
216 2003-02-14 Elena Zannoni <ezannoni@redhat.com>
218 From Brian Ford <ford@vss.fsi.com>
220 * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly
221 conditionalize tui_active test.
222 (lookup_cmd_1): Ditto.
224 2003-02-14 Mark Kettenis <kettenis@gnu.org>
226 * configure.in: Add check for _etext.
227 * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't
229 * config.in, configure: regenerated.
231 2003-02-14 Daniel Jacobowitz <drow@mvista.com>
233 * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base.
235 2003-02-14 Andrew Cagney <ac131313@redhat.com>
237 * main.c (tui_version): Delete variable.
238 (captured_main): When --tui, set interpreter_p to "tui" instead of
239 enabling tui_version.
240 * printcmd.c (display_command) [TUI]: Test tui_active instead of
242 * cli/cli-decode.c (lookup_cmd_composition): Ditto.
243 * cli/cli-cmds.c (disassemble_command): Ditto.
244 * defs.h (tui_version): Delete declaration.
245 * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c".
246 (tui-interp.o): Add rules.
247 (SUBDIR_TUI_OBS): Add "tui-interp.o".
249 2003-02-14 Christopher Faylor <cgf@redhat.com>
251 * win32-nat.c (register_loaded_dll): Correctly set address range for
254 2003-02-12 Jason Molenda (jmolenda@apple.com)
256 * symmisc.c (print_objfile_statistics): Include information about
257 the number of psymtabs and symtabs in each object file.
259 2003-02-13 Keith R Seitz <keiths@redhat.com>
261 * main.h (struct captured_main_args): Add interpreter_p.
262 * main.c (captured_main): Initialize interpreter_p from context.
263 * gdb.c (main): Set interpreter_p argument.
264 * Makefile.in (gdb.o): Add dependency for interps.h.
266 2003-02-12 Andrew Cagney <ac131313@redhat.com>
268 * event-top.c (cli_command_loop): Delete declaration.
269 (_initialize_event_loop): Delete function setting event_loop_hook.
270 * event-top.h (cli_command_loop): Declare. Update copyright.
271 (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H.
272 * interps.c (current_interp_command_loop): When event_loop_p, call
275 2003-02-12 Andrew Cagney <ac131313@redhat.com>
277 * interps.h (interp_command_loop_ftype): Change return type to
280 2003-02-12 Michal Ludvig <mludvig@suse.cz>
282 * x86-64-tdep.c (x86_64_extract_return_value)
283 (x86_64_store_return_value): Use regcache instead of regbuf.
284 (x86_64_gdbarch_init): Change related set_gdbarch_* functions.
285 * x86-64-linux-nat.c (fill_gregset): Use regcache.
287 2003-02-11 Andrew Cagney <ac131313@redhat.com>
289 * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS.
290 * aclocal.m4: Regenerate.
291 * configure: Regenerate.
293 * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of
296 2003-02-10 Michal Ludvig <mludvig@suse.cz>
298 * dwarf2cfi.c: Reindented.
300 2003-02-09 Andrew Cagney <ac131313@redhat.com>
302 * interps.c (clear_interpreter_hooks): Convert function definition
305 2003-02-07 David Carlton <carlton@math.stanford.edu>
307 * gdb_mbuild.sh: Delete extra shift after parsing '-f'.
309 2003-02-07 Kevin Buettner <kevinb@redhat.com>
311 * gdbtypes.h (struct main_type): Move ``length'' field from here...
312 (struct type): ...to here.
313 (TYPE_LENGTH): Adjust to reflect different location of ``length''
315 * gdbtypes.c (make_qualified_type): Set length on newly created type.
316 (replace_type): Set length on all type variants for a given type.
318 2003-02-07 Andrew Cagney <ac131313@redhat.com>
320 * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of
322 * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies.
324 2003-02-06 Andrew Cagney <ac131313@redhat.com>
326 * Makefile.in (symm-nat.o): Update dependencies.
327 (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto.
328 (lynx-nat.o, ia64-linux-nat.): Ditto.
329 * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include
330 "gdb_wait.h" instead of <wait.h> or <sys/wait.h>.
331 * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto.
333 * Makefile.in (inflow_h): Define.
334 (procfs.o, inflow.o, procfs.o): Update dependencies.
335 * inftarg.c (child_stop): Delete extern declaration of
336 inferior_process_group. Include "inflow.h".
337 * procfs.c (procfs_stop): Ditto. Include "inflow.h".
338 * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ...
339 * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file.
340 (our_process_group, inferior_process_group): Extern declarations.
342 * procfs.c: Include "gdb_assert.h".
344 * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>.
345 * cp-valprint.c (cp_print_value_fields): Eliminate STREQN.
346 * jv-typeprint.c (java_type_print_base): Ditto.
347 * typeprint.c (typedef_print): Eliminate STREQ.
348 * cli/cli-script.c (define_command, define_command): Ditto.
349 * main.c (captured_main): Ditto.
350 * values.c (lookup_internalvar): Ditto.
351 * utils.c (safe_strerror, parse_escape): Eliminate assignment
352 within `if' conditional.
353 * linespec.c (decode_line_2): Ditto.
354 * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto.
355 (bfd_openw_with_cleanup): Ditto.
357 2003-02-07 Mark Kettenis <kettenis@gnu.org>
359 * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to
360 legacy_extract_return_value and store_return_value to
363 2003-02-06 Raoul Gough <RaoulGough@yahoo.co.uk>
365 * win32-nat.c (get_relocated_section_addrs): New function. Find
366 section load addresses for symbol handling in relocated DLLs.
367 (solib_symbols_add): Open a bfd and call get_relocated_section_addrs.
369 2003-02-05 Fred Fish <fnf@intrinsity.com>
371 * remote-e7000.c (e7000_drain_command): Fix precedence problem with
373 * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem
375 (angel_RDI_info): Ditto.
376 * infttrace.c (threads_continue_all_but_one): Fix precedence problem
378 (threads_continue_all_with_signals): Ditto.
380 2003-02-05 Jim Ingham <jingham@apple.com>
381 Keith Seitz <keiths@redhat.com>
382 Elena Zannoni <ezannoni@redhat.com>
383 Andrew Cagney <ac131313@redhat.com>
385 * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
386 (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
387 (SUBDIR_MI_OBS): Add "mi-interp.o".
388 (SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
389 (SFILES): Add "interps.c".
390 (COMMON_OBS): Add "interps.o".
391 (interps_h, mi_main_h): Define.
392 (interps.o, cli-interp.o, mi-interp.o): Add dependencies.
393 (mi-main.o, main.o, event-top.o): Update dependencies.
394 * cli/cli-interp.c: New file.
395 * interps.h, interps.c: New files.
396 * top.c: (gdb_init): Don't install the default interpreter, handed
398 * main.c: Include "interps.h".
399 (interpreter_p): Note that it should malloc'ed.
400 (captured_command_loop): Call current_interp_command_loop.
401 (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
402 xfree and xstrdup when updating interpreter_p. Install the
403 default interpreter. Add hack to stop mi1's copyright notice
405 * event-top.h (gdb_setup_readline): Declare.
406 (gdb_disable_readline): Declare.
407 * event-top.c: Include "interps.h".
408 (display_gdb_prompt): Call current_interp_display_prompt_p.
409 (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
410 gdb_stdlog, and gdb_stdtarg.
411 (_initialize_event_loop): Don't call gdb_setup_readline.
412 * cli-out.c (cli_out_set_stream): New function.
413 * cli-out.h (cli_out_set_stream): Declare.
415 2003-02-06 Mark Kettenis <kettenis@gnu.org>
417 * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*,
418 i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all
419 handled fine by i[3456]86-*sco* and i[3456]86-sysv*.
420 * config/i386/i386sco5.mt, config/i386/i386v4.mt,
421 config/i386/i386v42mp.mt: Removed.
423 2003-02-05 Mark Kettenis <kettenis@gnu.org>
425 * configure.tgt (*-*-solaris*): Set gdb_osabi to
428 2003-02-05 Michael Chastain <mec@shout.net>
430 * PROBLEMS (i[3456]86-*-linux*): Warn about binutils
431 2.12.1 and earlier versions.
433 2003-02-05 Andrew Cagney <ac131313@redhat.com>
435 Remove orphaned hosts, targets and files.
436 * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete.
437 * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete.
438 * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete.
439 * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete.
440 * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete.
441 * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete.
442 * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete.
443 * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete.
444 * config/sparc/tm-sp64sim.h: Delete.
445 * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-*
447 * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and
448 mips*-dec-mach3* targets.
450 2003-02-04 Michael Chastain <mec@shout.net>
452 * NEWS: Fix typo: sepcifying -> specifying.
454 2003-02-04 Michael Chastain <mec@shout.net>
456 * dwarfread.c: Add documentation on the state of dwarf-1,
457 looking towards obsoletion.
459 2003-02-03 Michael Chastain <mec@shout.net>
461 * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc,
462 gdb/testsuite/gdb.c++/pr-1023.exp.
464 2003-02-04 Andrew Cagney <ac131313@redhat.com>
466 * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR.
467 * TODO: Delete reference to IS_TRAPPED_INTERNALVAR.
469 * utils.c (init_page_info): Delete reference to MPW in comments.
470 * main.c (captured_main): Delete #ifdef MPW.
472 2003-02-04 Andrew Cagney <ac131313@redhat.com>
474 * NEWS: Note that the m32r-*-elf* is obsolete.
475 * monitor.c (monitor_expect): Obsolete reference to m32r.
476 * configure.tgt: Mark m32r-*-elf* as obsolete.
477 * MAINTAINERS: Mark m32k as obsolete.
478 * m32r-rom.c: Obsolete file.
479 * config/m32r/m32r.mt: Obsolete file.
480 * config/m32r/tm-m32r.h: Obsolete file.
481 * m32r-stub.c: Obsolete file.
482 * m32r-tdep.c: Obsolete file.
484 2003-02-04 Andrew Cagney <ac131313@redhat.com>
486 * NEWS: Mention that the z8k-zilog-none is obsolete.
487 * MAINTAINERS: Mark z8k as obsolete.
488 * configure.tgt: Obsolete the z8k-*-coff* target.
489 * config/z8k/z8k.mt: Obsolete file.
490 * config/z8k/tm-z8k.h: Obsolete file.
491 * z8k-tdep.c: Obsolete file.
493 2003-02-04 Andrew Cagney <ac131313@redhat.com>
495 * NEWS: Mention that the mn10200-elf is obsolete.
496 * configure.tgt: Obsolete mn10200-*-* target.
497 * breakpoint.c (update_breakpoints_after_exec): Update comment to
498 mention that the mn10200 is obsolete.
499 * breakpoint.h: Ditto.
500 * MAINTAINERS: Mark the mn10200-elf as obsolete.
501 * config/mn10200/mn10200.mt: Obsolete file.
502 * config/mn10200/tm-mn10200.h: Obsolete file.
503 * mn10200-tdep.c: Obsolete file.
505 2003-02-04 Andrew Cagney <ac131313@redhat.com>
507 * MAINTAINERS: Mark h8500 as obsolete.
508 * configure.tgt (h8500-*-*): Mark h8500 code as obsolete.
509 * findvar.c (value_from_register): Ditto.
510 * h8500-tdep.c: Mark file as obsolete.
511 * config/h8500/h8500.mt: Ditto.
512 * config/h8500/tm-h8500.h: Ditto.
513 * NEWS: Mention that h8500 is obsolete.
515 2003-02-04 David Carlton <carlton@math.stanford.edu>
517 * objfiles.c (allocate_objfile): Always set name. Add comment at
519 * jv-lang.c (get_dynamics_objfile): Add comment.
521 2003-02-04 David Carlton <carlton@math.stanford.edu>
523 * symtab.h (SYMBOL_LINKAGE_NAME): Delete.
524 * printcmd.c (build_address_symbolic): Replace uses of
525 SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME,
526 SYMBOL_NAME, and asm_demangle.
529 2003-02-04 David Carlton <carlton@math.stanford.edu>
531 * linespec.c (decode_compound): Extract code into
533 (lookup_prefix_sym): New function.
535 2003-02-04 David Carlton <carlton@math.stanford.edu>
537 * gdbtypes.h: Delete INTEGER_COERCION_BADNESS,
538 FLOAT_COERCION_BADNESS.
539 * gdbtypes.c (rank_one_type): Replace all uses of
540 INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS.
542 2003-02-04 Jim Blandy <jimb@redhat.com>
544 * dwarf2read.c (dwarf2_locate_sections): When we find a macro info
545 section, let dwarf_macinfo_section point to it, not
548 2003-02-04 Daniel Jacobowitz <drow@mvista.com>
550 Pointed out by Anton Blanchard <anton@samba.org>.
551 * ppc-linux-tdep.c (insn_is_sigreturn): New function.
552 (ppc_linux_at_sigtramp_return_path): Use it.
554 2003-02-04 Daniel Jacobowitz <drow@mvista.com>
556 * defs.h (streq): Add prototype.
557 * utils.c (streq): New function.
559 * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of
560 SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME.
561 * mdebugread.c (new_symbol): Likewise.
562 * stabsread.c (define_symbol): Likewise.
563 * coffread.c (process_coff_symbol): Likewise.
564 * dwarfread.c (new_symbol): Likewise.
566 * minsyms.c (prim_record_minimal_symbol_and_info): Use
567 SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language
569 (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call
570 SYMBOL_INIT_DEMANGLED_NAME.
571 * objfiles.c: Include "hashtab.h".
572 (allocate_objfile): Call htab_set_functions_ex for the
573 demangled_names_hash.
574 (free_objfile): Call htab_delete for the demangled_names_hash.
575 * objfiles.h (struct htab): Add declaration.
576 (struct objfile): Add demangled_names_hash.
577 * symfile.c: Include "hashtab.h".
578 (reread_symbols): Call htab_delete for the demangled_names_hash.
579 (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting
580 SYMBOL_NAME in the bcache.
581 * symtab.c: Include "hashtab.h". Update comments.
582 (create_demangled_names_hash, symbol_set_names): New functions.
583 (symbol_find_demangled_name): New function, broken out from
584 symbol_init_demangled_names.
585 (symbol_init_demangled_names): Use it.
586 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses.
587 (SYMBOL_SET_NAMES): New macro.
588 (symbol_set_names): Add prototype.
590 2003-02-03 Jim Blandy <jimb@redhat.com>
592 Use a single, consistent representation for an empty minimal
593 symbol table in an objfile.
594 * objfiles.c (terminate_minimal_symbol_table): New function.
595 (allocate_objfile): Call it.
596 * objfiles.h (terminate_minimal_symbol_table): New declaration.
597 (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is
599 * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether
600 objfile has minimal symbols, compare minimal_symbol_count to zero,
601 instead of comparing msymbols with NULL.
602 * objfiles.c (have_minimal_symbols): Same.
603 * solib-sunos.c (solib_add_common_symbols): Call
604 terminate_minimal_symbol_table.
605 * symfile.c (reread_symbols): Same.
607 2003-02-03 Kevin Buettner <kevinb@redhat.com>
609 * s390-tdep.c (s390_address_class_type_flags)
610 (s390_address_class_type_flags_to_name)
611 (s390_address_class_name_to_type_flags): New functions.
612 (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME,
613 ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS.
615 2003-02-03 Michael Snyder <msnyder@redhat.com>
617 * arm-tdep.c: Fix spell-o in comment.
619 2003-02-03 Michal Ludvig <mludvig@suse.cz>
621 * dwarf2cfi.c (pointer_encoding): Added new parameter.
622 * dwarf2cfi.c, dwarf2read.c: Changed all warnings and
623 error messages to contain BFD filename.
625 2003-02-02 Elena Zannoni <ezannoni@redhat.com>
627 Fix PR gdb/742 gdb/743 gdb/877
628 * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end.
629 (do_mixed_source_and_assembly): Use
630 make_cleanup_ui_out_tuple_begin_end and
631 make_cleanup_ui_out_tuple_begin_end.
632 (do_mixed_source_and_assembly): Ditto.
633 * thread.c (do_captured_list_thread_ids): Ditto.
634 * ui-out.h (ui_out_table_begin, ui_out_list_begin,
635 ui_out_tuple_begin, ui_out_table_end, ui_out_list_end,
636 ui_out_tuple_end): Delete prototypes.
637 * ui-out.c (ui_out_list_begin, ui_out_tuple_begin,
638 ui_out_list_end, ui_out_tuple_end): Delete.
640 From Kevin Buettner <kevinb@redhat.com>:
641 * ui-out.h (make_cleanup_ui_out_table_begin_end): New function.
642 * ui-out.c (make_cleanup_ui_out_table_begin_end)
643 (do_cleanup_table_end): New functions.
644 * breakpoint.c (print_it_typical, print_one_breakpoint, mention):
645 Use cleanups to invoke_ui_out_tuple_end().
646 (breakpoint_1): Use cleanup to invoke ui_out_table_end().
647 * cli/cli-setshow.c (cmd_show_list): Use
648 make_cleanup_ui_out_tuple_begin_end.
650 2003-02-02 Andrew Cagney <ac131313@redhat.com>
652 * frame.c (frame_unwind_register): New function.
653 (frame_unwind_unsigned_register): Use.
654 (frame_unwind_signed_register): Use.
655 (frame_read_register): New function.
656 * frame.h (frame_unwind_register): Declare.
657 (frame_read_register): Declare.
659 * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write
660 and frame_unwind_register instead of read_memory, write_register
661 and deprecated_write_register_bytes.
663 2003-02-02 Andrew Cagney <ac131313@redhat.com>
665 * frame.h: Note that namelen can be negative.
666 * frame.c (frame_map_name_to_regnum): When LEN is negative, use
669 * NEWS: Mention that the d10v's `regs' command is deprecated.
670 * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info.
671 (d10v_print_registers_info): New function.
672 (show_regs): Call d10v_print_registers_info.
673 (_initialize_d10v_tdep): Mark "show regs" command as deprecated.
675 2003-02-02 Mark Kettenis <kettenis@gnu.org>
677 * stack.c (print_frame_info): Restore call to annotate_frame_begin
678 lost in the previous patch.
680 2003-02-01 Andrew Cagney <ac131313@redhat.com>
682 From 2002-11-09 Jason Molenda (jason-cl@molenda.com)
683 * stack.c (print_frame_info_base): Output complete FRAME tuple
684 for synthesized frames.
686 2003-02-02 Andrew Cagney <ac131313@redhat.com>
688 * mips-nat.c (zerobuf): Delete.
689 (fetch_inferior_registers): Alloc local zerobuf.
690 (fetch_core_registers): Alloc local zerobuf.
691 * d10v-tdep.c (show_regs): Don't allocate a dynamic array using
692 MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE.
693 * thread-db.c (thread_db_store_registers): Ditto.
694 * sh-tdep.c (sh_do_register): Ditto.
695 * rom68k-rom.c (rom68k_supply_one_register): Ditto.
696 * remote-sim.c (gdbsim_store_register): Ditto.
697 * remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
698 * remote-e7000.c (fetch_regs_from_dump): Ditto.
699 * monitor.c (monitor_supply_register): Ditto.
700 * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto.
701 * mips-nat.c (fetch_inferior_registers): Ditto.
702 * m68klinux-nat.c (fetch_register): Ditto.
703 * lynx-nat.c (fetch_inferior_registers): Ditto.
704 (fetch_inferior_registers): Ditto.
705 * irix4-nat.c (supply_gregset, supply_fpregset): Ditto.
706 * hpux-thread.c (hpux_thread_fetch_registers): Ditto.
707 (hpux_thread_store_registers): Ditto.
708 * hppah-nat.c (fetch_register): Ditto.
709 * hppab-nat.c (fetch_register): Ditto.
710 * hppa-tdep.c (pa_register_look_aside): Ditto.
711 (pa_print_fp_reg, pa_strcat_fp_reg): Ditto.
712 * dve3900-rom.c (fetch_bitmapped_register): Ditto.
714 2003-02-01 Andrew Cagney <ac131313@redhat.com>
716 * gdbarch.sh: Explictly specify all method levels. When a
717 variable with an empty level, provide a non-multi-arch default.
718 (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty.
719 * gdbarch.h: Re-generate.
720 * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined.
721 * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1
723 2003-02-01 Andrew Cagney <ac131313@redhat.com>
725 * defs.h (host_pointer_to_address): Delete declaration.
726 (address_to_host_pointer): Delete declaration.
727 * utils.c (host_pointer_to_address): Delete function.
728 (address_to_host_pointer): Delete function.
729 * procfs.c (procfs_address_to_host_pointer): New function.
730 * procfs.c (proc_set_watchpoint): Use.
731 (procfs_can_use_hw_breakpoint): Update comments.
732 * somsolib.c (hpux_address_to_host_pointer_hack): New function.
733 (som_solib_add): Use.
734 * hppa-tdep.c (hppa_pointer_to_address_hack): New function.
735 * hppa-tdep.c (unwind_command): Use.
737 2003-02-01 Andrew Cagney <ac131313@redhat.com>
739 * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and
742 * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS,
743 ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code.
744 (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code.
745 * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro.
746 (define_symbol): Update.
747 * symfile.c (generic_load): Remove references to nindy.
748 * symtab.c: Remove references to nindy.
750 2003-02-01 Andrew Cagney <ac131313@redhat.com>
752 * infcmd.c (print_float_info): Delete code conditional on
754 * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright.
755 * config/m68k/nm-apollo68b.h: Ditto.
756 * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright.
757 * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto.
758 * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto.
760 2003-02-01 Mark Kettenis <kettenis@gnu.org>
762 * config/i386/tm-i386os9k.h: Removed.
764 * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v.
765 Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since
766 they're identical to i[3456]86-*-sysv* now.
767 * config/i386/i386v32.mh: Removed.
768 * config/i386/xm-i386v32.h: Removed.
769 * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro.
771 * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed.
773 * config/i386/i386dgux.mh: Removed.
774 * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4.
776 * configure.in: Fix typo.
777 * configure: Regenerated.
779 2003-01-31 David Carlton <carlton@math.stanford.edu>
781 * dwarf2read.c (dwarf2_locate_sections): Set
782 dwarf_ranges_section.
784 2003-01-31 Andrew Cagney <ac131313@redhat.com>
786 * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts.
787 * utils.c: Update comments documenting legitimate uses of PTR.
789 * utils.c: Re-indent.
791 * config/djgpp/fnchange.lst: Delete nindy files.
792 * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files.
793 * nindy-share/nindy.c, nindy-share/env.h: Delete files.
794 * nindy-share/coff.h, nindy-share/block_io.h: Delete files.
795 * nindy-share/b.out.h, nindy-share/VERSION: Delete files.
796 * nindy-share/README, nindy-share/Onindy.c: Delete files.
797 * nindy-tdep.c, nindy-share/Makefile: Delete files.
798 * Makefile.in (init.c): Remove nindy references.
799 (saber_gdb): Delete rule.
800 (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c,
801 nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c,
803 (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules.
804 (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules.
805 (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h,
806 nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and
808 * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files.
809 * saber.suppress: Delete file.
811 2003-01-31 Daniel Jacobowitz <drow@mvista.com>
813 * dbxread.c (stabs_data): New static variable.
814 (fill_symbuf): Support an in-memory buffer for stabs data.
815 (stabs_seek): New function.
816 (dbx_psymtab_to_symtab): Relocate the stabs data if necessary.
817 (read_ofile_symtab): Use stabs_seek.
818 (elfstab_build_psymtabs): Take an asection* instead of
819 an offset and size. Relocate the stabs data if necessary.
820 Save the section* for dbx_psymtab_to_symtab.
821 * dwarf2read.c: Add section variables for each debug section.
822 (dwarf2_locate_sections): Fill them in.
823 (dwarf2_read_section): Take an asection* argument.
824 Relocate the section contents if necessary.
825 (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers.
826 * dwarf2cfi.c (parse_frame_info): Take a section argument and pass
827 it to dwarf2_read_section.
828 (dwarf2_build_frame_info): Update callers.
829 * elfread.c (elf_symfile_read): Update call to
830 elfstab_build_psymtabs.
831 * gdb-stabs.h (struct dbx_symfile_info): Add stab_section.
832 (DBX_STAB_SECTION): New macro.
833 * stabsread.h (elfstab_build_psymtabs): Update prototype.
834 * symfile.c (symfile_dummy_outputs): New function.
835 (symfile_relocate_debug_section): New function.
836 * symfile.h (symfile_relocate_debug_section): Add prototype.
838 2003-01-31 Richard Henderson <rth@redhat.com>
840 * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...
841 (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM.
842 (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM.
843 * alpha-tdep.c (alpha_register_name): Add "unique".
844 * alpha-tdep.h (ALPHA_NUM_REGS): Increment.
845 (ALPHA_UNIQUE_REGNUM): New.
846 * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New.
848 2003-01-31 Andrew Cagney <ac131313@redhat.com>
850 * README: Remove reference to Ericsson 1800 monitor.
851 * Makefile.in (remote-es.o): Delete rule.
852 (ALLDEPFILES): Delete remote-es.c.
853 * remote-es.c: Delete file.
854 * config/m68k/es1800.mt: Delete file.
855 * config/djgpp/fnchange.lst: Update.
856 * configure.tgt: Delete m68*-ericsson-* target.
858 2003-01-31 Adam Fedor <fedor@gnu.org>
860 * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc.
861 Remove duplicate/shadowing variable of same name.
863 2003-01-30 Jim Blandy <jimb@redhat.com>
865 * symfile.c (find_separate_debug_file): Assert that the objfile's
866 directory name we compute ends with a slash, and then assume that
867 that's so everywhere we use it.
869 2003-01-30 Daniel Jacobowitz <drow@mvista.com>
871 * valops.c (value_assign): Flush frame cache after stores to memory
874 2003-01-30 Andrew Cagney <ac131313@redhat.com>
876 * Makefile.in (mon960-rom.o): Delete rule.
877 * mon960-rom.c: Delete file.
879 2003-01-30 Andrew Cagney <ac131313@redhat.com>
881 * d10v-tdep.c: Include "frame-unwind.h".
882 (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate
884 (next_addr, uses_frame): Delete.
885 (struct d10v_unwind_cache): Define.
886 (prologue_find_regs): Add struct d10v_unwind_cache info parameter.
887 Use info instead of next_addr and uses_frame globals.
888 (d10v_frame_init_saved_regs): Delete function.
889 (d10v_init_extra_frame_info): Delete function.
890 (d10v_gdbarch_init): Do not initialize init_extra_frame_info,
891 frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid,
892 init_frame_pc or frame_saved_pc.
893 (d10v_pop_frame): Delete function.
894 (do_d10v_pop_frame): Delete function.
895 (d10v_frame_chain): Delete function.
896 (d10v_frame_chain_valid): Delete function.
897 (d10v_frame_pc_unwind): New function.
898 (d10v_frame_id_unwind): New function.
899 (saved_regs_unwinder): New function.
900 (d10v_frame_register_unwind): New function.
901 (d10v_frame_pop): New function.
902 (d10v_frame_unwind): New variable.
903 (d10v_frame_p): New function.
904 (d10v_frame_saved_pc): Delete function.
905 * Makefile.in (d10v-tdep.o): Update dependencies.
907 2003-01-30 J. Brobecker <brobecker@gnat.com>
909 * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef
910 causing some regressions due to a change in the default value
913 2003-01-29 Richard Henderson <rth@redhat.com>
914 Elena Zannoni <ezannoni@redhat.com>
915 Daniel Jacobowitz <drow@mvista.com>
918 * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New
920 (RANGES_SECTION): New.
921 (dwarf_ranges_buffer): New variable.
922 (struct comp_unit_head): Add member "die".
923 (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size.
924 (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New.
925 (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size.
926 (dwarf2_locate_sections): Likewise.
927 (dwarf2_build_psymtabs): Read .debug_ranges.
928 (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out.
929 (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die.
930 (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers.
931 Look for DW_AT_ranges and return the bounding box.
933 2003-01-29 Brian Ford <ford@vss.fsi.com>
935 * win32-nat.c (cygwin_pid): Removed as unused.
936 (child_attach): Try fall back to Cygwin pid.
938 2003-01-29 Jim Blandy <jimb@redhat.com>
940 * objfiles.h (struct objfile): Doc fix.
942 2003-01-29 Andrew Cagney <ac131313@redhat.com>
944 * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P.
945 (legacy_get_prev_frame): Assert FRAME_CHAIN_P.
946 (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame.
947 (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P.
948 * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate.
949 (FRAME_SAVED_PC): Change to a function with predicate.
950 * gdbarch.h, gdbarch.c: Re-generate.
952 2003-01-28 Andrew Cagney <ac131313@redhat.com>
954 * hppah-nat.c (child_pid_to_exec_file): Don't use boolean.
956 * complaints.c (complain): Delete function.
957 * complaints.h (struct deprecated_complaint): Delete definition.
958 (complain): Delete declaration.
960 2003-01-28 Kevin Buettner <kevinb@redhat.com>
962 * mips-tdep.c (mips_init_extra_frame_info): Return early for
965 2003-01-27 Andrew Cagney <ac131313@redhat.com>
967 * sentinel-frame.h, sentinel-frame.c: New files.
968 * Makefile.in (frame.o): Update dependencies.
969 (SFILES): Add sentinel-frame.c.
970 (sentinel_frame_h): Define.
971 (COMMON_OBS): Add sentinel-frame.o.
972 (sentinel-frame.o): Specify dependencies.
973 * frame.c: Include "sentinel-frame.h".
974 (frame_register_unwind): Rewrite assuming that there is always a a
976 (frame_register, generic_unwind_get_saved_register): Ditto.
977 (frame_read_unsigned_register, frame_read_signed_register): Ditto.
978 (create_sentinel_frame, unwind_to_current_frame): New functions.
979 (get_current_frame): Rewrite using create_sentinel_frame and
980 unwind_to_current_frame. When possible, always create a frame.
981 (create_new_frame): Set next to the sentinel frame.
982 (get_next_frame): Rewrite. Don't go below the level 0 frame.
983 (deprecated_update_frame_pc_hack): Update the next frame's PC and
984 ID cache when necessary.
985 (frame_saved_regs_id_unwind): Use frame_relative_level.
986 (deprecated_generic_get_saved_register): Use frame_relative_level,
987 get_frame_saved_regs, get_frame_pc, get_frame_base and
989 (frame_saved_regs_register_unwind): Use get_frame_saved_regs and
992 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
994 * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments.
996 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
998 * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
999 (maintenance_set_profile_cmd): Use error () instead of warning ().
1001 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
1003 * configure.in: Check that -pg works if using --enable-profiling.
1004 Check for monstartup and _mcleanup regardless of --enable-profiling.
1005 * maint.c: Check for monstartup and _mcleanup before using them.
1006 * config.in: Regenerated.
1007 * configure: Regenerated.
1009 2003-01-24 Nick Clifton <nickc@redhat.com>
1013 2002-04-02 Elena Zannoni <ezannoni@redhat.com>
1015 * gdb/sh-tdep.c (sh_sh2e_register_name): New.
1016 (sh2e_show_regs): New.
1017 (sh_gdbarch_init): Handle bfd_mach_sh2e.
1018 * config/sh/tm-sh.h: Added sh2e to comments.
1020 2003-01-23 Jim Blandy <jimb@redhat.com>
1022 * symfile.c (syms_from_objfile): Don't print the "(no debugging
1023 symbols found)" message here; we haven't checked for a separate
1024 debug info file yet, so we don't know yet.
1025 (symbol_file_add_with_addrs_or_offsets): Print it here, after
1026 we've looked everywhere. Also, there's no need to print a special
1027 message when we're loading the separate debug info file: the one
1028 symbol_file_add prints is fine.
1030 2003-01-23 Alexander Larsson <alexl@redhat.com>
1031 Jim Blandy <jimb@redhat.com>
1033 Add support for executables whose debug info has been separated
1034 out into a separate file, leaving only a link behind.
1035 * objfiles.h (struct objfile): New fields: separate_debug_objfile
1036 and separate_debug_objfile_backlink.
1037 (put_objfile_before): New declaration.
1038 * symfile.c: #include "filenames.h".
1039 (symbol_file_add_with_addrs_or_offsets): If this objfile has its
1040 debug info in a separate file, read that, too. Save the addrs
1041 argument, so we can use it again to read the separated debug info;
1042 syms_from_objfile modifies the table we pass it.
1043 (reread_symbols): After re-reading an objfile, call
1044 reread_separate_symbols to refresh its separate debug info
1045 objfile, if it has one.
1046 (reread_separate_symbols, find_separate_debug_file,
1047 get_debug_link_info, separate_debug_file_exists): New functions.
1048 (debug_file_directory): New global var.
1049 (_initialize_symfile): Initialize debug_file_directory, and
1050 provide the new `set debug-file-directory' command to let the user
1052 * objfiles.c (free_objfile): If this objfile has its debug info in
1053 a separate objfile, free that one too. If this is itself a
1054 separate debug info objfile, clear our parent's backlink.
1055 (put_objfile_before): New function.
1056 * utils.c (gnu_debuglink_crc32): New function.
1057 * defs.h (gnu_debuglink_crc32): New declaration.
1058 * Makefile.in (symfile.o): Note dependency on "filenames.h".
1059 * configure.in: Handle --with-separate-debug-dir config option.
1060 * acinclude.m4 (AC_DEFINE_DIR): New macro.
1061 * acconfig.h (DEBUGDIR): New macro.
1062 * configure, aclocal.m4, config.in: Regenerated.
1064 2003-01-22 Jim Blandy <jimb@redhat.com>
1066 * symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
1067 like the old symbol_file_add, but taking new arguments: you can
1068 now pass in either a `struct section_addr_info' list to say where
1069 each section is loaded, or a `struct section_offsets' table. Pass
1070 these new arguments through to syms_from_objfile as appropriate.
1071 (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets,
1072 with the appropriate quiescent values for the new arguments.
1074 * symfile.c: #include "gdb_assert.h".
1075 (syms_from_objfile): Add the ability to pass in a section offset
1076 table directly, as an alternative to the section_addr_info table.
1077 Document arguments better.
1078 (symbol_file_add): Pass extra arguments to syms_from_objfile.
1079 * symfile.h (syms_from_objfile): Update declaration.
1080 * rs6000-nat.c (objfile_symbol_add): Pass new arguments to
1082 * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
1084 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
1086 Original patch by Tom Tromey <tromey@cygnus.com> and
1087 Jason Molenda <jmolenda@apple.com>.
1088 * Makefile.in (PROFILE_CFLAGS): Substitute from configure.
1089 (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS.
1090 * NEWS: Mention profiling.
1091 * configure.in (--enable-gdbtk): Fix typo.
1092 (--enable-profiling): New. Set PROFILE_CFLAGS.
1093 * maint.c (maintenance_set_profile_cmd): Remove NOTYET.
1095 (profiling_state): New variable.
1096 (mcleanup_wrapper): New function.
1097 (_initialize_maint): Remove NOTYET, fix call to
1098 add_setshow_boolean_cmd for "maint set profile".
1099 * configure: Regenerated.
1101 2003-01-21 Martin M. Hunt <hunt@redhat.com>
1103 * Makefile.in (install-gdbtk): Install PNG images too.
1105 2003-01-21 Andrew Cagney <ac131313@redhat.com>
1107 * exec.c (text_start): Delete global variable.
1108 (exec_file_attach): Make text_start local to the function.
1109 * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros.
1110 * valops.c (hand_function_call): Delete code that handles
1111 BEFORE_TEXT_END and AFTER_TEXT_END.
1112 * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead
1113 of CALL_DUMMY_LOCATION.
1114 * gdbarch.c: Regenerate.
1115 * inferior.h (deprecated_pc_in_call_dummy_before_text_end)
1116 (deprecated_pc_in_call_dummy_after_text_end): Delete declaration.
1117 * blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
1118 (deprecated_pc_in_call_dummy_after_text_end): Delete functions.
1119 (text_end): Delete extern declaration.
1121 2003-01-21 Andrew Cagney <ac131313@redhat.com>
1123 * frame.h (FRAME_OBSTACK_ZALLOC): Define.
1124 * blockframe.c (backtrace_below_main): Move to "frame.c".
1125 (frame_chain_valid): Delete check for backtrace_below_main.
1126 (_initialize_blockframe): Delete initialization, move ``set
1127 backtrace-below-main'' command to "frame.c".
1128 (do_flush_frames_sfunc): Delete function.
1129 * frame.c: Include "command.h" and "gdbcmd.h".
1130 (frame_type_from_pc): New function.
1131 (create_new_frame): Use frame_type_from_pc.
1132 (legacy_get_prev_frame): New function.
1133 (get_prev_frame): Rewrite. When an old style frame, call
1134 legacy_get_prev_frame. Otherwize, unwind the PC first.
1135 (_initialize_frame): Add ``set backtrace-below-main'' command.
1136 * Makefile.in (frame.o): Update dependencies.
1138 2003-01-19 Andrew Cagney <ac131313@redhat.com>
1140 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename
1141 DEPRECATED_REGISTERS_INFO.
1143 2003-01-19 Andrew Cagney <ac131313@redhat.com>
1145 * MAINTAINERS: Replace `Blanket Write Privs' with `Global
1146 Maintainers'. Update `Various Maintainers'.
1148 2003-01-19 Andrew Cagney <ac131313@redhat.com>
1150 * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
1151 * gdbarch.sh (POP_FRAME): Change to function with predicate.
1152 Suppress actual parameters when `-'.
1153 * gdbarch.h, gdbarch.c: Regenerate.
1155 2003-01-19 Andrew Cagney <ac131313@redhat.com>
1157 * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore
1158 code handling dummy frames.
1160 2003-01-19 Andrew Cagney <ac131313@redhat.com>
1162 * frame-unwind.h (frame_unwind_pop_ftype): Declare.
1163 (struct frame_unwind): Add field pop.
1164 * frame.h (frame_pop): Declare.
1165 * frame.c (frame_saved_regs_pop): New function.
1166 (trad_frame_unwinder): Add frame_saved_regs_pop.
1167 (frame_pop): New function.
1168 * dummy-frame.c (dummy_frame_pop): New function.
1169 (discard_innermost_dummy): New function.
1170 (generic_pop_dummy_frame): Use discard_innermost_dummy.
1171 (dummy_frame_unwind): Add dummy_frame_pop.
1172 * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
1173 * valops.c (hand_function_call): Ditto.
1174 * stack.c (return_command): Ditto.
1176 2003-01-18 Andrew Cagney <ac131313@redhat.com>
1178 * cris-tdep.c: Fix function declaration indentation.
1179 * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
1180 * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
1181 * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
1182 * symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
1183 * xcoffread.c, config/pa/tm-hppa.h: Ditto.
1184 * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
1186 2003-01-18 Michael Chastain <mec@shout.net>
1188 * README (Unpacking and Installation -- quick overview):
1189 Warn against ".../gdb-5.3/gdb/configure".
1191 2003-01-18 Andrew Cagney <ac131313@redhat.com>
1193 * dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
1194 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
1195 (struct frame_unwind): Declare opaque.
1196 (dummy_frame_p): Declare function.
1197 * dummy-frame.c (dummy_frame_id_unwind): Make static.
1198 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
1199 * dummy-frame.c: Include "frame-unwind.h".
1200 (dummy_frame_p): New function.
1201 (dummy_frame_unwind): New variable.
1202 * frame.c: Include "frame-unwind.h".
1203 (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
1204 to use the new unwind field.
1205 (set_unwind_by_pc): Delete function.
1206 (create_new_frame, get_prev_frame): Set unwind field using
1207 frame_unwind_find_by_pc.
1208 (trad_frame_unwind, trad_frame_unwinder): New variables.
1209 * frame.h (trad_frame_unwind): Declare variable.
1210 (frame_id_unwind_ftype): Delete declaration.
1211 (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
1212 (struct frame_unwind): Declare opaque.
1213 (struct frame_info): Replace the fields id_unwind, pc_unwind and
1214 register_unwind with a single unwind pointer.
1215 * frame-unwind.h, frame-unwind.c: New files.
1216 * Makefile.in (SFILES): Add frame-unwind.c.
1217 (frame_unwind_h): Define.
1218 (COMMON_OBS): Add frame-unwind.o.
1219 (frame-unwind.o): Specify dependencies.
1220 (frame.o, dummy-frame.o): Update dependencies.
1222 2003-01-18 Andrew Cagney <ac131313@redhat.com>
1224 * ada-valprint.c: Eliminate PTR.
1225 * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
1226 * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
1227 * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
1228 * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
1229 * remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
1230 * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
1231 * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
1233 2003-01-17 Andrew Cagney <ac131313@redhat.com>
1235 * main.c (captured_main): Don't use PTR.
1236 * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp.
1237 * gdbtypes.c (lookup_primitive_typename): Ditto.
1238 (lookup_struct_elt_type): Ditto.
1239 * f-valprint.c (info_common_command): Ditto.
1240 (list_all_visible_commons): Ditto.
1241 * jv-typeprint.c (java_type_print_base): Ditto.
1243 * config/djgpp/fnchange.lst: Rename mi1-var-block.exp,
1244 mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp.
1245 Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename
1246 i386-interix-nat.c and i386-interix-tdep.c. Rename
1247 m68klinux-nat.c and m68klinux-tdep.c. Rename
1248 config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename
1249 bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename
1250 gdb/objc-exp.tab.c and gdb/ada-exp.tab.c
1251 * main.c (captured_main): Use xfree, not free.
1253 2003-01-16 Andrew Cagney <ac131313@redhat.com>
1255 * frame.h (frame_id_unwind_ftype): Change type so that the frame's
1256 ID back using a parameter.
1257 * frame.c (frame_id_unwind): Update call.
1258 (frame_saved_regs_id_unwind): Update.
1259 * dummy-frame.c (dummy_frame_id_unwind): Update function.
1260 * dummy-frame.h (struct frame_id): Add opaque declaration.
1261 (dummy_frame_id_unwind): Update declaration.
1263 2003-01-15 Andrew Cagney <ac131313@redhat.com>
1265 * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.
1267 2003-01-15 Stephen P. Smith <ischis2@cox.net>
1269 * MAINTAINERS (Stephen P. Smith): Updated email address.
1271 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
1274 * breakpoint.c (until_break_command): Add new argument. Use it to
1275 decide whether to stop only at the current frame or not.
1276 * breakpoint.h (until_break_command): Update prototype.
1277 * infcmd.c (until_command): Add new argument to until_break_command
1279 (advance_command): New function.
1280 (_initialize_infcmd): Update help string for 'until' command.
1281 Add new 'advance' command.
1283 2003-01-14 David Carlton <carlton@math.stanford.edu>
1285 * linespec.c (decode_line_1): Normalize comments.
1287 (locate_first_half): Ditto.
1288 (decode_compound): Ditto.
1289 (symtab_from_filename): Ditto.
1290 (decode_all_digits): Ditto.
1291 (decode_dollar): Ditto.
1292 (find_methods): Ditto.
1293 (find_toplevel_char): Ditto.
1295 2003-01-13 Andrew Cagney <ac131313@redhat.com>
1297 * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright.
1298 * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright.
1299 * elfread.c, eval.c, expprint.c, expression.h: Update copyright.
1300 * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright.
1301 * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright.
1302 * language.c, language.h, m32r-tdep.c: Update copyright.
1303 * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright.
1304 * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright.
1305 * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright.
1306 * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright.
1307 * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright.
1308 * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright.
1310 2003-01-13 Elena Zannoni <ezannoni@redhat.com>
1312 * stabsread.h (process_later, resolve_cfront_continuation):
1314 Update copyright years.
1315 * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront.
1316 Update copyright year.
1317 * dbxread.c(struct cont_elem): Obsolete.
1318 (process_later, process_now): Obsolete functions.
1319 (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support.
1320 Update copyright year.
1321 * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros.
1322 (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions.
1323 * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront.
1324 (parse_partial_symbols): Obsolete cfront support.
1326 (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete
1328 (get_substring, get_cfront_method_physname, msg_unknown_complaint,
1329 read_cfront_baseclasses, read_cfront_member_functions,
1330 resolve_cfront_continuation,read_cfront_static_fields,
1331 copy_cfront_struct_fields): Obsolete functions.
1332 (define_symbol, read_one_struct_field): Obsolete cfront support.
1333 * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support.
1334 Update Copyright year.
1336 2003-01-13 Elena Zannoni <ezannoni@redhat.com>
1338 * stack.c (print_frame_info, print_stack_frame_base_stub,
1339 print_stack_frame_base, show_and_print_stack_frame_stub,
1340 show_and_print_stack_frame, print_only_stack_frame_stub,
1341 print_only_stack_frame): Delete functions.
1342 (print_stack_frame_stub): Call print_frame_info instead of
1343 print_frame_info_base.
1344 (print_frame_info_base): Rename to print_frame_info.
1345 (backtrace_command_1): Call print_frame_info, instead of
1346 print_frame_info_base.
1347 (current_frame_command): Call print_stack_frame, instead of
1348 print_only_stack_frame.
1349 (frame_command): Call print_stack_frame, instead of
1350 show_and_print_stack_frame.
1351 (up_command): Ditto.
1352 (down_command): Ditto.
1353 * frame.h (print_only_stack_frame): Delete prototype.
1354 * infrun.c (normal_stop): Call print_stack_frame, instead of
1355 show_and_print_stack_frame.
1356 * thread.c (info_threads_command): Call print_stack_frame, instead
1357 of print_only_stack_frame.
1359 2003-01-13 Andrew Cagney <ac131313@redhat.com>
1361 * README (Graphical interface to GDB): Update URL. Point at
1364 * gdb_indent.sh: Update to version 2.2.9. Warn when not exact
1367 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
1369 * symtab.c (find_pc_sect_line): Don't consider end-of-function
1372 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
1374 * thread-db.c (attach_thread): Prototype.
1375 (struct private_thread_info): Remove lwpid. Add thread handle (th),
1376 thread information (ti), and valid flags (th_valid, ti_valid).
1377 (attach_thread): Move target_pid_to_str call to after the thread
1378 is added to GDB's list. Initialize the cache.
1379 (thread_get_info_callback, thread_db_map_id2thr)
1380 (thread_db_get_info): New functions.
1381 (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers)
1382 (thread_db_store_registers, thread_db_thread_alive)
1383 (thread_db_get_thread_local_address): Use them.
1384 (thread_db_pid_to_str): Likewise. Return "Missing" instead
1385 of calling error() for threads in unknown state.
1387 (clear_lwpid_callback): New function.
1388 (thread_db_resume): Use it to clear the cache.
1390 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
1392 * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
1393 (resume_callback): Remove dead code.
1395 2003-01-13 Andrew Cagney <ac131313@redhat.com>
1397 * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
1399 * gdbarch.h, gdbarch.c: Regenerate.
1400 * stack.c (frame_info): Only initialize the saved registers when
1401 FRAME_INIT_SAVED_REGS_P.
1402 * frame.c (frame_saved_regs_register_unwind): Assert
1403 FRAME_INIT_SAVED_REGS_P.
1404 (deprecated_generic_get_saved_register): Ditto.
1406 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
1408 * source.c (openp): Squelch warning about "filename".
1410 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
1412 * source.c (openp): If the file does not exist don't necessarily
1415 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
1418 * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN.
1419 (integer_types_same_name_p): New function.
1420 (rank_one_type): Use it.
1421 * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN.
1423 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
1425 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
1427 (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE).
1428 * configure.in: Add --with-sysroot.
1429 * configure: Regenerated.
1430 * main.c (gdb_sysroot): New variable.
1431 (captured_main): Initialize gdb_sysroot.
1432 * defs.h (gdb_sysroot): New extern declaration.
1433 * solib.c (_initialize_solib): Initialize solib_absolute_prefix.
1435 2003-01-12 Michael Chastain <mec@shout.net>
1437 * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
1439 2003-01-12 Michael Chastain <mec@shout.net>
1441 * top.c (print_gdb_version): Bump copyright year to 2003.
1443 2003-01-12 David Carlton <carlton@bactrian.org>
1445 * linespec.c (symtab_from_filename): Rename variable 's' to
1448 2003-01-12 Andrew Cagney <ac131313@redhat.com>
1450 * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
1452 (d10v_frame_saved_pc, d10v_frame_chain): Ditto.
1454 2003-01-12 Andrew Cagney <ac131313@redhat.com>
1456 * d10v-tdep.c: Include "gdb_assert.h".
1457 (d10v_store_return_value): Rewrite to match current interface.
1458 (d10v_extract_struct_value_address): Ditto.
1459 (d10v_extract_return_value): Ditto.
1460 (d10v_gdbarch_init): Set store_restore_value,
1461 extract_struct_value_address and extract_return_value.
1463 2003-01-12 J. Brobecker <brobecker@gnat.com>
1465 * hpread.c (set_namestring): New procedure replacing the
1466 SET_NAMESTRING macro.
1467 (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
1468 by calls to set_namestring.
1470 2003-01-11 J. Brobecker <brobecker@gnat.com>
1472 * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
1473 a compilation warning.
1474 (hpread_process_one_debug_symbol): Likewise.
1476 2003-01-10 David Carlton <carlton@math.stanford.edu>
1478 * linespec.c (decode_line_1): Rename variable 's' to
1480 (decode_all_digits): Rename argument 's' to 'file_symtab'.
1481 (decode_dollar): Ditto.
1482 (decode_variable): Ditto.
1483 (symbol_found): Ditto.
1485 2003-01-09 Michael Chastain <mec@shout.net>
1487 * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
1489 2003-01-07 Corinna Vinschen <vinschen@redhat.com>
1491 * win32-nat.c (set_process_privilege): New function.
1492 (child_attach): Call set_process_privilege() to enable the
1493 SE_DEBUG_NAME user privilege if available in process token.
1495 2003-01-10 J. Brobecker <brobecker@gnat.com>
1497 * hpread.c (hpread_process_one_debug_symbol): Fix a small
1498 compilation error in the previous revision.
1500 2003-01-09 David Carlton <carlton@math.stanford.edu>
1502 * linespec.c: Update copyright.
1504 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
1506 * lin-lwp.c (child_wait): Ignore exit statuses for processes other
1508 (lin_lwp_wait): Ignore exit statuses for unknown LWPs.
1510 2003-01-09 Andrew Cagney <ac131313@redhat.com>
1512 * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
1514 * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
1515 (frame_saved_regs_zalloc): Update.
1516 (frame_saved_regs_register_unwind): Update.
1517 (create_new_frame): Update.
1518 (get_prev_frame): Update.
1519 (frame_extra_info_zalloc): Update.
1520 (deprecated_get_frame_saved_regs): Update.
1521 * dwarf2cfi.c (cfi_init_extra_frame_info): Update.
1522 * cris-tdep.c: Update comment.
1524 * somsolib.h: Fix function indentation.
1525 * disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
1526 * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
1527 * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
1528 * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
1529 * somsolib.c, inftarg.c: Remove assignment in if conditional.
1531 * infrun.c (follow_fork): Use ISO C definition.
1532 * expprint.c (print_subexp): Use xfree instead of free.
1533 * charset.c: Include "gdb_string.h" instead of <string.h>.
1534 (register_iconv_charsets): Use ISO C definition.
1535 (host_charset, target_charset): Ditto.
1536 * Makefile.in (charset.o): Update dependencies.
1537 (mi-cmd-env.o): Update dependencies.
1539 2003-01-08 Andrew Cagney <cagney@redhat.com>
1541 * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
1544 2003-01-08 Andrew Cagney <ac131313@redhat.com>
1546 * gdb_mbuild.sh: Add --keep option. When specified, keep the
1547 build directories. Save edited gdb output in Mbuild.log. If a
1548 build fails, remove any final GDB executable.
1550 2003-01-08 Andrew Cagney <ac131313@redhat.com>
1552 * gdb_mbuild.sh: Edit the output of `maint print architecture'
1553 replacing hex constants with function names and stripping leading
1554 file name directory prefixes.
1556 2003-01-08 Andrew Cagney <cagney@redhat.com>
1558 * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
1561 2003-01-08 David Carlton <carlton@math.stanford.edu>
1563 * linespec.c (decode_line_1): Move code into decode_variable.
1564 (decode_variable): New function.
1566 2003-01-08 Andrew Cagney <ac131313@redhat.com>
1568 * mn10300-tdep.c (analyze_dummy_frame): Fix typo.
1570 2003-01-08 Andrew Cagney <cagney@redhat.com>
1572 * cris-tdep.c (cris_frame_init_saved_regs): Use
1573 get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
1575 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
1576 (sh64_nofp_frame_init_saved_regs): Ditto.
1577 (sh_fp_frame_init_saved_regs): Ditto.
1578 * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
1579 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
1580 * mcore-tdep.c (analyze_dummy_frame): Ditto.
1581 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
1583 2003-01-08 Daniel Jacobowitz <drow@mvista.com>
1585 * minsyms.c (lookup_minimal_symbol): Update comment.
1586 (lookup_minimal_symbol_text): Update comment. Use the hash table.
1587 (lookup_minimal_symbol_solib_trampoline): Likewise.
1589 2003-01-08 Andrew Cagney <cagney@redhat.com>
1591 * d10v-tdep.c (d10v_init_extra_frame_info): Use
1592 frame_relative_level.
1594 * alpha-tdep.c: Use get_frame_extra_info.
1595 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
1596 * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
1597 * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
1598 * sparc-tdep.c, xstormy16-tdep.c: Ditto.
1600 * alpha-tdep.c: Use get_next_frame.
1601 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
1602 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
1603 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
1604 * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
1605 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
1606 * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
1607 * xstormy16-tdep.c: Ditto.
1609 2003-01-07 Andrew Cagney <cagney@redhat.com>
1611 * alpha-tdep.c: Use get_frame_base.
1612 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
1613 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
1614 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
1615 * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
1616 * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
1617 * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
1618 * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
1619 * config/sparc/tm-sparc.h: Ditto.
1621 2003-01-07 Andrew Cagney <cagney@redhat.com>
1623 * frame.c (deprecated_get_frame_context): New function.
1624 (deprecated_set_frame_context): New function.
1625 * frame.h (deprecated_get_frame_context): Declare.
1626 (deprecated_set_frame_context): Declare.
1627 * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
1628 (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
1630 2003-01-07 Andrew Cagney <cagney@redhat.com>
1632 * frame.c (deprecated_set_frame_next_hack): New function.
1633 (deprecated_set_frame_prev_hack): New function.
1634 * frame.h (deprecated_set_frame_next_hack): Declare.
1635 (deprecated_set_frame_prev_hack): Declare.
1636 * mcore-tdep.c (analyze_dummy_frame): Use
1637 deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
1638 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
1640 2003-01-07 David Carlton <carlton@math.stanford.edu>
1642 * linespec.c (decode_line_1): Move code into decode_dollar.
1643 (decode_dollar): New function.
1645 2003-01-07 Andrew Cagney <cagney@redhat.com>
1647 * arm-tdep.c (arm_init_extra_frame_info): Use
1648 deprecated_update_frame_base_hack.
1649 * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto.
1650 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
1651 (fix_frame_pointer): Ditto.
1652 (mn10300_analyze_prologue): Ditto.
1654 2003-01-07 Andrew Cagney <cagney@redhat.com>
1656 * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
1657 extra_info using frame_extra_info_zalloc.
1658 * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
1659 * sh-tdep.c (sh_init_extra_frame_info): Ditto.
1660 (sh64_init_extra_frame_info): Ditto.
1661 * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
1662 * s390-tdep.c (s390_init_extra_frame_info): Ditto.
1663 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
1664 * mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
1665 * frv-tdep.c (frv_init_extra_frame_info): Ditto.
1666 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
1667 * ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
1668 * h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
1669 * d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
1670 * cris-tdep.c (cris_init_extra_frame_info): Ditto.
1671 * arm-tdep.c (arm_init_extra_frame_info): Ditto.
1672 * alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
1674 * mn10300-tdep.c (analyze_dummy_frame): Use
1675 deprecated_set_frame_extra_info_hack.
1676 * mcore-tdep.c (analyze_dummy_frame): Ditto.
1678 2003-01-07 J. Brobecker <brobecker@gnat.com>
1680 * mdebugread.c (parse_symbol): Skip stProc entries which storage
1681 class is not scText. These do not define "real" procedures.
1682 (parse_partial_symbols): Likewise.
1684 2003-01-06 Michael Snyder <msnyder@redhat.com>
1686 * lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
1688 2003-01-06 Andrew Cagney <ac131313@redhat.com>
1690 * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
1691 * frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
1692 * arm-tdep.c (arm_frame_chain): Allocate caller_fi using
1693 deprecated_frame_xmalloc_with_cleanup.
1694 * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
1695 deprecated_frame_xmalloc.
1696 * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
1697 * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
1699 2003-01-06 Andrew Cagney <cagney@redhat.com>
1701 * x86-64-linux-tdep.c: Include "osabi.h".
1702 * Makefile.in (x86-64-linux-tdep.o): Update dependencies.
1704 * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
1706 2003-01-06 Andrew Cagney <cagney@redhat.com>
1708 * MAINTAINERS (Target Instruction Set Architectures): Update
1709 arm-elf. Can be built with -Werror, has been multiarched.
1711 * value.h (unpack_long): Make buffer parameter constant.
1712 (unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
1713 * scm-lang.h (scm_parse): Ditto.
1714 * defs.h (extract_typed_address, extract_address): Ditto.
1715 (extract_long_unsigned_integer): Ditto.
1716 * inferior.h (unsigned_pointer_to_address): Ditto.
1717 (signed_pointer_to_address): Ditto.
1718 * gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
1719 * gdbarch.h, gdbarch.c: Regenerate.
1720 * findvar.c (extract_long_unsigned_integer): Update.
1721 (extract_address): Update.
1722 (extract_typed_address): Update.
1723 (unsigned_pointer_to_address): Update.
1724 * values.c (unpack_long): Update.
1725 (unpack_double): Update.
1726 (unpack_pointer): Update.
1727 (unpack_field_as_long): Update.
1728 * d10v-tdep.c (d10v_pointer_to_address): Update.
1729 * avr-tdep.c (avr_pointer_to_address): Update.
1730 * scm-lang.c (scm_unpack): Update.
1731 * findvar.c (signed_pointer_to_address): Update.
1733 2003-01-06 Michal Ludvig <mludvig@suse.cz>
1735 * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore
1736 since it is in i386-tdep.c.
1738 2003-01-06 J. Brobecker <brobecker@gnat.com>
1740 * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
1741 failure introduced in the previous change.
1743 2003-01-05 Michael Chastain <mec@shout.net>
1745 * README: Remove references to deleted remote-*.c files:
1746 remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
1747 remote-nrom.c, remote-os9k.c, remote-udi.c.
1749 2003-01-05 Mark Kettenis <kettenis@gnu.org>
1751 * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
1752 * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
1753 i386_get_longjmp_target.
1755 2003-01-05 Andrew Cagney <ac131313@redhat.com>
1757 * arm-tdep.c (prologue_cache): Change to a pointer.
1758 (_initialize_arm_tdep): Allocate prologue_cache.
1759 (check_prologue_cache): Update.
1760 (save_prologue_cache): Update.
1761 (arm_gdbarch_init): Update.
1763 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
1765 * stabsread.c (update_method_name_from_physname): Call complaint()
1768 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
1770 * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
1771 * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
1772 * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
1774 * blockframe.c: Include "gdbcmd.h" and "command.h".
1775 (backtrace_below_main): New variable.
1776 (file_frame_chain_valid, func_frame_chain_valid)
1777 (nonnull_frame_chain_valid, generic_file_frame_chain_valid)
1778 (generic_func_frame_chain_valid): Remove functions.
1779 (frame_chain_valid, do_flush_frames_sfunc): New functions.
1780 (_initialize_blockframe): New function.
1781 * Makefile.in (blockframe.o): Update dependencies.
1782 * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
1783 comment. Call frame_chain_valid ().
1784 * frame.h: Remove old prototypes. Add prototype for
1785 frame_chain_valid and update comments to match.
1786 * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
1788 * gdbarch.h: Regenerated.
1789 * gdbarch.c: Regenerated.
1791 * alpha-tdep.c (alpha_gdbarch_init): Don't call
1792 set_gdbarch_frame_chain_valid.
1793 * avr-tdep.c (avr_gdbarch_init): Likewise.
1794 * cris-tdep.c (cris_gdbarch_init): Likewise.
1795 * frv-tdep.c (frv_gdbarch_init): Likewise.
1796 * h8300-tdep.c (h8300_gdbarch_init): Likewise.
1797 * i386-tdep.c (i386_svr4_init_abi): Likewise.
1798 (i386_nw_init_abi): Likewise.
1799 (i386_gdbarch_init): Likewise.
1800 * ia64-tdep.c (ia64_gdbarch_init): Likewise.
1801 * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
1802 * m68k-tdep.c (m68k_gdbarch_init): Likewise.
1803 * mcore-tdep.c (mcore_gdbarch_init): Likewise.
1804 * mips-tdep.c (mips_gdbarch_init): Likewise.
1805 * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
1806 * ns32k-tdep.c (ns32k_gdbarch_init): Likewise.
1807 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise.
1808 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
1809 * s390-tdep.c (s390_gdbarch_init): Likewise.
1810 * sh-tdep.c (sh_gdbarch_init): Likewise.
1811 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
1812 * v850-tdep.c (v850_gdbarch_init): Likewise.
1813 * vax-tdep.c (vax_gdbarch_init): Likewise.
1814 * x86-64-tdep.c (x86_64_init_abi): Likewise.
1816 * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define.
1817 * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise.
1818 * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise.
1819 * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise.
1820 * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise.
1821 * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise.
1822 * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise.
1823 * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise.
1825 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
1827 * Makefile.in (acconfig_h): Remove incorrect macro.
1829 (osabi.o): Update dependencies.
1830 * configure.tgt: Set gdb_osabi based on target triplet.
1831 * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
1832 * configure: Regenerated.
1833 * config.in: Regenerated.
1834 * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
1835 (GDB_OSABI_DEFAULT): Define if not already defined.
1836 (user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
1837 (set_osabi_string): New variables.
1838 (gdbarch_register_osabi): Add new OS ABI to
1839 gdb_osabi_available_names.
1840 (gdbarch_lookup_osabi): Honor specified and default OS ABIs.
1841 (set_osabi, show_osabi): New functions.
1842 (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
1844 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
1846 * arch-utils.c (gdbarch_info_init): Set osabi to
1847 GDB_OSABI_UNINITIALIZED.
1848 * gdbarch.sh: Add osabi to struct gdbarch and to struct
1849 gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi
1850 in gdbarch_list_lookup_by_info and in gdbarch_update_p.
1851 * gdbarch.c: Regenerated.
1852 * gdbarch.h: Regenerated.
1853 * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
1855 (gdbarch_init_osabi): Remove osabi argument; use info.osabi.
1856 * osabi.h (enum gdb_osabi): Move to defs.h.
1857 (gdbarch_init_osabi): Update prototype.
1858 * defs.h (enum gdb_osabi): Moved here.
1859 * Makefile.in: Update dependencies.
1861 * alpha-tdep.h: Don't include "osabi.h".
1862 (struct gdbarch_tdep): Remove osabi member.
1863 * alpha-tdep.c: Include "osabi.h".
1864 (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
1865 iterate over arches. Update call to gdbarch_init_osabi.
1866 (alpha_dump_tdep): Don't dump osabi.
1867 * alpha-linux-tdep.c: Include "osabi.h".
1868 * alpha-osf1-tdep.c: Include "osabi.h".
1869 * alphafbsd-tdep.c: Include "osabi.h".
1870 * alphanbsd-tdep.c: Include "osabi.h".
1872 * arm-tdep.h: Don't include "osabi.h".
1873 (struct gdbarch_tdep): Remove osabi member.
1874 * arm-tdep.c: Include "osabi.h".
1875 (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
1876 iterate over arches. Update call to gdbarch_init_osabi.
1877 (arm_dump_tdep): Don't dump osabi.
1878 * arm-linux-tdep.c: Include "osabi.h".
1879 * armnbsd-tdep.c: Include "osabi.h".
1881 * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi.
1882 Update call to gdbarch_init_osabi.
1884 * i386-tdep.h: Don't include "osabi.h".
1885 (struct gdbarch_tdep): Remove osabi member.
1886 * i386-tdep.c: Include "osabi.h".
1887 (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
1888 iterate over arches. Update call to gdbarch_init_osabi.
1889 (i386_dump_tdep): Don't dump osabi.
1890 * i386-linux-tdep.c: Include "osabi.h".
1891 * i386-sol2-tdep.c: Include "osabi.h".
1892 * i386bsd-tdep.c: Include "osabi.h".
1893 * i386gnu-tdep.c: Include "osabi.h".
1894 * i386ly-tdep.c: Include "osabi.h".
1895 * i386nbsd-tdep.c: Include "osabi.h".
1896 * i386obsd-tdep.c: Include "osabi.h".
1898 * mips-tdep.c (struct gdbarch_tdep): Remove osabi member.
1899 (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
1900 check osabi when iterating over arches. Update call to
1902 (mips_dump_tdep): Don't dump osabi.
1904 * ns32k-tdep.h: Don't include "osabi.h".
1905 (struct gdbarch_tdep): Remove.
1906 * ns32k-tdep.c (ns32k_gdbarch_init): Don't call
1907 gdbarch_lookup_osabi. Don't iterate over arches. Don't
1908 allocate tdep. Update call to gdbarch_init_osabi.
1909 (ns32k_dump_tdep): Remove.
1910 (_initialize_ns32k_tdep): Update call to gdbarch_register.
1911 * ns32knbsd-tdep.c: Include "osabi.h".
1913 * ppc-tdep.h: Don't include "osabi.h".
1914 (struct gdbarch_tdep): Remove osabi member.
1915 * rs6000-tdep.c: Include "osabi.h".
1916 (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check
1917 osabi when iterating over arches. Update call to
1919 (rs6000_dump_tdep): Don't dump osabi.
1920 * ppc-linux-tdep.c: Include "osabi.h".
1921 * ppcnbsd-tdep.c: Include "osabi.h".
1923 * sh-tdep.h: Don't include "osabi.h".
1924 (struct gdbarch_tdep): Remove osabi member.
1925 * sh-tdep.c: Include "osabi.h".
1926 (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
1927 iterate over arches. Update call to gdbarch_init_osabi.
1928 (sh_dump_tdep): Don't dump osabi.
1929 * shnbsd-tdep.c: Include "osabi.h".
1931 * sparc-tdep.c: Include "osabi.h".
1932 (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
1933 iterate over arches. Update call to gdbarch_init_osabi.
1934 (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the
1937 * vax-tdep.h: Don't include "osabi.h".
1938 (struct gdbarch_tdep): Remove.
1939 * vax-tdep.c: Include "osabi.h".
1940 (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
1941 iterate over arches. Don't allocate tdep. Update call
1942 to gdbarch_init_osabi.
1943 (vax_dump_tdep): Remove.
1944 (_initialize_vax_tdep): Update call to gdbarch_register.
1946 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
1948 * breakpoint.c (insert_breakpoints): Skip disabled breakpoints
1950 (breakpoint_re_set_one): Don't fetch the value for a disabled
1953 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
1955 * buildsym.h (processing_hp_compilation): Remove obsolete variable.
1956 * gdbarch.sh Remove include of "value.h" in gdbarch.h.
1957 (COERCE_FLOAT_TO_DOUBLE): Remove.
1958 * gdbarch.c: Regenerate.
1959 * gdbarch.h: Regenerate.
1960 * Makefile.in: Remove value_h from gdbarch_h.
1961 * valops.c (coerce_float_to_double): New variable.
1962 (default_coerce_float_to_double): Remove.
1963 (standard_coerce_float_to_double): Remove.
1964 (value_arg_coerce): Use coerce_float_to_double.
1965 (_initialize_valops): Add "set coerce-float-to-double".
1966 * value.h (default_coerce_float_to_double): Remove prototype.
1967 (standard_coerce_float_to_double): Remove prototype.
1969 * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
1971 * mdebugread.c (parse_symbol): Likewise.
1972 * stabsread.c (define_symbol): Mark all functions as prototyped.
1974 * hppa-tdep.c (hppa_coerce_float_to_double): Remove.
1975 * alpha-tdep.c (alpha_gdbarch_init): Remove call to
1976 set_gdbarch_coerce_float_to_double.
1977 * arm-tdep.c (arm_gdbarch_init): Likewise.
1978 * frv-tdep.c (frv_gdbarch_init): Likewise.
1979 * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
1980 * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
1981 * mips-tdep.c (mips_gdbarch_init): Likewise.
1982 (mips_coerce_float_to_double): Remove.
1983 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
1984 (rs6000_coerce_float_to_double): Remove.
1985 * s390-tdep.c (s390_gdbarch_init): Likewise.
1986 * sh-tdep.c (sh_gdbarch_init): Likewise.
1987 (sh_coerce_float_to_double): Remove.
1988 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
1989 (sparc_coerce_float_to_double): Remove.
1990 * v850-tdep.c (v850_gdbarch_init): Likewise.
1991 * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
1992 * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
1993 * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
1994 (hppa_coerce_float_to_double): Remove prototype.
1995 * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
1997 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
1999 * regformats/reg-m68k.dat: Remove fpcode and fpflags.
2001 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
2003 Suggested by Stewart Brown <sb24@avaya.com>:
2004 * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
2005 in recursive calls. Handle TYPE_CODE_TYPEDEF.
2006 (c_type_print_varspec_suffix): Likewise.
2008 2003-01-04 Mark Kettenis <kettenis@gnu.org>
2010 * configure.in: Don't set and AC_SUBST SUBDIRS.
2011 * configure: Regenerated.
2013 * configure.in: Remove code dealing with shared libraries.
2014 * Makefile.in: Remove HLDFLAGS and HLDENV.
2015 * configure: Regenerated.
2017 2003-01-04 Andrew Cagney <ac131313@redhat.com>
2019 * frame.c (deprecated_frame_xmalloc): New function.
2020 (deprecated_set_frame_saved_regs_hack): New function.
2021 (deprecated_set_frame_extra_info_hack): New function.
2022 * frame.h (deprecated_frame_xmalloc): Declare.
2023 (deprecated_set_frame_saved_regs_hack): Declare.
2024 (deprecated_set_frame_extra_info_hack): Declare.
2026 2003-01-04 Mark Kettenis <kettenis@gnu.org>
2028 * configure.in: Move code that provides the --enable-gdbtk option
2029 right after the code that handles the --enable-tui option, and
2031 * configure: Regenerated.
2033 * configure.in: Call AC_GNU_SOURCE. Check for pread64 using
2034 AC_CHECK_FUNCS and remove the old check for pread64.
2035 * acinclude.m4 (AC_GNU_SOURCE): New macro.
2036 * acconfig.h (_GNU_SOURCE): Add.
2037 (HAVE_PREAD64): Remove.
2038 * configure, aclocal.m4, config.in: Regenerated.
2040 2003-01-03 Andrew Cagney <ac131313@redhat.com>
2042 * alpha-tdep.c: Use get_frame_saved_regs.
2043 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
2044 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
2045 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
2046 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
2047 * vax-tdep.c, xstormy16-tdep.c: Ditto.
2049 2003-01-03 Mark Kettenis <kettenis@gnu.org>
2051 * configure.in: Remove all use of the SUBDIRS variable; add
2052 directories using the AC_CONFIG_SUBDIRS macro instead. Polish
2053 code providing the --enable-multi-ice option, and move it right in
2054 front of the code that checks whether gdbserver is supported.
2056 * configure: Regenerated.
2057 * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
2060 2003-01-03 Andrew Cagney <cagney@redhat.com>
2062 * alpha-tdep.c: Use deprecated_update_frame_base_hack.
2063 * avr-tdep.c, cris-tdep.c: Ditto.
2064 * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
2065 * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
2067 2003-01-03 Mark Kettenis <kettenis@gnu.org>
2069 * configure.in: Remove --enable-netrom option.
2070 * configure: Regenerated.
2072 2003-01-03 Mark Kettenis <kettenis@gnu.org>
2074 * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
2075 declaration for `struct re_pattern_buffer' instead.
2076 * Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
2078 2003-01-03 J. Brobecker <brobecker@gnat.com>
2080 * mdebugread.c (parse_symbol): Count until the stEnd matching
2083 2003-01-02 Mark Kettenis <kettenis@gnu.org>
2085 * configure.in: Remove --with-cpu option.
2086 subscripts. Remove evil changequotes here.
2087 * acconfig.h (TARGET_CPU_DEFAULT): Remove.
2088 * config.in, configure: Regenerated.
2090 * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
2091 * configure.in: Cleanup section that sources GDB and BFD configure
2092 subscripts. Remove evil changequotes here.
2093 * config.in, configure: Regenerated.
2095 2003-01-02 Andrew Cagney <ac131313@redhat.com>
2097 * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
2098 frame accessor methods.
2099 * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
2100 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
2101 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
2102 * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
2103 * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
2104 * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
2105 * z8k-tdep.c: Ditto.
2107 2003-01-02 Mark Kettenis <kettenis@gnu.org>
2109 * configure.in: Remove UI_OUT configuration code.
2110 * ada-lang.c: Update assuming UI_OUT is always true.
2111 * Makefile.in (UIOUT_CFLAGS): Remove.
2112 * configure: Regenerated.
2113 * TODO: Remove blurb about elimination of -DUI_OUT.
2115 * configure.in: Move code that provides the --enable-gdbcli,
2116 --enable-gdbmi options right before the code that handles the
2117 --enable-tui option. Polish a bit.
2118 * configure: Regenerated.
2120 * configure.in: Rewrite check for GNU regex and the
2121 --without-included regex option, and move it into the "Checks for
2122 library functions" section. This makes us use the system regex
2123 again by default on systems with version 2 of the GNU C library.
2124 This was apparently broken.
2125 * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
2126 * acconfig.h (USE_INCLUDED_REGEX): Remove.
2127 * config.in, configure: Regenerated.
2129 * configure.in: Move code that provides the --enable-tui option
2130 before the "Checks for libraries" section. Polish the code
2131 somewhat and set need_curses to yes if we build the TUI. Rewrite
2132 code that looks for a library providing termcap functionality to
2133 match more closely what's done in the Readline library, and move
2134 it into to the "Checks for libraries" section.
2135 * configure: Regenerated.
2136 * Makefile.in (TERMCAP): Remove variable.
2137 * config/i386/go32.mh (TERMCAP): Remove variable.
2139 2003-01-02 Andrew Cagney <ac131313@redhat.com>
2141 * MAINTAINERS: Mention gdb_mbuild.sh.
2142 * gdb_mbuild.sh: Rewrite.
2144 2003-01-02 Mark Kettenis <kettenis@gnu.org>
2146 * configure.in: Fix typo in last change.
2147 * config.in, configure: Regenerated.
2149 2003-01-02 Andrew Cagney <ac131313@redhat.com>
2151 * valarith.c (value_binop): Delete obsolete code and comments.
2152 * configure.host: Ditto.
2153 * buildsym.h (make_blockvector): Ditto.
2154 * buildsym.c (make_blockvector): Ditto.
2155 * defs.h (enum language): Ditto.
2156 (chill_demangle): Ditto.
2157 * elfread.c (elf_symtab_read): Ditto.
2158 * dwarfread.c (CHILL_PRODUCER): Ditto.
2159 (set_cu_language): Ditto.
2160 (handle_producer): Ditto.
2161 * expprint.c (print_subexp): Ditto.
2162 * gdbtypes.c (chill_varying_type): Ditto.
2163 * gdbtypes.h (builtin_type_chill_bool): Ditto.
2164 (builtin_type_chill_char, builtin_type_chill_long): Ditto.
2165 (builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
2166 (chill_varying_type): Ditto.
2167 * language.h (_LANG_chill): Ditto.
2168 * language.c (binop_result_type, integral_type): Ditto.
2169 (character_type, string_type, structured_type): Ditto.
2170 (lang_bool_type, binop_type_check): Ditto.
2171 * stabsread.h (os9k_stabs): Ditto.
2172 * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
2173 (define_symbol, read_type, read_struct_fields): Ditto.
2174 (read_array_type, read_enum_type, read_huge_number): Ditto.
2175 (read_range_type, start_stabs): Ditto.
2176 * symfile.c (init_filename_language_table): Ditto.
2177 (add_psymbol_with_dem_name_to_list): Ditto.
2178 * symtab.c (symbol_init_language_specific): Ditto.
2179 (symbol_init_demangled_name, symbol_demangled_name): Ditto.
2180 * symtab.h (struct general_symbol_info): Ditto.
2181 (SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
2182 * typeprint.c (typedef_print): Ditto.
2183 * utils.c (fprintf_symbol_filtered): Ditto.
2184 * valops.c (value_cast, search_struct_field, value_slice): Delete
2186 (varying_to_slice): Delete function.
2187 * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
2188 (varying_to_slice): Delete declaration.
2189 * MAINTAINERS: Update.
2191 2003-01-02 Mark Kettenis <kettenis@gnu.org>
2193 * configure.in: Reorganize "Checks for library functions section"
2194 a bit. Remove check for `btowc' and `isascii' functions.
2195 * configure: Regenerated.
2197 * acconfig.h (_MSE_INT_H): Remove.
2198 * configure.in: Create "Checks for header files" section, and move
2199 appropriate tests there. Don't check for objlist.h, wchar.h,
2200 wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h>
2201 misdetection fix. Also add "Checks for types", "Checks for
2202 compiler characteristics" and "Checks for library functions"
2204 * config.in, configure: Regenerated.
2206 * configure.in: Create "Checks for programs" section, and move
2207 appropriate tests there.
2209 2003-01-01 Mark Kettenis <kettenis@gnu.org>
2211 * configure.in: Create "Checks for libraries" section, and move
2212 appropriate tests there. Cleanup check for wctype in libw. Use
2213 AC_SEARCH_LIBS to see whether we need libsocket.
2214 * configure: Regenerated.
2216 For older changes see ChangeLog-2002
2222 version-control: never