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