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