2003-02-26 David Carlton <carlton@math.stanford.edu>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
18972eea
MC
12003-02-26 Michael Chastain <mec@shout.net>
2
3 Close PR build/660.
4 * PROBLEMS (i[3456]86-*-linux*): Note explicit error message
5 for old libc5/glibc.
6 * gdb_thread_db.h: Die if not HAVE_UINTPTR_T.
7
0bbde931
KW
82003-02-26 Kris Warkentin <kewarken@qnx.com>
9
10 * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO.
11 * osabi.c (gdb_osabi_names): Add "QNX Neutrino".
12
27ca5dad
MC
132003-02-26 Michael Chastain <mec@shout.net>
14
15 * configure.in: New variable HAVE_UINTPTR_T.
16 * configure, config.in: Regenerated.
17
6f88d630
DJ
182003-02-26 Daniel Jacobowitz <drow@mvista.com>
19
20 Fix PR build/1097.
21 * utils.c (gdb_realpath): Move closing brace outwards one #endif.
22
b14185ce
AC
232003-02-25 Andrew Cagney <cagney@redhat.com>
24
25 * frame.c (get_prev_frame): Add comment on check for
26 inside_entry_func. Only check for inside_entry_file when not a
27 dummy and not a sentinel. Check that the new frame is not inner
28 to the old frame.
29
ac2bd0a9
AC
302003-02-25 Andrew Cagney <cagney@redhat.com>
31
32 * frame.c (frame_debug): New variable.
33 (_initialize_frame): Add "set/show debug frame" command.
34 (get_prev_frame): When frame_debug, print reason why unwind
35 failed.
36
b18a0fd2
MC
372003-02-25 Michael Chastain <mec@shout.net>
38
39 * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later
40 to avoid uintptr_t definition problems.
41
22abf04a
DC
422003-02-25 David Carlton <carlton@math.stanford.edu>
43
44 * symtab.h (SYMBOL_NATURAL_NAME): New macro.
45 (SYMBOL_LINKAGE_NAME): Ditto.
46 (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and
47 SYMBOL_LINKAGE_NAME.
48 (struct general_symbol_info): Expand comment.
49 (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME.
50 (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME.
51 (SYMBOL_MATCHES_REGEXP): Ditto.
52 * symtab.c (symbol_natural_name): New function.
53 * objfiles.h: Replace all uses of SYMBOL_NAME by
54 DEPRECATED_SYMBOL_NAME.
55 * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto.
56 * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto.
57 * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto.
58 * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto.
59 * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto.
60 * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto.
61 * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto.
62 * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto.
63 * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto.
64 * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto.
65 * ada-exp.y: Ditto.
66 * ada-exp.y: Update copyright.
67 * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto.
68 * cp-valprint.c: Ditto.
69
1a5848f6
JJ
702003-02-25 Jeff Johnston <jjohnstn@redhat.com>
71
72 * infptrace.c (detach): Do not flag error if ptrace detach fails
73 and errno is set to ESRCH.
74
7343d46a
AC
752003-02-24 Andrew Cagney <cagney@redhat.com>
76
77 * infptrace.c (udot_info): Change type of udot_off to long. Use
78 paddr when printing udot_off's value.
79
49fa1dc2
DC
802003-02-24 David Carlton <carlton@math.stanford.edu>
81
82 * symtab.c (make_symbol_overload_list): Only read in partial
83 symtabs containing a matching partial symbol.
84
0fe19209
DC
852003-02-24 David Carlton <carlton@math.stanford.edu>
86
87 * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to
88 do the comparison, not strcmp.
89 * symfile.c (compare_psymbols): Ditto.
90 * defs.h: Declare strcmp_iw_ordered.
91 * utils.c (strcmp_iw_ordered): New function.
92
8e3ee7b5
JB
932003-02-24 Jim Blandy <jimb@redhat.com>
94
95 * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme
96 support, shared libs): Remove my name from here, to better reflect
97 reality.
98
7df1a324
KW
992003-02-24 Kris Warkentin <kewarken@qnx.com>
100
101 * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define.
102 (target_ops): Add to_have_continuable_watchpoint.
103 * target.c (update_current_target): Add INHERIT line for
104 to_have_continuable_watchpoint.
105 * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines.
106 * config/i386/nm-i386.h, config/i386/nm-i386sco5.h,
107 config/i386/nm-i386sol2.h, config/s390/nm-linux.h,
108 config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1.
109
d1c76907
EZ
1102003-02-24 Elena Zannoni <ezannoni@redhat.com>
111
112 * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop
113 maintainership.
114
2610b0bf
KW
1152003-02-24 Kris Warkentin <kewarken@qnx.com>
116
f46169db
KW
117 * solib.c (solib_open): Call target defined search function after
118 failing with solib-search-path.
119 * solist.h (target_so_ops): Add find_and_open_solib function hook and
120 create define TARGET_SO_FIND_AND_OPEN_SOLIB.
2610b0bf 121
9a3c34fe
KW
1222003-02-24 Kris Warkentin <kewarken@qnx.com>
123
f46169db 124 * MAINTAINERS: Add myself to Write After section.
9a3c34fe 125
2417dd25
SC
1262003-02-23 Stephane Carrez <stcarrez@nerim.fr>
127
128 * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide.
129
b631436b
SC
1302003-02-22 Stephane Carrez <stcarrez@nerim.fr>
131
132 * m68hc11-tdep.c (m68hc11_init_reggroups): New function.
133 (m68hc11_add_reggroups): New function.
134 (m68hc11_register_reggroup_p): New to register hard/soft reggroups.
135 (m68hc11_gdbarch_init): Install the reggroups.
136 (_initialize_m68hc11_tdep): Initialize them.
137
0aa8c1e4
JW
1382003-02-21 James E Wilson <wilson@tuliptree.org>
139
140 * MAINTAINERS: Update my email address.
141
50ceaba5
DC
1422003-02-21 David Carlton <carlton@math.stanford.edu>
143
144 * arm-tdep.c (arm_gdbarch_init): Add break after default label.
145
4c2df51b
DJ
1462003-02-21 Daniel Jacobowitz <drow@mvista.com>
147
148 Based on a patch from Daniel Berlin (dberlin@dberlin.org).
149 * symtab.h: Add opaque declarations of struct axs_value and
150 struct agent_expr.
151 (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG.
152 (struct location_funcs): New type.
153 (struct symbol): Add "loc" to aux_value.
154 (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros.
155 * dwarf2read.c: Include "dwarf2expr.h".
156 (dwarf2_symbol_mark_computed): New function.
157 (read_func_scope): Use it.
158 (var_decode_location): New function.
159 (new_symbol): Use it.
160 * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files.
161
162 * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c.
163 (dwarf2expr_h, dwarf2loc_h): New variables.
164 (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o.
165 (dwarf2expr.o, dwarf2loc.o): New rules.
166 (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h).
167 * buildsym.c (finish_block): Handle LOC_COMPUTED and
168 LOC_COMPUTED_ARG.
169 * findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
170 * m2-exp.y (yylex): Likewise.
171 * printcmd.c (address_info, print_frame_args): Likewise.
172 * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise.
173 * symmisc.c (print_symbol, print_partial_symbols): Likewise.
174 * ada-lang.c (ada_resolve_subexp, symtab_for_sym)
175 (ada_add_block_symbols, fill_in_ada_prototype): Likewise.
176 * symtab.c (lookup_block_symbol): Likewise.
177
5784d15e
AF
1782003-02-20 Adam Fedor <fedor@gnu.org>
179
180 * symtab.h: Remove objc_specific struct
181 (SYMBOL_OBJC_DEMANGLED_NAME): Remove.
182 * symtab.c (symbol_init_language_specific, symbol_demangled_name):
183 Have language_objc use cplus_specific struct.
184
d4cad8db
TT
1852003-02-20 Tom Tromey <tromey@redhat.com>
186
187 * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not
188 TYPE_NAME, when printing a String value. PR java/1075.
189
2f9a90b4
AF
1902003-02-20 Adam Fedor <fedor@gnu.org>
191
d38074a8 192 * objc-lang.h (find_methods): Remove declaration.
2f9a90b4
AF
193 * objc-lang.c (find_methods): Make static.
194
6f17862b
CF
1952003-02-20 Christopher Faylor <cgf@redhat.com>
196
197 * win32-nat.c (get_image_name): Check return value from
198 ReadProcessMemory.
199 (child_xfer_memory): Ditto.
200
715d1656
AO
2012003-02-20 Alexandre Oliva <aoliva@redhat.com>
202
203 * configure.in (TARGET_SYSTEM_ROOT): Set default to
204 ${exec_prefix}/${target_alias}/sys-root. Match explicit
205 '${exec_prefix}' (in addition to the expansion thereof) as
206 relocatable.
207 * configure: Rebuilt.
208
b1262a02
DC
2092003-02-20 David Carlton <carlton@math.stanford.edu>
210
211 * symtab.c (search_symbols): Revert the search_symbols part of my
212 2002-12-23 patch. Add comment.
213
7134143f
DJ
2142002-02-20 Daniel Jacobowitz <drow@mvista.com>
215
216 * coffread.c (coff_symfile_read): Clean up minimal symbols earlier.
217 * dbxread.c (elfstab_build_psymtabs): Don't call
218 install_minimal_symbols.
219 (stabsect_build_psymtabs): Likewise.
220 * elfread.c (elf_symfile_read): Call install_minimal_symbols
221 earlier.
222 * somread.c (som_symfile_read): Call install_minimal_symbols
223 and do_cleanups earlier.
224 * nlmread.c (nlm_symfile_read): Likewise.
225 * mdebugread.c (elfmdebug_build_psymtabs): Call
226 install_minimal_symbols and make appropriate cleanups.
227
cf466558
KB
2282003-02-20 Kevin Buettner <kevinb@redhat.com>
229
230 * solib.c (reload_shared_libraries): New function.
231 (_initialize_solib): Add callbacks for ``set solib-search-path''
232 and ``set solib-absolute-prefix''.
233
de5ad195
DC
2342003-02-20 David Carlton <carlton@math.stanford.edu>
235
236 * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME;
237 expand comment.
238 * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace
239 SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME.
240 * ada-typeprint.c (ada_typedef_print): Ditto.
241 * ax-gdb.c (gen_var_ref): Ditto.
242 * breakpoint.c (print_one_breakpoint): Ditto.
243 * buildsym.c (finish_block): Ditto.
244 * c-valprint.c (c_val_print): Ditto.
245 * expprint.c (print_subexp): Ditto.
246 * findvar.c (locate_var_value): Ditto.
247 * infcmd.c (jump_command): Ditto.
248 * linespec.c (decode_line_2, decode_compound): Ditto.
249 * maint.c (maintenance_translate_address): Ditto.
250 * objc-lang.c (compare_selectors, compare_classes): Ditto.
251 * printcmd.c (build_address_symbolic, sym_info, print_frame_args):
252 Ditto.
253 * p-valprint.c (pascal_val_print): Ditto.
254 * stabsread.c (define_symbol): Ditto.
255 * stack.c (print_frame, frame_info, print_block_frame_locals)
256 (print_frame_arg_vars, return_command): Ditto.
257 * symfile.c (compare_symbols, compare_psymbols): Ditto.
258 * symmisc.c (print_symbol): Ditto.
259 * symtab.c (lookup_partial_symbol, lookup_block_symbol)
260 (compare_search_syms, print_symbol_info, print_msymbol_info)
261 (rbreak_command): Ditto.
262 * tracepoint.c (tracepoints_info): Ditto.
263 * typeprint.c (typedef_print): Ditto.
264 * valops.c (value_of_variable, hand_function_call): Ditto.
265 * cli/cli-cmds.c (edit_command, list_command): Ditto.
266 * ada-typeprint.c: Update Copyright.
267 * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto.
268 * tracepoint.c, cli/cli-cmds.c: Ditto.
269
f796e4be
KB
2702003-02-20 Kevin Buettner <kevinb@redhat.com>
271
272 * frame.c (generic_unwind_get_saved_register): Make non-static.
273 * frame.h (generic_unwind_get_saved_register): Declare.
274 * mips-tdep.c (read_next_frame_reg): Fetch register from
275 current regcache when frame is NULL.
276 (mips_init_extra_frame_info): Pass NULL explicitly for parameter
277 that must be NULL.
278 (mips_get_saved_register): Call generic_unwind_get_saved_register()
279 instead of frame_register_unwind().
280
836cc9f4
AC
2812003-02-20 Andrew Cagney <ac131313@redhat.com>
282
283 * remote-sim.c (gdbsim_insert_breakpoint)
284 (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS
285 code.
286
501eef12
AC
2872003-02-20 Andrew Cagney <ac131313@redhat.com>
288
289 * remote.c (_initialize_remote): Add commands "set/show remote
290 hardware-watchpoint-limit" and "set/show remote
291 hardware-breakpoint-limit".
292 (remote_hw_watchpoint_limit): Initialize to -1.
293 (remote_hw_breakpoint_limit): Ditto.
294 (remote_check_watch_resources): Treat a limit of -1 as unlimited.
295
1b6bc7e0
CF
2962003-02-19 Raoul Gough <RaoulGough@yahoo.co.uk>
297
298 * coff-pe-read.c: New file - support reading of minimal symbols from a
299 portable executable using the export table.
300 * coff-pe-read.h: New file.
301 * coffread.c: Include coff-pe-read.h.
302 (coff_symtab_read): Call read_pe_exported_syms iff no recognized
303 debugging symbols found.
304 * Makefile.in (SFILES): Add coff-pe-read.o.
305 (coff_pe_read_h): Define.
306 (COMMON_OBS): Add coff-pe-read.o.
307 (coffread.o): Add coff_pe_read_h dependency.
308 (coff-pe-read.o): New target.
309
fe898f56
DC
3102003-02-19 David Carlton <carlton@math.stanford.edu>
311
312 * Makefile.in (SFILES): Add block.c.
313 (block_h): New.
314 (COMMON_OBS): Add block.o.
315 (block.o): New.
316 (x86-64-tdep.o): Add $(block_h).
317 (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o)
318 (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o)
319 (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o)
320 (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o)
321 (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o)
322 (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o)
323 (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto.
324 * value.h: Add opaque declaration for struct block.
325 * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto.
326 * ada-lang.h: Ditto.
327 * x86-64-tdep.c: #include "block.h"
328 * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto.
329 * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto.
330 * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto.
331 * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto.
332 * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto.
333 * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto.
334 * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto.
335 * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto.
336 * blockframe.c (blockvector_for_pc_sect): Move to "block.c".
337 (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto.
338 * symtab.c (block_function): Ditto.
339 (contained_in): Ditto.
340 * frame.h: Move block_for_pc and block_for_pc_sect declarations to
341 block.h. Add opaque declaration for struct block.
342 * symtab.h: Move block_function and contained_in declarations to
343 block.h. Add opaque declarations for struct block, struct
344 blockvector.
345 (struct block): Move to block.h.
346 (struct blockvector): Ditto.
347 (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK)
348 (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM)
349 (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE)
350 (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS)
351 (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):
352 Ditto.
353 * block.c: New file.
354 * block.h: New file.
355
173345b5
TR
3562003-02-19 Theodore A. Roth <troth@openavr.org>
357
358 * avr-tdep.c (avr_extract_return_value): Remove function.
359 (avr_store_return_value): Remove function.
360 (avr_extract_struct_value_address): Remove function.
361 (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls.
362
338ef23d
AC
3632003-02-19 Andrew Cagney <ac131313@redhat.com>
364
365 * rs6000-tdep.c: Include "gdb_assert.h".
366 (registers_e500): Add "acc" and "spefscr".
367 (PPC_GPRS_PSEUDO_REGS): Remove trailing comma.
368 (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum,
369 ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum
370 really is "r0".
371 (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson).
372
5412f5f3
KS
3732003-02-18 Keith Seitz <keiths@redhat.com>
374
375 * Makefile.in: Add gdbtk-interps.c.
376
881324eb
KB
3772003-02-18 Kevin Buettner <kevinb@redhat.com>
378
379 * sparc-tdep.c (sparc_frame_chain): Adjust return value.
380 * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare.
381
6a2f5abf
AC
3822003-02-18 Andrew Cagney <cagney@redhat.com>
383
384 * symtab.h (struct objfile): Add opaque declaration.
385
54c7009d
EZ
3862003-02-18 Elena Zannoni <ezannoni@redhat.com>
387
388 From Jim Ingham <jingham@apple.com>:
389 * dbxread.c (process_one_symbol): Use last_function_start rather
390 than function_start_offset to find the real beginning of the
391 current function. The latter is just the text section offset on
392 some systems, the former is always the real function start.
393
7ee6d7eb
AC
3942003-02-17 Andrew Cagney <cagney@redhat.com>
395
396 * configure.in: Revert ${target} != ${host}.
397
2846da9b
AC
3982003-02-17 Andrew Cagney <ac131313@redhat.com>
399
400 * configure.in (Makefile): Use the test ${target} != ${host},
401 instead of the absence of the "nm.h" file, to determine of the
402 configuration non-native.
403 * configure: Regenerate.
404
3b27aeea
EZ
4052003-02-14 Elena Zannoni <ezannoni@redhat.com>
406
407 From Brian Ford <ford@vss.fsi.com>
408
409 * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly
410 conditionalize tui_active test.
411 (lookup_cmd_1): Ditto.
412
b0b1c2c0
MK
4132003-02-14 Mark Kettenis <kettenis@gnu.org>
414
415 * configure.in: Add check for _etext.
416 * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't
417 available.
418 * config.in, configure: regenerated.
419
8f05cde5
DJ
4202003-02-14 Daniel Jacobowitz <drow@mvista.com>
421
422 * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base.
423
021e7609
AC
4242003-02-14 Andrew Cagney <ac131313@redhat.com>
425
426 * main.c (tui_version): Delete variable.
427 (captured_main): When --tui, set interpreter_p to "tui" instead of
428 enabling tui_version.
429 * printcmd.c (display_command) [TUI]: Test tui_active instead of
430 tui_version.
431 * cli/cli-decode.c (lookup_cmd_composition): Ditto.
432 * cli/cli-cmds.c (disassemble_command): Ditto.
433 * defs.h (tui_version): Delete declaration.
434 * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c".
435 (tui-interp.o): Add rules.
436 (SUBDIR_TUI_OBS): Add "tui-interp.o".
437
e325dcec
CF
4382003-02-14 Christopher Faylor <cgf@redhat.com>
439
36ffb041 440 * win32-nat.c (register_loaded_dll): Correctly set address range for
e325dcec
CF
441 just-loaded dll.
442
c4f90d87
JM
4432003-02-12 Jason Molenda (jmolenda@apple.com)
444
445 * symmisc.c (print_objfile_statistics): Include information about
446 the number of psymtabs and symtabs in each object file.
447
e46e5ccd
KS
4482003-02-13 Keith R Seitz <keiths@redhat.com>
449
450 * main.h (struct captured_main_args): Add interpreter_p.
451 * main.c (captured_main): Initialize interpreter_p from context.
452 * gdb.c (main): Set interpreter_p argument.
453 * Makefile.in (gdb.o): Add dependency for interps.h.
454
fe97fe9c
AC
4552003-02-12 Andrew Cagney <ac131313@redhat.com>
456
457 * event-top.c (cli_command_loop): Delete declaration.
458 (_initialize_event_loop): Delete function setting event_loop_hook.
459 * event-top.h (cli_command_loop): Declare. Update copyright.
460 (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H.
461 * interps.c (current_interp_command_loop): When event_loop_p, call
462 cli_command_loop.
463
1cdac4ef
AC
4642003-02-12 Andrew Cagney <ac131313@redhat.com>
465
466 * interps.h (interp_command_loop_ftype): Change return type to
467 void.
468
48037ead
ML
4692003-02-12 Michal Ludvig <mludvig@suse.cz>
470
471 * x86-64-tdep.c (x86_64_extract_return_value)
472 (x86_64_store_return_value): Use regcache instead of regbuf.
473 (x86_64_gdbarch_init): Change related set_gdbarch_* functions.
474 * x86-64-linux-nat.c (fill_gregset): Use regcache.
475
033afc63
AC
4762003-02-11 Andrew Cagney <ac131313@redhat.com>
477
478 * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS.
479 * aclocal.m4: Regenerate.
480 * configure: Regenerate.
481
482 * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of
483 TCL_LD_SEARCH_FLAGS.
484
40d02bca
ML
4852003-02-10 Michal Ludvig <mludvig@suse.cz>
486
487 * dwarf2cfi.c: Reindented.
488
11308a41
AC
4892003-02-09 Andrew Cagney <ac131313@redhat.com>
490
491 * interps.c (clear_interpreter_hooks): Convert function definition
492 to ISO C.
493
e1c1c0f6
DC
4942003-02-07 David Carlton <carlton@math.stanford.edu>
495
496 * gdb_mbuild.sh: Delete extra shift after parsing '-f'.
497
ab5d3da6
KB
4982003-02-07 Kevin Buettner <kevinb@redhat.com>
499
500 * gdbtypes.h (struct main_type): Move ``length'' field from here...
501 (struct type): ...to here.
502 (TYPE_LENGTH): Adjust to reflect different location of ``length''
503 field.
504 * gdbtypes.c (make_qualified_type): Set length on newly created type.
505 (replace_type): Set length on all type variants for a given type.
506
b8a92b82
AC
5072003-02-07 Andrew Cagney <ac131313@redhat.com>
508
509 * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of
510 <sys/stat.h>.
511 * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies.
512
5cb316ef
AC
5132003-02-06 Andrew Cagney <ac131313@redhat.com>
514
2555fe1a
AC
515 * Makefile.in (symm-nat.o): Update dependencies.
516 (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto.
517 (lynx-nat.o, ia64-linux-nat.): Ditto.
518 * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include
519 "gdb_wait.h" instead of <wait.h> or <sys/wait.h>.
520 * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto.
521
44270758
AC
522 * Makefile.in (inflow_h): Define.
523 (procfs.o, inflow.o, procfs.o): Update dependencies.
524 * inftarg.c (child_stop): Delete extern declaration of
525 inferior_process_group. Include "inflow.h".
526 * procfs.c (procfs_stop): Ditto. Include "inflow.h".
527 * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ...
528 * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file.
529 (our_process_group, inferior_process_group): Extern declarations.
530
df8f7274
AC
531 * procfs.c: Include "gdb_assert.h".
532
5cb316ef
AC
533 * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>.
534 * cp-valprint.c (cp_print_value_fields): Eliminate STREQN.
535 * jv-typeprint.c (java_type_print_base): Ditto.
536 * typeprint.c (typedef_print): Eliminate STREQ.
537 * cli/cli-script.c (define_command, define_command): Ditto.
538 * main.c (captured_main): Ditto.
539 * values.c (lookup_internalvar): Ditto.
540 * utils.c (safe_strerror, parse_escape): Eliminate assignment
541 within `if' conditional.
542 * linespec.c (decode_line_2): Ditto.
543 * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto.
544 (bfd_openw_with_cleanup): Ditto.
545
2a28ccea
MK
5462003-02-07 Mark Kettenis <kettenis@gnu.org>
547
548 * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to
549 legacy_extract_return_value and store_return_value to
550 legacy_return_value.
551
786b8124
CF
5522003-02-06 Raoul Gough <RaoulGough@yahoo.co.uk>
553
554 * win32-nat.c (get_relocated_section_addrs): New function. Find
555 section load addresses for symbol handling in relocated DLLs.
556 (solib_symbols_add): Open a bfd and call get_relocated_section_addrs.
557
b871e4ec
FF
5582003-02-05 Fred Fish <fnf@intrinsity.com>
559
560 * remote-e7000.c (e7000_drain_command): Fix precedence problem with
561 '=' and '!='.
562 * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem
563 with '&' and '=='.
564 (angel_RDI_info): Ditto.
565 * infttrace.c (threads_continue_all_but_one): Fix precedence problem
566 with '&' and '!='.
567 (threads_continue_all_with_signals): Ditto.
568
4389a95a
AC
5692003-02-05 Jim Ingham <jingham@apple.com>
570 Keith Seitz <keiths@redhat.com>
571 Elena Zannoni <ezannoni@redhat.com>
572 Andrew Cagney <ac131313@redhat.com>
573
574 * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
575 (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
576 (SUBDIR_MI_OBS): Add "mi-interp.o".
577 (SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
578 (SFILES): Add "interps.c".
579 (COMMON_OBS): Add "interps.o".
580 (interps_h, mi_main_h): Define.
581 (interps.o, cli-interp.o, mi-interp.o): Add dependencies.
582 (mi-main.o, main.o, event-top.o): Update dependencies.
583 * cli/cli-interp.c: New file.
584 * interps.h, interps.c: New files.
585 * top.c: (gdb_init): Don't install the default interpreter, handed
586 by captured_main.
587 * main.c: Include "interps.h".
588 (interpreter_p): Note that it should malloc'ed.
589 (captured_command_loop): Call current_interp_command_loop.
590 (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
591 xfree and xstrdup when updating interpreter_p. Install the
592 default interpreter. Add hack to stop mi1's copyright notice
593 being encoded.
594 * event-top.h (gdb_setup_readline): Declare.
595 (gdb_disable_readline): Declare.
596 * event-top.c: Include "interps.h".
597 (display_gdb_prompt): Call current_interp_display_prompt_p.
598 (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
599 gdb_stdlog, and gdb_stdtarg.
600 (_initialize_event_loop): Don't call gdb_setup_readline.
601 * cli-out.c (cli_out_set_stream): New function.
602 * cli-out.h (cli_out_set_stream): Declare.
603
ff3b5810
MK
6042003-02-06 Mark Kettenis <kettenis@gnu.org>
605
606 * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*,
607 i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all
608 handled fine by i[3456]86-*sco* and i[3456]86-sysv*.
609 * config/i386/i386sco5.mt, config/i386/i386v4.mt,
610 config/i386/i386v42mp.mt: Removed.
611
5b729aa5
MK
6122003-02-05 Mark Kettenis <kettenis@gnu.org>
613
614 * configure.tgt (*-*-solaris*): Set gdb_osabi to
615 GDB_OSABI_SOLARIS.
616
8cc15142
MC
6172003-02-05 Michael Chastain <mec@shout.net>
618
619 * PROBLEMS (i[3456]86-*-linux*): Warn about binutils
620 2.12.1 and earlier versions.
621
5aa5d4b9
AC
6222003-02-05 Andrew Cagney <ac131313@redhat.com>
623
624 Remove orphaned hosts, targets and files.
625 * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete.
626 * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete.
627 * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete.
628 * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete.
629 * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete.
630 * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete.
631 * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete.
632 * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete.
633 * config/sparc/tm-sp64sim.h: Delete.
634 * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-*
635 hosts.
636 * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and
637 mips*-dec-mach3* targets.
638
b68767c1
MC
6392003-02-04 Michael Chastain <mec@shout.net>
640
641 * NEWS: Fix typo: sepcifying -> specifying.
642
5ae7ca1d
MC
6432003-02-04 Michael Chastain <mec@shout.net>
644
645 * dwarfread.c: Add documentation on the state of dwarf-1,
646 looking towards obsoletion.
647
d08a4280
MC
6482003-02-03 Michael Chastain <mec@shout.net>
649
650 * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc,
651 gdb/testsuite/gdb.c++/pr-1023.exp.
652
e9be73e4
AC
6532003-02-04 Andrew Cagney <ac131313@redhat.com>
654
655 * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR.
656 * TODO: Delete reference to IS_TRAPPED_INTERNALVAR.
657
658 * utils.c (init_page_info): Delete reference to MPW in comments.
659 * main.c (captured_main): Delete #ifdef MPW.
660
05d57f6f
AC
6612003-02-04 Andrew Cagney <ac131313@redhat.com>
662
663 * NEWS: Note that the m32r-*-elf* is obsolete.
664 * monitor.c (monitor_expect): Obsolete reference to m32r.
665 * configure.tgt: Mark m32r-*-elf* as obsolete.
666 * MAINTAINERS: Mark m32k as obsolete.
667 * m32r-rom.c: Obsolete file.
668 * config/m32r/m32r.mt: Obsolete file.
669 * config/m32r/tm-m32r.h: Obsolete file.
670 * m32r-stub.c: Obsolete file.
671 * m32r-tdep.c: Obsolete file.
672
8b0e5691
AC
6732003-02-04 Andrew Cagney <ac131313@redhat.com>
674
675 * NEWS: Mention that the z8k-zilog-none is obsolete.
676 * MAINTAINERS: Mark z8k as obsolete.
677 * configure.tgt: Obsolete the z8k-*-coff* target.
678 * config/z8k/z8k.mt: Obsolete file.
679 * config/z8k/tm-z8k.h: Obsolete file.
680 * z8k-tdep.c: Obsolete file.
681
67f16606
AC
6822003-02-04 Andrew Cagney <ac131313@redhat.com>
683
684 * NEWS: Mention that the mn10200-elf is obsolete.
685 * configure.tgt: Obsolete mn10200-*-* target.
686 * breakpoint.c (update_breakpoints_after_exec): Update comment to
687 mention that the mn10200 is obsolete.
688 * breakpoint.h: Ditto.
689 * MAINTAINERS: Mark the mn10200-elf as obsolete.
690 * config/mn10200/mn10200.mt: Obsolete file.
691 * config/mn10200/tm-mn10200.h: Obsolete file.
692 * mn10200-tdep.c: Obsolete file.
693
fd2299bd
AC
6942003-02-04 Andrew Cagney <ac131313@redhat.com>
695
696 * MAINTAINERS: Mark h8500 as obsolete.
697 * configure.tgt (h8500-*-*): Mark h8500 code as obsolete.
698 * findvar.c (value_from_register): Ditto.
699 * h8500-tdep.c: Mark file as obsolete.
700 * config/h8500/h8500.mt: Ditto.
701 * config/h8500/tm-h8500.h: Ditto.
702 * NEWS: Mention that h8500 is obsolete.
703
eb9a305d
DC
7042003-02-04 David Carlton <carlton@math.stanford.edu>
705
706 * objfiles.c (allocate_objfile): Always set name. Add comment at
707 start of function.
708 * jv-lang.c (get_dynamics_objfile): Add comment.
709
406fc7fb
DC
7102003-02-04 David Carlton <carlton@math.stanford.edu>
711
712 * symtab.h (SYMBOL_LINKAGE_NAME): Delete.
713 * printcmd.c (build_address_symbolic): Replace uses of
714 SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME,
715 SYMBOL_NAME, and asm_demangle.
716 Update copyright.
717
93d91629
DC
7182003-02-04 David Carlton <carlton@math.stanford.edu>
719
720 * linespec.c (decode_compound): Extract code into
721 lookup_prefix_sym.
722 (lookup_prefix_sym): New function.
723
1c5cb38e
DC
7242003-02-04 David Carlton <carlton@math.stanford.edu>
725
726 * gdbtypes.h: Delete INTEGER_COERCION_BADNESS,
727 FLOAT_COERCION_BADNESS.
728 * gdbtypes.c (rank_one_type): Replace all uses of
729 INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS.
730
0cf824c9
JB
7312003-02-04 Jim Blandy <jimb@redhat.com>
732
733 * dwarf2read.c (dwarf2_locate_sections): When we find a macro info
734 section, let dwarf_macinfo_section point to it, not
735 dwarf_loc_section.
736
a2d356b0
DJ
7372003-02-04 Daniel Jacobowitz <drow@mvista.com>
738
739 Pointed out by Anton Blanchard <anton@samba.org>.
740 * ppc-linux-tdep.c (insn_is_sigreturn): New function.
741 (ppc_linux_at_sigtramp_return_path): Use it.
742
2de7ced7
DJ
7432003-02-04 Daniel Jacobowitz <drow@mvista.com>
744
745 * defs.h (streq): Add prototype.
746 * utils.c (streq): New function.
747
748 * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of
749 SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME.
750 * mdebugread.c (new_symbol): Likewise.
751 * stabsread.c (define_symbol): Likewise.
752 * coffread.c (process_coff_symbol): Likewise.
753 * dwarfread.c (new_symbol): Likewise.
754
755 * minsyms.c (prim_record_minimal_symbol_and_info): Use
756 SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language
757 here.
758 (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call
759 SYMBOL_INIT_DEMANGLED_NAME.
760 * objfiles.c: Include "hashtab.h".
761 (allocate_objfile): Call htab_set_functions_ex for the
762 demangled_names_hash.
763 (free_objfile): Call htab_delete for the demangled_names_hash.
764 * objfiles.h (struct htab): Add declaration.
765 (struct objfile): Add demangled_names_hash.
766 * symfile.c: Include "hashtab.h".
767 (reread_symbols): Call htab_delete for the demangled_names_hash.
768 (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting
769 SYMBOL_NAME in the bcache.
770 * symtab.c: Include "hashtab.h". Update comments.
771 (create_demangled_names_hash, symbol_set_names): New functions.
772 (symbol_find_demangled_name): New function, broken out from
773 symbol_init_demangled_names.
774 (symbol_init_demangled_names): Use it.
775 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses.
776 (SYMBOL_SET_NAMES): New macro.
777 (symbol_set_names): Add prototype.
778
15831452
JB
7792003-02-03 Jim Blandy <jimb@redhat.com>
780
781 Use a single, consistent representation for an empty minimal
782 symbol table in an objfile.
783 * objfiles.c (terminate_minimal_symbol_table): New function.
784 (allocate_objfile): Call it.
785 * objfiles.h (terminate_minimal_symbol_table): New declaration.
786 (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is
787 non-NULL.
788 * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether
789 objfile has minimal symbols, compare minimal_symbol_count to zero,
790 instead of comparing msymbols with NULL.
791 * objfiles.c (have_minimal_symbols): Same.
792 * solib-sunos.c (solib_add_common_symbols): Call
793 terminate_minimal_symbol_table.
794 * symfile.c (reread_symbols): Same.
795
ffc65945
KB
7962003-02-03 Kevin Buettner <kevinb@redhat.com>
797
798 * s390-tdep.c (s390_address_class_type_flags)
799 (s390_address_class_type_flags_to_name)
800 (s390_address_class_name_to_type_flags): New functions.
801 (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME,
802 ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS.
803
f211c6d4
MS
8042003-02-03 Michael Snyder <msnyder@redhat.com>
805
806 * arm-tdep.c: Fix spell-o in comment.
807
659b0389
ML
8082003-02-03 Michal Ludvig <mludvig@suse.cz>
809
810 * dwarf2cfi.c (pointer_encoding): Added new parameter.
811 * dwarf2cfi.c, dwarf2read.c: Changed all warnings and
812 error messages to contain BFD filename.
813
3b31d625
EZ
8142003-02-02 Elena Zannoni <ezannoni@redhat.com>
815
997b089a 816 Fix PR gdb/742 gdb/743 gdb/877
3b31d625
EZ
817 * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end.
818 (do_mixed_source_and_assembly): Use
819 make_cleanup_ui_out_tuple_begin_end and
820 make_cleanup_ui_out_tuple_begin_end.
821 (do_mixed_source_and_assembly): Ditto.
822 * thread.c (do_captured_list_thread_ids): Ditto.
823 * ui-out.h (ui_out_table_begin, ui_out_list_begin,
824 ui_out_tuple_begin, ui_out_table_end, ui_out_list_end,
825 ui_out_tuple_end): Delete prototypes.
826 * ui-out.c (ui_out_list_begin, ui_out_tuple_begin,
827 ui_out_list_end, ui_out_tuple_end): Delete.
828
829 From Kevin Buettner <kevinb@redhat.com>:
830 * ui-out.h (make_cleanup_ui_out_table_begin_end): New function.
831 * ui-out.c (make_cleanup_ui_out_table_begin_end)
832 (do_cleanup_table_end): New functions.
833 * breakpoint.c (print_it_typical, print_one_breakpoint, mention):
834 Use cleanups to invoke_ui_out_tuple_end().
835 (breakpoint_1): Use cleanup to invoke ui_out_table_end().
836 * cli/cli-setshow.c (cmd_show_list): Use
837 make_cleanup_ui_out_tuple_begin_end.
838
5b181d62
AC
8392003-02-02 Andrew Cagney <ac131313@redhat.com>
840
841 * frame.c (frame_unwind_register): New function.
842 (frame_unwind_unsigned_register): Use.
843 (frame_unwind_signed_register): Use.
844 (frame_read_register): New function.
845 * frame.h (frame_unwind_register): Declare.
846 (frame_read_register): Declare.
847
848 * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write
849 and frame_unwind_register instead of read_memory, write_register
850 and deprecated_write_register_bytes.
851
5f601589
AC
8522003-02-02 Andrew Cagney <ac131313@redhat.com>
853
854 * frame.h: Note that namelen can be negative.
855 * frame.c (frame_map_name_to_regnum): When LEN is negative, use
856 NAME's length.
857
858 * NEWS: Mention that the d10v's `regs' command is deprecated.
859 * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info.
860 (d10v_print_registers_info): New function.
861 (show_regs): Call d10v_print_registers_info.
862 (_initialize_d10v_tdep): Mark "show regs" command as deprecated.
863
6a3fe0a4
MK
8642003-02-02 Mark Kettenis <kettenis@gnu.org>
865
866 * stack.c (print_frame_info): Restore call to annotate_frame_begin
867 lost in the previous patch.
868
075559bc
AC
8692003-02-01 Andrew Cagney <ac131313@redhat.com>
870
871 From 2002-11-09 Jason Molenda (jason-cl@molenda.com)
872 * stack.c (print_frame_info_base): Output complete FRAME tuple
873 for synthesized frames.
874
6789195b
AC
8752003-02-02 Andrew Cagney <ac131313@redhat.com>
876
877 * mips-nat.c (zerobuf): Delete.
878 (fetch_inferior_registers): Alloc local zerobuf.
879 (fetch_core_registers): Alloc local zerobuf.
880 * d10v-tdep.c (show_regs): Don't allocate a dynamic array using
881 MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE.
882 * thread-db.c (thread_db_store_registers): Ditto.
883 * sh-tdep.c (sh_do_register): Ditto.
884 * rom68k-rom.c (rom68k_supply_one_register): Ditto.
885 * remote-sim.c (gdbsim_store_register): Ditto.
886 * remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
887 * remote-e7000.c (fetch_regs_from_dump): Ditto.
888 * monitor.c (monitor_supply_register): Ditto.
889 * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto.
890 * mips-nat.c (fetch_inferior_registers): Ditto.
891 * m68klinux-nat.c (fetch_register): Ditto.
892 * lynx-nat.c (fetch_inferior_registers): Ditto.
893 (fetch_inferior_registers): Ditto.
894 * irix4-nat.c (supply_gregset, supply_fpregset): Ditto.
895 * hpux-thread.c (hpux_thread_fetch_registers): Ditto.
896 (hpux_thread_store_registers): Ditto.
897 * hppah-nat.c (fetch_register): Ditto.
898 * hppab-nat.c (fetch_register): Ditto.
899 * hppa-tdep.c (pa_register_look_aside): Ditto.
900 (pa_print_fp_reg, pa_strcat_fp_reg): Ditto.
901 * dve3900-rom.c (fetch_bitmapped_register): Ditto.
902
e669114a
AC
9032003-02-01 Andrew Cagney <ac131313@redhat.com>
904
905 * gdbarch.sh: Explictly specify all method levels. When a
906 variable with an empty level, provide a non-multi-arch default.
907 (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty.
908 * gdbarch.h: Re-generate.
909 * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined.
910 * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1
911
9a043c1d
AC
9122003-02-01 Andrew Cagney <ac131313@redhat.com>
913
914 * defs.h (host_pointer_to_address): Delete declaration.
915 (address_to_host_pointer): Delete declaration.
916 * utils.c (host_pointer_to_address): Delete function.
917 (address_to_host_pointer): Delete function.
918 * procfs.c (procfs_address_to_host_pointer): New function.
919 * procfs.c (proc_set_watchpoint): Use.
920 (procfs_can_use_hw_breakpoint): Update comments.
921 * somsolib.c (hpux_address_to_host_pointer_hack): New function.
922 (som_solib_add): Use.
923 * hppa-tdep.c (hppa_pointer_to_address_hack): New function.
924 * hppa-tdep.c (unwind_command): Use.
925
7ca9f392
AC
9262003-02-01 Andrew Cagney <ac131313@redhat.com>
927
94bbfd30
AC
928 * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and
929 strlen d_name.
930
7ca9f392
AC
931 * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS,
932 ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code.
933 (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code.
934 * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro.
935 (define_symbol): Update.
936 * symfile.c (generic_load): Remove references to nindy.
937 * symtab.c: Remove references to nindy.
938
31a85ea2
AC
9392003-02-01 Andrew Cagney <ac131313@redhat.com>
940
941 * infcmd.c (print_float_info): Delete code conditional on
942 FLOAT_INFO.
943 * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright.
944 * config/m68k/nm-apollo68b.h: Ditto.
945 * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright.
946 * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto.
947 * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto.
948
f6e85fc8
MK
9492003-02-01 Mark Kettenis <kettenis@gnu.org>
950
6015b6a0
MK
951 * config/i386/tm-i386os9k.h: Removed.
952
f7a30bdf
MK
953 * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v.
954 Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since
955 they're identical to i[3456]86-*-sysv* now.
956 * config/i386/i386v32.mh: Removed.
957 * config/i386/xm-i386v32.h: Removed.
958 * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro.
959
28d52111
MK
960 * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed.
961
4d3f6bce
MK
962 * config/i386/i386dgux.mh: Removed.
963 * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4.
964
f6e85fc8
MK
965 * configure.in: Fix typo.
966 * configure: Regenerated.
967
53955967
DC
9682003-01-31 David Carlton <carlton@math.stanford.edu>
969
970 * dwarf2read.c (dwarf2_locate_sections): Set
971 dwarf_ranges_section.
972
b1364885
AC
9732003-01-31 Andrew Cagney <ac131313@redhat.com>
974
8dbb1c65
AC
975 * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts.
976 * utils.c: Update comments documenting legitimate uses of PTR.
977
8731e58e
AC
978 * utils.c: Re-indent.
979
b1364885
AC
980 * config/djgpp/fnchange.lst: Delete nindy files.
981 * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files.
982 * nindy-share/nindy.c, nindy-share/env.h: Delete files.
983 * nindy-share/coff.h, nindy-share/block_io.h: Delete files.
984 * nindy-share/b.out.h, nindy-share/VERSION: Delete files.
985 * nindy-share/README, nindy-share/Onindy.c: Delete files.
986 * nindy-tdep.c, nindy-share/Makefile: Delete files.
987 * Makefile.in (init.c): Remove nindy references.
988 (saber_gdb): Delete rule.
989 (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c,
990 nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c,
991 and a68v-nat.c.
992 (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules.
993 (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules.
994 (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h,
995 nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and
996 nindy-share/stop.h.
997 * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files.
998 * saber.suppress: Delete file.
999
086df311
DJ
10002003-01-31 Daniel Jacobowitz <drow@mvista.com>
1001
1002 * dbxread.c (stabs_data): New static variable.
1003 (fill_symbuf): Support an in-memory buffer for stabs data.
1004 (stabs_seek): New function.
1005 (dbx_psymtab_to_symtab): Relocate the stabs data if necessary.
1006 (read_ofile_symtab): Use stabs_seek.
1007 (elfstab_build_psymtabs): Take an asection* instead of
1008 an offset and size. Relocate the stabs data if necessary.
1009 Save the section* for dbx_psymtab_to_symtab.
1010 * dwarf2read.c: Add section variables for each debug section.
1011 (dwarf2_locate_sections): Fill them in.
1012 (dwarf2_read_section): Take an asection* argument.
1013 Relocate the section contents if necessary.
1014 (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers.
1015 * dwarf2cfi.c (parse_frame_info): Take a section argument and pass
1016 it to dwarf2_read_section.
1017 (dwarf2_build_frame_info): Update callers.
1018 * elfread.c (elf_symfile_read): Update call to
1019 elfstab_build_psymtabs.
1020 * gdb-stabs.h (struct dbx_symfile_info): Add stab_section.
1021 (DBX_STAB_SECTION): New macro.
1022 * stabsread.h (elfstab_build_psymtabs): Update prototype.
1023 * symfile.c (symfile_dummy_outputs): New function.
1024 (symfile_relocate_debug_section): New function.
1025 * symfile.h (symfile_relocate_debug_section): Add prototype.
1026
87d1b352
RH
10272003-01-31 Richard Henderson <rth@redhat.com>
1028
1029 * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...
1030 (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM.
1031 (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM.
1032 * alpha-tdep.c (alpha_register_name): Add "unique".
1033 * alpha-tdep.h (ALPHA_NUM_REGS): Increment.
1034 (ALPHA_UNIQUE_REGNUM): New.
1035 * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New.
1036
c48861fb
AC
10372003-01-31 Andrew Cagney <ac131313@redhat.com>
1038
1039 * README: Remove reference to Ericsson 1800 monitor.
1040 * Makefile.in (remote-es.o): Delete rule.
1041 (ALLDEPFILES): Delete remote-es.c.
1042 * remote-es.c: Delete file.
1043 * config/m68k/es1800.mt: Delete file.
1044 * config/djgpp/fnchange.lst: Update.
1045 * configure.tgt: Delete m68*-ericsson-* target.
1046
d764a824
AF
10472003-01-31 Adam Fedor <fedor@gnu.org>
1048
1049 * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc.
1050 Remove duplicate/shadowing variable of same name.
1051
fe36c4f4
JB
10522003-01-30 Jim Blandy <jimb@redhat.com>
1053
1054 * symfile.c (find_separate_debug_file): Assert that the objfile's
1055 directory name we compute ends with a slash, and then assume that
1056 that's so everywhere we use it.
1057
cb741690
DJ
10582003-01-30 Daniel Jacobowitz <drow@mvista.com>
1059
1060 * valops.c (value_assign): Flush frame cache after stores to memory
1061 also.
1062
96ee5227
AC
10632003-01-30 Andrew Cagney <ac131313@redhat.com>
1064
1065 * Makefile.in (mon960-rom.o): Delete rule.
1066 * mon960-rom.c: Delete file.
1067
7f6104a9
AC
10682003-01-30 Andrew Cagney <ac131313@redhat.com>
1069
1070 * d10v-tdep.c: Include "frame-unwind.h".
1071 (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate
1072 list.
1073 (next_addr, uses_frame): Delete.
1074 (struct d10v_unwind_cache): Define.
1075 (prologue_find_regs): Add struct d10v_unwind_cache info parameter.
1076 Use info instead of next_addr and uses_frame globals.
1077 (d10v_frame_init_saved_regs): Delete function.
1078 (d10v_init_extra_frame_info): Delete function.
1079 (d10v_gdbarch_init): Do not initialize init_extra_frame_info,
1080 frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid,
1081 init_frame_pc or frame_saved_pc.
1082 (d10v_pop_frame): Delete function.
1083 (do_d10v_pop_frame): Delete function.
1084 (d10v_frame_chain): Delete function.
1085 (d10v_frame_chain_valid): Delete function.
1086 (d10v_frame_pc_unwind): New function.
1087 (d10v_frame_id_unwind): New function.
1088 (saved_regs_unwinder): New function.
1089 (d10v_frame_register_unwind): New function.
1090 (d10v_frame_pop): New function.
1091 (d10v_frame_unwind): New variable.
1092 (d10v_frame_p): New function.
1093 (d10v_frame_saved_pc): Delete function.
1094 * Makefile.in (d10v-tdep.o): Update dependencies.
1095
cad2e848
JB
10962003-01-30 J. Brobecker <brobecker@gnat.com>
1097
1098 * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef
1099 causing some regressions due to a change in the default value
1100 for this macro.
1101
af34e669
DJ
11022003-01-29 Richard Henderson <rth@redhat.com>
1103 Elena Zannoni <ezannoni@redhat.com>
1104 Daniel Jacobowitz <drow@mvista.com>
1105
1106 Fix PR gdb/961.
1107 * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New
1108 variables.
1109 (RANGES_SECTION): New.
1110 (dwarf_ranges_buffer): New variable.
1111 (struct comp_unit_head): Add member "die".
1112 (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size.
1113 (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New.
1114 (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size.
1115 (dwarf2_locate_sections): Likewise.
1116 (dwarf2_build_psymtabs): Read .debug_ranges.
1117 (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out.
1118 (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die.
1119 (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers.
1120 Look for DW_AT_ranges and return the bounding box.
1121
baa93fa6
CF
11222003-01-29 Brian Ford <ford@vss.fsi.com>
1123
1124 * win32-nat.c (cygwin_pid): Removed as unused.
1125 (child_attach): Try fall back to Cygwin pid.
1126
c63f977f
JB
11272003-01-29 Jim Blandy <jimb@redhat.com>
1128
1129 * objfiles.h (struct objfile): Doc fix.
1130
d62d1979
AC
11312003-01-29 Andrew Cagney <ac131313@redhat.com>
1132
1133 * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P.
1134 (legacy_get_prev_frame): Assert FRAME_CHAIN_P.
1135 (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame.
1136 (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P.
1137 * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate.
1138 (FRAME_SAVED_PC): Change to a function with predicate.
1139 * gdbarch.h, gdbarch.c: Re-generate.
1140
1ae18a04
AC
11412003-01-28 Andrew Cagney <ac131313@redhat.com>
1142
52287340
AC
1143 * hppah-nat.c (child_pid_to_exec_file): Don't use boolean.
1144
1ae18a04
AC
1145 * complaints.c (complain): Delete function.
1146 * complaints.h (struct deprecated_complaint): Delete definition.
1147 (complain): Delete declaration.
1148
f2c16bd6
KB
11492003-01-28 Kevin Buettner <kevinb@redhat.com>
1150
1151 * mips-tdep.c (mips_init_extra_frame_info): Return early for
1152 dummy frames.
1153
a94dd1fd
AC
11542003-01-27 Andrew Cagney <ac131313@redhat.com>
1155
1156 * sentinel-frame.h, sentinel-frame.c: New files.
1157 * Makefile.in (frame.o): Update dependencies.
1158 (SFILES): Add sentinel-frame.c.
1159 (sentinel_frame_h): Define.
1160 (COMMON_OBS): Add sentinel-frame.o.
1161 (sentinel-frame.o): Specify dependencies.
1162 * frame.c: Include "sentinel-frame.h".
1163 (frame_register_unwind): Rewrite assuming that there is always a a
1164 ->next frame.
1165 (frame_register, generic_unwind_get_saved_register): Ditto.
1166 (frame_read_unsigned_register, frame_read_signed_register): Ditto.
1167 (create_sentinel_frame, unwind_to_current_frame): New functions.
1168 (get_current_frame): Rewrite using create_sentinel_frame and
1169 unwind_to_current_frame. When possible, always create a frame.
1170 (create_new_frame): Set next to the sentinel frame.
1171 (get_next_frame): Rewrite. Don't go below the level 0 frame.
1172 (deprecated_update_frame_pc_hack): Update the next frame's PC and
1173 ID cache when necessary.
1174 (frame_saved_regs_id_unwind): Use frame_relative_level.
1175 (deprecated_generic_get_saved_register): Use frame_relative_level,
1176 get_frame_saved_regs, get_frame_pc, get_frame_base and
1177 get_next_frame.
1178 (frame_saved_regs_register_unwind): Use get_frame_saved_regs and
1179 frame_register.
1180
5378adc4
DJ
11812003-01-27 Daniel Jacobowitz <drow@mvista.com>
1182
1183 * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments.
1184
51ee2ddc
DJ
11852003-01-27 Daniel Jacobowitz <drow@mvista.com>
1186
1187 * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
1188 (maintenance_set_profile_cmd): Use error () instead of warning ().
1189
d9feb4e7
DJ
11902003-01-27 Daniel Jacobowitz <drow@mvista.com>
1191
1192 * configure.in: Check that -pg works if using --enable-profiling.
1193 Check for monstartup and _mcleanup regardless of --enable-profiling.
1194 * maint.c: Check for monstartup and _mcleanup before using them.
1195 * config.in: Regenerated.
1196 * configure: Regenerated.
1197
2d188dd3
NC
11982003-01-24 Nick Clifton <nickc@redhat.com>
1199
1200 * Add sh2e support:
1201
1202 2002-04-02 Elena Zannoni <ezannoni@redhat.com>
1203
1204 * gdb/sh-tdep.c (sh_sh2e_register_name): New.
1205 (sh2e_show_regs): New.
1206 (sh_gdbarch_init): Handle bfd_mach_sh2e.
1207 * config/sh/tm-sh.h: Added sh2e to comments.
1208
cb3c37b2
JB
12092003-01-23 Jim Blandy <jimb@redhat.com>
1210
1211 * symfile.c (syms_from_objfile): Don't print the "(no debugging
1212 symbols found)" message here; we haven't checked for a separate
1213 debug info file yet, so we don't know yet.
1214 (symbol_file_add_with_addrs_or_offsets): Print it here, after
1215 we've looked everywhere. Also, there's no need to print a special
1216 message when we're loading the separate debug info file: the one
1217 symbol_file_add prints is fine.
1218
5b5d99cf
JB
12192003-01-23 Alexander Larsson <alexl@redhat.com>
1220 Jim Blandy <jimb@redhat.com>
1221
1222 Add support for executables whose debug info has been separated
1223 out into a separate file, leaving only a link behind.
1224 * objfiles.h (struct objfile): New fields: separate_debug_objfile
1225 and separate_debug_objfile_backlink.
1226 (put_objfile_before): New declaration.
1227 * symfile.c: #include "filenames.h".
1228 (symbol_file_add_with_addrs_or_offsets): If this objfile has its
1229 debug info in a separate file, read that, too. Save the addrs
1230 argument, so we can use it again to read the separated debug info;
1231 syms_from_objfile modifies the table we pass it.
1232 (reread_symbols): After re-reading an objfile, call
1233 reread_separate_symbols to refresh its separate debug info
1234 objfile, if it has one.
1235 (reread_separate_symbols, find_separate_debug_file,
1236 get_debug_link_info, separate_debug_file_exists): New functions.
1237 (debug_file_directory): New global var.
1238 (_initialize_symfile): Initialize debug_file_directory, and
1239 provide the new `set debug-file-directory' command to let the user
1240 change it.
1241 * objfiles.c (free_objfile): If this objfile has its debug info in
1242 a separate objfile, free that one too. If this is itself a
1243 separate debug info objfile, clear our parent's backlink.
1244 (put_objfile_before): New function.
1245 * utils.c (gnu_debuglink_crc32): New function.
1246 * defs.h (gnu_debuglink_crc32): New declaration.
1247 * Makefile.in (symfile.o): Note dependency on "filenames.h".
1248 * configure.in: Handle --with-separate-debug-dir config option.
1249 * acinclude.m4 (AC_DEFINE_DIR): New macro.
1250 * acconfig.h (DEBUGDIR): New macro.
1251 * configure, aclocal.m4, config.in: Regenerated.
1252
7e8580c1
JB
12532003-01-22 Jim Blandy <jimb@redhat.com>
1254
7904e09f
JB
1255 * symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
1256 like the old symbol_file_add, but taking new arguments: you can
1257 now pass in either a `struct section_addr_info' list to say where
1258 each section is loaded, or a `struct section_offsets' table. Pass
1259 these new arguments through to syms_from_objfile as appropriate.
1260 (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets,
1261 with the appropriate quiescent values for the new arguments.
1262
7e8580c1
JB
1263 * symfile.c: #include "gdb_assert.h".
1264 (syms_from_objfile): Add the ability to pass in a section offset
1265 table directly, as an alternative to the section_addr_info table.
1266 Document arguments better.
1267 (symbol_file_add): Pass extra arguments to syms_from_objfile.
1268 * symfile.h (syms_from_objfile): Update declaration.
1269 * rs6000-nat.c (objfile_symbol_add): Pass new arguments to
1270 syms_from_objfile.
1271 * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
1272
d28f9cdf
DJ
12732003-01-22 Daniel Jacobowitz <drow@mvista.com>
1274
1275 Original patch by Tom Tromey <tromey@cygnus.com> and
1276 Jason Molenda <jmolenda@apple.com>.
1277 * Makefile.in (PROFILE_CFLAGS): Substitute from configure.
1278 (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS.
1279 * NEWS: Mention profiling.
1280 * configure.in (--enable-gdbtk): Fix typo.
1281 (--enable-profiling): New. Set PROFILE_CFLAGS.
1282 * maint.c (maintenance_set_profile_cmd): Remove NOTYET.
1283 Fill in function.
1284 (profiling_state): New variable.
1285 (mcleanup_wrapper): New function.
1286 (_initialize_maint): Remove NOTYET, fix call to
1287 add_setshow_boolean_cmd for "maint set profile".
1288 * configure: Regenerated.
1289
df21e465
MH
12902003-01-21 Martin M. Hunt <hunt@redhat.com>
1291
1292 * Makefile.in (install-gdbtk): Install PNG images too.
1293
73c1f219
AC
12942003-01-21 Andrew Cagney <ac131313@redhat.com>
1295
1296 * exec.c (text_start): Delete global variable.
1297 (exec_file_attach): Make text_start local to the function.
1298 * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros.
1299 * valops.c (hand_function_call): Delete code that handles
1300 BEFORE_TEXT_END and AFTER_TEXT_END.
1301 * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead
1302 of CALL_DUMMY_LOCATION.
1303 * gdbarch.c: Regenerate.
1304 * inferior.h (deprecated_pc_in_call_dummy_before_text_end)
1305 (deprecated_pc_in_call_dummy_after_text_end): Delete declaration.
1306 * blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
1307 (deprecated_pc_in_call_dummy_after_text_end): Delete functions.
1308 (text_end): Delete extern declaration.
1309
eb4f72c5
AC
13102003-01-21 Andrew Cagney <ac131313@redhat.com>
1311
1312 * frame.h (FRAME_OBSTACK_ZALLOC): Define.
1313 * blockframe.c (backtrace_below_main): Move to "frame.c".
1314 (frame_chain_valid): Delete check for backtrace_below_main.
1315 (_initialize_blockframe): Delete initialization, move ``set
1316 backtrace-below-main'' command to "frame.c".
1317 (do_flush_frames_sfunc): Delete function.
1318 * frame.c: Include "command.h" and "gdbcmd.h".
1319 (frame_type_from_pc): New function.
1320 (create_new_frame): Use frame_type_from_pc.
1321 (legacy_get_prev_frame): New function.
1322 (get_prev_frame): Rewrite. When an old style frame, call
1323 legacy_get_prev_frame. Otherwize, unwind the PC first.
1324 (_initialize_frame): Add ``set backtrace-below-main'' command.
1325 * Makefile.in (frame.o): Update dependencies.
1326
778ce8cc
AC
13272003-01-19 Andrew Cagney <ac131313@redhat.com>
1328
1329 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename
1330 DEPRECATED_REGISTERS_INFO.
1331
01c193c8
AC
13322003-01-19 Andrew Cagney <ac131313@redhat.com>
1333
1334 * MAINTAINERS: Replace `Blanket Write Privs' with `Global
1335 Maintainers'. Update `Various Maintainers'.
1336
dedc2a2b
AC
13372003-01-19 Andrew Cagney <ac131313@redhat.com>
1338
1339 * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
1340 * gdbarch.sh (POP_FRAME): Change to function with predicate.
1341 Suppress actual parameters when `-'.
1342 * gdbarch.h, gdbarch.c: Regenerate.
1343
b7261c70
AC
13442003-01-19 Andrew Cagney <ac131313@redhat.com>
1345
1346 * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore
1347 code handling dummy frames.
1348
dbe9fe58
AC
13492003-01-19 Andrew Cagney <ac131313@redhat.com>
1350
1351 * frame-unwind.h (frame_unwind_pop_ftype): Declare.
1352 (struct frame_unwind): Add field pop.
1353 * frame.h (frame_pop): Declare.
1354 * frame.c (frame_saved_regs_pop): New function.
1355 (trad_frame_unwinder): Add frame_saved_regs_pop.
1356 (frame_pop): New function.
1357 * dummy-frame.c (dummy_frame_pop): New function.
1358 (discard_innermost_dummy): New function.
1359 (generic_pop_dummy_frame): Use discard_innermost_dummy.
1360 (dummy_frame_unwind): Add dummy_frame_pop.
1361 * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
1362 * valops.c (hand_function_call): Ditto.
1363 * stack.c (return_command): Ditto.
1364
570b8f7c
AC
13652003-01-18 Andrew Cagney <ac131313@redhat.com>
1366
1367 * cris-tdep.c: Fix function declaration indentation.
1368 * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
1369 * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
1370 * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
1371 * symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
1372 * xcoffread.c, config/pa/tm-hppa.h: Ditto.
1373 * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
1374
13752003-01-18 Michael Chastain <mec@shout.net>
eaec4d85
MC
1376
1377 * README (Unpacking and Installation -- quick overview):
1378 Warn against ".../gdb-5.3/gdb/configure".
1379
494cca16
AC
13802003-01-18 Andrew Cagney <ac131313@redhat.com>
1381
1382 * dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
1383 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
1384 (struct frame_unwind): Declare opaque.
1385 (dummy_frame_p): Declare function.
1386 * dummy-frame.c (dummy_frame_id_unwind): Make static.
1387 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
1388 * dummy-frame.c: Include "frame-unwind.h".
1389 (dummy_frame_p): New function.
1390 (dummy_frame_unwind): New variable.
1391 * frame.c: Include "frame-unwind.h".
1392 (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
1393 to use the new unwind field.
1394 (set_unwind_by_pc): Delete function.
1395 (create_new_frame, get_prev_frame): Set unwind field using
1396 frame_unwind_find_by_pc.
1397 (trad_frame_unwind, trad_frame_unwinder): New variables.
1398 * frame.h (trad_frame_unwind): Declare variable.
1399 (frame_id_unwind_ftype): Delete declaration.
1400 (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
1401 (struct frame_unwind): Declare opaque.
1402 (struct frame_info): Replace the fields id_unwind, pc_unwind and
1403 register_unwind with a single unwind pointer.
1404 * frame-unwind.h, frame-unwind.c: New files.
1405 * Makefile.in (SFILES): Add frame-unwind.c.
1406 (frame_unwind_h): Define.
1407 (COMMON_OBS): Add frame-unwind.o.
1408 (frame-unwind.o): Specify dependencies.
1409 (frame.o, dummy-frame.o): Update dependencies.
1410
4efb68b1
AC
14112003-01-18 Andrew Cagney <ac131313@redhat.com>
1412
1413 * ada-valprint.c: Eliminate PTR.
1414 * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
1415 * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
1416 * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
1417 * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
1418 * remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
1419 * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
1420 * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
1421
a84d24ee
AC
14222003-01-17 Andrew Cagney <ac131313@redhat.com>
1423
762f08a3
AC
1424 * main.c (captured_main): Don't use PTR.
1425 * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp.
1426 * gdbtypes.c (lookup_primitive_typename): Ditto.
1427 (lookup_struct_elt_type): Ditto.
1428 * f-valprint.c (info_common_command): Ditto.
1429 (list_all_visible_commons): Ditto.
1430 * jv-typeprint.c (java_type_print_base): Ditto.
1431
a84d24ee
AC
1432 * config/djgpp/fnchange.lst: Rename mi1-var-block.exp,
1433 mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp.
1434 Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename
1435 i386-interix-nat.c and i386-interix-tdep.c. Rename
1436 m68klinux-nat.c and m68klinux-tdep.c. Rename
1437 config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename
1438 bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename
1439 gdb/objc-exp.tab.c and gdb/ada-exp.tab.c
1440 * main.c (captured_main): Use xfree, not free.
1441
c170fb60
AC
14422003-01-16 Andrew Cagney <ac131313@redhat.com>
1443
1444 * frame.h (frame_id_unwind_ftype): Change type so that the frame's
1445 ID back using a parameter.
1446 * frame.c (frame_id_unwind): Update call.
1447 (frame_saved_regs_id_unwind): Update.
1448 * dummy-frame.c (dummy_frame_id_unwind): Update function.
1449 * dummy-frame.h (struct frame_id): Add opaque declaration.
1450 (dummy_frame_id_unwind): Update declaration.
1451
867f3898
AC
14522003-01-15 Andrew Cagney <ac131313@redhat.com>
1453
1454 * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.
1455
40622be8 14562003-01-15 Stephen P. Smith <ischis2@cox.net>
de3a8c23 1457
40622be8 1458 * MAINTAINERS (Stephen P. Smith): Updated email address.
de3a8c23 1459
ae66c1fc
EZ
14602003-01-14 Elena Zannoni <ezannoni@redhat.com>
1461
997b089a 1462 Fix PR gdb/898
ae66c1fc
EZ
1463 * breakpoint.c (until_break_command): Add new argument. Use it to
1464 decide whether to stop only at the current frame or not.
1465 * breakpoint.h (until_break_command): Update prototype.
1466 * infcmd.c (until_command): Add new argument to until_break_command
1467 call.
1468 (advance_command): New function.
1469 (_initialize_infcmd): Update help string for 'until' command.
1470 Add new 'advance' command.
1471
a04257e6
DC
14722003-01-14 David Carlton <carlton@math.stanford.edu>
1473
1474 * linespec.c (decode_line_1): Normalize comments.
1475 (set_flags): Ditto.
1476 (locate_first_half): Ditto.
1477 (decode_compound): Ditto.
1478 (symtab_from_filename): Ditto.
1479 (decode_all_digits): Ditto.
1480 (decode_dollar): Ditto.
1481 (find_methods): Ditto.
1482 (find_toplevel_char): Ditto.
1483
1bac305b
AC
14842003-01-13 Andrew Cagney <ac131313@redhat.com>
1485
1486 * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright.
1487 * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright.
1488 * elfread.c, eval.c, expprint.c, expression.h: Update copyright.
1489 * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright.
1490 * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright.
1491 * language.c, language.h, m32r-tdep.c: Update copyright.
1492 * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright.
1493 * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright.
1494 * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright.
1495 * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright.
1496 * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright.
1497 * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright.
1498
25caa7a8
EZ
14992003-01-13 Elena Zannoni <ezannoni@redhat.com>
1500
1501 * stabsread.h (process_later, resolve_cfront_continuation):
1502 Obsolete.
1503 Update copyright years.
1504 * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront.
1505 Update copyright year.
1506 * dbxread.c(struct cont_elem): Obsolete.
1507 (process_later, process_now): Obsolete functions.
1508 (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support.
1509 Update copyright year.
1510 * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros.
1511 (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions.
1512 * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront.
1513 (parse_partial_symbols): Obsolete cfront support.
1514 * stabsread.c
1515 (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete
1516 macros.
1517 (get_substring, get_cfront_method_physname, msg_unknown_complaint,
1518 read_cfront_baseclasses, read_cfront_member_functions,
1519 resolve_cfront_continuation,read_cfront_static_fields,
1520 copy_cfront_struct_fields): Obsolete functions.
1521 (define_symbol, read_one_struct_field): Obsolete cfront support.
1522 * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support.
1523 Update Copyright year.
1524
7789c6f5
EZ
15252003-01-13 Elena Zannoni <ezannoni@redhat.com>
1526
1527 * stack.c (print_frame_info, print_stack_frame_base_stub,
1528 print_stack_frame_base, show_and_print_stack_frame_stub,
1529 show_and_print_stack_frame, print_only_stack_frame_stub,
1530 print_only_stack_frame): Delete functions.
1531 (print_stack_frame_stub): Call print_frame_info instead of
1532 print_frame_info_base.
1533 (print_frame_info_base): Rename to print_frame_info.
1534 (backtrace_command_1): Call print_frame_info, instead of
1535 print_frame_info_base.
1536 (current_frame_command): Call print_stack_frame, instead of
1537 print_only_stack_frame.
1538 (frame_command): Call print_stack_frame, instead of
1539 show_and_print_stack_frame.
1540 (up_command): Ditto.
1541 (down_command): Ditto.
1542 * frame.h (print_only_stack_frame): Delete prototype.
1543 * infrun.c (normal_stop): Call print_stack_frame, instead of
1544 show_and_print_stack_frame.
1545 * thread.c (info_threads_command): Call print_stack_frame, instead
1546 of print_only_stack_frame.
1547
3f5a3016
AC
15482003-01-13 Andrew Cagney <ac131313@redhat.com>
1549
d99ba314
AC
1550 * README (Graphical interface to GDB): Update URL. Point at
1551 gdb/links/.
1552
3f5a3016
AC
1553 * gdb_indent.sh: Update to version 2.2.9. Warn when not exact
1554 version match.
1555
083ae935
DJ
15562003-01-13 Daniel Jacobowitz <drow@mvista.com>
1557
1558 * symtab.c (find_pc_sect_line): Don't consider end-of-function
1559 lines.
1560
5365276c
DJ
15612003-01-13 Daniel Jacobowitz <drow@mvista.com>
1562
1563 * thread-db.c (attach_thread): Prototype.
1564 (struct private_thread_info): Remove lwpid. Add thread handle (th),
1565 thread information (ti), and valid flags (th_valid, ti_valid).
1566 (attach_thread): Move target_pid_to_str call to after the thread
1567 is added to GDB's list. Initialize the cache.
1568 (thread_get_info_callback, thread_db_map_id2thr)
1569 (thread_db_get_info): New functions.
1570 (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers)
1571 (thread_db_store_registers, thread_db_thread_alive)
1572 (thread_db_get_thread_local_address): Use them.
1573 (thread_db_pid_to_str): Likewise. Return "Missing" instead
1574 of calling error() for threads in unknown state.
1575
1576 (clear_lwpid_callback): New function.
1577 (thread_db_resume): Use it to clear the cache.
1578
9fc30b6b
DJ
15792003-01-13 Daniel Jacobowitz <drow@mvista.com>
1580
1581 * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
1582 (resume_callback): Remove dead code.
1583
8f871025
AC
15842003-01-13 Andrew Cagney <ac131313@redhat.com>
1585
1586 * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
1587 predicate.
1588 * gdbarch.h, gdbarch.c: Regenerate.
1589 * stack.c (frame_info): Only initialize the saved registers when
1590 FRAME_INIT_SAVED_REGS_P.
1591 * frame.c (frame_saved_regs_register_unwind): Assert
1592 FRAME_INIT_SAVED_REGS_P.
1593 (deprecated_generic_get_saved_register): Ditto.
1594
3f565f1e
DJ
15952003-01-13 Daniel Jacobowitz <drow@mvista.com>
1596
1597 * source.c (openp): Squelch warning about "filename".
1598
072b1022
DJ
15992003-01-13 Daniel Jacobowitz <drow@mvista.com>
1600
1601 * source.c (openp): If the file does not exist don't necessarily
1602 search the path.
1603
973ccf8b
DJ
16042003-01-13 Daniel Jacobowitz <drow@mvista.com>
1605
1606 Fix PR gdb/872.
1607 * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN.
1608 (integer_types_same_name_p): New function.
1609 (rank_one_type): Use it.
1610 * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN.
1611
030292b7
DJ
16122003-01-13 Daniel Jacobowitz <drow@mvista.com>
1613
1614 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
1615 variables.
1616 (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE).
1617 * configure.in: Add --with-sysroot.
1618 * configure: Regenerated.
1619 * main.c (gdb_sysroot): New variable.
1620 (captured_main): Initialize gdb_sysroot.
1621 * defs.h (gdb_sysroot): New extern declaration.
1622 * solib.c (_initialize_solib): Initialize solib_absolute_prefix.
1623
afb5d334
MC
16242003-01-12 Michael Chastain <mec@shout.net>
1625
1626 * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
1627
751ceeb4
MC
16282003-01-12 Michael Chastain <mec@shout.net>
1629
1630 * top.c (print_gdb_version): Bump copyright year to 2003.
1631
94cd26f8
DC
16322003-01-12 David Carlton <carlton@bactrian.org>
1633
1634 * linespec.c (symtab_from_filename): Rename variable 's' to
1635 'file_symtab'.
1636
1ce79225
AC
16372003-01-12 Andrew Cagney <ac131313@redhat.com>
1638
1639 * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
1640 dummy frame.
1641 (d10v_frame_saved_pc, d10v_frame_chain): Ditto.
1642
fa1fd571
AC
16432003-01-12 Andrew Cagney <ac131313@redhat.com>
1644
1645 * d10v-tdep.c: Include "gdb_assert.h".
1646 (d10v_store_return_value): Rewrite to match current interface.
1647 (d10v_extract_struct_value_address): Ditto.
1648 (d10v_extract_return_value): Ditto.
1649 (d10v_gdbarch_init): Set store_restore_value,
1650 extract_struct_value_address and extract_return_value.
1651
68b8d23e
JB
16522003-01-12 J. Brobecker <brobecker@gnat.com>
1653
1654 * hpread.c (set_namestring): New procedure replacing the
1655 SET_NAMESTRING macro.
1656 (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
1657 by calls to set_namestring.
1658
16592003-01-11 J. Brobecker <brobecker@gnat.com>
1fb309ea
JB
1660
1661 * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
1662 a compilation warning.
1663 (hpread_process_one_debug_symbol): Likewise.
1664
88d262ca
DC
16652003-01-10 David Carlton <carlton@math.stanford.edu>
1666
1667 * linespec.c (decode_line_1): Rename variable 's' to
1668 'file_symtab'.
1669 (decode_all_digits): Rename argument 's' to 'file_symtab'.
1670 (decode_dollar): Ditto.
1671 (decode_variable): Ditto.
1672 (symbol_found): Ditto.
1673
86669319
MC
16742003-01-09 Michael Chastain <mec@shout.net>
1675
1676 * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
1677
616a9dc4
CV
16782003-01-07 Corinna Vinschen <vinschen@redhat.com>
1679
1680 * win32-nat.c (set_process_privilege): New function.
1681 (child_attach): Call set_process_privilege() to enable the
1682 SE_DEBUG_NAME user privilege if available in process token.
1683
3269bcfa
JB
16842003-01-10 J. Brobecker <brobecker@gnat.com>
1685
1686 * hpread.c (hpread_process_one_debug_symbol): Fix a small
1687 compilation error in the previous revision.
1688
2b0ee454
DC
16892003-01-09 David Carlton <carlton@math.stanford.edu>
1690
1691 * linespec.c: Update copyright.
1692
b3ba1b44
DJ
16932003-01-09 Daniel Jacobowitz <drow@mvista.com>
1694
1695 * lin-lwp.c (child_wait): Ignore exit statuses for processes other
1696 than inferior_ptid.
1697 (lin_lwp_wait): Ignore exit statuses for unknown LWPs.
1698
4ef3f3be
AC
16992003-01-09 Andrew Cagney <ac131313@redhat.com>
1700
479ab5a0
AC
1701 * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
1702 Update comments.
1703 * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
1704 (frame_saved_regs_zalloc): Update.
1705 (frame_saved_regs_register_unwind): Update.
1706 (create_new_frame): Update.
1707 (get_prev_frame): Update.
1708 (frame_extra_info_zalloc): Update.
1709 (deprecated_get_frame_saved_regs): Update.
1710 * dwarf2cfi.c (cfi_init_extra_frame_info): Update.
1711 * cris-tdep.c: Update comment.
1712
bde58177
AC
1713 * somsolib.h: Fix function indentation.
1714 * disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
1715 * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
1716 * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
1717 * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
1718 * somsolib.c, inftarg.c: Remove assignment in if conditional.
1719
4ef3f3be
AC
1720 * infrun.c (follow_fork): Use ISO C definition.
1721 * expprint.c (print_subexp): Use xfree instead of free.
1722 * charset.c: Include "gdb_string.h" instead of <string.h>.
1723 (register_iconv_charsets): Use ISO C definition.
1724 (host_charset, target_charset): Ditto.
1725 * Makefile.in (charset.o): Update dependencies.
1726 (mi-cmd-env.o): Update dependencies.
1727
1c615f7a
AC
17282003-01-08 Andrew Cagney <cagney@redhat.com>
1729
1730 * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
1731 get_frame_base.
1732
c9a1dc08
AC
17332003-01-08 Andrew Cagney <ac131313@redhat.com>
1734
1735 * gdb_mbuild.sh: Add --keep option. When specified, keep the
1736 build directories. Save edited gdb output in Mbuild.log. If a
1737 build fails, remove any final GDB executable.
1738
dbad9d94
AC
17392003-01-08 Andrew Cagney <ac131313@redhat.com>
1740
1741 * gdb_mbuild.sh: Edit the output of `maint print architecture'
1742 replacing hex constants with function names and stripping leading
1743 file name directory prefixes.
1744
8d357cca
AC
17452003-01-08 Andrew Cagney <cagney@redhat.com>
1746
1747 * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
1748 get_frame_base.
1749
bca02a8a
DC
17502003-01-08 David Carlton <carlton@math.stanford.edu>
1751
1752 * linespec.c (decode_line_1): Move code into decode_variable.
1753 (decode_variable): New function.
1754
7f8ab3a0
AC
17552003-01-08 Andrew Cagney <ac131313@redhat.com>
1756
1757 * mn10300-tdep.c (analyze_dummy_frame): Fix typo.
1758
7b5849cc
AC
17592003-01-08 Andrew Cagney <cagney@redhat.com>
1760
1761 * cris-tdep.c (cris_frame_init_saved_regs): Use
1762 get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
1763 saved_regs buffer.
1764 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
1765 (sh64_nofp_frame_init_saved_regs): Ditto.
1766 (sh_fp_frame_init_saved_regs): Ditto.
1767 * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
1768 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
1769 * mcore-tdep.c (analyze_dummy_frame): Ditto.
1770 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
1771
72a5efb3
DJ
17722003-01-08 Daniel Jacobowitz <drow@mvista.com>
1773
1774 * minsyms.c (lookup_minimal_symbol): Update comment.
1775 (lookup_minimal_symbol_text): Update comment. Use the hash table.
1776 (lookup_minimal_symbol_solib_trampoline): Likewise.
1777
11c02a10
AC
17782003-01-08 Andrew Cagney <cagney@redhat.com>
1779
aab3ea25
AC
1780 * d10v-tdep.c (d10v_init_extra_frame_info): Use
1781 frame_relative_level.
1782
da50a4b7
AC
1783 * alpha-tdep.c: Use get_frame_extra_info.
1784 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
1785 * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
1786 * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
1787 * sparc-tdep.c, xstormy16-tdep.c: Ditto.
1788
11c02a10
AC
1789 * alpha-tdep.c: Use get_next_frame.
1790 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
1791 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
1792 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
1793 * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
1794 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
1795 * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
1796 * xstormy16-tdep.c: Ditto.
1797
1e2330ba
AC
17982003-01-07 Andrew Cagney <cagney@redhat.com>
1799
1800 * alpha-tdep.c: Use get_frame_base.
1801 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
1802 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
1803 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
1804 * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
1805 * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
1806 * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
1807 * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
1808 * config/sparc/tm-sparc.h: Ditto.
1809
2d75187b
AC
18102003-01-07 Andrew Cagney <cagney@redhat.com>
1811
1812 * frame.c (deprecated_get_frame_context): New function.
1813 (deprecated_set_frame_context): New function.
1814 * frame.h (deprecated_get_frame_context): Declare.
1815 (deprecated_set_frame_context): Declare.
1816 * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
1817 (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
1818
483d36b2
AC
18192003-01-07 Andrew Cagney <cagney@redhat.com>
1820
1821 * frame.c (deprecated_set_frame_next_hack): New function.
1822 (deprecated_set_frame_prev_hack): New function.
1823 * frame.h (deprecated_set_frame_next_hack): Declare.
1824 (deprecated_set_frame_prev_hack): Declare.
1825 * mcore-tdep.c (analyze_dummy_frame): Use
1826 deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
1827 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
1828
14e91ac5
DC
18292003-01-07 David Carlton <carlton@math.stanford.edu>
1830
1831 * linespec.c (decode_line_1): Move code into decode_dollar.
1832 (decode_dollar): New function.
1833
b0c6b05c
AC
18342003-01-07 Andrew Cagney <cagney@redhat.com>
1835
1836 * arm-tdep.c (arm_init_extra_frame_info): Use
1837 deprecated_update_frame_base_hack.
1838 * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto.
1839 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
1840 (fix_frame_pointer): Ditto.
1841 (mn10300_analyze_prologue): Ditto.
1842
a00a19e9
AC
18432003-01-07 Andrew Cagney <cagney@redhat.com>
1844
1845 * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
1846 extra_info using frame_extra_info_zalloc.
1847 * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
1848 * sh-tdep.c (sh_init_extra_frame_info): Ditto.
1849 (sh64_init_extra_frame_info): Ditto.
1850 * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
1851 * s390-tdep.c (s390_init_extra_frame_info): Ditto.
1852 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
1853 * mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
1854 * frv-tdep.c (frv_init_extra_frame_info): Ditto.
1855 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
1856 * ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
1857 * h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
1858 * d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
1859 * cris-tdep.c (cris_init_extra_frame_info): Ditto.
1860 * arm-tdep.c (arm_init_extra_frame_info): Ditto.
1861 * alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
1862
1863 * mn10300-tdep.c (analyze_dummy_frame): Use
1864 deprecated_set_frame_extra_info_hack.
1865 * mcore-tdep.c (analyze_dummy_frame): Ditto.
1866
1fb4c65b
JB
18672003-01-07 J. Brobecker <brobecker@gnat.com>
1868
1869 * mdebugread.c (parse_symbol): Skip stProc entries which storage
1870 class is not scText. These do not define "real" procedures.
1871 (parse_partial_symbols): Likewise.
1872
9fe7d6bf
MS
18732003-01-06 Michael Snyder <msnyder@redhat.com>
1874
1875 * lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
1876
f6c609c4
AC
18772003-01-06 Andrew Cagney <ac131313@redhat.com>
1878
1879 * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
1880 * frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
1881 * arm-tdep.c (arm_frame_chain): Allocate caller_fi using
1882 deprecated_frame_xmalloc_with_cleanup.
1883 * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
1884 deprecated_frame_xmalloc.
1885 * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
1886 * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
1887
d995ff4b
AC
18882003-01-06 Andrew Cagney <cagney@redhat.com>
1889
84dc46cb
AC
1890 * x86-64-linux-tdep.c: Include "osabi.h".
1891 * Makefile.in (x86-64-linux-tdep.o): Update dependencies.
1892
d995ff4b
AC
1893 * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
1894
66140c26
AC
18952003-01-06 Andrew Cagney <cagney@redhat.com>
1896
1897 * MAINTAINERS (Target Instruction Set Architectures): Update
1898 arm-elf. Can be built with -Werror, has been multiarched.
1899
1900 * value.h (unpack_long): Make buffer parameter constant.
1901 (unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
1902 * scm-lang.h (scm_parse): Ditto.
1903 * defs.h (extract_typed_address, extract_address): Ditto.
1904 (extract_long_unsigned_integer): Ditto.
1905 * inferior.h (unsigned_pointer_to_address): Ditto.
1906 (signed_pointer_to_address): Ditto.
1907 * gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
1908 * gdbarch.h, gdbarch.c: Regenerate.
1909 * findvar.c (extract_long_unsigned_integer): Update.
1910 (extract_address): Update.
1911 (extract_typed_address): Update.
1912 (unsigned_pointer_to_address): Update.
1913 * values.c (unpack_long): Update.
1914 (unpack_double): Update.
1915 (unpack_pointer): Update.
1916 (unpack_field_as_long): Update.
1917 * d10v-tdep.c (d10v_pointer_to_address): Update.
1918 * avr-tdep.c (avr_pointer_to_address): Update.
1919 * scm-lang.c (scm_unpack): Update.
1920 * findvar.c (signed_pointer_to_address): Update.
1921
b089b3da
ML
19222003-01-06 Michal Ludvig <mludvig@suse.cz>
1923
1924 * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore
1925 since it is in i386-tdep.c.
1926
aff87235
JB
19272003-01-06 J. Brobecker <brobecker@gnat.com>
1928
1929 * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
1930 failure introduced in the previous change.
1931
34f5e845
MC
19322003-01-05 Michael Chastain <mec@shout.net>
1933
1934 * README: Remove references to deleted remote-*.c files:
1935 remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
1936 remote-nrom.c, remote-os9k.c, remote-udi.c.
1937
28bcfd30
MK
19382003-01-05 Mark Kettenis <kettenis@gnu.org>
1939
1940 * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
1941 * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
1942 i386_get_longjmp_target.
1943
15a5b3ee
AC
19442003-01-05 Andrew Cagney <ac131313@redhat.com>
1945
1946 * arm-tdep.c (prologue_cache): Change to a pointer.
1947 (_initialize_arm_tdep): Allocate prologue_cache.
1948 (check_prologue_cache): Update.
1949 (save_prologue_cache): Update.
1950 (arm_gdbarch_init): Update.
1951
c263362b
DJ
19522003-01-04 Daniel Jacobowitz <drow@mvista.com>
1953
1954 * stabsread.c (update_method_name_from_physname): Call complaint()
1955 instead of error.
1956
51603483
DJ
19572003-01-04 Daniel Jacobowitz <drow@mvista.com>
1958
1959 * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
1960 * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
1961 * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
1962
1963 * blockframe.c: Include "gdbcmd.h" and "command.h".
1964 (backtrace_below_main): New variable.
1965 (file_frame_chain_valid, func_frame_chain_valid)
1966 (nonnull_frame_chain_valid, generic_file_frame_chain_valid)
1967 (generic_func_frame_chain_valid): Remove functions.
1968 (frame_chain_valid, do_flush_frames_sfunc): New functions.
1969 (_initialize_blockframe): New function.
1970 * Makefile.in (blockframe.o): Update dependencies.
1971 * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
1972 comment. Call frame_chain_valid ().
1973 * frame.h: Remove old prototypes. Add prototype for
1974 frame_chain_valid and update comments to match.
1975 * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
1976 Remove old comment.
1977 * gdbarch.h: Regenerated.
1978 * gdbarch.c: Regenerated.
1979
1980 * alpha-tdep.c (alpha_gdbarch_init): Don't call
1981 set_gdbarch_frame_chain_valid.
1982 * avr-tdep.c (avr_gdbarch_init): Likewise.
1983 * cris-tdep.c (cris_gdbarch_init): Likewise.
1984 * frv-tdep.c (frv_gdbarch_init): Likewise.
1985 * h8300-tdep.c (h8300_gdbarch_init): Likewise.
1986 * i386-tdep.c (i386_svr4_init_abi): Likewise.
1987 (i386_nw_init_abi): Likewise.
1988 (i386_gdbarch_init): Likewise.
1989 * ia64-tdep.c (ia64_gdbarch_init): Likewise.
1990 * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
1991 * m68k-tdep.c (m68k_gdbarch_init): Likewise.
1992 * mcore-tdep.c (mcore_gdbarch_init): Likewise.
1993 * mips-tdep.c (mips_gdbarch_init): Likewise.
1994 * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
1995 * ns32k-tdep.c (ns32k_gdbarch_init): Likewise.
1996 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise.
1997 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
1998 * s390-tdep.c (s390_gdbarch_init): Likewise.
1999 * sh-tdep.c (sh_gdbarch_init): Likewise.
2000 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
2001 * v850-tdep.c (v850_gdbarch_init): Likewise.
2002 * vax-tdep.c (vax_gdbarch_init): Likewise.
2003 * x86-64-tdep.c (x86_64_init_abi): Likewise.
2004
2005 * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define.
2006 * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise.
2007 * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise.
2008 * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise.
2009 * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise.
2010 * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise.
2011 * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise.
2012 * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise.
2013
b00a8037
DJ
20142002-01-04 Daniel Jacobowitz <drow@mvista.com>
2015
2016 * Makefile.in (acconfig_h): Remove incorrect macro.
2017 (config_h): Define.
2018 (osabi.o): Update dependencies.
2019 * configure.tgt: Set gdb_osabi based on target triplet.
2020 * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
2021 * configure: Regenerated.
2022 * config.in: Regenerated.
2023 * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
2024 (GDB_OSABI_DEFAULT): Define if not already defined.
2025 (user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
2026 (set_osabi_string): New variables.
2027 (gdbarch_register_osabi): Add new OS ABI to
2028 gdb_osabi_available_names.
2029 (gdbarch_lookup_osabi): Honor specified and default OS ABIs.
2030 (set_osabi, show_osabi): New functions.
2031 (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
2032
4be87837
DJ
20332003-01-04 Daniel Jacobowitz <drow@mvista.com>
2034
2035 * arch-utils.c (gdbarch_info_init): Set osabi to
2036 GDB_OSABI_UNINITIALIZED.
2037 * gdbarch.sh: Add osabi to struct gdbarch and to struct
2038 gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi
2039 in gdbarch_list_lookup_by_info and in gdbarch_update_p.
2040 * gdbarch.c: Regenerated.
2041 * gdbarch.h: Regenerated.
2042 * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
2043 there's no BFD.
2044 (gdbarch_init_osabi): Remove osabi argument; use info.osabi.
2045 * osabi.h (enum gdb_osabi): Move to defs.h.
2046 (gdbarch_init_osabi): Update prototype.
2047 * defs.h (enum gdb_osabi): Moved here.
2048 * Makefile.in: Update dependencies.
2049
2050 * alpha-tdep.h: Don't include "osabi.h".
2051 (struct gdbarch_tdep): Remove osabi member.
2052 * alpha-tdep.c: Include "osabi.h".
2053 (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
2054 iterate over arches. Update call to gdbarch_init_osabi.
2055 (alpha_dump_tdep): Don't dump osabi.
2056 * alpha-linux-tdep.c: Include "osabi.h".
2057 * alpha-osf1-tdep.c: Include "osabi.h".
2058 * alphafbsd-tdep.c: Include "osabi.h".
2059 * alphanbsd-tdep.c: Include "osabi.h".
2060
2061 * arm-tdep.h: Don't include "osabi.h".
2062 (struct gdbarch_tdep): Remove osabi member.
2063 * arm-tdep.c: Include "osabi.h".
2064 (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
2065 iterate over arches. Update call to gdbarch_init_osabi.
2066 (arm_dump_tdep): Don't dump osabi.
2067 * arm-linux-tdep.c: Include "osabi.h".
2068 * armnbsd-tdep.c: Include "osabi.h".
2069
2070 * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi.
2071 Update call to gdbarch_init_osabi.
2072
2073 * i386-tdep.h: Don't include "osabi.h".
2074 (struct gdbarch_tdep): Remove osabi member.
2075 * i386-tdep.c: Include "osabi.h".
2076 (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
2077 iterate over arches. Update call to gdbarch_init_osabi.
2078 (i386_dump_tdep): Don't dump osabi.
2079 * i386-linux-tdep.c: Include "osabi.h".
2080 * i386-sol2-tdep.c: Include "osabi.h".
2081 * i386bsd-tdep.c: Include "osabi.h".
2082 * i386gnu-tdep.c: Include "osabi.h".
2083 * i386ly-tdep.c: Include "osabi.h".
2084 * i386nbsd-tdep.c: Include "osabi.h".
2085 * i386obsd-tdep.c: Include "osabi.h".
2086
2087 * mips-tdep.c (struct gdbarch_tdep): Remove osabi member.
2088 (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
2089 check osabi when iterating over arches. Update call to
2090 gdbarch_init_osabi.
2091 (mips_dump_tdep): Don't dump osabi.
2092
2093 * ns32k-tdep.h: Don't include "osabi.h".
2094 (struct gdbarch_tdep): Remove.
2095 * ns32k-tdep.c (ns32k_gdbarch_init): Don't call
2096 gdbarch_lookup_osabi. Don't iterate over arches. Don't
2097 allocate tdep. Update call to gdbarch_init_osabi.
2098 (ns32k_dump_tdep): Remove.
2099 (_initialize_ns32k_tdep): Update call to gdbarch_register.
2100 * ns32knbsd-tdep.c: Include "osabi.h".
2101
2102 * ppc-tdep.h: Don't include "osabi.h".
2103 (struct gdbarch_tdep): Remove osabi member.
2104 * rs6000-tdep.c: Include "osabi.h".
2105 (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check
2106 osabi when iterating over arches. Update call to
2107 gdbarch_init_osabi.
2108 (rs6000_dump_tdep): Don't dump osabi.
2109 * ppc-linux-tdep.c: Include "osabi.h".
2110 * ppcnbsd-tdep.c: Include "osabi.h".
2111
2112 * sh-tdep.h: Don't include "osabi.h".
2113 (struct gdbarch_tdep): Remove osabi member.
2114 * sh-tdep.c: Include "osabi.h".
2115 (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
2116 iterate over arches. Update call to gdbarch_init_osabi.
2117 (sh_dump_tdep): Don't dump osabi.
2118 * shnbsd-tdep.c: Include "osabi.h".
2119
2120 * sparc-tdep.c: Include "osabi.h".
2121 (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
2122 iterate over arches. Update call to gdbarch_init_osabi.
2123 (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the
2124 tdep structure.
2125
2126 * vax-tdep.h: Don't include "osabi.h".
2127 (struct gdbarch_tdep): Remove.
2128 * vax-tdep.c: Include "osabi.h".
2129 (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
2130 iterate over arches. Don't allocate tdep. Update call
2131 to gdbarch_init_osabi.
2132 (vax_dump_tdep): Remove.
2133 (_initialize_vax_tdep): Update call to gdbarch_register.
2134
a881cf8e
DJ
21352003-01-04 Daniel Jacobowitz <drow@mvista.com>
2136
2137 * breakpoint.c (insert_breakpoints): Skip disabled breakpoints
2138 entirely.
2139 (breakpoint_re_set_one): Don't fetch the value for a disabled
2140 watchpoint.
2141
1e698235
DJ
21422003-01-04 Daniel Jacobowitz <drow@mvista.com>
2143
2144 * buildsym.h (processing_hp_compilation): Remove obsolete variable.
2145 * gdbarch.sh Remove include of "value.h" in gdbarch.h.
2146 (COERCE_FLOAT_TO_DOUBLE): Remove.
2147 * gdbarch.c: Regenerate.
2148 * gdbarch.h: Regenerate.
2149 * Makefile.in: Remove value_h from gdbarch_h.
2150 * valops.c (coerce_float_to_double): New variable.
2151 (default_coerce_float_to_double): Remove.
2152 (standard_coerce_float_to_double): Remove.
2153 (value_arg_coerce): Use coerce_float_to_double.
2154 (_initialize_valops): Add "set coerce-float-to-double".
2155 * value.h (default_coerce_float_to_double): Remove prototype.
2156 (standard_coerce_float_to_double): Remove prototype.
2157
2158 * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
2159 prototyped.
2160 * mdebugread.c (parse_symbol): Likewise.
2161 * stabsread.c (define_symbol): Mark all functions as prototyped.
2162
2163 * hppa-tdep.c (hppa_coerce_float_to_double): Remove.
2164 * alpha-tdep.c (alpha_gdbarch_init): Remove call to
2165 set_gdbarch_coerce_float_to_double.
2166 * arm-tdep.c (arm_gdbarch_init): Likewise.
2167 * frv-tdep.c (frv_gdbarch_init): Likewise.
2168 * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
2169 * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
2170 * mips-tdep.c (mips_gdbarch_init): Likewise.
2171 (mips_coerce_float_to_double): Remove.
2172 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
2173 (rs6000_coerce_float_to_double): Remove.
2174 * s390-tdep.c (s390_gdbarch_init): Likewise.
2175 * sh-tdep.c (sh_gdbarch_init): Likewise.
2176 (sh_coerce_float_to_double): Remove.
2177 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
2178 (sparc_coerce_float_to_double): Remove.
2179 * v850-tdep.c (v850_gdbarch_init): Likewise.
2180 * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
2181 * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
2182 * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
2183 (hppa_coerce_float_to_double): Remove prototype.
2184 * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
2185
f436a26a
DJ
21862003-01-04 Daniel Jacobowitz <drow@mvista.com>
2187
2188 * regformats/reg-m68k.dat: Remove fpcode and fpflags.
2189
248f8055
DJ
21902003-01-04 Daniel Jacobowitz <drow@mvista.com>
2191
2192 Suggested by Stewart Brown <sb24@avaya.com>:
2193 * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
2194 in recursive calls. Handle TYPE_CODE_TYPEDEF.
2195 (c_type_print_varspec_suffix): Likewise.
2196
72cfdc76
MK
21972003-01-04 Mark Kettenis <kettenis@gnu.org>
2198
bfd260bb
MK
2199 * configure.in: Don't set and AC_SUBST SUBDIRS.
2200 * configure: Regenerated.
2201
72cfdc76
MK
2202 * configure.in: Remove code dealing with shared libraries.
2203 * Makefile.in: Remove HLDFLAGS and HLDENV.
2204 * configure: Regenerated.
2205
c8b8a898
AC
22062003-01-04 Andrew Cagney <ac131313@redhat.com>
2207
2208 * frame.c (deprecated_frame_xmalloc): New function.
2209 (deprecated_set_frame_saved_regs_hack): New function.
2210 (deprecated_set_frame_extra_info_hack): New function.
2211 * frame.h (deprecated_frame_xmalloc): Declare.
2212 (deprecated_set_frame_saved_regs_hack): Declare.
2213 (deprecated_set_frame_extra_info_hack): Declare.
2214
14abd0fb
MK
22152003-01-04 Mark Kettenis <kettenis@gnu.org>
2216
8ee53726
MK
2217 * configure.in: Move code that provides the --enable-gdbtk option
2218 right after the code that handles the --enable-tui option, and
2219 polish it somewhat.
2220 * configure: Regenerated.
2221
14abd0fb
MK
2222 * configure.in: Call AC_GNU_SOURCE. Check for pread64 using
2223 AC_CHECK_FUNCS and remove the old check for pread64.
2224 * acinclude.m4 (AC_GNU_SOURCE): New macro.
2225 * acconfig.h (_GNU_SOURCE): Add.
2226 (HAVE_PREAD64): Remove.
2227 * configure, aclocal.m4, config.in: Regenerated.
2228
b2fb4676
AC
22292003-01-03 Andrew Cagney <ac131313@redhat.com>
2230
2231 * alpha-tdep.c: Use get_frame_saved_regs.
2232 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
2233 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
2234 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
2235 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
2236 * vax-tdep.c, xstormy16-tdep.c: Ditto.
2237
8dcde887
MK
22382003-01-03 Mark Kettenis <kettenis@gnu.org>
2239
2240 * configure.in: Remove all use of the SUBDIRS variable; add
2241 directories using the AC_CONFIG_SUBDIRS macro instead. Polish
2242 code providing the --enable-multi-ice option, and move it right in
2243 front of the code that checks whether gdbserver is supported.
2244 Polish that too.
2245 * configure: Regenerated.
2246 * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
2247 @SUBDIRS@.
2248
8ccd593b
AC
22492003-01-03 Andrew Cagney <cagney@redhat.com>
2250
2251 * alpha-tdep.c: Use deprecated_update_frame_base_hack.
2252 * avr-tdep.c, cris-tdep.c: Ditto.
2253 * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
2254 * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
2255
91151a06
MK
22562003-01-03 Mark Kettenis <kettenis@gnu.org>
2257
2258 * configure.in: Remove --enable-netrom option.
2259 * configure: Regenerated.
2260
8fe84d01
MK
22612003-01-03 Mark Kettenis <kettenis@gnu.org>
2262
2263 * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
2264 declaration for `struct re_pattern_buffer' instead.
2265 * Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
2266
f0394be6
JB
22672003-01-03 J. Brobecker <brobecker@gnat.com>
2268
2269 * mdebugread.c (parse_symbol): Count until the stEnd matching
2270 the structure name.
2271
27e9bf90
MK
22722003-01-02 Mark Kettenis <kettenis@gnu.org>
2273
93d331ba
MK
2274 * configure.in: Remove --with-cpu option.
2275 subscripts. Remove evil changequotes here.
2276 * acconfig.h (TARGET_CPU_DEFAULT): Remove.
2277 * config.in, configure: Regenerated.
2278
27e9bf90
MK
2279 * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
2280 * configure.in: Cleanup section that sources GDB and BFD configure
2281 subscripts. Remove evil changequotes here.
2282 * config.in, configure: Regenerated.
2283
50abf9e5
AC
22842003-01-02 Andrew Cagney <ac131313@redhat.com>
2285
2286 * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
2287 frame accessor methods.
2288 * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
2289 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
2290 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
2291 * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
2292 * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
2293 * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
2294 * z8k-tdep.c: Ditto.
2295
287c1a40
MK
22962003-01-02 Mark Kettenis <kettenis@gnu.org>
2297
f5dbc56d
MK
2298 * configure.in: Remove UI_OUT configuration code.
2299 * ada-lang.c: Update assuming UI_OUT is always true.
2300 * Makefile.in (UIOUT_CFLAGS): Remove.
2301 * configure: Regenerated.
2302 * TODO: Remove blurb about elimination of -DUI_OUT.
2303
627af7ea
MK
2304 * configure.in: Move code that provides the --enable-gdbcli,
2305 --enable-gdbmi options right before the code that handles the
2306 --enable-tui option. Polish a bit.
2307 * configure: Regenerated.
2308
06825bd1
MK
2309 * configure.in: Rewrite check for GNU regex and the
2310 --without-included regex option, and move it into the "Checks for
2311 library functions" section. This makes us use the system regex
2312 again by default on systems with version 2 of the GNU C library.
2313 This was apparently broken.
2314 * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
2315 * acconfig.h (USE_INCLUDED_REGEX): Remove.
2316 * config.in, configure: Regenerated.
2317
287c1a40
MK
2318 * configure.in: Move code that provides the --enable-tui option
2319 before the "Checks for libraries" section. Polish the code
2320 somewhat and set need_curses to yes if we build the TUI. Rewrite
2321 code that looks for a library providing termcap functionality to
2322 match more closely what's done in the Readline library, and move
2323 it into to the "Checks for libraries" section.
2324 * configure: Regenerated.
2325 * Makefile.in (TERMCAP): Remove variable.
2326 * config/i386/go32.mh (TERMCAP): Remove variable.
2327
684e56bf
AC
23282003-01-02 Andrew Cagney <ac131313@redhat.com>
2329
2330 * MAINTAINERS: Mention gdb_mbuild.sh.
2331 * gdb_mbuild.sh: Rewrite.
2332
e1ea1d75
MK
23332003-01-02 Mark Kettenis <kettenis@gnu.org>
2334
2335 * configure.in: Fix typo in last change.
2336 * config.in, configure: Regenerated.
2337
1b831c93
AC
23382003-01-02 Andrew Cagney <ac131313@redhat.com>
2339
2340 * valarith.c (value_binop): Delete obsolete code and comments.
2341 * configure.host: Ditto.
2342 * buildsym.h (make_blockvector): Ditto.
2343 * buildsym.c (make_blockvector): Ditto.
2344 * defs.h (enum language): Ditto.
2345 (chill_demangle): Ditto.
2346 * elfread.c (elf_symtab_read): Ditto.
2347 * dwarfread.c (CHILL_PRODUCER): Ditto.
2348 (set_cu_language): Ditto.
2349 (handle_producer): Ditto.
2350 * expprint.c (print_subexp): Ditto.
2351 * gdbtypes.c (chill_varying_type): Ditto.
2352 * gdbtypes.h (builtin_type_chill_bool): Ditto.
2353 (builtin_type_chill_char, builtin_type_chill_long): Ditto.
2354 (builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
2355 (chill_varying_type): Ditto.
2356 * language.h (_LANG_chill): Ditto.
2357 * language.c (binop_result_type, integral_type): Ditto.
2358 (character_type, string_type, structured_type): Ditto.
2359 (lang_bool_type, binop_type_check): Ditto.
2360 * stabsread.h (os9k_stabs): Ditto.
2361 * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
2362 (define_symbol, read_type, read_struct_fields): Ditto.
2363 (read_array_type, read_enum_type, read_huge_number): Ditto.
2364 (read_range_type, start_stabs): Ditto.
2365 * symfile.c (init_filename_language_table): Ditto.
2366 (add_psymbol_with_dem_name_to_list): Ditto.
2367 * symtab.c (symbol_init_language_specific): Ditto.
2368 (symbol_init_demangled_name, symbol_demangled_name): Ditto.
2369 * symtab.h (struct general_symbol_info): Ditto.
2370 (SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
2371 * typeprint.c (typedef_print): Ditto.
2372 * utils.c (fprintf_symbol_filtered): Ditto.
2373 * valops.c (value_cast, search_struct_field, value_slice): Delete
2374 obsolete code.
2375 (varying_to_slice): Delete function.
2376 * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
2377 (varying_to_slice): Delete declaration.
2378 * MAINTAINERS: Update.
2379
8bb2c122
MK
23802003-01-02 Mark Kettenis <kettenis@gnu.org>
2381
97bf5e38
MK
2382 * configure.in: Reorganize "Checks for library functions section"
2383 a bit. Remove check for `btowc' and `isascii' functions.
2384 * configure: Regenerated.
2385
5ee754fc
MK
2386 * acconfig.h (_MSE_INT_H): Remove.
2387 * configure.in: Create "Checks for header files" section, and move
2388 appropriate tests there. Don't check for objlist.h, wchar.h,
2389 wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h>
2390 misdetection fix. Also add "Checks for types", "Checks for
2391 compiler characteristics" and "Checks for library functions"
2392 sections.
2393 * config.in, configure: Regenerated.
2394
8bb2c122
MK
2395 * configure.in: Create "Checks for programs" section, and move
2396 appropriate tests there.
2397
9a156167
MK
23982003-01-01 Mark Kettenis <kettenis@gnu.org>
2399
2400 * configure.in: Create "Checks for libraries" section, and move
2401 appropriate tests there. Cleanup check for wctype in libw. Use
2402 AC_SEARCH_LIBS to see whether we need libsocket.
2403 * configure: Regenerated.
2404
a80e2bcb 2405For older changes see ChangeLog-2002
c906108c
SS
2406\f
2407Local Variables:
2408mode: change-log
2409left-margin: 8
2410fill-column: 74
2411version-control: never
2412End:
This page took 0.47171 seconds and 4 git commands to generate.