]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/ChangeLog
2003-02-18 Elena Zannoni <ezannoni@redhat.com>
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
54c7009d
EZ
12003-02-18 Elena Zannoni <ezannoni@redhat.com>
2
3 From Jim Ingham <jingham@apple.com>:
4 * dbxread.c (process_one_symbol): Use last_function_start rather
5 than function_start_offset to find the real beginning of the
6 current function. The latter is just the text section offset on
7 some systems, the former is always the real function start.
8
7ee6d7eb
AC
92003-02-17 Andrew Cagney <cagney@redhat.com>
10
11 * configure.in: Revert ${target} != ${host}.
12
2846da9b
AC
132003-02-17 Andrew Cagney <ac131313@redhat.com>
14
15 * configure.in (Makefile): Use the test ${target} != ${host},
16 instead of the absence of the "nm.h" file, to determine of the
17 configuration non-native.
18 * configure: Regenerate.
19
3b27aeea
EZ
202003-02-14 Elena Zannoni <ezannoni@redhat.com>
21
22 From Brian Ford <ford@vss.fsi.com>
23
24 * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly
25 conditionalize tui_active test.
26 (lookup_cmd_1): Ditto.
27
b0b1c2c0
MK
282003-02-14 Mark Kettenis <kettenis@gnu.org>
29
30 * configure.in: Add check for _etext.
31 * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't
32 available.
33 * config.in, configure: regenerated.
34
8f05cde5
DJ
352003-02-14 Daniel Jacobowitz <drow@mvista.com>
36
37 * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base.
38
021e7609
AC
392003-02-14 Andrew Cagney <ac131313@redhat.com>
40
41 * main.c (tui_version): Delete variable.
42 (captured_main): When --tui, set interpreter_p to "tui" instead of
43 enabling tui_version.
44 * printcmd.c (display_command) [TUI]: Test tui_active instead of
45 tui_version.
46 * cli/cli-decode.c (lookup_cmd_composition): Ditto.
47 * cli/cli-cmds.c (disassemble_command): Ditto.
48 * defs.h (tui_version): Delete declaration.
49 * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c".
50 (tui-interp.o): Add rules.
51 (SUBDIR_TUI_OBS): Add "tui-interp.o".
52
e325dcec
CF
532003-02-14 Christopher Faylor <cgf@redhat.com>
54
55 * win32-nat.cc (register_loaded_dll): Correctly set address range for
56 just-loaded dll.
57
c4f90d87
JM
582003-02-12 Jason Molenda (jmolenda@apple.com)
59
60 * symmisc.c (print_objfile_statistics): Include information about
61 the number of psymtabs and symtabs in each object file.
62
e46e5ccd
KS
632003-02-13 Keith R Seitz <keiths@redhat.com>
64
65 * main.h (struct captured_main_args): Add interpreter_p.
66 * main.c (captured_main): Initialize interpreter_p from context.
67 * gdb.c (main): Set interpreter_p argument.
68 * Makefile.in (gdb.o): Add dependency for interps.h.
69
fe97fe9c
AC
702003-02-12 Andrew Cagney <ac131313@redhat.com>
71
72 * event-top.c (cli_command_loop): Delete declaration.
73 (_initialize_event_loop): Delete function setting event_loop_hook.
74 * event-top.h (cli_command_loop): Declare. Update copyright.
75 (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H.
76 * interps.c (current_interp_command_loop): When event_loop_p, call
77 cli_command_loop.
78
1cdac4ef
AC
792003-02-12 Andrew Cagney <ac131313@redhat.com>
80
81 * interps.h (interp_command_loop_ftype): Change return type to
82 void.
83
48037ead
ML
842003-02-12 Michal Ludvig <mludvig@suse.cz>
85
86 * x86-64-tdep.c (x86_64_extract_return_value)
87 (x86_64_store_return_value): Use regcache instead of regbuf.
88 (x86_64_gdbarch_init): Change related set_gdbarch_* functions.
89 * x86-64-linux-nat.c (fill_gregset): Use regcache.
90
033afc63
AC
912003-02-11 Andrew Cagney <ac131313@redhat.com>
92
93 * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS.
94 * aclocal.m4: Regenerate.
95 * configure: Regenerate.
96
97 * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of
98 TCL_LD_SEARCH_FLAGS.
99
40d02bca
ML
1002003-02-10 Michal Ludvig <mludvig@suse.cz>
101
102 * dwarf2cfi.c: Reindented.
103
11308a41
AC
1042003-02-09 Andrew Cagney <ac131313@redhat.com>
105
106 * interps.c (clear_interpreter_hooks): Convert function definition
107 to ISO C.
108
e1c1c0f6
DC
1092003-02-07 David Carlton <carlton@math.stanford.edu>
110
111 * gdb_mbuild.sh: Delete extra shift after parsing '-f'.
112
ab5d3da6
KB
1132003-02-07 Kevin Buettner <kevinb@redhat.com>
114
115 * gdbtypes.h (struct main_type): Move ``length'' field from here...
116 (struct type): ...to here.
117 (TYPE_LENGTH): Adjust to reflect different location of ``length''
118 field.
119 * gdbtypes.c (make_qualified_type): Set length on newly created type.
120 (replace_type): Set length on all type variants for a given type.
121
b8a92b82
AC
1222003-02-07 Andrew Cagney <ac131313@redhat.com>
123
124 * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of
125 <sys/stat.h>.
126 * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies.
127
5cb316ef
AC
1282003-02-06 Andrew Cagney <ac131313@redhat.com>
129
2555fe1a
AC
130 * Makefile.in (symm-nat.o): Update dependencies.
131 (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto.
132 (lynx-nat.o, ia64-linux-nat.): Ditto.
133 * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include
134 "gdb_wait.h" instead of <wait.h> or <sys/wait.h>.
135 * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto.
136
44270758
AC
137 * Makefile.in (inflow_h): Define.
138 (procfs.o, inflow.o, procfs.o): Update dependencies.
139 * inftarg.c (child_stop): Delete extern declaration of
140 inferior_process_group. Include "inflow.h".
141 * procfs.c (procfs_stop): Ditto. Include "inflow.h".
142 * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ...
143 * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file.
144 (our_process_group, inferior_process_group): Extern declarations.
145
df8f7274
AC
146 * procfs.c: Include "gdb_assert.h".
147
5cb316ef
AC
148 * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>.
149 * cp-valprint.c (cp_print_value_fields): Eliminate STREQN.
150 * jv-typeprint.c (java_type_print_base): Ditto.
151 * typeprint.c (typedef_print): Eliminate STREQ.
152 * cli/cli-script.c (define_command, define_command): Ditto.
153 * main.c (captured_main): Ditto.
154 * values.c (lookup_internalvar): Ditto.
155 * utils.c (safe_strerror, parse_escape): Eliminate assignment
156 within `if' conditional.
157 * linespec.c (decode_line_2): Ditto.
158 * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto.
159 (bfd_openw_with_cleanup): Ditto.
160
2a28ccea
MK
1612003-02-07 Mark Kettenis <kettenis@gnu.org>
162
163 * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to
164 legacy_extract_return_value and store_return_value to
165 legacy_return_value.
166
786b8124
CF
1672003-02-06 Raoul Gough <RaoulGough@yahoo.co.uk>
168
169 * win32-nat.c (get_relocated_section_addrs): New function. Find
170 section load addresses for symbol handling in relocated DLLs.
171 (solib_symbols_add): Open a bfd and call get_relocated_section_addrs.
172
b871e4ec
FF
1732003-02-05 Fred Fish <fnf@intrinsity.com>
174
175 * remote-e7000.c (e7000_drain_command): Fix precedence problem with
176 '=' and '!='.
177 * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem
178 with '&' and '=='.
179 (angel_RDI_info): Ditto.
180 * infttrace.c (threads_continue_all_but_one): Fix precedence problem
181 with '&' and '!='.
182 (threads_continue_all_with_signals): Ditto.
183
4389a95a
AC
1842003-02-05 Jim Ingham <jingham@apple.com>
185 Keith Seitz <keiths@redhat.com>
186 Elena Zannoni <ezannoni@redhat.com>
187 Andrew Cagney <ac131313@redhat.com>
188
189 * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
190 (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
191 (SUBDIR_MI_OBS): Add "mi-interp.o".
192 (SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
193 (SFILES): Add "interps.c".
194 (COMMON_OBS): Add "interps.o".
195 (interps_h, mi_main_h): Define.
196 (interps.o, cli-interp.o, mi-interp.o): Add dependencies.
197 (mi-main.o, main.o, event-top.o): Update dependencies.
198 * cli/cli-interp.c: New file.
199 * interps.h, interps.c: New files.
200 * top.c: (gdb_init): Don't install the default interpreter, handed
201 by captured_main.
202 * main.c: Include "interps.h".
203 (interpreter_p): Note that it should malloc'ed.
204 (captured_command_loop): Call current_interp_command_loop.
205 (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
206 xfree and xstrdup when updating interpreter_p. Install the
207 default interpreter. Add hack to stop mi1's copyright notice
208 being encoded.
209 * event-top.h (gdb_setup_readline): Declare.
210 (gdb_disable_readline): Declare.
211 * event-top.c: Include "interps.h".
212 (display_gdb_prompt): Call current_interp_display_prompt_p.
213 (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
214 gdb_stdlog, and gdb_stdtarg.
215 (_initialize_event_loop): Don't call gdb_setup_readline.
216 * cli-out.c (cli_out_set_stream): New function.
217 * cli-out.h (cli_out_set_stream): Declare.
218
ff3b5810
MK
2192003-02-06 Mark Kettenis <kettenis@gnu.org>
220
221 * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*,
222 i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all
223 handled fine by i[3456]86-*sco* and i[3456]86-sysv*.
224 * config/i386/i386sco5.mt, config/i386/i386v4.mt,
225 config/i386/i386v42mp.mt: Removed.
226
5b729aa5
MK
2272003-02-05 Mark Kettenis <kettenis@gnu.org>
228
229 * configure.tgt (*-*-solaris*): Set gdb_osabi to
230 GDB_OSABI_SOLARIS.
231
8cc15142
MC
2322003-02-05 Michael Chastain <mec@shout.net>
233
234 * PROBLEMS (i[3456]86-*-linux*): Warn about binutils
235 2.12.1 and earlier versions.
236
5aa5d4b9
AC
2372003-02-05 Andrew Cagney <ac131313@redhat.com>
238
239 Remove orphaned hosts, targets and files.
240 * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete.
241 * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete.
242 * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete.
243 * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete.
244 * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete.
245 * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete.
246 * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete.
247 * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete.
248 * config/sparc/tm-sp64sim.h: Delete.
249 * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-*
250 hosts.
251 * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and
252 mips*-dec-mach3* targets.
253
b68767c1
MC
2542003-02-04 Michael Chastain <mec@shout.net>
255
256 * NEWS: Fix typo: sepcifying -> specifying.
257
5ae7ca1d
MC
2582003-02-04 Michael Chastain <mec@shout.net>
259
260 * dwarfread.c: Add documentation on the state of dwarf-1,
261 looking towards obsoletion.
262
d08a4280
MC
2632003-02-03 Michael Chastain <mec@shout.net>
264
265 * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc,
266 gdb/testsuite/gdb.c++/pr-1023.exp.
267
e9be73e4
AC
2682003-02-04 Andrew Cagney <ac131313@redhat.com>
269
270 * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR.
271 * TODO: Delete reference to IS_TRAPPED_INTERNALVAR.
272
273 * utils.c (init_page_info): Delete reference to MPW in comments.
274 * main.c (captured_main): Delete #ifdef MPW.
275
05d57f6f
AC
2762003-02-04 Andrew Cagney <ac131313@redhat.com>
277
278 * NEWS: Note that the m32r-*-elf* is obsolete.
279 * monitor.c (monitor_expect): Obsolete reference to m32r.
280 * configure.tgt: Mark m32r-*-elf* as obsolete.
281 * MAINTAINERS: Mark m32k as obsolete.
282 * m32r-rom.c: Obsolete file.
283 * config/m32r/m32r.mt: Obsolete file.
284 * config/m32r/tm-m32r.h: Obsolete file.
285 * m32r-stub.c: Obsolete file.
286 * m32r-tdep.c: Obsolete file.
287
8b0e5691
AC
2882003-02-04 Andrew Cagney <ac131313@redhat.com>
289
290 * NEWS: Mention that the z8k-zilog-none is obsolete.
291 * MAINTAINERS: Mark z8k as obsolete.
292 * configure.tgt: Obsolete the z8k-*-coff* target.
293 * config/z8k/z8k.mt: Obsolete file.
294 * config/z8k/tm-z8k.h: Obsolete file.
295 * z8k-tdep.c: Obsolete file.
296
67f16606
AC
2972003-02-04 Andrew Cagney <ac131313@redhat.com>
298
299 * NEWS: Mention that the mn10200-elf is obsolete.
300 * configure.tgt: Obsolete mn10200-*-* target.
301 * breakpoint.c (update_breakpoints_after_exec): Update comment to
302 mention that the mn10200 is obsolete.
303 * breakpoint.h: Ditto.
304 * MAINTAINERS: Mark the mn10200-elf as obsolete.
305 * config/mn10200/mn10200.mt: Obsolete file.
306 * config/mn10200/tm-mn10200.h: Obsolete file.
307 * mn10200-tdep.c: Obsolete file.
308
fd2299bd
AC
3092003-02-04 Andrew Cagney <ac131313@redhat.com>
310
311 * MAINTAINERS: Mark h8500 as obsolete.
312 * configure.tgt (h8500-*-*): Mark h8500 code as obsolete.
313 * findvar.c (value_from_register): Ditto.
314 * h8500-tdep.c: Mark file as obsolete.
315 * config/h8500/h8500.mt: Ditto.
316 * config/h8500/tm-h8500.h: Ditto.
317 * NEWS: Mention that h8500 is obsolete.
318
eb9a305d
DC
3192003-02-04 David Carlton <carlton@math.stanford.edu>
320
321 * objfiles.c (allocate_objfile): Always set name. Add comment at
322 start of function.
323 * jv-lang.c (get_dynamics_objfile): Add comment.
324
406fc7fb
DC
3252003-02-04 David Carlton <carlton@math.stanford.edu>
326
327 * symtab.h (SYMBOL_LINKAGE_NAME): Delete.
328 * printcmd.c (build_address_symbolic): Replace uses of
329 SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME,
330 SYMBOL_NAME, and asm_demangle.
331 Update copyright.
332
93d91629
DC
3332003-02-04 David Carlton <carlton@math.stanford.edu>
334
335 * linespec.c (decode_compound): Extract code into
336 lookup_prefix_sym.
337 (lookup_prefix_sym): New function.
338
1c5cb38e
DC
3392003-02-04 David Carlton <carlton@math.stanford.edu>
340
341 * gdbtypes.h: Delete INTEGER_COERCION_BADNESS,
342 FLOAT_COERCION_BADNESS.
343 * gdbtypes.c (rank_one_type): Replace all uses of
344 INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS.
345
0cf824c9
JB
3462003-02-04 Jim Blandy <jimb@redhat.com>
347
348 * dwarf2read.c (dwarf2_locate_sections): When we find a macro info
349 section, let dwarf_macinfo_section point to it, not
350 dwarf_loc_section.
351
a2d356b0
DJ
3522003-02-04 Daniel Jacobowitz <drow@mvista.com>
353
354 Pointed out by Anton Blanchard <anton@samba.org>.
355 * ppc-linux-tdep.c (insn_is_sigreturn): New function.
356 (ppc_linux_at_sigtramp_return_path): Use it.
357
2de7ced7
DJ
3582003-02-04 Daniel Jacobowitz <drow@mvista.com>
359
360 * defs.h (streq): Add prototype.
361 * utils.c (streq): New function.
362
363 * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of
364 SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME.
365 * mdebugread.c (new_symbol): Likewise.
366 * stabsread.c (define_symbol): Likewise.
367 * coffread.c (process_coff_symbol): Likewise.
368 * dwarfread.c (new_symbol): Likewise.
369
370 * minsyms.c (prim_record_minimal_symbol_and_info): Use
371 SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language
372 here.
373 (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call
374 SYMBOL_INIT_DEMANGLED_NAME.
375 * objfiles.c: Include "hashtab.h".
376 (allocate_objfile): Call htab_set_functions_ex for the
377 demangled_names_hash.
378 (free_objfile): Call htab_delete for the demangled_names_hash.
379 * objfiles.h (struct htab): Add declaration.
380 (struct objfile): Add demangled_names_hash.
381 * symfile.c: Include "hashtab.h".
382 (reread_symbols): Call htab_delete for the demangled_names_hash.
383 (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting
384 SYMBOL_NAME in the bcache.
385 * symtab.c: Include "hashtab.h". Update comments.
386 (create_demangled_names_hash, symbol_set_names): New functions.
387 (symbol_find_demangled_name): New function, broken out from
388 symbol_init_demangled_names.
389 (symbol_init_demangled_names): Use it.
390 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses.
391 (SYMBOL_SET_NAMES): New macro.
392 (symbol_set_names): Add prototype.
393
15831452
JB
3942003-02-03 Jim Blandy <jimb@redhat.com>
395
396 Use a single, consistent representation for an empty minimal
397 symbol table in an objfile.
398 * objfiles.c (terminate_minimal_symbol_table): New function.
399 (allocate_objfile): Call it.
400 * objfiles.h (terminate_minimal_symbol_table): New declaration.
401 (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is
402 non-NULL.
403 * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether
404 objfile has minimal symbols, compare minimal_symbol_count to zero,
405 instead of comparing msymbols with NULL.
406 * objfiles.c (have_minimal_symbols): Same.
407 * solib-sunos.c (solib_add_common_symbols): Call
408 terminate_minimal_symbol_table.
409 * symfile.c (reread_symbols): Same.
410
ffc65945
KB
4112003-02-03 Kevin Buettner <kevinb@redhat.com>
412
413 * s390-tdep.c (s390_address_class_type_flags)
414 (s390_address_class_type_flags_to_name)
415 (s390_address_class_name_to_type_flags): New functions.
416 (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME,
417 ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS.
418
f211c6d4
MS
4192003-02-03 Michael Snyder <msnyder@redhat.com>
420
421 * arm-tdep.c: Fix spell-o in comment.
422
659b0389
ML
4232003-02-03 Michal Ludvig <mludvig@suse.cz>
424
425 * dwarf2cfi.c (pointer_encoding): Added new parameter.
426 * dwarf2cfi.c, dwarf2read.c: Changed all warnings and
427 error messages to contain BFD filename.
428
3b31d625
EZ
4292003-02-02 Elena Zannoni <ezannoni@redhat.com>
430
997b089a 431 Fix PR gdb/742 gdb/743 gdb/877
3b31d625
EZ
432 * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end.
433 (do_mixed_source_and_assembly): Use
434 make_cleanup_ui_out_tuple_begin_end and
435 make_cleanup_ui_out_tuple_begin_end.
436 (do_mixed_source_and_assembly): Ditto.
437 * thread.c (do_captured_list_thread_ids): Ditto.
438 * ui-out.h (ui_out_table_begin, ui_out_list_begin,
439 ui_out_tuple_begin, ui_out_table_end, ui_out_list_end,
440 ui_out_tuple_end): Delete prototypes.
441 * ui-out.c (ui_out_list_begin, ui_out_tuple_begin,
442 ui_out_list_end, ui_out_tuple_end): Delete.
443
444 From Kevin Buettner <kevinb@redhat.com>:
445 * ui-out.h (make_cleanup_ui_out_table_begin_end): New function.
446 * ui-out.c (make_cleanup_ui_out_table_begin_end)
447 (do_cleanup_table_end): New functions.
448 * breakpoint.c (print_it_typical, print_one_breakpoint, mention):
449 Use cleanups to invoke_ui_out_tuple_end().
450 (breakpoint_1): Use cleanup to invoke ui_out_table_end().
451 * cli/cli-setshow.c (cmd_show_list): Use
452 make_cleanup_ui_out_tuple_begin_end.
453
5b181d62
AC
4542003-02-02 Andrew Cagney <ac131313@redhat.com>
455
456 * frame.c (frame_unwind_register): New function.
457 (frame_unwind_unsigned_register): Use.
458 (frame_unwind_signed_register): Use.
459 (frame_read_register): New function.
460 * frame.h (frame_unwind_register): Declare.
461 (frame_read_register): Declare.
462
463 * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write
464 and frame_unwind_register instead of read_memory, write_register
465 and deprecated_write_register_bytes.
466
5f601589
AC
4672003-02-02 Andrew Cagney <ac131313@redhat.com>
468
469 * frame.h: Note that namelen can be negative.
470 * frame.c (frame_map_name_to_regnum): When LEN is negative, use
471 NAME's length.
472
473 * NEWS: Mention that the d10v's `regs' command is deprecated.
474 * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info.
475 (d10v_print_registers_info): New function.
476 (show_regs): Call d10v_print_registers_info.
477 (_initialize_d10v_tdep): Mark "show regs" command as deprecated.
478
6a3fe0a4
MK
4792003-02-02 Mark Kettenis <kettenis@gnu.org>
480
481 * stack.c (print_frame_info): Restore call to annotate_frame_begin
482 lost in the previous patch.
483
075559bc
AC
4842003-02-01 Andrew Cagney <ac131313@redhat.com>
485
486 From 2002-11-09 Jason Molenda (jason-cl@molenda.com)
487 * stack.c (print_frame_info_base): Output complete FRAME tuple
488 for synthesized frames.
489
6789195b
AC
4902003-02-02 Andrew Cagney <ac131313@redhat.com>
491
492 * mips-nat.c (zerobuf): Delete.
493 (fetch_inferior_registers): Alloc local zerobuf.
494 (fetch_core_registers): Alloc local zerobuf.
495 * d10v-tdep.c (show_regs): Don't allocate a dynamic array using
496 MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE.
497 * thread-db.c (thread_db_store_registers): Ditto.
498 * sh-tdep.c (sh_do_register): Ditto.
499 * rom68k-rom.c (rom68k_supply_one_register): Ditto.
500 * remote-sim.c (gdbsim_store_register): Ditto.
501 * remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
502 * remote-e7000.c (fetch_regs_from_dump): Ditto.
503 * monitor.c (monitor_supply_register): Ditto.
504 * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto.
505 * mips-nat.c (fetch_inferior_registers): Ditto.
506 * m68klinux-nat.c (fetch_register): Ditto.
507 * lynx-nat.c (fetch_inferior_registers): Ditto.
508 (fetch_inferior_registers): Ditto.
509 * irix4-nat.c (supply_gregset, supply_fpregset): Ditto.
510 * hpux-thread.c (hpux_thread_fetch_registers): Ditto.
511 (hpux_thread_store_registers): Ditto.
512 * hppah-nat.c (fetch_register): Ditto.
513 * hppab-nat.c (fetch_register): Ditto.
514 * hppa-tdep.c (pa_register_look_aside): Ditto.
515 (pa_print_fp_reg, pa_strcat_fp_reg): Ditto.
516 * dve3900-rom.c (fetch_bitmapped_register): Ditto.
517
e669114a
AC
5182003-02-01 Andrew Cagney <ac131313@redhat.com>
519
520 * gdbarch.sh: Explictly specify all method levels. When a
521 variable with an empty level, provide a non-multi-arch default.
522 (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty.
523 * gdbarch.h: Re-generate.
524 * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined.
525 * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1
526
9a043c1d
AC
5272003-02-01 Andrew Cagney <ac131313@redhat.com>
528
529 * defs.h (host_pointer_to_address): Delete declaration.
530 (address_to_host_pointer): Delete declaration.
531 * utils.c (host_pointer_to_address): Delete function.
532 (address_to_host_pointer): Delete function.
533 * procfs.c (procfs_address_to_host_pointer): New function.
534 * procfs.c (proc_set_watchpoint): Use.
535 (procfs_can_use_hw_breakpoint): Update comments.
536 * somsolib.c (hpux_address_to_host_pointer_hack): New function.
537 (som_solib_add): Use.
538 * hppa-tdep.c (hppa_pointer_to_address_hack): New function.
539 * hppa-tdep.c (unwind_command): Use.
540
7ca9f392
AC
5412003-02-01 Andrew Cagney <ac131313@redhat.com>
542
94bbfd30
AC
543 * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and
544 strlen d_name.
545
7ca9f392
AC
546 * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS,
547 ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code.
548 (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code.
549 * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro.
550 (define_symbol): Update.
551 * symfile.c (generic_load): Remove references to nindy.
552 * symtab.c: Remove references to nindy.
553
31a85ea2
AC
5542003-02-01 Andrew Cagney <ac131313@redhat.com>
555
556 * infcmd.c (print_float_info): Delete code conditional on
557 FLOAT_INFO.
558 * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright.
559 * config/m68k/nm-apollo68b.h: Ditto.
560 * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright.
561 * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto.
562 * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto.
563
f6e85fc8
MK
5642003-02-01 Mark Kettenis <kettenis@gnu.org>
565
6015b6a0
MK
566 * config/i386/tm-i386os9k.h: Removed.
567
f7a30bdf
MK
568 * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v.
569 Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since
570 they're identical to i[3456]86-*-sysv* now.
571 * config/i386/i386v32.mh: Removed.
572 * config/i386/xm-i386v32.h: Removed.
573 * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro.
574
28d52111
MK
575 * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed.
576
4d3f6bce
MK
577 * config/i386/i386dgux.mh: Removed.
578 * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4.
579
f6e85fc8
MK
580 * configure.in: Fix typo.
581 * configure: Regenerated.
582
53955967
DC
5832003-01-31 David Carlton <carlton@math.stanford.edu>
584
585 * dwarf2read.c (dwarf2_locate_sections): Set
586 dwarf_ranges_section.
587
b1364885
AC
5882003-01-31 Andrew Cagney <ac131313@redhat.com>
589
8dbb1c65
AC
590 * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts.
591 * utils.c: Update comments documenting legitimate uses of PTR.
592
8731e58e
AC
593 * utils.c: Re-indent.
594
b1364885
AC
595 * config/djgpp/fnchange.lst: Delete nindy files.
596 * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files.
597 * nindy-share/nindy.c, nindy-share/env.h: Delete files.
598 * nindy-share/coff.h, nindy-share/block_io.h: Delete files.
599 * nindy-share/b.out.h, nindy-share/VERSION: Delete files.
600 * nindy-share/README, nindy-share/Onindy.c: Delete files.
601 * nindy-tdep.c, nindy-share/Makefile: Delete files.
602 * Makefile.in (init.c): Remove nindy references.
603 (saber_gdb): Delete rule.
604 (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c,
605 nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c,
606 and a68v-nat.c.
607 (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules.
608 (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules.
609 (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h,
610 nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and
611 nindy-share/stop.h.
612 * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files.
613 * saber.suppress: Delete file.
614
086df311
DJ
6152003-01-31 Daniel Jacobowitz <drow@mvista.com>
616
617 * dbxread.c (stabs_data): New static variable.
618 (fill_symbuf): Support an in-memory buffer for stabs data.
619 (stabs_seek): New function.
620 (dbx_psymtab_to_symtab): Relocate the stabs data if necessary.
621 (read_ofile_symtab): Use stabs_seek.
622 (elfstab_build_psymtabs): Take an asection* instead of
623 an offset and size. Relocate the stabs data if necessary.
624 Save the section* for dbx_psymtab_to_symtab.
625 * dwarf2read.c: Add section variables for each debug section.
626 (dwarf2_locate_sections): Fill them in.
627 (dwarf2_read_section): Take an asection* argument.
628 Relocate the section contents if necessary.
629 (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers.
630 * dwarf2cfi.c (parse_frame_info): Take a section argument and pass
631 it to dwarf2_read_section.
632 (dwarf2_build_frame_info): Update callers.
633 * elfread.c (elf_symfile_read): Update call to
634 elfstab_build_psymtabs.
635 * gdb-stabs.h (struct dbx_symfile_info): Add stab_section.
636 (DBX_STAB_SECTION): New macro.
637 * stabsread.h (elfstab_build_psymtabs): Update prototype.
638 * symfile.c (symfile_dummy_outputs): New function.
639 (symfile_relocate_debug_section): New function.
640 * symfile.h (symfile_relocate_debug_section): Add prototype.
641
87d1b352
RH
6422003-01-31 Richard Henderson <rth@redhat.com>
643
644 * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...
645 (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM.
646 (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM.
647 * alpha-tdep.c (alpha_register_name): Add "unique".
648 * alpha-tdep.h (ALPHA_NUM_REGS): Increment.
649 (ALPHA_UNIQUE_REGNUM): New.
650 * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New.
651
c48861fb
AC
6522003-01-31 Andrew Cagney <ac131313@redhat.com>
653
654 * README: Remove reference to Ericsson 1800 monitor.
655 * Makefile.in (remote-es.o): Delete rule.
656 (ALLDEPFILES): Delete remote-es.c.
657 * remote-es.c: Delete file.
658 * config/m68k/es1800.mt: Delete file.
659 * config/djgpp/fnchange.lst: Update.
660 * configure.tgt: Delete m68*-ericsson-* target.
661
d764a824
AF
6622003-01-31 Adam Fedor <fedor@gnu.org>
663
664 * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc.
665 Remove duplicate/shadowing variable of same name.
666
fe36c4f4
JB
6672003-01-30 Jim Blandy <jimb@redhat.com>
668
669 * symfile.c (find_separate_debug_file): Assert that the objfile's
670 directory name we compute ends with a slash, and then assume that
671 that's so everywhere we use it.
672
cb741690
DJ
6732003-01-30 Daniel Jacobowitz <drow@mvista.com>
674
675 * valops.c (value_assign): Flush frame cache after stores to memory
676 also.
677
96ee5227
AC
6782003-01-30 Andrew Cagney <ac131313@redhat.com>
679
680 * Makefile.in (mon960-rom.o): Delete rule.
681 * mon960-rom.c: Delete file.
682
7f6104a9
AC
6832003-01-30 Andrew Cagney <ac131313@redhat.com>
684
685 * d10v-tdep.c: Include "frame-unwind.h".
686 (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate
687 list.
688 (next_addr, uses_frame): Delete.
689 (struct d10v_unwind_cache): Define.
690 (prologue_find_regs): Add struct d10v_unwind_cache info parameter.
691 Use info instead of next_addr and uses_frame globals.
692 (d10v_frame_init_saved_regs): Delete function.
693 (d10v_init_extra_frame_info): Delete function.
694 (d10v_gdbarch_init): Do not initialize init_extra_frame_info,
695 frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid,
696 init_frame_pc or frame_saved_pc.
697 (d10v_pop_frame): Delete function.
698 (do_d10v_pop_frame): Delete function.
699 (d10v_frame_chain): Delete function.
700 (d10v_frame_chain_valid): Delete function.
701 (d10v_frame_pc_unwind): New function.
702 (d10v_frame_id_unwind): New function.
703 (saved_regs_unwinder): New function.
704 (d10v_frame_register_unwind): New function.
705 (d10v_frame_pop): New function.
706 (d10v_frame_unwind): New variable.
707 (d10v_frame_p): New function.
708 (d10v_frame_saved_pc): Delete function.
709 * Makefile.in (d10v-tdep.o): Update dependencies.
710
cad2e848
JB
7112003-01-30 J. Brobecker <brobecker@gnat.com>
712
713 * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef
714 causing some regressions due to a change in the default value
715 for this macro.
716
af34e669
DJ
7172003-01-29 Richard Henderson <rth@redhat.com>
718 Elena Zannoni <ezannoni@redhat.com>
719 Daniel Jacobowitz <drow@mvista.com>
720
721 Fix PR gdb/961.
722 * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New
723 variables.
724 (RANGES_SECTION): New.
725 (dwarf_ranges_buffer): New variable.
726 (struct comp_unit_head): Add member "die".
727 (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size.
728 (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New.
729 (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size.
730 (dwarf2_locate_sections): Likewise.
731 (dwarf2_build_psymtabs): Read .debug_ranges.
732 (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out.
733 (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die.
734 (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers.
735 Look for DW_AT_ranges and return the bounding box.
736
baa93fa6
CF
7372003-01-29 Brian Ford <ford@vss.fsi.com>
738
739 * win32-nat.c (cygwin_pid): Removed as unused.
740 (child_attach): Try fall back to Cygwin pid.
741
c63f977f
JB
7422003-01-29 Jim Blandy <jimb@redhat.com>
743
744 * objfiles.h (struct objfile): Doc fix.
745
d62d1979
AC
7462003-01-29 Andrew Cagney <ac131313@redhat.com>
747
748 * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P.
749 (legacy_get_prev_frame): Assert FRAME_CHAIN_P.
750 (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame.
751 (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P.
752 * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate.
753 (FRAME_SAVED_PC): Change to a function with predicate.
754 * gdbarch.h, gdbarch.c: Re-generate.
755
1ae18a04
AC
7562003-01-28 Andrew Cagney <ac131313@redhat.com>
757
52287340
AC
758 * hppah-nat.c (child_pid_to_exec_file): Don't use boolean.
759
1ae18a04
AC
760 * complaints.c (complain): Delete function.
761 * complaints.h (struct deprecated_complaint): Delete definition.
762 (complain): Delete declaration.
763
f2c16bd6
KB
7642003-01-28 Kevin Buettner <kevinb@redhat.com>
765
766 * mips-tdep.c (mips_init_extra_frame_info): Return early for
767 dummy frames.
768
a94dd1fd
AC
7692003-01-27 Andrew Cagney <ac131313@redhat.com>
770
771 * sentinel-frame.h, sentinel-frame.c: New files.
772 * Makefile.in (frame.o): Update dependencies.
773 (SFILES): Add sentinel-frame.c.
774 (sentinel_frame_h): Define.
775 (COMMON_OBS): Add sentinel-frame.o.
776 (sentinel-frame.o): Specify dependencies.
777 * frame.c: Include "sentinel-frame.h".
778 (frame_register_unwind): Rewrite assuming that there is always a a
779 ->next frame.
780 (frame_register, generic_unwind_get_saved_register): Ditto.
781 (frame_read_unsigned_register, frame_read_signed_register): Ditto.
782 (create_sentinel_frame, unwind_to_current_frame): New functions.
783 (get_current_frame): Rewrite using create_sentinel_frame and
784 unwind_to_current_frame. When possible, always create a frame.
785 (create_new_frame): Set next to the sentinel frame.
786 (get_next_frame): Rewrite. Don't go below the level 0 frame.
787 (deprecated_update_frame_pc_hack): Update the next frame's PC and
788 ID cache when necessary.
789 (frame_saved_regs_id_unwind): Use frame_relative_level.
790 (deprecated_generic_get_saved_register): Use frame_relative_level,
791 get_frame_saved_regs, get_frame_pc, get_frame_base and
792 get_next_frame.
793 (frame_saved_regs_register_unwind): Use get_frame_saved_regs and
794 frame_register.
795
5378adc4
DJ
7962003-01-27 Daniel Jacobowitz <drow@mvista.com>
797
798 * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments.
799
51ee2ddc
DJ
8002003-01-27 Daniel Jacobowitz <drow@mvista.com>
801
802 * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
803 (maintenance_set_profile_cmd): Use error () instead of warning ().
804
d9feb4e7
DJ
8052003-01-27 Daniel Jacobowitz <drow@mvista.com>
806
807 * configure.in: Check that -pg works if using --enable-profiling.
808 Check for monstartup and _mcleanup regardless of --enable-profiling.
809 * maint.c: Check for monstartup and _mcleanup before using them.
810 * config.in: Regenerated.
811 * configure: Regenerated.
812
2d188dd3
NC
8132003-01-24 Nick Clifton <nickc@redhat.com>
814
815 * Add sh2e support:
816
817 2002-04-02 Elena Zannoni <ezannoni@redhat.com>
818
819 * gdb/sh-tdep.c (sh_sh2e_register_name): New.
820 (sh2e_show_regs): New.
821 (sh_gdbarch_init): Handle bfd_mach_sh2e.
822 * config/sh/tm-sh.h: Added sh2e to comments.
823
cb3c37b2
JB
8242003-01-23 Jim Blandy <jimb@redhat.com>
825
826 * symfile.c (syms_from_objfile): Don't print the "(no debugging
827 symbols found)" message here; we haven't checked for a separate
828 debug info file yet, so we don't know yet.
829 (symbol_file_add_with_addrs_or_offsets): Print it here, after
830 we've looked everywhere. Also, there's no need to print a special
831 message when we're loading the separate debug info file: the one
832 symbol_file_add prints is fine.
833
5b5d99cf
JB
8342003-01-23 Alexander Larsson <alexl@redhat.com>
835 Jim Blandy <jimb@redhat.com>
836
837 Add support for executables whose debug info has been separated
838 out into a separate file, leaving only a link behind.
839 * objfiles.h (struct objfile): New fields: separate_debug_objfile
840 and separate_debug_objfile_backlink.
841 (put_objfile_before): New declaration.
842 * symfile.c: #include "filenames.h".
843 (symbol_file_add_with_addrs_or_offsets): If this objfile has its
844 debug info in a separate file, read that, too. Save the addrs
845 argument, so we can use it again to read the separated debug info;
846 syms_from_objfile modifies the table we pass it.
847 (reread_symbols): After re-reading an objfile, call
848 reread_separate_symbols to refresh its separate debug info
849 objfile, if it has one.
850 (reread_separate_symbols, find_separate_debug_file,
851 get_debug_link_info, separate_debug_file_exists): New functions.
852 (debug_file_directory): New global var.
853 (_initialize_symfile): Initialize debug_file_directory, and
854 provide the new `set debug-file-directory' command to let the user
855 change it.
856 * objfiles.c (free_objfile): If this objfile has its debug info in
857 a separate objfile, free that one too. If this is itself a
858 separate debug info objfile, clear our parent's backlink.
859 (put_objfile_before): New function.
860 * utils.c (gnu_debuglink_crc32): New function.
861 * defs.h (gnu_debuglink_crc32): New declaration.
862 * Makefile.in (symfile.o): Note dependency on "filenames.h".
863 * configure.in: Handle --with-separate-debug-dir config option.
864 * acinclude.m4 (AC_DEFINE_DIR): New macro.
865 * acconfig.h (DEBUGDIR): New macro.
866 * configure, aclocal.m4, config.in: Regenerated.
867
7e8580c1
JB
8682003-01-22 Jim Blandy <jimb@redhat.com>
869
7904e09f
JB
870 * symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
871 like the old symbol_file_add, but taking new arguments: you can
872 now pass in either a `struct section_addr_info' list to say where
873 each section is loaded, or a `struct section_offsets' table. Pass
874 these new arguments through to syms_from_objfile as appropriate.
875 (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets,
876 with the appropriate quiescent values for the new arguments.
877
7e8580c1
JB
878 * symfile.c: #include "gdb_assert.h".
879 (syms_from_objfile): Add the ability to pass in a section offset
880 table directly, as an alternative to the section_addr_info table.
881 Document arguments better.
882 (symbol_file_add): Pass extra arguments to syms_from_objfile.
883 * symfile.h (syms_from_objfile): Update declaration.
884 * rs6000-nat.c (objfile_symbol_add): Pass new arguments to
885 syms_from_objfile.
886 * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
887
d28f9cdf
DJ
8882003-01-22 Daniel Jacobowitz <drow@mvista.com>
889
890 Original patch by Tom Tromey <tromey@cygnus.com> and
891 Jason Molenda <jmolenda@apple.com>.
892 * Makefile.in (PROFILE_CFLAGS): Substitute from configure.
893 (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS.
894 * NEWS: Mention profiling.
895 * configure.in (--enable-gdbtk): Fix typo.
896 (--enable-profiling): New. Set PROFILE_CFLAGS.
897 * maint.c (maintenance_set_profile_cmd): Remove NOTYET.
898 Fill in function.
899 (profiling_state): New variable.
900 (mcleanup_wrapper): New function.
901 (_initialize_maint): Remove NOTYET, fix call to
902 add_setshow_boolean_cmd for "maint set profile".
903 * configure: Regenerated.
904
df21e465
MH
9052003-01-21 Martin M. Hunt <hunt@redhat.com>
906
907 * Makefile.in (install-gdbtk): Install PNG images too.
908
73c1f219
AC
9092003-01-21 Andrew Cagney <ac131313@redhat.com>
910
911 * exec.c (text_start): Delete global variable.
912 (exec_file_attach): Make text_start local to the function.
913 * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros.
914 * valops.c (hand_function_call): Delete code that handles
915 BEFORE_TEXT_END and AFTER_TEXT_END.
916 * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead
917 of CALL_DUMMY_LOCATION.
918 * gdbarch.c: Regenerate.
919 * inferior.h (deprecated_pc_in_call_dummy_before_text_end)
920 (deprecated_pc_in_call_dummy_after_text_end): Delete declaration.
921 * blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
922 (deprecated_pc_in_call_dummy_after_text_end): Delete functions.
923 (text_end): Delete extern declaration.
924
eb4f72c5
AC
9252003-01-21 Andrew Cagney <ac131313@redhat.com>
926
927 * frame.h (FRAME_OBSTACK_ZALLOC): Define.
928 * blockframe.c (backtrace_below_main): Move to "frame.c".
929 (frame_chain_valid): Delete check for backtrace_below_main.
930 (_initialize_blockframe): Delete initialization, move ``set
931 backtrace-below-main'' command to "frame.c".
932 (do_flush_frames_sfunc): Delete function.
933 * frame.c: Include "command.h" and "gdbcmd.h".
934 (frame_type_from_pc): New function.
935 (create_new_frame): Use frame_type_from_pc.
936 (legacy_get_prev_frame): New function.
937 (get_prev_frame): Rewrite. When an old style frame, call
938 legacy_get_prev_frame. Otherwize, unwind the PC first.
939 (_initialize_frame): Add ``set backtrace-below-main'' command.
940 * Makefile.in (frame.o): Update dependencies.
941
778ce8cc
AC
9422003-01-19 Andrew Cagney <ac131313@redhat.com>
943
944 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename
945 DEPRECATED_REGISTERS_INFO.
946
01c193c8
AC
9472003-01-19 Andrew Cagney <ac131313@redhat.com>
948
949 * MAINTAINERS: Replace `Blanket Write Privs' with `Global
950 Maintainers'. Update `Various Maintainers'.
951
dedc2a2b
AC
9522003-01-19 Andrew Cagney <ac131313@redhat.com>
953
954 * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
955 * gdbarch.sh (POP_FRAME): Change to function with predicate.
956 Suppress actual parameters when `-'.
957 * gdbarch.h, gdbarch.c: Regenerate.
958
b7261c70
AC
9592003-01-19 Andrew Cagney <ac131313@redhat.com>
960
961 * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore
962 code handling dummy frames.
963
dbe9fe58
AC
9642003-01-19 Andrew Cagney <ac131313@redhat.com>
965
966 * frame-unwind.h (frame_unwind_pop_ftype): Declare.
967 (struct frame_unwind): Add field pop.
968 * frame.h (frame_pop): Declare.
969 * frame.c (frame_saved_regs_pop): New function.
970 (trad_frame_unwinder): Add frame_saved_regs_pop.
971 (frame_pop): New function.
972 * dummy-frame.c (dummy_frame_pop): New function.
973 (discard_innermost_dummy): New function.
974 (generic_pop_dummy_frame): Use discard_innermost_dummy.
975 (dummy_frame_unwind): Add dummy_frame_pop.
976 * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
977 * valops.c (hand_function_call): Ditto.
978 * stack.c (return_command): Ditto.
979
570b8f7c
AC
9802003-01-18 Andrew Cagney <ac131313@redhat.com>
981
982 * cris-tdep.c: Fix function declaration indentation.
983 * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
984 * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
985 * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
986 * symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
987 * xcoffread.c, config/pa/tm-hppa.h: Ditto.
988 * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
989
9902003-01-18 Michael Chastain <mec@shout.net>
eaec4d85
MC
991
992 * README (Unpacking and Installation -- quick overview):
993 Warn against ".../gdb-5.3/gdb/configure".
994
494cca16
AC
9952003-01-18 Andrew Cagney <ac131313@redhat.com>
996
997 * dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
998 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
999 (struct frame_unwind): Declare opaque.
1000 (dummy_frame_p): Declare function.
1001 * dummy-frame.c (dummy_frame_id_unwind): Make static.
1002 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
1003 * dummy-frame.c: Include "frame-unwind.h".
1004 (dummy_frame_p): New function.
1005 (dummy_frame_unwind): New variable.
1006 * frame.c: Include "frame-unwind.h".
1007 (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
1008 to use the new unwind field.
1009 (set_unwind_by_pc): Delete function.
1010 (create_new_frame, get_prev_frame): Set unwind field using
1011 frame_unwind_find_by_pc.
1012 (trad_frame_unwind, trad_frame_unwinder): New variables.
1013 * frame.h (trad_frame_unwind): Declare variable.
1014 (frame_id_unwind_ftype): Delete declaration.
1015 (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
1016 (struct frame_unwind): Declare opaque.
1017 (struct frame_info): Replace the fields id_unwind, pc_unwind and
1018 register_unwind with a single unwind pointer.
1019 * frame-unwind.h, frame-unwind.c: New files.
1020 * Makefile.in (SFILES): Add frame-unwind.c.
1021 (frame_unwind_h): Define.
1022 (COMMON_OBS): Add frame-unwind.o.
1023 (frame-unwind.o): Specify dependencies.
1024 (frame.o, dummy-frame.o): Update dependencies.
1025
4efb68b1
AC
10262003-01-18 Andrew Cagney <ac131313@redhat.com>
1027
1028 * ada-valprint.c: Eliminate PTR.
1029 * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
1030 * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
1031 * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
1032 * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
1033 * remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
1034 * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
1035 * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
1036
a84d24ee
AC
10372003-01-17 Andrew Cagney <ac131313@redhat.com>
1038
762f08a3
AC
1039 * main.c (captured_main): Don't use PTR.
1040 * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp.
1041 * gdbtypes.c (lookup_primitive_typename): Ditto.
1042 (lookup_struct_elt_type): Ditto.
1043 * f-valprint.c (info_common_command): Ditto.
1044 (list_all_visible_commons): Ditto.
1045 * jv-typeprint.c (java_type_print_base): Ditto.
1046
a84d24ee
AC
1047 * config/djgpp/fnchange.lst: Rename mi1-var-block.exp,
1048 mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp.
1049 Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename
1050 i386-interix-nat.c and i386-interix-tdep.c. Rename
1051 m68klinux-nat.c and m68klinux-tdep.c. Rename
1052 config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename
1053 bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename
1054 gdb/objc-exp.tab.c and gdb/ada-exp.tab.c
1055 * main.c (captured_main): Use xfree, not free.
1056
c170fb60
AC
10572003-01-16 Andrew Cagney <ac131313@redhat.com>
1058
1059 * frame.h (frame_id_unwind_ftype): Change type so that the frame's
1060 ID back using a parameter.
1061 * frame.c (frame_id_unwind): Update call.
1062 (frame_saved_regs_id_unwind): Update.
1063 * dummy-frame.c (dummy_frame_id_unwind): Update function.
1064 * dummy-frame.h (struct frame_id): Add opaque declaration.
1065 (dummy_frame_id_unwind): Update declaration.
1066
867f3898
AC
10672003-01-15 Andrew Cagney <ac131313@redhat.com>
1068
1069 * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.
1070
40622be8 10712003-01-15 Stephen P. Smith <ischis2@cox.net>
de3a8c23 1072
40622be8 1073 * MAINTAINERS (Stephen P. Smith): Updated email address.
de3a8c23 1074
ae66c1fc
EZ
10752003-01-14 Elena Zannoni <ezannoni@redhat.com>
1076
997b089a 1077 Fix PR gdb/898
ae66c1fc
EZ
1078 * breakpoint.c (until_break_command): Add new argument. Use it to
1079 decide whether to stop only at the current frame or not.
1080 * breakpoint.h (until_break_command): Update prototype.
1081 * infcmd.c (until_command): Add new argument to until_break_command
1082 call.
1083 (advance_command): New function.
1084 (_initialize_infcmd): Update help string for 'until' command.
1085 Add new 'advance' command.
1086
a04257e6
DC
10872003-01-14 David Carlton <carlton@math.stanford.edu>
1088
1089 * linespec.c (decode_line_1): Normalize comments.
1090 (set_flags): Ditto.
1091 (locate_first_half): Ditto.
1092 (decode_compound): Ditto.
1093 (symtab_from_filename): Ditto.
1094 (decode_all_digits): Ditto.
1095 (decode_dollar): Ditto.
1096 (find_methods): Ditto.
1097 (find_toplevel_char): Ditto.
1098
1bac305b
AC
10992003-01-13 Andrew Cagney <ac131313@redhat.com>
1100
1101 * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright.
1102 * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright.
1103 * elfread.c, eval.c, expprint.c, expression.h: Update copyright.
1104 * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright.
1105 * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright.
1106 * language.c, language.h, m32r-tdep.c: Update copyright.
1107 * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright.
1108 * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright.
1109 * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright.
1110 * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright.
1111 * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright.
1112 * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright.
1113
25caa7a8
EZ
11142003-01-13 Elena Zannoni <ezannoni@redhat.com>
1115
1116 * stabsread.h (process_later, resolve_cfront_continuation):
1117 Obsolete.
1118 Update copyright years.
1119 * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront.
1120 Update copyright year.
1121 * dbxread.c(struct cont_elem): Obsolete.
1122 (process_later, process_now): Obsolete functions.
1123 (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support.
1124 Update copyright year.
1125 * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros.
1126 (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions.
1127 * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront.
1128 (parse_partial_symbols): Obsolete cfront support.
1129 * stabsread.c
1130 (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete
1131 macros.
1132 (get_substring, get_cfront_method_physname, msg_unknown_complaint,
1133 read_cfront_baseclasses, read_cfront_member_functions,
1134 resolve_cfront_continuation,read_cfront_static_fields,
1135 copy_cfront_struct_fields): Obsolete functions.
1136 (define_symbol, read_one_struct_field): Obsolete cfront support.
1137 * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support.
1138 Update Copyright year.
1139
7789c6f5
EZ
11402003-01-13 Elena Zannoni <ezannoni@redhat.com>
1141
1142 * stack.c (print_frame_info, print_stack_frame_base_stub,
1143 print_stack_frame_base, show_and_print_stack_frame_stub,
1144 show_and_print_stack_frame, print_only_stack_frame_stub,
1145 print_only_stack_frame): Delete functions.
1146 (print_stack_frame_stub): Call print_frame_info instead of
1147 print_frame_info_base.
1148 (print_frame_info_base): Rename to print_frame_info.
1149 (backtrace_command_1): Call print_frame_info, instead of
1150 print_frame_info_base.
1151 (current_frame_command): Call print_stack_frame, instead of
1152 print_only_stack_frame.
1153 (frame_command): Call print_stack_frame, instead of
1154 show_and_print_stack_frame.
1155 (up_command): Ditto.
1156 (down_command): Ditto.
1157 * frame.h (print_only_stack_frame): Delete prototype.
1158 * infrun.c (normal_stop): Call print_stack_frame, instead of
1159 show_and_print_stack_frame.
1160 * thread.c (info_threads_command): Call print_stack_frame, instead
1161 of print_only_stack_frame.
1162
3f5a3016
AC
11632003-01-13 Andrew Cagney <ac131313@redhat.com>
1164
d99ba314
AC
1165 * README (Graphical interface to GDB): Update URL. Point at
1166 gdb/links/.
1167
3f5a3016
AC
1168 * gdb_indent.sh: Update to version 2.2.9. Warn when not exact
1169 version match.
1170
083ae935
DJ
11712003-01-13 Daniel Jacobowitz <drow@mvista.com>
1172
1173 * symtab.c (find_pc_sect_line): Don't consider end-of-function
1174 lines.
1175
5365276c
DJ
11762003-01-13 Daniel Jacobowitz <drow@mvista.com>
1177
1178 * thread-db.c (attach_thread): Prototype.
1179 (struct private_thread_info): Remove lwpid. Add thread handle (th),
1180 thread information (ti), and valid flags (th_valid, ti_valid).
1181 (attach_thread): Move target_pid_to_str call to after the thread
1182 is added to GDB's list. Initialize the cache.
1183 (thread_get_info_callback, thread_db_map_id2thr)
1184 (thread_db_get_info): New functions.
1185 (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers)
1186 (thread_db_store_registers, thread_db_thread_alive)
1187 (thread_db_get_thread_local_address): Use them.
1188 (thread_db_pid_to_str): Likewise. Return "Missing" instead
1189 of calling error() for threads in unknown state.
1190
1191 (clear_lwpid_callback): New function.
1192 (thread_db_resume): Use it to clear the cache.
1193
9fc30b6b
DJ
11942003-01-13 Daniel Jacobowitz <drow@mvista.com>
1195
1196 * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
1197 (resume_callback): Remove dead code.
1198
8f871025
AC
11992003-01-13 Andrew Cagney <ac131313@redhat.com>
1200
1201 * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
1202 predicate.
1203 * gdbarch.h, gdbarch.c: Regenerate.
1204 * stack.c (frame_info): Only initialize the saved registers when
1205 FRAME_INIT_SAVED_REGS_P.
1206 * frame.c (frame_saved_regs_register_unwind): Assert
1207 FRAME_INIT_SAVED_REGS_P.
1208 (deprecated_generic_get_saved_register): Ditto.
1209
3f565f1e
DJ
12102003-01-13 Daniel Jacobowitz <drow@mvista.com>
1211
1212 * source.c (openp): Squelch warning about "filename".
1213
072b1022
DJ
12142003-01-13 Daniel Jacobowitz <drow@mvista.com>
1215
1216 * source.c (openp): If the file does not exist don't necessarily
1217 search the path.
1218
973ccf8b
DJ
12192003-01-13 Daniel Jacobowitz <drow@mvista.com>
1220
1221 Fix PR gdb/872.
1222 * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN.
1223 (integer_types_same_name_p): New function.
1224 (rank_one_type): Use it.
1225 * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN.
1226
030292b7
DJ
12272003-01-13 Daniel Jacobowitz <drow@mvista.com>
1228
1229 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
1230 variables.
1231 (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE).
1232 * configure.in: Add --with-sysroot.
1233 * configure: Regenerated.
1234 * main.c (gdb_sysroot): New variable.
1235 (captured_main): Initialize gdb_sysroot.
1236 * defs.h (gdb_sysroot): New extern declaration.
1237 * solib.c (_initialize_solib): Initialize solib_absolute_prefix.
1238
afb5d334
MC
12392003-01-12 Michael Chastain <mec@shout.net>
1240
1241 * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
1242
751ceeb4
MC
12432003-01-12 Michael Chastain <mec@shout.net>
1244
1245 * top.c (print_gdb_version): Bump copyright year to 2003.
1246
94cd26f8
DC
12472003-01-12 David Carlton <carlton@bactrian.org>
1248
1249 * linespec.c (symtab_from_filename): Rename variable 's' to
1250 'file_symtab'.
1251
1ce79225
AC
12522003-01-12 Andrew Cagney <ac131313@redhat.com>
1253
1254 * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
1255 dummy frame.
1256 (d10v_frame_saved_pc, d10v_frame_chain): Ditto.
1257
fa1fd571
AC
12582003-01-12 Andrew Cagney <ac131313@redhat.com>
1259
1260 * d10v-tdep.c: Include "gdb_assert.h".
1261 (d10v_store_return_value): Rewrite to match current interface.
1262 (d10v_extract_struct_value_address): Ditto.
1263 (d10v_extract_return_value): Ditto.
1264 (d10v_gdbarch_init): Set store_restore_value,
1265 extract_struct_value_address and extract_return_value.
1266
68b8d23e
JB
12672003-01-12 J. Brobecker <brobecker@gnat.com>
1268
1269 * hpread.c (set_namestring): New procedure replacing the
1270 SET_NAMESTRING macro.
1271 (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
1272 by calls to set_namestring.
1273
12742003-01-11 J. Brobecker <brobecker@gnat.com>
1fb309ea
JB
1275
1276 * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
1277 a compilation warning.
1278 (hpread_process_one_debug_symbol): Likewise.
1279
88d262ca
DC
12802003-01-10 David Carlton <carlton@math.stanford.edu>
1281
1282 * linespec.c (decode_line_1): Rename variable 's' to
1283 'file_symtab'.
1284 (decode_all_digits): Rename argument 's' to 'file_symtab'.
1285 (decode_dollar): Ditto.
1286 (decode_variable): Ditto.
1287 (symbol_found): Ditto.
1288
86669319
MC
12892003-01-09 Michael Chastain <mec@shout.net>
1290
1291 * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
1292
616a9dc4
CV
12932003-01-07 Corinna Vinschen <vinschen@redhat.com>
1294
1295 * win32-nat.c (set_process_privilege): New function.
1296 (child_attach): Call set_process_privilege() to enable the
1297 SE_DEBUG_NAME user privilege if available in process token.
1298
3269bcfa
JB
12992003-01-10 J. Brobecker <brobecker@gnat.com>
1300
1301 * hpread.c (hpread_process_one_debug_symbol): Fix a small
1302 compilation error in the previous revision.
1303
2b0ee454
DC
13042003-01-09 David Carlton <carlton@math.stanford.edu>
1305
1306 * linespec.c: Update copyright.
1307
b3ba1b44
DJ
13082003-01-09 Daniel Jacobowitz <drow@mvista.com>
1309
1310 * lin-lwp.c (child_wait): Ignore exit statuses for processes other
1311 than inferior_ptid.
1312 (lin_lwp_wait): Ignore exit statuses for unknown LWPs.
1313
4ef3f3be
AC
13142003-01-09 Andrew Cagney <ac131313@redhat.com>
1315
479ab5a0
AC
1316 * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
1317 Update comments.
1318 * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
1319 (frame_saved_regs_zalloc): Update.
1320 (frame_saved_regs_register_unwind): Update.
1321 (create_new_frame): Update.
1322 (get_prev_frame): Update.
1323 (frame_extra_info_zalloc): Update.
1324 (deprecated_get_frame_saved_regs): Update.
1325 * dwarf2cfi.c (cfi_init_extra_frame_info): Update.
1326 * cris-tdep.c: Update comment.
1327
bde58177
AC
1328 * somsolib.h: Fix function indentation.
1329 * disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
1330 * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
1331 * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
1332 * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
1333 * somsolib.c, inftarg.c: Remove assignment in if conditional.
1334
4ef3f3be
AC
1335 * infrun.c (follow_fork): Use ISO C definition.
1336 * expprint.c (print_subexp): Use xfree instead of free.
1337 * charset.c: Include "gdb_string.h" instead of <string.h>.
1338 (register_iconv_charsets): Use ISO C definition.
1339 (host_charset, target_charset): Ditto.
1340 * Makefile.in (charset.o): Update dependencies.
1341 (mi-cmd-env.o): Update dependencies.
1342
1c615f7a
AC
13432003-01-08 Andrew Cagney <cagney@redhat.com>
1344
1345 * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
1346 get_frame_base.
1347
c9a1dc08
AC
13482003-01-08 Andrew Cagney <ac131313@redhat.com>
1349
1350 * gdb_mbuild.sh: Add --keep option. When specified, keep the
1351 build directories. Save edited gdb output in Mbuild.log. If a
1352 build fails, remove any final GDB executable.
1353
dbad9d94
AC
13542003-01-08 Andrew Cagney <ac131313@redhat.com>
1355
1356 * gdb_mbuild.sh: Edit the output of `maint print architecture'
1357 replacing hex constants with function names and stripping leading
1358 file name directory prefixes.
1359
8d357cca
AC
13602003-01-08 Andrew Cagney <cagney@redhat.com>
1361
1362 * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
1363 get_frame_base.
1364
bca02a8a
DC
13652003-01-08 David Carlton <carlton@math.stanford.edu>
1366
1367 * linespec.c (decode_line_1): Move code into decode_variable.
1368 (decode_variable): New function.
1369
7f8ab3a0
AC
13702003-01-08 Andrew Cagney <ac131313@redhat.com>
1371
1372 * mn10300-tdep.c (analyze_dummy_frame): Fix typo.
1373
7b5849cc
AC
13742003-01-08 Andrew Cagney <cagney@redhat.com>
1375
1376 * cris-tdep.c (cris_frame_init_saved_regs): Use
1377 get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
1378 saved_regs buffer.
1379 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
1380 (sh64_nofp_frame_init_saved_regs): Ditto.
1381 (sh_fp_frame_init_saved_regs): Ditto.
1382 * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
1383 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
1384 * mcore-tdep.c (analyze_dummy_frame): Ditto.
1385 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
1386
72a5efb3
DJ
13872003-01-08 Daniel Jacobowitz <drow@mvista.com>
1388
1389 * minsyms.c (lookup_minimal_symbol): Update comment.
1390 (lookup_minimal_symbol_text): Update comment. Use the hash table.
1391 (lookup_minimal_symbol_solib_trampoline): Likewise.
1392
11c02a10
AC
13932003-01-08 Andrew Cagney <cagney@redhat.com>
1394
aab3ea25
AC
1395 * d10v-tdep.c (d10v_init_extra_frame_info): Use
1396 frame_relative_level.
1397
da50a4b7
AC
1398 * alpha-tdep.c: Use get_frame_extra_info.
1399 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
1400 * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
1401 * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
1402 * sparc-tdep.c, xstormy16-tdep.c: Ditto.
1403
11c02a10
AC
1404 * alpha-tdep.c: Use get_next_frame.
1405 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
1406 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
1407 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
1408 * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
1409 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
1410 * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
1411 * xstormy16-tdep.c: Ditto.
1412
1e2330ba
AC
14132003-01-07 Andrew Cagney <cagney@redhat.com>
1414
1415 * alpha-tdep.c: Use get_frame_base.
1416 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
1417 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
1418 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
1419 * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
1420 * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
1421 * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
1422 * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
1423 * config/sparc/tm-sparc.h: Ditto.
1424
2d75187b
AC
14252003-01-07 Andrew Cagney <cagney@redhat.com>
1426
1427 * frame.c (deprecated_get_frame_context): New function.
1428 (deprecated_set_frame_context): New function.
1429 * frame.h (deprecated_get_frame_context): Declare.
1430 (deprecated_set_frame_context): Declare.
1431 * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
1432 (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
1433
483d36b2
AC
14342003-01-07 Andrew Cagney <cagney@redhat.com>
1435
1436 * frame.c (deprecated_set_frame_next_hack): New function.
1437 (deprecated_set_frame_prev_hack): New function.
1438 * frame.h (deprecated_set_frame_next_hack): Declare.
1439 (deprecated_set_frame_prev_hack): Declare.
1440 * mcore-tdep.c (analyze_dummy_frame): Use
1441 deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
1442 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
1443
14e91ac5
DC
14442003-01-07 David Carlton <carlton@math.stanford.edu>
1445
1446 * linespec.c (decode_line_1): Move code into decode_dollar.
1447 (decode_dollar): New function.
1448
b0c6b05c
AC
14492003-01-07 Andrew Cagney <cagney@redhat.com>
1450
1451 * arm-tdep.c (arm_init_extra_frame_info): Use
1452 deprecated_update_frame_base_hack.
1453 * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto.
1454 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
1455 (fix_frame_pointer): Ditto.
1456 (mn10300_analyze_prologue): Ditto.
1457
a00a19e9
AC
14582003-01-07 Andrew Cagney <cagney@redhat.com>
1459
1460 * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
1461 extra_info using frame_extra_info_zalloc.
1462 * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
1463 * sh-tdep.c (sh_init_extra_frame_info): Ditto.
1464 (sh64_init_extra_frame_info): Ditto.
1465 * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
1466 * s390-tdep.c (s390_init_extra_frame_info): Ditto.
1467 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
1468 * mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
1469 * frv-tdep.c (frv_init_extra_frame_info): Ditto.
1470 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
1471 * ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
1472 * h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
1473 * d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
1474 * cris-tdep.c (cris_init_extra_frame_info): Ditto.
1475 * arm-tdep.c (arm_init_extra_frame_info): Ditto.
1476 * alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
1477
1478 * mn10300-tdep.c (analyze_dummy_frame): Use
1479 deprecated_set_frame_extra_info_hack.
1480 * mcore-tdep.c (analyze_dummy_frame): Ditto.
1481
1fb4c65b
JB
14822003-01-07 J. Brobecker <brobecker@gnat.com>
1483
1484 * mdebugread.c (parse_symbol): Skip stProc entries which storage
1485 class is not scText. These do not define "real" procedures.
1486 (parse_partial_symbols): Likewise.
1487
9fe7d6bf
MS
14882003-01-06 Michael Snyder <msnyder@redhat.com>
1489
1490 * lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
1491
f6c609c4
AC
14922003-01-06 Andrew Cagney <ac131313@redhat.com>
1493
1494 * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
1495 * frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
1496 * arm-tdep.c (arm_frame_chain): Allocate caller_fi using
1497 deprecated_frame_xmalloc_with_cleanup.
1498 * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
1499 deprecated_frame_xmalloc.
1500 * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
1501 * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
1502
d995ff4b
AC
15032003-01-06 Andrew Cagney <cagney@redhat.com>
1504
84dc46cb
AC
1505 * x86-64-linux-tdep.c: Include "osabi.h".
1506 * Makefile.in (x86-64-linux-tdep.o): Update dependencies.
1507
d995ff4b
AC
1508 * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
1509
66140c26
AC
15102003-01-06 Andrew Cagney <cagney@redhat.com>
1511
1512 * MAINTAINERS (Target Instruction Set Architectures): Update
1513 arm-elf. Can be built with -Werror, has been multiarched.
1514
1515 * value.h (unpack_long): Make buffer parameter constant.
1516 (unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
1517 * scm-lang.h (scm_parse): Ditto.
1518 * defs.h (extract_typed_address, extract_address): Ditto.
1519 (extract_long_unsigned_integer): Ditto.
1520 * inferior.h (unsigned_pointer_to_address): Ditto.
1521 (signed_pointer_to_address): Ditto.
1522 * gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
1523 * gdbarch.h, gdbarch.c: Regenerate.
1524 * findvar.c (extract_long_unsigned_integer): Update.
1525 (extract_address): Update.
1526 (extract_typed_address): Update.
1527 (unsigned_pointer_to_address): Update.
1528 * values.c (unpack_long): Update.
1529 (unpack_double): Update.
1530 (unpack_pointer): Update.
1531 (unpack_field_as_long): Update.
1532 * d10v-tdep.c (d10v_pointer_to_address): Update.
1533 * avr-tdep.c (avr_pointer_to_address): Update.
1534 * scm-lang.c (scm_unpack): Update.
1535 * findvar.c (signed_pointer_to_address): Update.
1536
b089b3da
ML
15372003-01-06 Michal Ludvig <mludvig@suse.cz>
1538
1539 * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore
1540 since it is in i386-tdep.c.
1541
aff87235
JB
15422003-01-06 J. Brobecker <brobecker@gnat.com>
1543
1544 * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
1545 failure introduced in the previous change.
1546
34f5e845
MC
15472003-01-05 Michael Chastain <mec@shout.net>
1548
1549 * README: Remove references to deleted remote-*.c files:
1550 remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
1551 remote-nrom.c, remote-os9k.c, remote-udi.c.
1552
28bcfd30
MK
15532003-01-05 Mark Kettenis <kettenis@gnu.org>
1554
1555 * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
1556 * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
1557 i386_get_longjmp_target.
1558
15a5b3ee
AC
15592003-01-05 Andrew Cagney <ac131313@redhat.com>
1560
1561 * arm-tdep.c (prologue_cache): Change to a pointer.
1562 (_initialize_arm_tdep): Allocate prologue_cache.
1563 (check_prologue_cache): Update.
1564 (save_prologue_cache): Update.
1565 (arm_gdbarch_init): Update.
1566
c263362b
DJ
15672003-01-04 Daniel Jacobowitz <drow@mvista.com>
1568
1569 * stabsread.c (update_method_name_from_physname): Call complaint()
1570 instead of error.
1571
51603483
DJ
15722003-01-04 Daniel Jacobowitz <drow@mvista.com>
1573
1574 * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
1575 * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
1576 * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
1577
1578 * blockframe.c: Include "gdbcmd.h" and "command.h".
1579 (backtrace_below_main): New variable.
1580 (file_frame_chain_valid, func_frame_chain_valid)
1581 (nonnull_frame_chain_valid, generic_file_frame_chain_valid)
1582 (generic_func_frame_chain_valid): Remove functions.
1583 (frame_chain_valid, do_flush_frames_sfunc): New functions.
1584 (_initialize_blockframe): New function.
1585 * Makefile.in (blockframe.o): Update dependencies.
1586 * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
1587 comment. Call frame_chain_valid ().
1588 * frame.h: Remove old prototypes. Add prototype for
1589 frame_chain_valid and update comments to match.
1590 * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
1591 Remove old comment.
1592 * gdbarch.h: Regenerated.
1593 * gdbarch.c: Regenerated.
1594
1595 * alpha-tdep.c (alpha_gdbarch_init): Don't call
1596 set_gdbarch_frame_chain_valid.
1597 * avr-tdep.c (avr_gdbarch_init): Likewise.
1598 * cris-tdep.c (cris_gdbarch_init): Likewise.
1599 * frv-tdep.c (frv_gdbarch_init): Likewise.
1600 * h8300-tdep.c (h8300_gdbarch_init): Likewise.
1601 * i386-tdep.c (i386_svr4_init_abi): Likewise.
1602 (i386_nw_init_abi): Likewise.
1603 (i386_gdbarch_init): Likewise.
1604 * ia64-tdep.c (ia64_gdbarch_init): Likewise.
1605 * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
1606 * m68k-tdep.c (m68k_gdbarch_init): Likewise.
1607 * mcore-tdep.c (mcore_gdbarch_init): Likewise.
1608 * mips-tdep.c (mips_gdbarch_init): Likewise.
1609 * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
1610 * ns32k-tdep.c (ns32k_gdbarch_init): Likewise.
1611 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise.
1612 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
1613 * s390-tdep.c (s390_gdbarch_init): Likewise.
1614 * sh-tdep.c (sh_gdbarch_init): Likewise.
1615 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
1616 * v850-tdep.c (v850_gdbarch_init): Likewise.
1617 * vax-tdep.c (vax_gdbarch_init): Likewise.
1618 * x86-64-tdep.c (x86_64_init_abi): Likewise.
1619
1620 * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define.
1621 * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise.
1622 * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise.
1623 * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise.
1624 * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise.
1625 * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise.
1626 * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise.
1627 * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise.
1628
b00a8037
DJ
16292002-01-04 Daniel Jacobowitz <drow@mvista.com>
1630
1631 * Makefile.in (acconfig_h): Remove incorrect macro.
1632 (config_h): Define.
1633 (osabi.o): Update dependencies.
1634 * configure.tgt: Set gdb_osabi based on target triplet.
1635 * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
1636 * configure: Regenerated.
1637 * config.in: Regenerated.
1638 * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
1639 (GDB_OSABI_DEFAULT): Define if not already defined.
1640 (user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
1641 (set_osabi_string): New variables.
1642 (gdbarch_register_osabi): Add new OS ABI to
1643 gdb_osabi_available_names.
1644 (gdbarch_lookup_osabi): Honor specified and default OS ABIs.
1645 (set_osabi, show_osabi): New functions.
1646 (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
1647
4be87837
DJ
16482003-01-04 Daniel Jacobowitz <drow@mvista.com>
1649
1650 * arch-utils.c (gdbarch_info_init): Set osabi to
1651 GDB_OSABI_UNINITIALIZED.
1652 * gdbarch.sh: Add osabi to struct gdbarch and to struct
1653 gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi
1654 in gdbarch_list_lookup_by_info and in gdbarch_update_p.
1655 * gdbarch.c: Regenerated.
1656 * gdbarch.h: Regenerated.
1657 * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
1658 there's no BFD.
1659 (gdbarch_init_osabi): Remove osabi argument; use info.osabi.
1660 * osabi.h (enum gdb_osabi): Move to defs.h.
1661 (gdbarch_init_osabi): Update prototype.
1662 * defs.h (enum gdb_osabi): Moved here.
1663 * Makefile.in: Update dependencies.
1664
1665 * alpha-tdep.h: Don't include "osabi.h".
1666 (struct gdbarch_tdep): Remove osabi member.
1667 * alpha-tdep.c: Include "osabi.h".
1668 (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
1669 iterate over arches. Update call to gdbarch_init_osabi.
1670 (alpha_dump_tdep): Don't dump osabi.
1671 * alpha-linux-tdep.c: Include "osabi.h".
1672 * alpha-osf1-tdep.c: Include "osabi.h".
1673 * alphafbsd-tdep.c: Include "osabi.h".
1674 * alphanbsd-tdep.c: Include "osabi.h".
1675
1676 * arm-tdep.h: Don't include "osabi.h".
1677 (struct gdbarch_tdep): Remove osabi member.
1678 * arm-tdep.c: Include "osabi.h".
1679 (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
1680 iterate over arches. Update call to gdbarch_init_osabi.
1681 (arm_dump_tdep): Don't dump osabi.
1682 * arm-linux-tdep.c: Include "osabi.h".
1683 * armnbsd-tdep.c: Include "osabi.h".
1684
1685 * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi.
1686 Update call to gdbarch_init_osabi.
1687
1688 * i386-tdep.h: Don't include "osabi.h".
1689 (struct gdbarch_tdep): Remove osabi member.
1690 * i386-tdep.c: Include "osabi.h".
1691 (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
1692 iterate over arches. Update call to gdbarch_init_osabi.
1693 (i386_dump_tdep): Don't dump osabi.
1694 * i386-linux-tdep.c: Include "osabi.h".
1695 * i386-sol2-tdep.c: Include "osabi.h".
1696 * i386bsd-tdep.c: Include "osabi.h".
1697 * i386gnu-tdep.c: Include "osabi.h".
1698 * i386ly-tdep.c: Include "osabi.h".
1699 * i386nbsd-tdep.c: Include "osabi.h".
1700 * i386obsd-tdep.c: Include "osabi.h".
1701
1702 * mips-tdep.c (struct gdbarch_tdep): Remove osabi member.
1703 (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
1704 check osabi when iterating over arches. Update call to
1705 gdbarch_init_osabi.
1706 (mips_dump_tdep): Don't dump osabi.
1707
1708 * ns32k-tdep.h: Don't include "osabi.h".
1709 (struct gdbarch_tdep): Remove.
1710 * ns32k-tdep.c (ns32k_gdbarch_init): Don't call
1711 gdbarch_lookup_osabi. Don't iterate over arches. Don't
1712 allocate tdep. Update call to gdbarch_init_osabi.
1713 (ns32k_dump_tdep): Remove.
1714 (_initialize_ns32k_tdep): Update call to gdbarch_register.
1715 * ns32knbsd-tdep.c: Include "osabi.h".
1716
1717 * ppc-tdep.h: Don't include "osabi.h".
1718 (struct gdbarch_tdep): Remove osabi member.
1719 * rs6000-tdep.c: Include "osabi.h".
1720 (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check
1721 osabi when iterating over arches. Update call to
1722 gdbarch_init_osabi.
1723 (rs6000_dump_tdep): Don't dump osabi.
1724 * ppc-linux-tdep.c: Include "osabi.h".
1725 * ppcnbsd-tdep.c: Include "osabi.h".
1726
1727 * sh-tdep.h: Don't include "osabi.h".
1728 (struct gdbarch_tdep): Remove osabi member.
1729 * sh-tdep.c: Include "osabi.h".
1730 (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
1731 iterate over arches. Update call to gdbarch_init_osabi.
1732 (sh_dump_tdep): Don't dump osabi.
1733 * shnbsd-tdep.c: Include "osabi.h".
1734
1735 * sparc-tdep.c: Include "osabi.h".
1736 (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
1737 iterate over arches. Update call to gdbarch_init_osabi.
1738 (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the
1739 tdep structure.
1740
1741 * vax-tdep.h: Don't include "osabi.h".
1742 (struct gdbarch_tdep): Remove.
1743 * vax-tdep.c: Include "osabi.h".
1744 (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
1745 iterate over arches. Don't allocate tdep. Update call
1746 to gdbarch_init_osabi.
1747 (vax_dump_tdep): Remove.
1748 (_initialize_vax_tdep): Update call to gdbarch_register.
1749
a881cf8e
DJ
17502003-01-04 Daniel Jacobowitz <drow@mvista.com>
1751
1752 * breakpoint.c (insert_breakpoints): Skip disabled breakpoints
1753 entirely.
1754 (breakpoint_re_set_one): Don't fetch the value for a disabled
1755 watchpoint.
1756
1e698235
DJ
17572003-01-04 Daniel Jacobowitz <drow@mvista.com>
1758
1759 * buildsym.h (processing_hp_compilation): Remove obsolete variable.
1760 * gdbarch.sh Remove include of "value.h" in gdbarch.h.
1761 (COERCE_FLOAT_TO_DOUBLE): Remove.
1762 * gdbarch.c: Regenerate.
1763 * gdbarch.h: Regenerate.
1764 * Makefile.in: Remove value_h from gdbarch_h.
1765 * valops.c (coerce_float_to_double): New variable.
1766 (default_coerce_float_to_double): Remove.
1767 (standard_coerce_float_to_double): Remove.
1768 (value_arg_coerce): Use coerce_float_to_double.
1769 (_initialize_valops): Add "set coerce-float-to-double".
1770 * value.h (default_coerce_float_to_double): Remove prototype.
1771 (standard_coerce_float_to_double): Remove prototype.
1772
1773 * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
1774 prototyped.
1775 * mdebugread.c (parse_symbol): Likewise.
1776 * stabsread.c (define_symbol): Mark all functions as prototyped.
1777
1778 * hppa-tdep.c (hppa_coerce_float_to_double): Remove.
1779 * alpha-tdep.c (alpha_gdbarch_init): Remove call to
1780 set_gdbarch_coerce_float_to_double.
1781 * arm-tdep.c (arm_gdbarch_init): Likewise.
1782 * frv-tdep.c (frv_gdbarch_init): Likewise.
1783 * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
1784 * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
1785 * mips-tdep.c (mips_gdbarch_init): Likewise.
1786 (mips_coerce_float_to_double): Remove.
1787 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
1788 (rs6000_coerce_float_to_double): Remove.
1789 * s390-tdep.c (s390_gdbarch_init): Likewise.
1790 * sh-tdep.c (sh_gdbarch_init): Likewise.
1791 (sh_coerce_float_to_double): Remove.
1792 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
1793 (sparc_coerce_float_to_double): Remove.
1794 * v850-tdep.c (v850_gdbarch_init): Likewise.
1795 * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
1796 * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
1797 * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
1798 (hppa_coerce_float_to_double): Remove prototype.
1799 * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
1800
f436a26a
DJ
18012003-01-04 Daniel Jacobowitz <drow@mvista.com>
1802
1803 * regformats/reg-m68k.dat: Remove fpcode and fpflags.
1804
248f8055
DJ
18052003-01-04 Daniel Jacobowitz <drow@mvista.com>
1806
1807 Suggested by Stewart Brown <sb24@avaya.com>:
1808 * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
1809 in recursive calls. Handle TYPE_CODE_TYPEDEF.
1810 (c_type_print_varspec_suffix): Likewise.
1811
72cfdc76
MK
18122003-01-04 Mark Kettenis <kettenis@gnu.org>
1813
bfd260bb
MK
1814 * configure.in: Don't set and AC_SUBST SUBDIRS.
1815 * configure: Regenerated.
1816
72cfdc76
MK
1817 * configure.in: Remove code dealing with shared libraries.
1818 * Makefile.in: Remove HLDFLAGS and HLDENV.
1819 * configure: Regenerated.
1820
c8b8a898
AC
18212003-01-04 Andrew Cagney <ac131313@redhat.com>
1822
1823 * frame.c (deprecated_frame_xmalloc): New function.
1824 (deprecated_set_frame_saved_regs_hack): New function.
1825 (deprecated_set_frame_extra_info_hack): New function.
1826 * frame.h (deprecated_frame_xmalloc): Declare.
1827 (deprecated_set_frame_saved_regs_hack): Declare.
1828 (deprecated_set_frame_extra_info_hack): Declare.
1829
14abd0fb
MK
18302003-01-04 Mark Kettenis <kettenis@gnu.org>
1831
8ee53726
MK
1832 * configure.in: Move code that provides the --enable-gdbtk option
1833 right after the code that handles the --enable-tui option, and
1834 polish it somewhat.
1835 * configure: Regenerated.
1836
14abd0fb
MK
1837 * configure.in: Call AC_GNU_SOURCE. Check for pread64 using
1838 AC_CHECK_FUNCS and remove the old check for pread64.
1839 * acinclude.m4 (AC_GNU_SOURCE): New macro.
1840 * acconfig.h (_GNU_SOURCE): Add.
1841 (HAVE_PREAD64): Remove.
1842 * configure, aclocal.m4, config.in: Regenerated.
1843
b2fb4676
AC
18442003-01-03 Andrew Cagney <ac131313@redhat.com>
1845
1846 * alpha-tdep.c: Use get_frame_saved_regs.
1847 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
1848 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
1849 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
1850 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
1851 * vax-tdep.c, xstormy16-tdep.c: Ditto.
1852
8dcde887
MK
18532003-01-03 Mark Kettenis <kettenis@gnu.org>
1854
1855 * configure.in: Remove all use of the SUBDIRS variable; add
1856 directories using the AC_CONFIG_SUBDIRS macro instead. Polish
1857 code providing the --enable-multi-ice option, and move it right in
1858 front of the code that checks whether gdbserver is supported.
1859 Polish that too.
1860 * configure: Regenerated.
1861 * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
1862 @SUBDIRS@.
1863
8ccd593b
AC
18642003-01-03 Andrew Cagney <cagney@redhat.com>
1865
1866 * alpha-tdep.c: Use deprecated_update_frame_base_hack.
1867 * avr-tdep.c, cris-tdep.c: Ditto.
1868 * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
1869 * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
1870
91151a06
MK
18712003-01-03 Mark Kettenis <kettenis@gnu.org>
1872
1873 * configure.in: Remove --enable-netrom option.
1874 * configure: Regenerated.
1875
8fe84d01
MK
18762003-01-03 Mark Kettenis <kettenis@gnu.org>
1877
1878 * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
1879 declaration for `struct re_pattern_buffer' instead.
1880 * Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
1881
f0394be6
JB
18822003-01-03 J. Brobecker <brobecker@gnat.com>
1883
1884 * mdebugread.c (parse_symbol): Count until the stEnd matching
1885 the structure name.
1886
27e9bf90
MK
18872003-01-02 Mark Kettenis <kettenis@gnu.org>
1888
93d331ba
MK
1889 * configure.in: Remove --with-cpu option.
1890 subscripts. Remove evil changequotes here.
1891 * acconfig.h (TARGET_CPU_DEFAULT): Remove.
1892 * config.in, configure: Regenerated.
1893
27e9bf90
MK
1894 * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
1895 * configure.in: Cleanup section that sources GDB and BFD configure
1896 subscripts. Remove evil changequotes here.
1897 * config.in, configure: Regenerated.
1898
50abf9e5
AC
18992003-01-02 Andrew Cagney <ac131313@redhat.com>
1900
1901 * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
1902 frame accessor methods.
1903 * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
1904 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
1905 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
1906 * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
1907 * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
1908 * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
1909 * z8k-tdep.c: Ditto.
1910
287c1a40
MK
19112003-01-02 Mark Kettenis <kettenis@gnu.org>
1912
f5dbc56d
MK
1913 * configure.in: Remove UI_OUT configuration code.
1914 * ada-lang.c: Update assuming UI_OUT is always true.
1915 * Makefile.in (UIOUT_CFLAGS): Remove.
1916 * configure: Regenerated.
1917 * TODO: Remove blurb about elimination of -DUI_OUT.
1918
627af7ea
MK
1919 * configure.in: Move code that provides the --enable-gdbcli,
1920 --enable-gdbmi options right before the code that handles the
1921 --enable-tui option. Polish a bit.
1922 * configure: Regenerated.
1923
06825bd1
MK
1924 * configure.in: Rewrite check for GNU regex and the
1925 --without-included regex option, and move it into the "Checks for
1926 library functions" section. This makes us use the system regex
1927 again by default on systems with version 2 of the GNU C library.
1928 This was apparently broken.
1929 * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
1930 * acconfig.h (USE_INCLUDED_REGEX): Remove.
1931 * config.in, configure: Regenerated.
1932
287c1a40
MK
1933 * configure.in: Move code that provides the --enable-tui option
1934 before the "Checks for libraries" section. Polish the code
1935 somewhat and set need_curses to yes if we build the TUI. Rewrite
1936 code that looks for a library providing termcap functionality to
1937 match more closely what's done in the Readline library, and move
1938 it into to the "Checks for libraries" section.
1939 * configure: Regenerated.
1940 * Makefile.in (TERMCAP): Remove variable.
1941 * config/i386/go32.mh (TERMCAP): Remove variable.
1942
684e56bf
AC
19432003-01-02 Andrew Cagney <ac131313@redhat.com>
1944
1945 * MAINTAINERS: Mention gdb_mbuild.sh.
1946 * gdb_mbuild.sh: Rewrite.
1947
e1ea1d75
MK
19482003-01-02 Mark Kettenis <kettenis@gnu.org>
1949
1950 * configure.in: Fix typo in last change.
1951 * config.in, configure: Regenerated.
1952
1b831c93
AC
19532003-01-02 Andrew Cagney <ac131313@redhat.com>
1954
1955 * valarith.c (value_binop): Delete obsolete code and comments.
1956 * configure.host: Ditto.
1957 * buildsym.h (make_blockvector): Ditto.
1958 * buildsym.c (make_blockvector): Ditto.
1959 * defs.h (enum language): Ditto.
1960 (chill_demangle): Ditto.
1961 * elfread.c (elf_symtab_read): Ditto.
1962 * dwarfread.c (CHILL_PRODUCER): Ditto.
1963 (set_cu_language): Ditto.
1964 (handle_producer): Ditto.
1965 * expprint.c (print_subexp): Ditto.
1966 * gdbtypes.c (chill_varying_type): Ditto.
1967 * gdbtypes.h (builtin_type_chill_bool): Ditto.
1968 (builtin_type_chill_char, builtin_type_chill_long): Ditto.
1969 (builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
1970 (chill_varying_type): Ditto.
1971 * language.h (_LANG_chill): Ditto.
1972 * language.c (binop_result_type, integral_type): Ditto.
1973 (character_type, string_type, structured_type): Ditto.
1974 (lang_bool_type, binop_type_check): Ditto.
1975 * stabsread.h (os9k_stabs): Ditto.
1976 * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
1977 (define_symbol, read_type, read_struct_fields): Ditto.
1978 (read_array_type, read_enum_type, read_huge_number): Ditto.
1979 (read_range_type, start_stabs): Ditto.
1980 * symfile.c (init_filename_language_table): Ditto.
1981 (add_psymbol_with_dem_name_to_list): Ditto.
1982 * symtab.c (symbol_init_language_specific): Ditto.
1983 (symbol_init_demangled_name, symbol_demangled_name): Ditto.
1984 * symtab.h (struct general_symbol_info): Ditto.
1985 (SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
1986 * typeprint.c (typedef_print): Ditto.
1987 * utils.c (fprintf_symbol_filtered): Ditto.
1988 * valops.c (value_cast, search_struct_field, value_slice): Delete
1989 obsolete code.
1990 (varying_to_slice): Delete function.
1991 * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
1992 (varying_to_slice): Delete declaration.
1993 * MAINTAINERS: Update.
1994
8bb2c122
MK
19952003-01-02 Mark Kettenis <kettenis@gnu.org>
1996
97bf5e38
MK
1997 * configure.in: Reorganize "Checks for library functions section"
1998 a bit. Remove check for `btowc' and `isascii' functions.
1999 * configure: Regenerated.
2000
5ee754fc
MK
2001 * acconfig.h (_MSE_INT_H): Remove.
2002 * configure.in: Create "Checks for header files" section, and move
2003 appropriate tests there. Don't check for objlist.h, wchar.h,
2004 wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h>
2005 misdetection fix. Also add "Checks for types", "Checks for
2006 compiler characteristics" and "Checks for library functions"
2007 sections.
2008 * config.in, configure: Regenerated.
2009
8bb2c122
MK
2010 * configure.in: Create "Checks for programs" section, and move
2011 appropriate tests there.
2012
9a156167
MK
20132003-01-01 Mark Kettenis <kettenis@gnu.org>
2014
2015 * configure.in: Create "Checks for libraries" section, and move
2016 appropriate tests there. Cleanup check for wctype in libw. Use
2017 AC_SEARCH_LIBS to see whether we need libsocket.
2018 * configure: Regenerated.
2019
a80e2bcb 2020For older changes see ChangeLog-2002
c906108c
SS
2021\f
2022Local Variables:
2023mode: change-log
2024left-margin: 8
2025fill-column: 74
2026version-control: never
2027End: