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