2003-03-10 David Carlton <carlton@math.stanford.edu>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2003-03-10 David Carlton <carlton@math.stanford.edu>
2
3 * minsyms.c (add_minsym_to_hash_table): Replace
4 DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME.
5 (compare_minimal_symbols, compact_minimal_symbols)
6 (install_minimal_symbols, find_solib_trampoline_target): Ditto.
7 (lookup_minimal_symbol_text): Use strcmp on linkage names instead
8 of DEPRECATED_SYMBOL_MATCHES_NAME.
9 (lookup_minimal_symbol_solib_trampoline): Ditto.
10
11 2003-03-10 Andrew Cagney <cagney@redhat.com>
12
13 * regcache.h (regcache_cooked_read_ftype): Define.
14 (regcache_save, regcache_restore): Add a cooked_read parameter.
15 * regcache.c (regcache_save, regcache_restore): Update.
16 (do_cooked_read): New function.
17 (regcache_cpy): Pass do_cooked_read to regcache_save and
18 regcache_restore.
19
20 2003-03-10 Andrew Cagney <cagney@redhat.com>
21
22 * gdbarch.sh (gdbarch_unwind_pc): New method.
23 * gdbarch.h, gdbarch.c: Regenerate.
24 * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc,
25 but use read_pc and FRAME_SAVED_PC as fall backs.
26 (frame_saved_regs_pc_unwind): Delete function.
27 (trad_frame_unwinder): Update.
28 * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration.
29 (struct frame_unwind): Update.
30 * dummy-frame.c (dummy_frame_pc_unwind): Delete function.
31 (dummy_frame_unwind): Update.
32 * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function.
33 (sentinel_frame_unwinder): Update.
34 * d10v-tdep.c (d10v_frame_pc_unwind): Delete function.
35 (d10v_frame_unwind): Update.
36 (d10v_unwind_pc): New function.
37 (d10v_gdbarch_init): Set unwind_pc.
38
39 2003-03-10 Andrew Cagney <cagney@redhat.com>
40
41 * gdbarch.h: Re-generate.
42
43 * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the
44 PC.
45 (d10v_frame_pop): Unwind the PC, and not the LR, when restoring
46 the PC register.
47
48 2003-03-08 Mark Kettenis <kettenis@gnu.org>
49
50 * gdbarch.sh (save_dummy_frame_tos): Add comment.
51
52 2003-03-08 Andrew Cagney <cagney@redhat.com>
53
54 * cli-out.c: Update copyright.
55 (cli_out_data): Define typedef. Use instead of ui_out_data.
56
57 2003-03-08 Andrew Cagney <cagney@redhat.com>
58
59 * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to
60 the result.
61
62 2003-03-07 Andrew Cagney <cagney@redhat.com>
63
64 * gdbarch.sh: Don't generate two macro definitions when an
65 undefined macro taking no arguments.
66 * gdbarch.h: Regenerate.
67
68 2002-03-07 Michal Ludvig <mludvig@suse.cz>
69
70 * x86-64-tdep.c (x86_64_save_dummy_frame_tos)
71 (x86_64_unwind_dummy_id): New functions.
72 (x86_64_init_abi): Register these two new functions.
73
74 2003-03-07 Michal Ludvig <mludvig@suse.cz>
75
76 * x86-64-tdep.c (x86_64_function_has_prologue): New function.
77 (x86_64_skip_prologue): Move prologue detection to
78 separate function.
79 * x86-64-tdep.h (x86_64_function_has_prologue): New prototype.
80
81 2003-03-05 Andrew Cagney <cagney@redhat.com>
82
83 * d10v-tdep.c (d10v_unwind_dummy_id): New function.
84 (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos.
85 * frame.c (get_prev_frame): Restructure the frame ID unwind code
86 to use unwind_dummy_id when a dummy frame.
87 * gdbarch.sh (unwind_dummy_id): New multi-arch method with
88 predicate.
89 * gdbarch.h, gdbarch.c: Regneerate.
90
91 2003-03-05 Andrew Cagney <cagney@redhat.com>
92
93 * d10v-tdep.c (struct d10v_unwind_cache): Add field "base".
94 (d10v_frame_unwind_cache): Rewrite code computing the base and SP.
95 Do not use d10v_read_sp or d10v_read_fp when obtaining register
96 values.
97
98 2003-03-05 Andrew Cagney <cagney@redhat.com>
99
100 * d10v-tdep.c (struct frame_extra_info): Delete unused structure.
101 (struct d10v_unwind_cache): Delete field "frameless". Replace
102 "next_addr" with "sp_offset". Add "r11_offset".
103 (d10v_frame_unwind_cache): Update.
104 (prologue_find_regs): Update. When "mv r11, sp", save the
105 "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that
106 RN was saved in r11_offset.
107
108 2003-03-05 Andrew Cagney <cagney@redhat.com>
109
110 * frame.c (deprecated_update_frame_pc_hack): Also update the the
111 cached PC value in the next frame.
112
113 2003-03-05 Andrew Cagney <cagney@redhat.com>
114
115 * frame.h (struct frame_info): Replace "id_unwind_cache_p" and
116 "id_unwind_cache" with "id".
117 (frame_id_unwind): Delete declaration.
118 * frame.c (frame_id_unwind): Delete function.
119 (get_prev_frame): Call the frame id unwind method directly. Store
120 the returned next frame's ID value in NEXT_FRAME. Note that there
121 is a problem with the wrong unwind ID being called with the wrong
122 unwind cache.
123
124 2003-03-05 Daniel Jacobowitz <drow@mvista.com>
125
126 * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS.
127
128 2003-03-05 James Ingham <jingham@apple.com>
129 Daniel Jacobowitz <drow@mvista.com>
130
131 * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h".
132 (auto_cp_abi): New variable.
133 (current_cp_abi, num_cp_abis): Make static.
134 (CP_ABI_MAX): Define.
135 (cp_abis): Turn into an array.
136 (value_virtual_fn_field): Fix formatting.
137 (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now
138 takes a pointer.
139 (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd)
140 (list_cp_abis, _initialize_cp_abi): New functions.
141 * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove
142 declarations for cp_abis, num_cp_abis, current_cp_abi, and
143 switch_to_cp_abi. Update prototype for register_cp_abi.
144 * Makefile.in (cp-abi.o): Update dependencies.
145 * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default
146 instead of switch_to_cp_abi.
147 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to
148 register_cp_abi.
149 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to
150 register_cp_abi.
151 * hpacc-abi.c (_initialize_hpacc_abi): Likewise.
152
153 2003-03-05 Daniel Jacobowitz <drow@mvista.com>
154
155 * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition.
156 * dwarf2loc.c: Include "regcache.h".
157 (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use
158 register_size.
159 * Makefile.in (dwarf2loc.o): Update dependencies.
160
161 2003-03-04 Theodore A. Roth <troth@openavr.org>
162
163 * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the
164 number of io registers reported by remote target is not a multiple of
165 step.
166
167 2003-03-04 David Carlton <carlton@math.stanford.edu>
168
169 * symtab.c (lookup_partial_symbol): Add linkage_name argument.
170 (lookup_symbol_aux_psymtabs): Update call to
171 lookup_partial_symbol.
172 (lookup_transparent_type, find_main_psymtab)
173 (make_symbol_overload_list): Ditto.
174
175 2003-03-04 Kazu Hirata <kazu@cs.umass.edu>
176
177 * MAINTAINERS (Write after approval): Update my email address.
178
179 2003-03-03 Andrew Cagney <cagney@redhat.com>
180
181 Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional.
182 * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with
183 predicate. Replace MAX_REGISTER_RAW_SIZE.
184 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for
185 MAX_REGISTER_VIRTUAL_SIZE.
186 * regcache.c (legacy_max_register_raw_size): New function.
187 (legacy_max_register_virtual_size): New function.
188 * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define.
189 (MAX_REGISTER_RAW_SIZE): Define.
190 (legacy_max_register_raw_size): Declare.
191 (legacy_max_register_virtual_size): Declare.
192 * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
193 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update.
194 * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
195 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
196 * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
197 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
198 * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
199 * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
200 * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
201 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
202 * vax-tdep.c (vax_gdbarch_init): Update.
203 * v850-tdep.c (v850_gdbarch_init): Update.
204 * sparc-tdep.c (sparc_gdbarch_init): Update.
205 * sh-tdep.c (sh_gdbarch_init): Update.
206 * s390-tdep.c (s390_gdbarch_init): Update.
207 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
208 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
209 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
210 * mips-tdep.c (mips_gdbarch_init): Update.
211 * mcore-tdep.c (mcore_gdbarch_init): Update.
212 * m68k-tdep.c (m68k_gdbarch_init): Update.
213 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
214 * ia64-tdep.c (ia64_gdbarch_init): Update.
215 * i386-tdep.c (i386_gdbarch_init): Update.
216 * hppa-tdep.c (hppa_gdbarch_init): Update.
217 * h8300-tdep.c (h8300_gdbarch_init): Update.
218 * frv-tdep.c (frv_gdbarch_init): Update.
219 * cris-tdep.c (cris_gdbarch_init): Update.
220 * avr-tdep.c (avr_gdbarch_init): Update.
221 * arm-tdep.c (arm_gdbarch_init): Update.
222 * alpha-tdep.c (alpha_gdbarch_init): Update.
223 * d10v-tdep.c (d10v_gdbarch_init): Do not set
224 max_register_raw_size or max_register_virtual_size.
225
226 2003-03-03 David Carlton <carlton@math.stanford.edu>
227
228 * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from
229 SYMBOL_MATCHES_NAME, add comment.
230 (SYMBOL_MATCHES_NATURAL_NAME): New.
231 * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace
232 SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME.
233 (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto.
234 * symtab.c (lookup_partial_symbol): Use
235 SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete
236 unhelpful comment.
237 (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not
238 SYMBOL_MATCHES_NAME.
239 Fix for PR c++/33.
240
241 2003-03-03 David Carlton <carlton@math.stanford.edu>
242
243 * symtab.h (SYMBOL_MATCHES_REGEXP): Delete.
244 * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP
245 by regexp matching against SYMBOL_NATURAL_NAME.
246
247 2003-03-03 David Carlton <carlton@math.stanford.edu>
248
249 * linespec.c (find_method): Extract code into collect_methods.
250 (collect_methods): New.
251
252 2003-03-02 Mark Kettenis <kettenis@gnu.org>
253
254 * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and
255 get_frame_base.
256
257 * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of
258 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
259
260 2003-03-02 Stephane Carrez <stcarrez@nerim.fr>
261
262 * arch-utils.c (generic_register_byte): Fix to use the loop index
263 and not regnum when summing the size of all registers up to regnum.
264
265 2003-03-01 Andrew Cagney <cagney@redhat.com>
266
267 * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename
268 FRAME_INIT_SAVED_REGS.
269 * gdbarch.h, gdbarch.c: Regenerate.
270 * stack.c (frame_info): Update.
271 * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update.
272 (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update.
273 (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update.
274 * ns32k-tdep.c (ns32k_pop_frame): Update.
275 * mips-tdep.c (mips_pop_frame): Update.
276 * m68hc11-tdep.c (m68hc11_pop_frame): Update.
277 * ia64-tdep.c (ia64_frame_chain): Update.
278 (ia64_frame_saved_pc, ia64_get_saved_register): Update.
279 (ia64_frameless_function_invocation): Update.
280 (ia64_init_extra_frame_info): Update.
281 (ia64_pop_frame_regular): Update.
282 * frame.h (struct frame_info): Update comment.
283 (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro.
284 * frame.c (frame_saved_regs_register_unwind): Update.
285 (frame_saved_regs_register_unwind): Update.
286 (deprecated_generic_get_saved_register): Update.
287 * cris-tdep.c: Update comment.
288 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS):
289 Rename macro.
290 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
291 * x86-64-tdep.c (x86_64_init_abi): Update.
292 * vax-tdep.c (vax_gdbarch_init): Update.
293 * v850-tdep.c (v850_gdbarch_init): Update.
294 * sparc-tdep.c (sparc_gdbarch_init): Update.
295 * sh-tdep.c (sh_gdbarch_init): Update.
296 * s390-tdep.c (s390_gdbarch_init): Update.
297 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
298 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
299 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
300 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
301 * mips-tdep.c (mips_gdbarch_init): Update.
302 * mcore-tdep.c (mcore_gdbarch_init): Update.
303 * m68k-tdep.c (m68k_gdbarch_init): Update.
304 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
305 * ia64-tdep.c (ia64_gdbarch_init): Update.
306 * i386-tdep.c (i386_gdbarch_init): Update.
307 * frv-tdep.c (frv_gdbarch_init): Update.
308 * avr-tdep.c (avr_gdbarch_init): Update.
309 * arm-tdep.c (arm_gdbarch_init): Update.
310 * alpha-tdep.c (alpha_gdbarch_init): Update.
311
312 2003-03-01 Andrew Cagney <cagney@redhat.com>
313
314 * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to
315 option enum and switch. When no windows, set the interpreter to
316 INTERP_CONSOLE.
317
318 2003-03-01 Andrew Cagney <cagney@redhat.com>
319
320 * main.c (captured_main): Replace magic option characters with an
321 enum.
322
323 2003-03-01 Andrew Cagney <cagney@redhat.com>
324
325 * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename
326 INIT_EXTRA_FRAME_INFO.
327 * gdbarch.h, gdbarch.c: Regenerate.
328 * arm-tdep.c: Update comments.
329 * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto.
330 * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto.
331 * frame.h, avr-tdep.c: Ditto.
332 * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO.
333 (create_new_frame, legacy_get_prev_frame): Ditto.
334 * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
335 * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
336 * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize
337 deprecated_init_extra_frame_info instead of init_extra_frame_info.
338 * x86-64-tdep.c (x86_64_init_abi): Ditto.
339 * v850-tdep.c (v850_gdbarch_init): Ditto.
340 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
341 * sh-tdep.c (sh_gdbarch_init): Ditto.
342 * s390-tdep.c (s390_gdbarch_init): Ditto.
343 * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto.
344 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
345 * mips-tdep.c (mips_gdbarch_init): Ditto.
346 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
347 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
348 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
349 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
350 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
351 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
352 * frv-tdep.c (frv_gdbarch_init): Ditto.
353 * cris-tdep.c (cris_gdbarch_init): Ditto.
354 * avr-tdep.c (avr_gdbarch_init): Ditto.
355 * arm-tdep.c (arm_gdbarch_init): Ditto.
356 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
357 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
358
359 2003-03-01 Andrew Cagney <cagney@redhat.com>
360
361 * gdbarch.sh (register_type): New function with predicate.
362 (REGISTER_VIRTUAL_TYPE): Change to function with predicate.
363 * gdbarch.h, gdbarch.c: Re-generate.
364 * arch-utils.c (generic_register_byte): Use generic_register_size.
365 (generic_register_size): When available, use
366 gdbarch_register_type.
367 * regcache.c (init_regcache_descr): When available, initialize the
368 register type array using gdbarch_register_type. If the
369 architecture supplies gdbarch_register_type, do not use the legacy
370 regcache layout.
371 * d10v-tdep.c (d10v_register_type): Replace
372 d10v_register_virtual_type.
373 (d10v_gdbarch_init): Set register_type instead of
374 register_virtual_type.
375
376 2003-03-01 Andrew Cagney <cagney@redhat.com>
377
378 * Makefile.in (ax-gdb.o): Update dependencies.
379 * ax-gdb.c: Include "regcache.h".
380 (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE.
381 * findvar.c (value_of_register): Ditto.
382 * infcmd.c (default_print_registers_info): Ditto.
383
384 2003-03-01 Mark Kettenis <kettenis@gnu.org>
385
386 * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of
387 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
388
389 2003-03-01 Mark Kettenis <kettenis@gnu.org>
390
391 * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead
392 of STREQ.
393
394 2003-02-28 Daniel Jacobowitz <drow@mvista.com>
395
396 * Makefile.in (dwarf2loc.o): Update dependencies.
397 * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG.
398 * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static.
399 * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes.
400 * dwarf2loc.c: Include "ax.h" and "ax-gdb.h".
401 (locexpr_tracepoint_var_ref): New function.
402 (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref.
403
404 2003-02-28 Andrew Cagney <cagney@redhat.com>
405
406 * regcache.c (register_size): New function.
407 * regcache.h (register_size): Declare
408 * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use
409 max_register_size instead of MAX_REGISTER_RAW_SIZE.
410
411 2003-02-28 David Carlton <carlton@math.stanford.edu>
412
413 * linespec.c (decode_compound): Extract code into find_method.
414 (find_method): New.
415
416 2003-02-28 J. Brobecker <brobecker@gnat.com>
417
418 * Makefile.in: Add rules to build and link in observer.o.
419
420 2003-02-27 J. Brobecker <brobecker@gnat.com>
421
422 * observer.c: Minor comments edits.
423
424 2003-02-27 J. Brobecker <brobecker@gnat.com>
425
426 * observer.h, observer.c: New file.
427
428 2003-02-27 Andrew Cagney <cagney@redhat.com>
429
430 * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd.
431
432 2003-02-27 Stephane Carrez <stcarrez@nerim.fr>
433
434 * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines.
435 (M6812_OP_STS_EXT): Likewise.
436 (m6811_prologue): Use the above to recognize prologue.
437 (m6812_prologue): Likewise.
438
439 2003-02-27 David Carlton <carlton@math.stanford.edu>
440
441 * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not
442 SYMBOL_PRINT_NAME.
443 (compare_psymbols): Ditto.
444 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
445
446 2003-02-27 Michael Snyder <msnyder@redhat.com>
447
448 * f-lang.c (build_fortran_types): New function.
449 (_initialize_f_language): Gdbarch-register built-in fortran types.
450 * doublest.c (extract_floating): Fix warning text.
451
452 2003-02-27 Andrew Cagney <cagney@redhat.com>
453
454 * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with
455 predicate. Replaces PUSH_DUMMY_FRAME.
456 * gdbarch.h, gdbarch.c: Regnerate.
457 * valops.c (hand_function_call): Update. Call
458 generic_push_dummy_frame directly.
459 * vax-tdep.c (vax_gdbarch_init): Update.
460 * sparc-tdep.c (sparc_gdbarch_init): Update.
461 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
462 * m68k-tdep.c (m68k_gdbarch_init): Update.
463 * hppa-tdep.c (hppa_gdbarch_init): Update.
464 * alpha-tdep.c (alpha_gdbarch_init): Update.
465 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
466 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
467 * inferior.h (PUSH_DUMMY_FRAME): Delete definition.
468 * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set
469 push_dummy_frame to generic_push_dummy_frame.
470 * v850-tdep.c (v850_gdbarch_init): Ditto.
471 * sh-tdep.c (sh_gdbarch_init): Ditto.
472 * s390-tdep.c (s390_gdbarch_init): Ditto.
473 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
474 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
475 * mips-tdep.c (mips_gdbarch_init): Ditto.
476 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
477 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
478 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
479 * i386-tdep.c (i386_gdbarch_init): Ditto.
480 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
481 * frv-tdep.c (frv_gdbarch_init): Ditto.
482 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
483 * cris-tdep.c (cris_gdbarch_init): Ditto.
484 * avr-tdep.c (avr_gdbarch_init): Ditto.
485 * arm-tdep.c (arm_gdbarch_init): Ditto.
486
487 2003-02-26 Kevin Buettner <kevinb@redhat.com>
488
489 * mips-tdep.c (show_mips_abi): New function.
490 (_initialize_mips_tdep): Use show_mips_abi() to implement the
491 command ``show mips abi''.
492
493 2003-02-26 Jeff Johnston <jjohnstn@redhat.com>
494
495 From Elena Zannoni <ezannoni@redhat.com>
496 * dbxread.c (process_one_symbol): Only record line 0 if one or
497 more sline entries have been seen for the function.
498
499 2003-02-26 Michael Chastain <mec@shout.net>
500
501 * configure: Regenerate with autoconf 000227.
502
503 2003-02-26 Michael Chastain <mec@shout.net>
504
505 Close PR build/660.
506 * PROBLEMS (i[3456]86-*-linux*): Note explicit error message
507 for old libc5/glibc.
508 * gdb_thread_db.h: Die if not HAVE_UINTPTR_T.
509
510 2003-02-26 Kris Warkentin <kewarken@qnx.com>
511
512 * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO.
513 * osabi.c (gdb_osabi_names): Add "QNX Neutrino".
514
515 2003-02-26 Michael Chastain <mec@shout.net>
516
517 * configure.in: New variable HAVE_UINTPTR_T.
518 * configure, config.in: Regenerated.
519
520 2003-02-26 Daniel Jacobowitz <drow@mvista.com>
521
522 Fix PR build/1097.
523 * utils.c (gdb_realpath): Move closing brace outwards one #endif.
524
525 2003-02-25 Andrew Cagney <cagney@redhat.com>
526
527 * frame.c (get_prev_frame): Add comment on check for
528 inside_entry_func. Only check for inside_entry_file when not a
529 dummy and not a sentinel. Check that the new frame is not inner
530 to the old frame.
531
532 2003-02-25 Andrew Cagney <cagney@redhat.com>
533
534 * frame.c (frame_debug): New variable.
535 (_initialize_frame): Add "set/show debug frame" command.
536 (get_prev_frame): When frame_debug, print reason why unwind
537 failed.
538
539 2003-02-25 Michael Chastain <mec@shout.net>
540
541 * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later
542 to avoid uintptr_t definition problems.
543
544 2003-02-25 David Carlton <carlton@math.stanford.edu>
545
546 * symtab.h (SYMBOL_NATURAL_NAME): New macro.
547 (SYMBOL_LINKAGE_NAME): Ditto.
548 (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and
549 SYMBOL_LINKAGE_NAME.
550 (struct general_symbol_info): Expand comment.
551 (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME.
552 (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME.
553 (SYMBOL_MATCHES_REGEXP): Ditto.
554 * symtab.c (symbol_natural_name): New function.
555 * objfiles.h: Replace all uses of SYMBOL_NAME by
556 DEPRECATED_SYMBOL_NAME.
557 * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto.
558 * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto.
559 * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto.
560 * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto.
561 * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto.
562 * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto.
563 * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto.
564 * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto.
565 * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto.
566 * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto.
567 * ada-exp.y: Ditto.
568 * ada-exp.y: Update copyright.
569 * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto.
570 * cp-valprint.c: Ditto.
571
572 2003-02-25 Jeff Johnston <jjohnstn@redhat.com>
573
574 * infptrace.c (detach): Do not flag error if ptrace detach fails
575 and errno is set to ESRCH.
576
577 2003-02-24 Andrew Cagney <cagney@redhat.com>
578
579 * infptrace.c (udot_info): Change type of udot_off to long. Use
580 paddr when printing udot_off's value.
581
582 2003-02-24 David Carlton <carlton@math.stanford.edu>
583
584 * symtab.c (make_symbol_overload_list): Only read in partial
585 symtabs containing a matching partial symbol.
586
587 2003-02-24 David Carlton <carlton@math.stanford.edu>
588
589 * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to
590 do the comparison, not strcmp.
591 * symfile.c (compare_psymbols): Ditto.
592 * defs.h: Declare strcmp_iw_ordered.
593 * utils.c (strcmp_iw_ordered): New function.
594
595 2003-02-24 Jim Blandy <jimb@redhat.com>
596
597 * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme
598 support, shared libs): Remove my name from here, to better reflect
599 reality.
600
601 2003-02-24 Kris Warkentin <kewarken@qnx.com>
602
603 * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define.
604 (target_ops): Add to_have_continuable_watchpoint.
605 * target.c (update_current_target): Add INHERIT line for
606 to_have_continuable_watchpoint.
607 * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines.
608 * config/i386/nm-i386.h, config/i386/nm-i386sco5.h,
609 config/i386/nm-i386sol2.h, config/s390/nm-linux.h,
610 config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1.
611
612 2003-02-24 Elena Zannoni <ezannoni@redhat.com>
613
614 * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop
615 maintainership.
616
617 2003-02-24 Kris Warkentin <kewarken@qnx.com>
618
619 * solib.c (solib_open): Call target defined search function after
620 failing with solib-search-path.
621 * solist.h (target_so_ops): Add find_and_open_solib function hook and
622 create define TARGET_SO_FIND_AND_OPEN_SOLIB.
623
624 2003-02-24 Kris Warkentin <kewarken@qnx.com>
625
626 * MAINTAINERS: Add myself to Write After section.
627
628 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
629
630 * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide.
631
632 2003-02-22 Stephane Carrez <stcarrez@nerim.fr>
633
634 * m68hc11-tdep.c (m68hc11_init_reggroups): New function.
635 (m68hc11_add_reggroups): New function.
636 (m68hc11_register_reggroup_p): New to register hard/soft reggroups.
637 (m68hc11_gdbarch_init): Install the reggroups.
638 (_initialize_m68hc11_tdep): Initialize them.
639
640 2003-02-21 James E Wilson <wilson@tuliptree.org>
641
642 * MAINTAINERS: Update my email address.
643
644 2003-02-21 David Carlton <carlton@math.stanford.edu>
645
646 * arm-tdep.c (arm_gdbarch_init): Add break after default label.
647
648 2003-02-21 Daniel Jacobowitz <drow@mvista.com>
649
650 Based on a patch from Daniel Berlin (dberlin@dberlin.org).
651 * symtab.h: Add opaque declarations of struct axs_value and
652 struct agent_expr.
653 (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG.
654 (struct location_funcs): New type.
655 (struct symbol): Add "loc" to aux_value.
656 (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros.
657 * dwarf2read.c: Include "dwarf2expr.h".
658 (dwarf2_symbol_mark_computed): New function.
659 (read_func_scope): Use it.
660 (var_decode_location): New function.
661 (new_symbol): Use it.
662 * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files.
663
664 * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c.
665 (dwarf2expr_h, dwarf2loc_h): New variables.
666 (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o.
667 (dwarf2expr.o, dwarf2loc.o): New rules.
668 (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h).
669 * buildsym.c (finish_block): Handle LOC_COMPUTED and
670 LOC_COMPUTED_ARG.
671 * findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
672 * m2-exp.y (yylex): Likewise.
673 * printcmd.c (address_info, print_frame_args): Likewise.
674 * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise.
675 * symmisc.c (print_symbol, print_partial_symbols): Likewise.
676 * ada-lang.c (ada_resolve_subexp, symtab_for_sym)
677 (ada_add_block_symbols, fill_in_ada_prototype): Likewise.
678 * symtab.c (lookup_block_symbol): Likewise.
679
680 2003-02-20 Adam Fedor <fedor@gnu.org>
681
682 * symtab.h: Remove objc_specific struct
683 (SYMBOL_OBJC_DEMANGLED_NAME): Remove.
684 * symtab.c (symbol_init_language_specific, symbol_demangled_name):
685 Have language_objc use cplus_specific struct.
686
687 2003-02-20 Tom Tromey <tromey@redhat.com>
688
689 * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not
690 TYPE_NAME, when printing a String value. PR java/1075.
691
692 2003-02-20 Adam Fedor <fedor@gnu.org>
693
694 * objc-lang.h (find_methods): Remove declaration.
695 * objc-lang.c (find_methods): Make static.
696
697 2003-02-20 Christopher Faylor <cgf@redhat.com>
698
699 * win32-nat.c (get_image_name): Check return value from
700 ReadProcessMemory.
701 (child_xfer_memory): Ditto.
702
703 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
704
705 * configure.in (TARGET_SYSTEM_ROOT): Set default to
706 ${exec_prefix}/${target_alias}/sys-root. Match explicit
707 '${exec_prefix}' (in addition to the expansion thereof) as
708 relocatable.
709 * configure: Rebuilt.
710
711 2003-02-20 David Carlton <carlton@math.stanford.edu>
712
713 * symtab.c (search_symbols): Revert the search_symbols part of my
714 2002-12-23 patch. Add comment.
715
716 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
717
718 * coffread.c (coff_symfile_read): Clean up minimal symbols earlier.
719 * dbxread.c (elfstab_build_psymtabs): Don't call
720 install_minimal_symbols.
721 (stabsect_build_psymtabs): Likewise.
722 * elfread.c (elf_symfile_read): Call install_minimal_symbols
723 earlier.
724 * somread.c (som_symfile_read): Call install_minimal_symbols
725 and do_cleanups earlier.
726 * nlmread.c (nlm_symfile_read): Likewise.
727 * mdebugread.c (elfmdebug_build_psymtabs): Call
728 install_minimal_symbols and make appropriate cleanups.
729
730 2003-02-20 Kevin Buettner <kevinb@redhat.com>
731
732 * solib.c (reload_shared_libraries): New function.
733 (_initialize_solib): Add callbacks for ``set solib-search-path''
734 and ``set solib-absolute-prefix''.
735
736 2003-02-20 David Carlton <carlton@math.stanford.edu>
737
738 * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME;
739 expand comment.
740 * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace
741 SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME.
742 * ada-typeprint.c (ada_typedef_print): Ditto.
743 * ax-gdb.c (gen_var_ref): Ditto.
744 * breakpoint.c (print_one_breakpoint): Ditto.
745 * buildsym.c (finish_block): Ditto.
746 * c-valprint.c (c_val_print): Ditto.
747 * expprint.c (print_subexp): Ditto.
748 * findvar.c (locate_var_value): Ditto.
749 * infcmd.c (jump_command): Ditto.
750 * linespec.c (decode_line_2, decode_compound): Ditto.
751 * maint.c (maintenance_translate_address): Ditto.
752 * objc-lang.c (compare_selectors, compare_classes): Ditto.
753 * printcmd.c (build_address_symbolic, sym_info, print_frame_args):
754 Ditto.
755 * p-valprint.c (pascal_val_print): Ditto.
756 * stabsread.c (define_symbol): Ditto.
757 * stack.c (print_frame, frame_info, print_block_frame_locals)
758 (print_frame_arg_vars, return_command): Ditto.
759 * symfile.c (compare_symbols, compare_psymbols): Ditto.
760 * symmisc.c (print_symbol): Ditto.
761 * symtab.c (lookup_partial_symbol, lookup_block_symbol)
762 (compare_search_syms, print_symbol_info, print_msymbol_info)
763 (rbreak_command): Ditto.
764 * tracepoint.c (tracepoints_info): Ditto.
765 * typeprint.c (typedef_print): Ditto.
766 * valops.c (value_of_variable, hand_function_call): Ditto.
767 * cli/cli-cmds.c (edit_command, list_command): Ditto.
768 * ada-typeprint.c: Update Copyright.
769 * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto.
770 * tracepoint.c, cli/cli-cmds.c: Ditto.
771
772 2003-02-20 Kevin Buettner <kevinb@redhat.com>
773
774 * frame.c (generic_unwind_get_saved_register): Make non-static.
775 * frame.h (generic_unwind_get_saved_register): Declare.
776 * mips-tdep.c (read_next_frame_reg): Fetch register from
777 current regcache when frame is NULL.
778 (mips_init_extra_frame_info): Pass NULL explicitly for parameter
779 that must be NULL.
780 (mips_get_saved_register): Call generic_unwind_get_saved_register()
781 instead of frame_register_unwind().
782
783 2003-02-20 Andrew Cagney <ac131313@redhat.com>
784
785 * remote-sim.c (gdbsim_insert_breakpoint)
786 (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS
787 code.
788
789 2003-02-20 Andrew Cagney <ac131313@redhat.com>
790
791 * remote.c (_initialize_remote): Add commands "set/show remote
792 hardware-watchpoint-limit" and "set/show remote
793 hardware-breakpoint-limit".
794 (remote_hw_watchpoint_limit): Initialize to -1.
795 (remote_hw_breakpoint_limit): Ditto.
796 (remote_check_watch_resources): Treat a limit of -1 as unlimited.
797
798 2003-02-19 Raoul Gough <RaoulGough@yahoo.co.uk>
799
800 * coff-pe-read.c: New file - support reading of minimal symbols from a
801 portable executable using the export table.
802 * coff-pe-read.h: New file.
803 * coffread.c: Include coff-pe-read.h.
804 (coff_symtab_read): Call read_pe_exported_syms iff no recognized
805 debugging symbols found.
806 * Makefile.in (SFILES): Add coff-pe-read.o.
807 (coff_pe_read_h): Define.
808 (COMMON_OBS): Add coff-pe-read.o.
809 (coffread.o): Add coff_pe_read_h dependency.
810 (coff-pe-read.o): New target.
811
812 2003-02-19 David Carlton <carlton@math.stanford.edu>
813
814 * Makefile.in (SFILES): Add block.c.
815 (block_h): New.
816 (COMMON_OBS): Add block.o.
817 (block.o): New.
818 (x86-64-tdep.o): Add $(block_h).
819 (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o)
820 (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o)
821 (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o)
822 (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o)
823 (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o)
824 (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o)
825 (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto.
826 * value.h: Add opaque declaration for struct block.
827 * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto.
828 * ada-lang.h: Ditto.
829 * x86-64-tdep.c: #include "block.h"
830 * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto.
831 * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto.
832 * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto.
833 * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto.
834 * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto.
835 * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto.
836 * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto.
837 * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto.
838 * blockframe.c (blockvector_for_pc_sect): Move to "block.c".
839 (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto.
840 * symtab.c (block_function): Ditto.
841 (contained_in): Ditto.
842 * frame.h: Move block_for_pc and block_for_pc_sect declarations to
843 block.h. Add opaque declaration for struct block.
844 * symtab.h: Move block_function and contained_in declarations to
845 block.h. Add opaque declarations for struct block, struct
846 blockvector.
847 (struct block): Move to block.h.
848 (struct blockvector): Ditto.
849 (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK)
850 (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM)
851 (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE)
852 (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS)
853 (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):
854 Ditto.
855 * block.c: New file.
856 * block.h: New file.
857
858 2003-02-19 Theodore A. Roth <troth@openavr.org>
859
860 * avr-tdep.c (avr_extract_return_value): Remove function.
861 (avr_store_return_value): Remove function.
862 (avr_extract_struct_value_address): Remove function.
863 (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls.
864
865 2003-02-19 Andrew Cagney <ac131313@redhat.com>
866
867 * rs6000-tdep.c: Include "gdb_assert.h".
868 (registers_e500): Add "acc" and "spefscr".
869 (PPC_GPRS_PSEUDO_REGS): Remove trailing comma.
870 (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum,
871 ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum
872 really is "r0".
873 (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson).
874
875 2003-02-18 Keith Seitz <keiths@redhat.com>
876
877 * Makefile.in: Add gdbtk-interps.c.
878
879 2003-02-18 Kevin Buettner <kevinb@redhat.com>
880
881 * sparc-tdep.c (sparc_frame_chain): Adjust return value.
882 * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare.
883
884 2003-02-18 Andrew Cagney <cagney@redhat.com>
885
886 * symtab.h (struct objfile): Add opaque declaration.
887
888 2003-02-18 Elena Zannoni <ezannoni@redhat.com>
889
890 From Jim Ingham <jingham@apple.com>:
891 * dbxread.c (process_one_symbol): Use last_function_start rather
892 than function_start_offset to find the real beginning of the
893 current function. The latter is just the text section offset on
894 some systems, the former is always the real function start.
895
896 2003-02-17 Andrew Cagney <cagney@redhat.com>
897
898 * configure.in: Revert ${target} != ${host}.
899
900 2003-02-17 Andrew Cagney <ac131313@redhat.com>
901
902 * configure.in (Makefile): Use the test ${target} != ${host},
903 instead of the absence of the "nm.h" file, to determine of the
904 configuration non-native.
905 * configure: Regenerate.
906
907 2003-02-14 Elena Zannoni <ezannoni@redhat.com>
908
909 From Brian Ford <ford@vss.fsi.com>
910
911 * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly
912 conditionalize tui_active test.
913 (lookup_cmd_1): Ditto.
914
915 2003-02-14 Mark Kettenis <kettenis@gnu.org>
916
917 * configure.in: Add check for _etext.
918 * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't
919 available.
920 * config.in, configure: regenerated.
921
922 2003-02-14 Daniel Jacobowitz <drow@mvista.com>
923
924 * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base.
925
926 2003-02-14 Andrew Cagney <ac131313@redhat.com>
927
928 * main.c (tui_version): Delete variable.
929 (captured_main): When --tui, set interpreter_p to "tui" instead of
930 enabling tui_version.
931 * printcmd.c (display_command) [TUI]: Test tui_active instead of
932 tui_version.
933 * cli/cli-decode.c (lookup_cmd_composition): Ditto.
934 * cli/cli-cmds.c (disassemble_command): Ditto.
935 * defs.h (tui_version): Delete declaration.
936 * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c".
937 (tui-interp.o): Add rules.
938 (SUBDIR_TUI_OBS): Add "tui-interp.o".
939
940 2003-02-14 Christopher Faylor <cgf@redhat.com>
941
942 * win32-nat.c (register_loaded_dll): Correctly set address range for
943 just-loaded dll.
944
945 2003-02-12 Jason Molenda (jmolenda@apple.com)
946
947 * symmisc.c (print_objfile_statistics): Include information about
948 the number of psymtabs and symtabs in each object file.
949
950 2003-02-13 Keith R Seitz <keiths@redhat.com>
951
952 * main.h (struct captured_main_args): Add interpreter_p.
953 * main.c (captured_main): Initialize interpreter_p from context.
954 * gdb.c (main): Set interpreter_p argument.
955 * Makefile.in (gdb.o): Add dependency for interps.h.
956
957 2003-02-12 Andrew Cagney <ac131313@redhat.com>
958
959 * event-top.c (cli_command_loop): Delete declaration.
960 (_initialize_event_loop): Delete function setting event_loop_hook.
961 * event-top.h (cli_command_loop): Declare. Update copyright.
962 (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H.
963 * interps.c (current_interp_command_loop): When event_loop_p, call
964 cli_command_loop.
965
966 2003-02-12 Andrew Cagney <ac131313@redhat.com>
967
968 * interps.h (interp_command_loop_ftype): Change return type to
969 void.
970
971 2003-02-12 Michal Ludvig <mludvig@suse.cz>
972
973 * x86-64-tdep.c (x86_64_extract_return_value)
974 (x86_64_store_return_value): Use regcache instead of regbuf.
975 (x86_64_gdbarch_init): Change related set_gdbarch_* functions.
976 * x86-64-linux-nat.c (fill_gregset): Use regcache.
977
978 2003-02-11 Andrew Cagney <ac131313@redhat.com>
979
980 * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS.
981 * aclocal.m4: Regenerate.
982 * configure: Regenerate.
983
984 * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of
985 TCL_LD_SEARCH_FLAGS.
986
987 2003-02-10 Michal Ludvig <mludvig@suse.cz>
988
989 * dwarf2cfi.c: Reindented.
990
991 2003-02-09 Andrew Cagney <ac131313@redhat.com>
992
993 * interps.c (clear_interpreter_hooks): Convert function definition
994 to ISO C.
995
996 2003-02-07 David Carlton <carlton@math.stanford.edu>
997
998 * gdb_mbuild.sh: Delete extra shift after parsing '-f'.
999
1000 2003-02-07 Kevin Buettner <kevinb@redhat.com>
1001
1002 * gdbtypes.h (struct main_type): Move ``length'' field from here...
1003 (struct type): ...to here.
1004 (TYPE_LENGTH): Adjust to reflect different location of ``length''
1005 field.
1006 * gdbtypes.c (make_qualified_type): Set length on newly created type.
1007 (replace_type): Set length on all type variants for a given type.
1008
1009 2003-02-07 Andrew Cagney <ac131313@redhat.com>
1010
1011 * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of
1012 <sys/stat.h>.
1013 * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies.
1014
1015 2003-02-06 Andrew Cagney <ac131313@redhat.com>
1016
1017 * Makefile.in (symm-nat.o): Update dependencies.
1018 (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto.
1019 (lynx-nat.o, ia64-linux-nat.): Ditto.
1020 * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include
1021 "gdb_wait.h" instead of <wait.h> or <sys/wait.h>.
1022 * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto.
1023
1024 * Makefile.in (inflow_h): Define.
1025 (procfs.o, inflow.o, procfs.o): Update dependencies.
1026 * inftarg.c (child_stop): Delete extern declaration of
1027 inferior_process_group. Include "inflow.h".
1028 * procfs.c (procfs_stop): Ditto. Include "inflow.h".
1029 * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ...
1030 * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file.
1031 (our_process_group, inferior_process_group): Extern declarations.
1032
1033 * procfs.c: Include "gdb_assert.h".
1034
1035 * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>.
1036 * cp-valprint.c (cp_print_value_fields): Eliminate STREQN.
1037 * jv-typeprint.c (java_type_print_base): Ditto.
1038 * typeprint.c (typedef_print): Eliminate STREQ.
1039 * cli/cli-script.c (define_command, define_command): Ditto.
1040 * main.c (captured_main): Ditto.
1041 * values.c (lookup_internalvar): Ditto.
1042 * utils.c (safe_strerror, parse_escape): Eliminate assignment
1043 within `if' conditional.
1044 * linespec.c (decode_line_2): Ditto.
1045 * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto.
1046 (bfd_openw_with_cleanup): Ditto.
1047
1048 2003-02-07 Mark Kettenis <kettenis@gnu.org>
1049
1050 * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to
1051 legacy_extract_return_value and store_return_value to
1052 legacy_return_value.
1053
1054 2003-02-06 Raoul Gough <RaoulGough@yahoo.co.uk>
1055
1056 * win32-nat.c (get_relocated_section_addrs): New function. Find
1057 section load addresses for symbol handling in relocated DLLs.
1058 (solib_symbols_add): Open a bfd and call get_relocated_section_addrs.
1059
1060 2003-02-05 Fred Fish <fnf@intrinsity.com>
1061
1062 * remote-e7000.c (e7000_drain_command): Fix precedence problem with
1063 '=' and '!='.
1064 * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem
1065 with '&' and '=='.
1066 (angel_RDI_info): Ditto.
1067 * infttrace.c (threads_continue_all_but_one): Fix precedence problem
1068 with '&' and '!='.
1069 (threads_continue_all_with_signals): Ditto.
1070
1071 2003-02-05 Jim Ingham <jingham@apple.com>
1072 Keith Seitz <keiths@redhat.com>
1073 Elena Zannoni <ezannoni@redhat.com>
1074 Andrew Cagney <ac131313@redhat.com>
1075
1076 * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
1077 (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
1078 (SUBDIR_MI_OBS): Add "mi-interp.o".
1079 (SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
1080 (SFILES): Add "interps.c".
1081 (COMMON_OBS): Add "interps.o".
1082 (interps_h, mi_main_h): Define.
1083 (interps.o, cli-interp.o, mi-interp.o): Add dependencies.
1084 (mi-main.o, main.o, event-top.o): Update dependencies.
1085 * cli/cli-interp.c: New file.
1086 * interps.h, interps.c: New files.
1087 * top.c: (gdb_init): Don't install the default interpreter, handed
1088 by captured_main.
1089 * main.c: Include "interps.h".
1090 (interpreter_p): Note that it should malloc'ed.
1091 (captured_command_loop): Call current_interp_command_loop.
1092 (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
1093 xfree and xstrdup when updating interpreter_p. Install the
1094 default interpreter. Add hack to stop mi1's copyright notice
1095 being encoded.
1096 * event-top.h (gdb_setup_readline): Declare.
1097 (gdb_disable_readline): Declare.
1098 * event-top.c: Include "interps.h".
1099 (display_gdb_prompt): Call current_interp_display_prompt_p.
1100 (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
1101 gdb_stdlog, and gdb_stdtarg.
1102 (_initialize_event_loop): Don't call gdb_setup_readline.
1103 * cli-out.c (cli_out_set_stream): New function.
1104 * cli-out.h (cli_out_set_stream): Declare.
1105
1106 2003-02-06 Mark Kettenis <kettenis@gnu.org>
1107
1108 * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*,
1109 i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all
1110 handled fine by i[3456]86-*sco* and i[3456]86-sysv*.
1111 * config/i386/i386sco5.mt, config/i386/i386v4.mt,
1112 config/i386/i386v42mp.mt: Removed.
1113
1114 2003-02-05 Mark Kettenis <kettenis@gnu.org>
1115
1116 * configure.tgt (*-*-solaris*): Set gdb_osabi to
1117 GDB_OSABI_SOLARIS.
1118
1119 2003-02-05 Michael Chastain <mec@shout.net>
1120
1121 * PROBLEMS (i[3456]86-*-linux*): Warn about binutils
1122 2.12.1 and earlier versions.
1123
1124 2003-02-05 Andrew Cagney <ac131313@redhat.com>
1125
1126 Remove orphaned hosts, targets and files.
1127 * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete.
1128 * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete.
1129 * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete.
1130 * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete.
1131 * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete.
1132 * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete.
1133 * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete.
1134 * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete.
1135 * config/sparc/tm-sp64sim.h: Delete.
1136 * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-*
1137 hosts.
1138 * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and
1139 mips*-dec-mach3* targets.
1140
1141 2003-02-04 Michael Chastain <mec@shout.net>
1142
1143 * NEWS: Fix typo: sepcifying -> specifying.
1144
1145 2003-02-04 Michael Chastain <mec@shout.net>
1146
1147 * dwarfread.c: Add documentation on the state of dwarf-1,
1148 looking towards obsoletion.
1149
1150 2003-02-03 Michael Chastain <mec@shout.net>
1151
1152 * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc,
1153 gdb/testsuite/gdb.c++/pr-1023.exp.
1154
1155 2003-02-04 Andrew Cagney <ac131313@redhat.com>
1156
1157 * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR.
1158 * TODO: Delete reference to IS_TRAPPED_INTERNALVAR.
1159
1160 * utils.c (init_page_info): Delete reference to MPW in comments.
1161 * main.c (captured_main): Delete #ifdef MPW.
1162
1163 2003-02-04 Andrew Cagney <ac131313@redhat.com>
1164
1165 * NEWS: Note that the m32r-*-elf* is obsolete.
1166 * monitor.c (monitor_expect): Obsolete reference to m32r.
1167 * configure.tgt: Mark m32r-*-elf* as obsolete.
1168 * MAINTAINERS: Mark m32k as obsolete.
1169 * m32r-rom.c: Obsolete file.
1170 * config/m32r/m32r.mt: Obsolete file.
1171 * config/m32r/tm-m32r.h: Obsolete file.
1172 * m32r-stub.c: Obsolete file.
1173 * m32r-tdep.c: Obsolete file.
1174
1175 2003-02-04 Andrew Cagney <ac131313@redhat.com>
1176
1177 * NEWS: Mention that the z8k-zilog-none is obsolete.
1178 * MAINTAINERS: Mark z8k as obsolete.
1179 * configure.tgt: Obsolete the z8k-*-coff* target.
1180 * config/z8k/z8k.mt: Obsolete file.
1181 * config/z8k/tm-z8k.h: Obsolete file.
1182 * z8k-tdep.c: Obsolete file.
1183
1184 2003-02-04 Andrew Cagney <ac131313@redhat.com>
1185
1186 * NEWS: Mention that the mn10200-elf is obsolete.
1187 * configure.tgt: Obsolete mn10200-*-* target.
1188 * breakpoint.c (update_breakpoints_after_exec): Update comment to
1189 mention that the mn10200 is obsolete.
1190 * breakpoint.h: Ditto.
1191 * MAINTAINERS: Mark the mn10200-elf as obsolete.
1192 * config/mn10200/mn10200.mt: Obsolete file.
1193 * config/mn10200/tm-mn10200.h: Obsolete file.
1194 * mn10200-tdep.c: Obsolete file.
1195
1196 2003-02-04 Andrew Cagney <ac131313@redhat.com>
1197
1198 * MAINTAINERS: Mark h8500 as obsolete.
1199 * configure.tgt (h8500-*-*): Mark h8500 code as obsolete.
1200 * findvar.c (value_from_register): Ditto.
1201 * h8500-tdep.c: Mark file as obsolete.
1202 * config/h8500/h8500.mt: Ditto.
1203 * config/h8500/tm-h8500.h: Ditto.
1204 * NEWS: Mention that h8500 is obsolete.
1205
1206 2003-02-04 David Carlton <carlton@math.stanford.edu>
1207
1208 * objfiles.c (allocate_objfile): Always set name. Add comment at
1209 start of function.
1210 * jv-lang.c (get_dynamics_objfile): Add comment.
1211
1212 2003-02-04 David Carlton <carlton@math.stanford.edu>
1213
1214 * symtab.h (SYMBOL_LINKAGE_NAME): Delete.
1215 * printcmd.c (build_address_symbolic): Replace uses of
1216 SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME,
1217 SYMBOL_NAME, and asm_demangle.
1218 Update copyright.
1219
1220 2003-02-04 David Carlton <carlton@math.stanford.edu>
1221
1222 * linespec.c (decode_compound): Extract code into
1223 lookup_prefix_sym.
1224 (lookup_prefix_sym): New function.
1225
1226 2003-02-04 David Carlton <carlton@math.stanford.edu>
1227
1228 * gdbtypes.h: Delete INTEGER_COERCION_BADNESS,
1229 FLOAT_COERCION_BADNESS.
1230 * gdbtypes.c (rank_one_type): Replace all uses of
1231 INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS.
1232
1233 2003-02-04 Jim Blandy <jimb@redhat.com>
1234
1235 * dwarf2read.c (dwarf2_locate_sections): When we find a macro info
1236 section, let dwarf_macinfo_section point to it, not
1237 dwarf_loc_section.
1238
1239 2003-02-04 Daniel Jacobowitz <drow@mvista.com>
1240
1241 Pointed out by Anton Blanchard <anton@samba.org>.
1242 * ppc-linux-tdep.c (insn_is_sigreturn): New function.
1243 (ppc_linux_at_sigtramp_return_path): Use it.
1244
1245 2003-02-04 Daniel Jacobowitz <drow@mvista.com>
1246
1247 * defs.h (streq): Add prototype.
1248 * utils.c (streq): New function.
1249
1250 * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of
1251 SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME.
1252 * mdebugread.c (new_symbol): Likewise.
1253 * stabsread.c (define_symbol): Likewise.
1254 * coffread.c (process_coff_symbol): Likewise.
1255 * dwarfread.c (new_symbol): Likewise.
1256
1257 * minsyms.c (prim_record_minimal_symbol_and_info): Use
1258 SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language
1259 here.
1260 (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call
1261 SYMBOL_INIT_DEMANGLED_NAME.
1262 * objfiles.c: Include "hashtab.h".
1263 (allocate_objfile): Call htab_set_functions_ex for the
1264 demangled_names_hash.
1265 (free_objfile): Call htab_delete for the demangled_names_hash.
1266 * objfiles.h (struct htab): Add declaration.
1267 (struct objfile): Add demangled_names_hash.
1268 * symfile.c: Include "hashtab.h".
1269 (reread_symbols): Call htab_delete for the demangled_names_hash.
1270 (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting
1271 SYMBOL_NAME in the bcache.
1272 * symtab.c: Include "hashtab.h". Update comments.
1273 (create_demangled_names_hash, symbol_set_names): New functions.
1274 (symbol_find_demangled_name): New function, broken out from
1275 symbol_init_demangled_names.
1276 (symbol_init_demangled_names): Use it.
1277 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses.
1278 (SYMBOL_SET_NAMES): New macro.
1279 (symbol_set_names): Add prototype.
1280
1281 2003-02-03 Jim Blandy <jimb@redhat.com>
1282
1283 Use a single, consistent representation for an empty minimal
1284 symbol table in an objfile.
1285 * objfiles.c (terminate_minimal_symbol_table): New function.
1286 (allocate_objfile): Call it.
1287 * objfiles.h (terminate_minimal_symbol_table): New declaration.
1288 (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is
1289 non-NULL.
1290 * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether
1291 objfile has minimal symbols, compare minimal_symbol_count to zero,
1292 instead of comparing msymbols with NULL.
1293 * objfiles.c (have_minimal_symbols): Same.
1294 * solib-sunos.c (solib_add_common_symbols): Call
1295 terminate_minimal_symbol_table.
1296 * symfile.c (reread_symbols): Same.
1297
1298 2003-02-03 Kevin Buettner <kevinb@redhat.com>
1299
1300 * s390-tdep.c (s390_address_class_type_flags)
1301 (s390_address_class_type_flags_to_name)
1302 (s390_address_class_name_to_type_flags): New functions.
1303 (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME,
1304 ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS.
1305
1306 2003-02-03 Michael Snyder <msnyder@redhat.com>
1307
1308 * arm-tdep.c: Fix spell-o in comment.
1309
1310 2003-02-03 Michal Ludvig <mludvig@suse.cz>
1311
1312 * dwarf2cfi.c (pointer_encoding): Added new parameter.
1313 * dwarf2cfi.c, dwarf2read.c: Changed all warnings and
1314 error messages to contain BFD filename.
1315
1316 2003-02-02 Elena Zannoni <ezannoni@redhat.com>
1317
1318 Fix PR gdb/742 gdb/743 gdb/877
1319 * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end.
1320 (do_mixed_source_and_assembly): Use
1321 make_cleanup_ui_out_tuple_begin_end and
1322 make_cleanup_ui_out_tuple_begin_end.
1323 (do_mixed_source_and_assembly): Ditto.
1324 * thread.c (do_captured_list_thread_ids): Ditto.
1325 * ui-out.h (ui_out_table_begin, ui_out_list_begin,
1326 ui_out_tuple_begin, ui_out_table_end, ui_out_list_end,
1327 ui_out_tuple_end): Delete prototypes.
1328 * ui-out.c (ui_out_list_begin, ui_out_tuple_begin,
1329 ui_out_list_end, ui_out_tuple_end): Delete.
1330
1331 From Kevin Buettner <kevinb@redhat.com>:
1332 * ui-out.h (make_cleanup_ui_out_table_begin_end): New function.
1333 * ui-out.c (make_cleanup_ui_out_table_begin_end)
1334 (do_cleanup_table_end): New functions.
1335 * breakpoint.c (print_it_typical, print_one_breakpoint, mention):
1336 Use cleanups to invoke_ui_out_tuple_end().
1337 (breakpoint_1): Use cleanup to invoke ui_out_table_end().
1338 * cli/cli-setshow.c (cmd_show_list): Use
1339 make_cleanup_ui_out_tuple_begin_end.
1340
1341 2003-02-02 Andrew Cagney <ac131313@redhat.com>
1342
1343 * frame.c (frame_unwind_register): New function.
1344 (frame_unwind_unsigned_register): Use.
1345 (frame_unwind_signed_register): Use.
1346 (frame_read_register): New function.
1347 * frame.h (frame_unwind_register): Declare.
1348 (frame_read_register): Declare.
1349
1350 * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write
1351 and frame_unwind_register instead of read_memory, write_register
1352 and deprecated_write_register_bytes.
1353
1354 2003-02-02 Andrew Cagney <ac131313@redhat.com>
1355
1356 * frame.h: Note that namelen can be negative.
1357 * frame.c (frame_map_name_to_regnum): When LEN is negative, use
1358 NAME's length.
1359
1360 * NEWS: Mention that the d10v's `regs' command is deprecated.
1361 * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info.
1362 (d10v_print_registers_info): New function.
1363 (show_regs): Call d10v_print_registers_info.
1364 (_initialize_d10v_tdep): Mark "show regs" command as deprecated.
1365
1366 2003-02-02 Mark Kettenis <kettenis@gnu.org>
1367
1368 * stack.c (print_frame_info): Restore call to annotate_frame_begin
1369 lost in the previous patch.
1370
1371 2003-02-01 Andrew Cagney <ac131313@redhat.com>
1372
1373 From 2002-11-09 Jason Molenda (jason-cl@molenda.com)
1374 * stack.c (print_frame_info_base): Output complete FRAME tuple
1375 for synthesized frames.
1376
1377 2003-02-02 Andrew Cagney <ac131313@redhat.com>
1378
1379 * mips-nat.c (zerobuf): Delete.
1380 (fetch_inferior_registers): Alloc local zerobuf.
1381 (fetch_core_registers): Alloc local zerobuf.
1382 * d10v-tdep.c (show_regs): Don't allocate a dynamic array using
1383 MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE.
1384 * thread-db.c (thread_db_store_registers): Ditto.
1385 * sh-tdep.c (sh_do_register): Ditto.
1386 * rom68k-rom.c (rom68k_supply_one_register): Ditto.
1387 * remote-sim.c (gdbsim_store_register): Ditto.
1388 * remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
1389 * remote-e7000.c (fetch_regs_from_dump): Ditto.
1390 * monitor.c (monitor_supply_register): Ditto.
1391 * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto.
1392 * mips-nat.c (fetch_inferior_registers): Ditto.
1393 * m68klinux-nat.c (fetch_register): Ditto.
1394 * lynx-nat.c (fetch_inferior_registers): Ditto.
1395 (fetch_inferior_registers): Ditto.
1396 * irix4-nat.c (supply_gregset, supply_fpregset): Ditto.
1397 * hpux-thread.c (hpux_thread_fetch_registers): Ditto.
1398 (hpux_thread_store_registers): Ditto.
1399 * hppah-nat.c (fetch_register): Ditto.
1400 * hppab-nat.c (fetch_register): Ditto.
1401 * hppa-tdep.c (pa_register_look_aside): Ditto.
1402 (pa_print_fp_reg, pa_strcat_fp_reg): Ditto.
1403 * dve3900-rom.c (fetch_bitmapped_register): Ditto.
1404
1405 2003-02-01 Andrew Cagney <ac131313@redhat.com>
1406
1407 * gdbarch.sh: Explictly specify all method levels. When a
1408 variable with an empty level, provide a non-multi-arch default.
1409 (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty.
1410 * gdbarch.h: Re-generate.
1411 * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined.
1412 * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1
1413
1414 2003-02-01 Andrew Cagney <ac131313@redhat.com>
1415
1416 * defs.h (host_pointer_to_address): Delete declaration.
1417 (address_to_host_pointer): Delete declaration.
1418 * utils.c (host_pointer_to_address): Delete function.
1419 (address_to_host_pointer): Delete function.
1420 * procfs.c (procfs_address_to_host_pointer): New function.
1421 * procfs.c (proc_set_watchpoint): Use.
1422 (procfs_can_use_hw_breakpoint): Update comments.
1423 * somsolib.c (hpux_address_to_host_pointer_hack): New function.
1424 (som_solib_add): Use.
1425 * hppa-tdep.c (hppa_pointer_to_address_hack): New function.
1426 * hppa-tdep.c (unwind_command): Use.
1427
1428 2003-02-01 Andrew Cagney <ac131313@redhat.com>
1429
1430 * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and
1431 strlen d_name.
1432
1433 * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS,
1434 ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code.
1435 (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code.
1436 * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro.
1437 (define_symbol): Update.
1438 * symfile.c (generic_load): Remove references to nindy.
1439 * symtab.c: Remove references to nindy.
1440
1441 2003-02-01 Andrew Cagney <ac131313@redhat.com>
1442
1443 * infcmd.c (print_float_info): Delete code conditional on
1444 FLOAT_INFO.
1445 * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright.
1446 * config/m68k/nm-apollo68b.h: Ditto.
1447 * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright.
1448 * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto.
1449 * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto.
1450
1451 2003-02-01 Mark Kettenis <kettenis@gnu.org>
1452
1453 * config/i386/tm-i386os9k.h: Removed.
1454
1455 * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v.
1456 Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since
1457 they're identical to i[3456]86-*-sysv* now.
1458 * config/i386/i386v32.mh: Removed.
1459 * config/i386/xm-i386v32.h: Removed.
1460 * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro.
1461
1462 * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed.
1463
1464 * config/i386/i386dgux.mh: Removed.
1465 * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4.
1466
1467 * configure.in: Fix typo.
1468 * configure: Regenerated.
1469
1470 2003-01-31 David Carlton <carlton@math.stanford.edu>
1471
1472 * dwarf2read.c (dwarf2_locate_sections): Set
1473 dwarf_ranges_section.
1474
1475 2003-01-31 Andrew Cagney <ac131313@redhat.com>
1476
1477 * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts.
1478 * utils.c: Update comments documenting legitimate uses of PTR.
1479
1480 * utils.c: Re-indent.
1481
1482 * config/djgpp/fnchange.lst: Delete nindy files.
1483 * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files.
1484 * nindy-share/nindy.c, nindy-share/env.h: Delete files.
1485 * nindy-share/coff.h, nindy-share/block_io.h: Delete files.
1486 * nindy-share/b.out.h, nindy-share/VERSION: Delete files.
1487 * nindy-share/README, nindy-share/Onindy.c: Delete files.
1488 * nindy-tdep.c, nindy-share/Makefile: Delete files.
1489 * Makefile.in (init.c): Remove nindy references.
1490 (saber_gdb): Delete rule.
1491 (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c,
1492 nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c,
1493 and a68v-nat.c.
1494 (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules.
1495 (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules.
1496 (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h,
1497 nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and
1498 nindy-share/stop.h.
1499 * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files.
1500 * saber.suppress: Delete file.
1501
1502 2003-01-31 Daniel Jacobowitz <drow@mvista.com>
1503
1504 * dbxread.c (stabs_data): New static variable.
1505 (fill_symbuf): Support an in-memory buffer for stabs data.
1506 (stabs_seek): New function.
1507 (dbx_psymtab_to_symtab): Relocate the stabs data if necessary.
1508 (read_ofile_symtab): Use stabs_seek.
1509 (elfstab_build_psymtabs): Take an asection* instead of
1510 an offset and size. Relocate the stabs data if necessary.
1511 Save the section* for dbx_psymtab_to_symtab.
1512 * dwarf2read.c: Add section variables for each debug section.
1513 (dwarf2_locate_sections): Fill them in.
1514 (dwarf2_read_section): Take an asection* argument.
1515 Relocate the section contents if necessary.
1516 (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers.
1517 * dwarf2cfi.c (parse_frame_info): Take a section argument and pass
1518 it to dwarf2_read_section.
1519 (dwarf2_build_frame_info): Update callers.
1520 * elfread.c (elf_symfile_read): Update call to
1521 elfstab_build_psymtabs.
1522 * gdb-stabs.h (struct dbx_symfile_info): Add stab_section.
1523 (DBX_STAB_SECTION): New macro.
1524 * stabsread.h (elfstab_build_psymtabs): Update prototype.
1525 * symfile.c (symfile_dummy_outputs): New function.
1526 (symfile_relocate_debug_section): New function.
1527 * symfile.h (symfile_relocate_debug_section): Add prototype.
1528
1529 2003-01-31 Richard Henderson <rth@redhat.com>
1530
1531 * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...
1532 (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM.
1533 (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM.
1534 * alpha-tdep.c (alpha_register_name): Add "unique".
1535 * alpha-tdep.h (ALPHA_NUM_REGS): Increment.
1536 (ALPHA_UNIQUE_REGNUM): New.
1537 * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New.
1538
1539 2003-01-31 Andrew Cagney <ac131313@redhat.com>
1540
1541 * README: Remove reference to Ericsson 1800 monitor.
1542 * Makefile.in (remote-es.o): Delete rule.
1543 (ALLDEPFILES): Delete remote-es.c.
1544 * remote-es.c: Delete file.
1545 * config/m68k/es1800.mt: Delete file.
1546 * config/djgpp/fnchange.lst: Update.
1547 * configure.tgt: Delete m68*-ericsson-* target.
1548
1549 2003-01-31 Adam Fedor <fedor@gnu.org>
1550
1551 * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc.
1552 Remove duplicate/shadowing variable of same name.
1553
1554 2003-01-30 Jim Blandy <jimb@redhat.com>
1555
1556 * symfile.c (find_separate_debug_file): Assert that the objfile's
1557 directory name we compute ends with a slash, and then assume that
1558 that's so everywhere we use it.
1559
1560 2003-01-30 Daniel Jacobowitz <drow@mvista.com>
1561
1562 * valops.c (value_assign): Flush frame cache after stores to memory
1563 also.
1564
1565 2003-01-30 Andrew Cagney <ac131313@redhat.com>
1566
1567 * Makefile.in (mon960-rom.o): Delete rule.
1568 * mon960-rom.c: Delete file.
1569
1570 2003-01-30 Andrew Cagney <ac131313@redhat.com>
1571
1572 * d10v-tdep.c: Include "frame-unwind.h".
1573 (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate
1574 list.
1575 (next_addr, uses_frame): Delete.
1576 (struct d10v_unwind_cache): Define.
1577 (prologue_find_regs): Add struct d10v_unwind_cache info parameter.
1578 Use info instead of next_addr and uses_frame globals.
1579 (d10v_frame_init_saved_regs): Delete function.
1580 (d10v_init_extra_frame_info): Delete function.
1581 (d10v_gdbarch_init): Do not initialize init_extra_frame_info,
1582 frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid,
1583 init_frame_pc or frame_saved_pc.
1584 (d10v_pop_frame): Delete function.
1585 (do_d10v_pop_frame): Delete function.
1586 (d10v_frame_chain): Delete function.
1587 (d10v_frame_chain_valid): Delete function.
1588 (d10v_frame_pc_unwind): New function.
1589 (d10v_frame_id_unwind): New function.
1590 (saved_regs_unwinder): New function.
1591 (d10v_frame_register_unwind): New function.
1592 (d10v_frame_pop): New function.
1593 (d10v_frame_unwind): New variable.
1594 (d10v_frame_p): New function.
1595 (d10v_frame_saved_pc): Delete function.
1596 * Makefile.in (d10v-tdep.o): Update dependencies.
1597
1598 2003-01-30 J. Brobecker <brobecker@gnat.com>
1599
1600 * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef
1601 causing some regressions due to a change in the default value
1602 for this macro.
1603
1604 2003-01-29 Richard Henderson <rth@redhat.com>
1605 Elena Zannoni <ezannoni@redhat.com>
1606 Daniel Jacobowitz <drow@mvista.com>
1607
1608 Fix PR gdb/961.
1609 * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New
1610 variables.
1611 (RANGES_SECTION): New.
1612 (dwarf_ranges_buffer): New variable.
1613 (struct comp_unit_head): Add member "die".
1614 (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size.
1615 (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New.
1616 (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size.
1617 (dwarf2_locate_sections): Likewise.
1618 (dwarf2_build_psymtabs): Read .debug_ranges.
1619 (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out.
1620 (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die.
1621 (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers.
1622 Look for DW_AT_ranges and return the bounding box.
1623
1624 2003-01-29 Brian Ford <ford@vss.fsi.com>
1625
1626 * win32-nat.c (cygwin_pid): Removed as unused.
1627 (child_attach): Try fall back to Cygwin pid.
1628
1629 2003-01-29 Jim Blandy <jimb@redhat.com>
1630
1631 * objfiles.h (struct objfile): Doc fix.
1632
1633 2003-01-29 Andrew Cagney <ac131313@redhat.com>
1634
1635 * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P.
1636 (legacy_get_prev_frame): Assert FRAME_CHAIN_P.
1637 (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame.
1638 (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P.
1639 * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate.
1640 (FRAME_SAVED_PC): Change to a function with predicate.
1641 * gdbarch.h, gdbarch.c: Re-generate.
1642
1643 2003-01-28 Andrew Cagney <ac131313@redhat.com>
1644
1645 * hppah-nat.c (child_pid_to_exec_file): Don't use boolean.
1646
1647 * complaints.c (complain): Delete function.
1648 * complaints.h (struct deprecated_complaint): Delete definition.
1649 (complain): Delete declaration.
1650
1651 2003-01-28 Kevin Buettner <kevinb@redhat.com>
1652
1653 * mips-tdep.c (mips_init_extra_frame_info): Return early for
1654 dummy frames.
1655
1656 2003-01-27 Andrew Cagney <ac131313@redhat.com>
1657
1658 * sentinel-frame.h, sentinel-frame.c: New files.
1659 * Makefile.in (frame.o): Update dependencies.
1660 (SFILES): Add sentinel-frame.c.
1661 (sentinel_frame_h): Define.
1662 (COMMON_OBS): Add sentinel-frame.o.
1663 (sentinel-frame.o): Specify dependencies.
1664 * frame.c: Include "sentinel-frame.h".
1665 (frame_register_unwind): Rewrite assuming that there is always a a
1666 ->next frame.
1667 (frame_register, generic_unwind_get_saved_register): Ditto.
1668 (frame_read_unsigned_register, frame_read_signed_register): Ditto.
1669 (create_sentinel_frame, unwind_to_current_frame): New functions.
1670 (get_current_frame): Rewrite using create_sentinel_frame and
1671 unwind_to_current_frame. When possible, always create a frame.
1672 (create_new_frame): Set next to the sentinel frame.
1673 (get_next_frame): Rewrite. Don't go below the level 0 frame.
1674 (deprecated_update_frame_pc_hack): Update the next frame's PC and
1675 ID cache when necessary.
1676 (frame_saved_regs_id_unwind): Use frame_relative_level.
1677 (deprecated_generic_get_saved_register): Use frame_relative_level,
1678 get_frame_saved_regs, get_frame_pc, get_frame_base and
1679 get_next_frame.
1680 (frame_saved_regs_register_unwind): Use get_frame_saved_regs and
1681 frame_register.
1682
1683 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
1684
1685 * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments.
1686
1687 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
1688
1689 * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
1690 (maintenance_set_profile_cmd): Use error () instead of warning ().
1691
1692 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
1693
1694 * configure.in: Check that -pg works if using --enable-profiling.
1695 Check for monstartup and _mcleanup regardless of --enable-profiling.
1696 * maint.c: Check for monstartup and _mcleanup before using them.
1697 * config.in: Regenerated.
1698 * configure: Regenerated.
1699
1700 2003-01-24 Nick Clifton <nickc@redhat.com>
1701
1702 * Add sh2e support:
1703
1704 2002-04-02 Elena Zannoni <ezannoni@redhat.com>
1705
1706 * gdb/sh-tdep.c (sh_sh2e_register_name): New.
1707 (sh2e_show_regs): New.
1708 (sh_gdbarch_init): Handle bfd_mach_sh2e.
1709 * config/sh/tm-sh.h: Added sh2e to comments.
1710
1711 2003-01-23 Jim Blandy <jimb@redhat.com>
1712
1713 * symfile.c (syms_from_objfile): Don't print the "(no debugging
1714 symbols found)" message here; we haven't checked for a separate
1715 debug info file yet, so we don't know yet.
1716 (symbol_file_add_with_addrs_or_offsets): Print it here, after
1717 we've looked everywhere. Also, there's no need to print a special
1718 message when we're loading the separate debug info file: the one
1719 symbol_file_add prints is fine.
1720
1721 2003-01-23 Alexander Larsson <alexl@redhat.com>
1722 Jim Blandy <jimb@redhat.com>
1723
1724 Add support for executables whose debug info has been separated
1725 out into a separate file, leaving only a link behind.
1726 * objfiles.h (struct objfile): New fields: separate_debug_objfile
1727 and separate_debug_objfile_backlink.
1728 (put_objfile_before): New declaration.
1729 * symfile.c: #include "filenames.h".
1730 (symbol_file_add_with_addrs_or_offsets): If this objfile has its
1731 debug info in a separate file, read that, too. Save the addrs
1732 argument, so we can use it again to read the separated debug info;
1733 syms_from_objfile modifies the table we pass it.
1734 (reread_symbols): After re-reading an objfile, call
1735 reread_separate_symbols to refresh its separate debug info
1736 objfile, if it has one.
1737 (reread_separate_symbols, find_separate_debug_file,
1738 get_debug_link_info, separate_debug_file_exists): New functions.
1739 (debug_file_directory): New global var.
1740 (_initialize_symfile): Initialize debug_file_directory, and
1741 provide the new `set debug-file-directory' command to let the user
1742 change it.
1743 * objfiles.c (free_objfile): If this objfile has its debug info in
1744 a separate objfile, free that one too. If this is itself a
1745 separate debug info objfile, clear our parent's backlink.
1746 (put_objfile_before): New function.
1747 * utils.c (gnu_debuglink_crc32): New function.
1748 * defs.h (gnu_debuglink_crc32): New declaration.
1749 * Makefile.in (symfile.o): Note dependency on "filenames.h".
1750 * configure.in: Handle --with-separate-debug-dir config option.
1751 * acinclude.m4 (AC_DEFINE_DIR): New macro.
1752 * acconfig.h (DEBUGDIR): New macro.
1753 * configure, aclocal.m4, config.in: Regenerated.
1754
1755 2003-01-22 Jim Blandy <jimb@redhat.com>
1756
1757 * symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
1758 like the old symbol_file_add, but taking new arguments: you can
1759 now pass in either a `struct section_addr_info' list to say where
1760 each section is loaded, or a `struct section_offsets' table. Pass
1761 these new arguments through to syms_from_objfile as appropriate.
1762 (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets,
1763 with the appropriate quiescent values for the new arguments.
1764
1765 * symfile.c: #include "gdb_assert.h".
1766 (syms_from_objfile): Add the ability to pass in a section offset
1767 table directly, as an alternative to the section_addr_info table.
1768 Document arguments better.
1769 (symbol_file_add): Pass extra arguments to syms_from_objfile.
1770 * symfile.h (syms_from_objfile): Update declaration.
1771 * rs6000-nat.c (objfile_symbol_add): Pass new arguments to
1772 syms_from_objfile.
1773 * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
1774
1775 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
1776
1777 Original patch by Tom Tromey <tromey@cygnus.com> and
1778 Jason Molenda <jmolenda@apple.com>.
1779 * Makefile.in (PROFILE_CFLAGS): Substitute from configure.
1780 (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS.
1781 * NEWS: Mention profiling.
1782 * configure.in (--enable-gdbtk): Fix typo.
1783 (--enable-profiling): New. Set PROFILE_CFLAGS.
1784 * maint.c (maintenance_set_profile_cmd): Remove NOTYET.
1785 Fill in function.
1786 (profiling_state): New variable.
1787 (mcleanup_wrapper): New function.
1788 (_initialize_maint): Remove NOTYET, fix call to
1789 add_setshow_boolean_cmd for "maint set profile".
1790 * configure: Regenerated.
1791
1792 2003-01-21 Martin M. Hunt <hunt@redhat.com>
1793
1794 * Makefile.in (install-gdbtk): Install PNG images too.
1795
1796 2003-01-21 Andrew Cagney <ac131313@redhat.com>
1797
1798 * exec.c (text_start): Delete global variable.
1799 (exec_file_attach): Make text_start local to the function.
1800 * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros.
1801 * valops.c (hand_function_call): Delete code that handles
1802 BEFORE_TEXT_END and AFTER_TEXT_END.
1803 * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead
1804 of CALL_DUMMY_LOCATION.
1805 * gdbarch.c: Regenerate.
1806 * inferior.h (deprecated_pc_in_call_dummy_before_text_end)
1807 (deprecated_pc_in_call_dummy_after_text_end): Delete declaration.
1808 * blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
1809 (deprecated_pc_in_call_dummy_after_text_end): Delete functions.
1810 (text_end): Delete extern declaration.
1811
1812 2003-01-21 Andrew Cagney <ac131313@redhat.com>
1813
1814 * frame.h (FRAME_OBSTACK_ZALLOC): Define.
1815 * blockframe.c (backtrace_below_main): Move to "frame.c".
1816 (frame_chain_valid): Delete check for backtrace_below_main.
1817 (_initialize_blockframe): Delete initialization, move ``set
1818 backtrace-below-main'' command to "frame.c".
1819 (do_flush_frames_sfunc): Delete function.
1820 * frame.c: Include "command.h" and "gdbcmd.h".
1821 (frame_type_from_pc): New function.
1822 (create_new_frame): Use frame_type_from_pc.
1823 (legacy_get_prev_frame): New function.
1824 (get_prev_frame): Rewrite. When an old style frame, call
1825 legacy_get_prev_frame. Otherwize, unwind the PC first.
1826 (_initialize_frame): Add ``set backtrace-below-main'' command.
1827 * Makefile.in (frame.o): Update dependencies.
1828
1829 2003-01-19 Andrew Cagney <ac131313@redhat.com>
1830
1831 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename
1832 DEPRECATED_REGISTERS_INFO.
1833
1834 2003-01-19 Andrew Cagney <ac131313@redhat.com>
1835
1836 * MAINTAINERS: Replace `Blanket Write Privs' with `Global
1837 Maintainers'. Update `Various Maintainers'.
1838
1839 2003-01-19 Andrew Cagney <ac131313@redhat.com>
1840
1841 * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
1842 * gdbarch.sh (POP_FRAME): Change to function with predicate.
1843 Suppress actual parameters when `-'.
1844 * gdbarch.h, gdbarch.c: Regenerate.
1845
1846 2003-01-19 Andrew Cagney <ac131313@redhat.com>
1847
1848 * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore
1849 code handling dummy frames.
1850
1851 2003-01-19 Andrew Cagney <ac131313@redhat.com>
1852
1853 * frame-unwind.h (frame_unwind_pop_ftype): Declare.
1854 (struct frame_unwind): Add field pop.
1855 * frame.h (frame_pop): Declare.
1856 * frame.c (frame_saved_regs_pop): New function.
1857 (trad_frame_unwinder): Add frame_saved_regs_pop.
1858 (frame_pop): New function.
1859 * dummy-frame.c (dummy_frame_pop): New function.
1860 (discard_innermost_dummy): New function.
1861 (generic_pop_dummy_frame): Use discard_innermost_dummy.
1862 (dummy_frame_unwind): Add dummy_frame_pop.
1863 * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
1864 * valops.c (hand_function_call): Ditto.
1865 * stack.c (return_command): Ditto.
1866
1867 2003-01-18 Andrew Cagney <ac131313@redhat.com>
1868
1869 * cris-tdep.c: Fix function declaration indentation.
1870 * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
1871 * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
1872 * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
1873 * symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
1874 * xcoffread.c, config/pa/tm-hppa.h: Ditto.
1875 * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
1876
1877 2003-01-18 Michael Chastain <mec@shout.net>
1878
1879 * README (Unpacking and Installation -- quick overview):
1880 Warn against ".../gdb-5.3/gdb/configure".
1881
1882 2003-01-18 Andrew Cagney <ac131313@redhat.com>
1883
1884 * dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
1885 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
1886 (struct frame_unwind): Declare opaque.
1887 (dummy_frame_p): Declare function.
1888 * dummy-frame.c (dummy_frame_id_unwind): Make static.
1889 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
1890 * dummy-frame.c: Include "frame-unwind.h".
1891 (dummy_frame_p): New function.
1892 (dummy_frame_unwind): New variable.
1893 * frame.c: Include "frame-unwind.h".
1894 (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
1895 to use the new unwind field.
1896 (set_unwind_by_pc): Delete function.
1897 (create_new_frame, get_prev_frame): Set unwind field using
1898 frame_unwind_find_by_pc.
1899 (trad_frame_unwind, trad_frame_unwinder): New variables.
1900 * frame.h (trad_frame_unwind): Declare variable.
1901 (frame_id_unwind_ftype): Delete declaration.
1902 (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
1903 (struct frame_unwind): Declare opaque.
1904 (struct frame_info): Replace the fields id_unwind, pc_unwind and
1905 register_unwind with a single unwind pointer.
1906 * frame-unwind.h, frame-unwind.c: New files.
1907 * Makefile.in (SFILES): Add frame-unwind.c.
1908 (frame_unwind_h): Define.
1909 (COMMON_OBS): Add frame-unwind.o.
1910 (frame-unwind.o): Specify dependencies.
1911 (frame.o, dummy-frame.o): Update dependencies.
1912
1913 2003-01-18 Andrew Cagney <ac131313@redhat.com>
1914
1915 * ada-valprint.c: Eliminate PTR.
1916 * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
1917 * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
1918 * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
1919 * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
1920 * remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
1921 * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
1922 * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
1923
1924 2003-01-17 Andrew Cagney <ac131313@redhat.com>
1925
1926 * main.c (captured_main): Don't use PTR.
1927 * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp.
1928 * gdbtypes.c (lookup_primitive_typename): Ditto.
1929 (lookup_struct_elt_type): Ditto.
1930 * f-valprint.c (info_common_command): Ditto.
1931 (list_all_visible_commons): Ditto.
1932 * jv-typeprint.c (java_type_print_base): Ditto.
1933
1934 * config/djgpp/fnchange.lst: Rename mi1-var-block.exp,
1935 mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp.
1936 Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename
1937 i386-interix-nat.c and i386-interix-tdep.c. Rename
1938 m68klinux-nat.c and m68klinux-tdep.c. Rename
1939 config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename
1940 bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename
1941 gdb/objc-exp.tab.c and gdb/ada-exp.tab.c
1942 * main.c (captured_main): Use xfree, not free.
1943
1944 2003-01-16 Andrew Cagney <ac131313@redhat.com>
1945
1946 * frame.h (frame_id_unwind_ftype): Change type so that the frame's
1947 ID back using a parameter.
1948 * frame.c (frame_id_unwind): Update call.
1949 (frame_saved_regs_id_unwind): Update.
1950 * dummy-frame.c (dummy_frame_id_unwind): Update function.
1951 * dummy-frame.h (struct frame_id): Add opaque declaration.
1952 (dummy_frame_id_unwind): Update declaration.
1953
1954 2003-01-15 Andrew Cagney <ac131313@redhat.com>
1955
1956 * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.
1957
1958 2003-01-15 Stephen P. Smith <ischis2@cox.net>
1959
1960 * MAINTAINERS (Stephen P. Smith): Updated email address.
1961
1962 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
1963
1964 Fix PR gdb/898
1965 * breakpoint.c (until_break_command): Add new argument. Use it to
1966 decide whether to stop only at the current frame or not.
1967 * breakpoint.h (until_break_command): Update prototype.
1968 * infcmd.c (until_command): Add new argument to until_break_command
1969 call.
1970 (advance_command): New function.
1971 (_initialize_infcmd): Update help string for 'until' command.
1972 Add new 'advance' command.
1973
1974 2003-01-14 David Carlton <carlton@math.stanford.edu>
1975
1976 * linespec.c (decode_line_1): Normalize comments.
1977 (set_flags): Ditto.
1978 (locate_first_half): Ditto.
1979 (decode_compound): Ditto.
1980 (symtab_from_filename): Ditto.
1981 (decode_all_digits): Ditto.
1982 (decode_dollar): Ditto.
1983 (find_methods): Ditto.
1984 (find_toplevel_char): Ditto.
1985
1986 2003-01-13 Andrew Cagney <ac131313@redhat.com>
1987
1988 * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright.
1989 * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright.
1990 * elfread.c, eval.c, expprint.c, expression.h: Update copyright.
1991 * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright.
1992 * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright.
1993 * language.c, language.h, m32r-tdep.c: Update copyright.
1994 * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright.
1995 * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright.
1996 * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright.
1997 * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright.
1998 * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright.
1999 * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright.
2000
2001 2003-01-13 Elena Zannoni <ezannoni@redhat.com>
2002
2003 * stabsread.h (process_later, resolve_cfront_continuation):
2004 Obsolete.
2005 Update copyright years.
2006 * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront.
2007 Update copyright year.
2008 * dbxread.c(struct cont_elem): Obsolete.
2009 (process_later, process_now): Obsolete functions.
2010 (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support.
2011 Update copyright year.
2012 * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros.
2013 (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions.
2014 * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront.
2015 (parse_partial_symbols): Obsolete cfront support.
2016 * stabsread.c
2017 (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete
2018 macros.
2019 (get_substring, get_cfront_method_physname, msg_unknown_complaint,
2020 read_cfront_baseclasses, read_cfront_member_functions,
2021 resolve_cfront_continuation,read_cfront_static_fields,
2022 copy_cfront_struct_fields): Obsolete functions.
2023 (define_symbol, read_one_struct_field): Obsolete cfront support.
2024 * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support.
2025 Update Copyright year.
2026
2027 2003-01-13 Elena Zannoni <ezannoni@redhat.com>
2028
2029 * stack.c (print_frame_info, print_stack_frame_base_stub,
2030 print_stack_frame_base, show_and_print_stack_frame_stub,
2031 show_and_print_stack_frame, print_only_stack_frame_stub,
2032 print_only_stack_frame): Delete functions.
2033 (print_stack_frame_stub): Call print_frame_info instead of
2034 print_frame_info_base.
2035 (print_frame_info_base): Rename to print_frame_info.
2036 (backtrace_command_1): Call print_frame_info, instead of
2037 print_frame_info_base.
2038 (current_frame_command): Call print_stack_frame, instead of
2039 print_only_stack_frame.
2040 (frame_command): Call print_stack_frame, instead of
2041 show_and_print_stack_frame.
2042 (up_command): Ditto.
2043 (down_command): Ditto.
2044 * frame.h (print_only_stack_frame): Delete prototype.
2045 * infrun.c (normal_stop): Call print_stack_frame, instead of
2046 show_and_print_stack_frame.
2047 * thread.c (info_threads_command): Call print_stack_frame, instead
2048 of print_only_stack_frame.
2049
2050 2003-01-13 Andrew Cagney <ac131313@redhat.com>
2051
2052 * README (Graphical interface to GDB): Update URL. Point at
2053 gdb/links/.
2054
2055 * gdb_indent.sh: Update to version 2.2.9. Warn when not exact
2056 version match.
2057
2058 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
2059
2060 * symtab.c (find_pc_sect_line): Don't consider end-of-function
2061 lines.
2062
2063 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
2064
2065 * thread-db.c (attach_thread): Prototype.
2066 (struct private_thread_info): Remove lwpid. Add thread handle (th),
2067 thread information (ti), and valid flags (th_valid, ti_valid).
2068 (attach_thread): Move target_pid_to_str call to after the thread
2069 is added to GDB's list. Initialize the cache.
2070 (thread_get_info_callback, thread_db_map_id2thr)
2071 (thread_db_get_info): New functions.
2072 (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers)
2073 (thread_db_store_registers, thread_db_thread_alive)
2074 (thread_db_get_thread_local_address): Use them.
2075 (thread_db_pid_to_str): Likewise. Return "Missing" instead
2076 of calling error() for threads in unknown state.
2077
2078 (clear_lwpid_callback): New function.
2079 (thread_db_resume): Use it to clear the cache.
2080
2081 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
2082
2083 * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
2084 (resume_callback): Remove dead code.
2085
2086 2003-01-13 Andrew Cagney <ac131313@redhat.com>
2087
2088 * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
2089 predicate.
2090 * gdbarch.h, gdbarch.c: Regenerate.
2091 * stack.c (frame_info): Only initialize the saved registers when
2092 FRAME_INIT_SAVED_REGS_P.
2093 * frame.c (frame_saved_regs_register_unwind): Assert
2094 FRAME_INIT_SAVED_REGS_P.
2095 (deprecated_generic_get_saved_register): Ditto.
2096
2097 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
2098
2099 * source.c (openp): Squelch warning about "filename".
2100
2101 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
2102
2103 * source.c (openp): If the file does not exist don't necessarily
2104 search the path.
2105
2106 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
2107
2108 Fix PR gdb/872.
2109 * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN.
2110 (integer_types_same_name_p): New function.
2111 (rank_one_type): Use it.
2112 * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN.
2113
2114 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
2115
2116 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
2117 variables.
2118 (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE).
2119 * configure.in: Add --with-sysroot.
2120 * configure: Regenerated.
2121 * main.c (gdb_sysroot): New variable.
2122 (captured_main): Initialize gdb_sysroot.
2123 * defs.h (gdb_sysroot): New extern declaration.
2124 * solib.c (_initialize_solib): Initialize solib_absolute_prefix.
2125
2126 2003-01-12 Michael Chastain <mec@shout.net>
2127
2128 * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
2129
2130 2003-01-12 Michael Chastain <mec@shout.net>
2131
2132 * top.c (print_gdb_version): Bump copyright year to 2003.
2133
2134 2003-01-12 David Carlton <carlton@bactrian.org>
2135
2136 * linespec.c (symtab_from_filename): Rename variable 's' to
2137 'file_symtab'.
2138
2139 2003-01-12 Andrew Cagney <ac131313@redhat.com>
2140
2141 * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
2142 dummy frame.
2143 (d10v_frame_saved_pc, d10v_frame_chain): Ditto.
2144
2145 2003-01-12 Andrew Cagney <ac131313@redhat.com>
2146
2147 * d10v-tdep.c: Include "gdb_assert.h".
2148 (d10v_store_return_value): Rewrite to match current interface.
2149 (d10v_extract_struct_value_address): Ditto.
2150 (d10v_extract_return_value): Ditto.
2151 (d10v_gdbarch_init): Set store_restore_value,
2152 extract_struct_value_address and extract_return_value.
2153
2154 2003-01-12 J. Brobecker <brobecker@gnat.com>
2155
2156 * hpread.c (set_namestring): New procedure replacing the
2157 SET_NAMESTRING macro.
2158 (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
2159 by calls to set_namestring.
2160
2161 2003-01-11 J. Brobecker <brobecker@gnat.com>
2162
2163 * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
2164 a compilation warning.
2165 (hpread_process_one_debug_symbol): Likewise.
2166
2167 2003-01-10 David Carlton <carlton@math.stanford.edu>
2168
2169 * linespec.c (decode_line_1): Rename variable 's' to
2170 'file_symtab'.
2171 (decode_all_digits): Rename argument 's' to 'file_symtab'.
2172 (decode_dollar): Ditto.
2173 (decode_variable): Ditto.
2174 (symbol_found): Ditto.
2175
2176 2003-01-09 Michael Chastain <mec@shout.net>
2177
2178 * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
2179
2180 2003-01-07 Corinna Vinschen <vinschen@redhat.com>
2181
2182 * win32-nat.c (set_process_privilege): New function.
2183 (child_attach): Call set_process_privilege() to enable the
2184 SE_DEBUG_NAME user privilege if available in process token.
2185
2186 2003-01-10 J. Brobecker <brobecker@gnat.com>
2187
2188 * hpread.c (hpread_process_one_debug_symbol): Fix a small
2189 compilation error in the previous revision.
2190
2191 2003-01-09 David Carlton <carlton@math.stanford.edu>
2192
2193 * linespec.c: Update copyright.
2194
2195 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
2196
2197 * lin-lwp.c (child_wait): Ignore exit statuses for processes other
2198 than inferior_ptid.
2199 (lin_lwp_wait): Ignore exit statuses for unknown LWPs.
2200
2201 2003-01-09 Andrew Cagney <ac131313@redhat.com>
2202
2203 * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
2204 Update comments.
2205 * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
2206 (frame_saved_regs_zalloc): Update.
2207 (frame_saved_regs_register_unwind): Update.
2208 (create_new_frame): Update.
2209 (get_prev_frame): Update.
2210 (frame_extra_info_zalloc): Update.
2211 (deprecated_get_frame_saved_regs): Update.
2212 * dwarf2cfi.c (cfi_init_extra_frame_info): Update.
2213 * cris-tdep.c: Update comment.
2214
2215 * somsolib.h: Fix function indentation.
2216 * disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
2217 * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
2218 * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
2219 * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
2220 * somsolib.c, inftarg.c: Remove assignment in if conditional.
2221
2222 * infrun.c (follow_fork): Use ISO C definition.
2223 * expprint.c (print_subexp): Use xfree instead of free.
2224 * charset.c: Include "gdb_string.h" instead of <string.h>.
2225 (register_iconv_charsets): Use ISO C definition.
2226 (host_charset, target_charset): Ditto.
2227 * Makefile.in (charset.o): Update dependencies.
2228 (mi-cmd-env.o): Update dependencies.
2229
2230 2003-01-08 Andrew Cagney <cagney@redhat.com>
2231
2232 * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
2233 get_frame_base.
2234
2235 2003-01-08 Andrew Cagney <ac131313@redhat.com>
2236
2237 * gdb_mbuild.sh: Add --keep option. When specified, keep the
2238 build directories. Save edited gdb output in Mbuild.log. If a
2239 build fails, remove any final GDB executable.
2240
2241 2003-01-08 Andrew Cagney <ac131313@redhat.com>
2242
2243 * gdb_mbuild.sh: Edit the output of `maint print architecture'
2244 replacing hex constants with function names and stripping leading
2245 file name directory prefixes.
2246
2247 2003-01-08 Andrew Cagney <cagney@redhat.com>
2248
2249 * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
2250 get_frame_base.
2251
2252 2003-01-08 David Carlton <carlton@math.stanford.edu>
2253
2254 * linespec.c (decode_line_1): Move code into decode_variable.
2255 (decode_variable): New function.
2256
2257 2003-01-08 Andrew Cagney <ac131313@redhat.com>
2258
2259 * mn10300-tdep.c (analyze_dummy_frame): Fix typo.
2260
2261 2003-01-08 Andrew Cagney <cagney@redhat.com>
2262
2263 * cris-tdep.c (cris_frame_init_saved_regs): Use
2264 get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
2265 saved_regs buffer.
2266 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
2267 (sh64_nofp_frame_init_saved_regs): Ditto.
2268 (sh_fp_frame_init_saved_regs): Ditto.
2269 * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
2270 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
2271 * mcore-tdep.c (analyze_dummy_frame): Ditto.
2272 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
2273
2274 2003-01-08 Daniel Jacobowitz <drow@mvista.com>
2275
2276 * minsyms.c (lookup_minimal_symbol): Update comment.
2277 (lookup_minimal_symbol_text): Update comment. Use the hash table.
2278 (lookup_minimal_symbol_solib_trampoline): Likewise.
2279
2280 2003-01-08 Andrew Cagney <cagney@redhat.com>
2281
2282 * d10v-tdep.c (d10v_init_extra_frame_info): Use
2283 frame_relative_level.
2284
2285 * alpha-tdep.c: Use get_frame_extra_info.
2286 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
2287 * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
2288 * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
2289 * sparc-tdep.c, xstormy16-tdep.c: Ditto.
2290
2291 * alpha-tdep.c: Use get_next_frame.
2292 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
2293 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
2294 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
2295 * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
2296 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
2297 * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
2298 * xstormy16-tdep.c: Ditto.
2299
2300 2003-01-07 Andrew Cagney <cagney@redhat.com>
2301
2302 * alpha-tdep.c: Use get_frame_base.
2303 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
2304 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
2305 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
2306 * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
2307 * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
2308 * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
2309 * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
2310 * config/sparc/tm-sparc.h: Ditto.
2311
2312 2003-01-07 Andrew Cagney <cagney@redhat.com>
2313
2314 * frame.c (deprecated_get_frame_context): New function.
2315 (deprecated_set_frame_context): New function.
2316 * frame.h (deprecated_get_frame_context): Declare.
2317 (deprecated_set_frame_context): Declare.
2318 * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
2319 (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
2320
2321 2003-01-07 Andrew Cagney <cagney@redhat.com>
2322
2323 * frame.c (deprecated_set_frame_next_hack): New function.
2324 (deprecated_set_frame_prev_hack): New function.
2325 * frame.h (deprecated_set_frame_next_hack): Declare.
2326 (deprecated_set_frame_prev_hack): Declare.
2327 * mcore-tdep.c (analyze_dummy_frame): Use
2328 deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
2329 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
2330
2331 2003-01-07 David Carlton <carlton@math.stanford.edu>
2332
2333 * linespec.c (decode_line_1): Move code into decode_dollar.
2334 (decode_dollar): New function.
2335
2336 2003-01-07 Andrew Cagney <cagney@redhat.com>
2337
2338 * arm-tdep.c (arm_init_extra_frame_info): Use
2339 deprecated_update_frame_base_hack.
2340 * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto.
2341 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
2342 (fix_frame_pointer): Ditto.
2343 (mn10300_analyze_prologue): Ditto.
2344
2345 2003-01-07 Andrew Cagney <cagney@redhat.com>
2346
2347 * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
2348 extra_info using frame_extra_info_zalloc.
2349 * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
2350 * sh-tdep.c (sh_init_extra_frame_info): Ditto.
2351 (sh64_init_extra_frame_info): Ditto.
2352 * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
2353 * s390-tdep.c (s390_init_extra_frame_info): Ditto.
2354 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
2355 * mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
2356 * frv-tdep.c (frv_init_extra_frame_info): Ditto.
2357 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
2358 * ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
2359 * h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
2360 * d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
2361 * cris-tdep.c (cris_init_extra_frame_info): Ditto.
2362 * arm-tdep.c (arm_init_extra_frame_info): Ditto.
2363 * alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
2364
2365 * mn10300-tdep.c (analyze_dummy_frame): Use
2366 deprecated_set_frame_extra_info_hack.
2367 * mcore-tdep.c (analyze_dummy_frame): Ditto.
2368
2369 2003-01-07 J. Brobecker <brobecker@gnat.com>
2370
2371 * mdebugread.c (parse_symbol): Skip stProc entries which storage
2372 class is not scText. These do not define "real" procedures.
2373 (parse_partial_symbols): Likewise.
2374
2375 2003-01-06 Michael Snyder <msnyder@redhat.com>
2376
2377 * lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
2378
2379 2003-01-06 Andrew Cagney <ac131313@redhat.com>
2380
2381 * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
2382 * frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
2383 * arm-tdep.c (arm_frame_chain): Allocate caller_fi using
2384 deprecated_frame_xmalloc_with_cleanup.
2385 * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
2386 deprecated_frame_xmalloc.
2387 * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
2388 * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
2389
2390 2003-01-06 Andrew Cagney <cagney@redhat.com>
2391
2392 * x86-64-linux-tdep.c: Include "osabi.h".
2393 * Makefile.in (x86-64-linux-tdep.o): Update dependencies.
2394
2395 * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
2396
2397 2003-01-06 Andrew Cagney <cagney@redhat.com>
2398
2399 * MAINTAINERS (Target Instruction Set Architectures): Update
2400 arm-elf. Can be built with -Werror, has been multiarched.
2401
2402 * value.h (unpack_long): Make buffer parameter constant.
2403 (unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
2404 * scm-lang.h (scm_parse): Ditto.
2405 * defs.h (extract_typed_address, extract_address): Ditto.
2406 (extract_long_unsigned_integer): Ditto.
2407 * inferior.h (unsigned_pointer_to_address): Ditto.
2408 (signed_pointer_to_address): Ditto.
2409 * gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
2410 * gdbarch.h, gdbarch.c: Regenerate.
2411 * findvar.c (extract_long_unsigned_integer): Update.
2412 (extract_address): Update.
2413 (extract_typed_address): Update.
2414 (unsigned_pointer_to_address): Update.
2415 * values.c (unpack_long): Update.
2416 (unpack_double): Update.
2417 (unpack_pointer): Update.
2418 (unpack_field_as_long): Update.
2419 * d10v-tdep.c (d10v_pointer_to_address): Update.
2420 * avr-tdep.c (avr_pointer_to_address): Update.
2421 * scm-lang.c (scm_unpack): Update.
2422 * findvar.c (signed_pointer_to_address): Update.
2423
2424 2003-01-06 Michal Ludvig <mludvig@suse.cz>
2425
2426 * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore
2427 since it is in i386-tdep.c.
2428
2429 2003-01-06 J. Brobecker <brobecker@gnat.com>
2430
2431 * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
2432 failure introduced in the previous change.
2433
2434 2003-01-05 Michael Chastain <mec@shout.net>
2435
2436 * README: Remove references to deleted remote-*.c files:
2437 remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
2438 remote-nrom.c, remote-os9k.c, remote-udi.c.
2439
2440 2003-01-05 Mark Kettenis <kettenis@gnu.org>
2441
2442 * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
2443 * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
2444 i386_get_longjmp_target.
2445
2446 2003-01-05 Andrew Cagney <ac131313@redhat.com>
2447
2448 * arm-tdep.c (prologue_cache): Change to a pointer.
2449 (_initialize_arm_tdep): Allocate prologue_cache.
2450 (check_prologue_cache): Update.
2451 (save_prologue_cache): Update.
2452 (arm_gdbarch_init): Update.
2453
2454 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
2455
2456 * stabsread.c (update_method_name_from_physname): Call complaint()
2457 instead of error.
2458
2459 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
2460
2461 * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
2462 * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
2463 * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
2464
2465 * blockframe.c: Include "gdbcmd.h" and "command.h".
2466 (backtrace_below_main): New variable.
2467 (file_frame_chain_valid, func_frame_chain_valid)
2468 (nonnull_frame_chain_valid, generic_file_frame_chain_valid)
2469 (generic_func_frame_chain_valid): Remove functions.
2470 (frame_chain_valid, do_flush_frames_sfunc): New functions.
2471 (_initialize_blockframe): New function.
2472 * Makefile.in (blockframe.o): Update dependencies.
2473 * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
2474 comment. Call frame_chain_valid ().
2475 * frame.h: Remove old prototypes. Add prototype for
2476 frame_chain_valid and update comments to match.
2477 * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
2478 Remove old comment.
2479 * gdbarch.h: Regenerated.
2480 * gdbarch.c: Regenerated.
2481
2482 * alpha-tdep.c (alpha_gdbarch_init): Don't call
2483 set_gdbarch_frame_chain_valid.
2484 * avr-tdep.c (avr_gdbarch_init): Likewise.
2485 * cris-tdep.c (cris_gdbarch_init): Likewise.
2486 * frv-tdep.c (frv_gdbarch_init): Likewise.
2487 * h8300-tdep.c (h8300_gdbarch_init): Likewise.
2488 * i386-tdep.c (i386_svr4_init_abi): Likewise.
2489 (i386_nw_init_abi): Likewise.
2490 (i386_gdbarch_init): Likewise.
2491 * ia64-tdep.c (ia64_gdbarch_init): Likewise.
2492 * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
2493 * m68k-tdep.c (m68k_gdbarch_init): Likewise.
2494 * mcore-tdep.c (mcore_gdbarch_init): Likewise.
2495 * mips-tdep.c (mips_gdbarch_init): Likewise.
2496 * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
2497 * ns32k-tdep.c (ns32k_gdbarch_init): Likewise.
2498 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise.
2499 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
2500 * s390-tdep.c (s390_gdbarch_init): Likewise.
2501 * sh-tdep.c (sh_gdbarch_init): Likewise.
2502 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
2503 * v850-tdep.c (v850_gdbarch_init): Likewise.
2504 * vax-tdep.c (vax_gdbarch_init): Likewise.
2505 * x86-64-tdep.c (x86_64_init_abi): Likewise.
2506
2507 * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define.
2508 * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise.
2509 * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise.
2510 * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise.
2511 * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise.
2512 * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise.
2513 * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise.
2514 * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise.
2515
2516 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
2517
2518 * Makefile.in (acconfig_h): Remove incorrect macro.
2519 (config_h): Define.
2520 (osabi.o): Update dependencies.
2521 * configure.tgt: Set gdb_osabi based on target triplet.
2522 * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
2523 * configure: Regenerated.
2524 * config.in: Regenerated.
2525 * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
2526 (GDB_OSABI_DEFAULT): Define if not already defined.
2527 (user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
2528 (set_osabi_string): New variables.
2529 (gdbarch_register_osabi): Add new OS ABI to
2530 gdb_osabi_available_names.
2531 (gdbarch_lookup_osabi): Honor specified and default OS ABIs.
2532 (set_osabi, show_osabi): New functions.
2533 (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
2534
2535 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
2536
2537 * arch-utils.c (gdbarch_info_init): Set osabi to
2538 GDB_OSABI_UNINITIALIZED.
2539 * gdbarch.sh: Add osabi to struct gdbarch and to struct
2540 gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi
2541 in gdbarch_list_lookup_by_info and in gdbarch_update_p.
2542 * gdbarch.c: Regenerated.
2543 * gdbarch.h: Regenerated.
2544 * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
2545 there's no BFD.
2546 (gdbarch_init_osabi): Remove osabi argument; use info.osabi.
2547 * osabi.h (enum gdb_osabi): Move to defs.h.
2548 (gdbarch_init_osabi): Update prototype.
2549 * defs.h (enum gdb_osabi): Moved here.
2550 * Makefile.in: Update dependencies.
2551
2552 * alpha-tdep.h: Don't include "osabi.h".
2553 (struct gdbarch_tdep): Remove osabi member.
2554 * alpha-tdep.c: Include "osabi.h".
2555 (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
2556 iterate over arches. Update call to gdbarch_init_osabi.
2557 (alpha_dump_tdep): Don't dump osabi.
2558 * alpha-linux-tdep.c: Include "osabi.h".
2559 * alpha-osf1-tdep.c: Include "osabi.h".
2560 * alphafbsd-tdep.c: Include "osabi.h".
2561 * alphanbsd-tdep.c: Include "osabi.h".
2562
2563 * arm-tdep.h: Don't include "osabi.h".
2564 (struct gdbarch_tdep): Remove osabi member.
2565 * arm-tdep.c: Include "osabi.h".
2566 (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
2567 iterate over arches. Update call to gdbarch_init_osabi.
2568 (arm_dump_tdep): Don't dump osabi.
2569 * arm-linux-tdep.c: Include "osabi.h".
2570 * armnbsd-tdep.c: Include "osabi.h".
2571
2572 * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi.
2573 Update call to gdbarch_init_osabi.
2574
2575 * i386-tdep.h: Don't include "osabi.h".
2576 (struct gdbarch_tdep): Remove osabi member.
2577 * i386-tdep.c: Include "osabi.h".
2578 (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
2579 iterate over arches. Update call to gdbarch_init_osabi.
2580 (i386_dump_tdep): Don't dump osabi.
2581 * i386-linux-tdep.c: Include "osabi.h".
2582 * i386-sol2-tdep.c: Include "osabi.h".
2583 * i386bsd-tdep.c: Include "osabi.h".
2584 * i386gnu-tdep.c: Include "osabi.h".
2585 * i386ly-tdep.c: Include "osabi.h".
2586 * i386nbsd-tdep.c: Include "osabi.h".
2587 * i386obsd-tdep.c: Include "osabi.h".
2588
2589 * mips-tdep.c (struct gdbarch_tdep): Remove osabi member.
2590 (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
2591 check osabi when iterating over arches. Update call to
2592 gdbarch_init_osabi.
2593 (mips_dump_tdep): Don't dump osabi.
2594
2595 * ns32k-tdep.h: Don't include "osabi.h".
2596 (struct gdbarch_tdep): Remove.
2597 * ns32k-tdep.c (ns32k_gdbarch_init): Don't call
2598 gdbarch_lookup_osabi. Don't iterate over arches. Don't
2599 allocate tdep. Update call to gdbarch_init_osabi.
2600 (ns32k_dump_tdep): Remove.
2601 (_initialize_ns32k_tdep): Update call to gdbarch_register.
2602 * ns32knbsd-tdep.c: Include "osabi.h".
2603
2604 * ppc-tdep.h: Don't include "osabi.h".
2605 (struct gdbarch_tdep): Remove osabi member.
2606 * rs6000-tdep.c: Include "osabi.h".
2607 (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check
2608 osabi when iterating over arches. Update call to
2609 gdbarch_init_osabi.
2610 (rs6000_dump_tdep): Don't dump osabi.
2611 * ppc-linux-tdep.c: Include "osabi.h".
2612 * ppcnbsd-tdep.c: Include "osabi.h".
2613
2614 * sh-tdep.h: Don't include "osabi.h".
2615 (struct gdbarch_tdep): Remove osabi member.
2616 * sh-tdep.c: Include "osabi.h".
2617 (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
2618 iterate over arches. Update call to gdbarch_init_osabi.
2619 (sh_dump_tdep): Don't dump osabi.
2620 * shnbsd-tdep.c: Include "osabi.h".
2621
2622 * sparc-tdep.c: Include "osabi.h".
2623 (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
2624 iterate over arches. Update call to gdbarch_init_osabi.
2625 (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the
2626 tdep structure.
2627
2628 * vax-tdep.h: Don't include "osabi.h".
2629 (struct gdbarch_tdep): Remove.
2630 * vax-tdep.c: Include "osabi.h".
2631 (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
2632 iterate over arches. Don't allocate tdep. Update call
2633 to gdbarch_init_osabi.
2634 (vax_dump_tdep): Remove.
2635 (_initialize_vax_tdep): Update call to gdbarch_register.
2636
2637 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
2638
2639 * breakpoint.c (insert_breakpoints): Skip disabled breakpoints
2640 entirely.
2641 (breakpoint_re_set_one): Don't fetch the value for a disabled
2642 watchpoint.
2643
2644 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
2645
2646 * buildsym.h (processing_hp_compilation): Remove obsolete variable.
2647 * gdbarch.sh Remove include of "value.h" in gdbarch.h.
2648 (COERCE_FLOAT_TO_DOUBLE): Remove.
2649 * gdbarch.c: Regenerate.
2650 * gdbarch.h: Regenerate.
2651 * Makefile.in: Remove value_h from gdbarch_h.
2652 * valops.c (coerce_float_to_double): New variable.
2653 (default_coerce_float_to_double): Remove.
2654 (standard_coerce_float_to_double): Remove.
2655 (value_arg_coerce): Use coerce_float_to_double.
2656 (_initialize_valops): Add "set coerce-float-to-double".
2657 * value.h (default_coerce_float_to_double): Remove prototype.
2658 (standard_coerce_float_to_double): Remove prototype.
2659
2660 * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
2661 prototyped.
2662 * mdebugread.c (parse_symbol): Likewise.
2663 * stabsread.c (define_symbol): Mark all functions as prototyped.
2664
2665 * hppa-tdep.c (hppa_coerce_float_to_double): Remove.
2666 * alpha-tdep.c (alpha_gdbarch_init): Remove call to
2667 set_gdbarch_coerce_float_to_double.
2668 * arm-tdep.c (arm_gdbarch_init): Likewise.
2669 * frv-tdep.c (frv_gdbarch_init): Likewise.
2670 * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
2671 * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
2672 * mips-tdep.c (mips_gdbarch_init): Likewise.
2673 (mips_coerce_float_to_double): Remove.
2674 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
2675 (rs6000_coerce_float_to_double): Remove.
2676 * s390-tdep.c (s390_gdbarch_init): Likewise.
2677 * sh-tdep.c (sh_gdbarch_init): Likewise.
2678 (sh_coerce_float_to_double): Remove.
2679 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
2680 (sparc_coerce_float_to_double): Remove.
2681 * v850-tdep.c (v850_gdbarch_init): Likewise.
2682 * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
2683 * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
2684 * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
2685 (hppa_coerce_float_to_double): Remove prototype.
2686 * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
2687
2688 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
2689
2690 * regformats/reg-m68k.dat: Remove fpcode and fpflags.
2691
2692 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
2693
2694 Suggested by Stewart Brown <sb24@avaya.com>:
2695 * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
2696 in recursive calls. Handle TYPE_CODE_TYPEDEF.
2697 (c_type_print_varspec_suffix): Likewise.
2698
2699 2003-01-04 Mark Kettenis <kettenis@gnu.org>
2700
2701 * configure.in: Don't set and AC_SUBST SUBDIRS.
2702 * configure: Regenerated.
2703
2704 * configure.in: Remove code dealing with shared libraries.
2705 * Makefile.in: Remove HLDFLAGS and HLDENV.
2706 * configure: Regenerated.
2707
2708 2003-01-04 Andrew Cagney <ac131313@redhat.com>
2709
2710 * frame.c (deprecated_frame_xmalloc): New function.
2711 (deprecated_set_frame_saved_regs_hack): New function.
2712 (deprecated_set_frame_extra_info_hack): New function.
2713 * frame.h (deprecated_frame_xmalloc): Declare.
2714 (deprecated_set_frame_saved_regs_hack): Declare.
2715 (deprecated_set_frame_extra_info_hack): Declare.
2716
2717 2003-01-04 Mark Kettenis <kettenis@gnu.org>
2718
2719 * configure.in: Move code that provides the --enable-gdbtk option
2720 right after the code that handles the --enable-tui option, and
2721 polish it somewhat.
2722 * configure: Regenerated.
2723
2724 * configure.in: Call AC_GNU_SOURCE. Check for pread64 using
2725 AC_CHECK_FUNCS and remove the old check for pread64.
2726 * acinclude.m4 (AC_GNU_SOURCE): New macro.
2727 * acconfig.h (_GNU_SOURCE): Add.
2728 (HAVE_PREAD64): Remove.
2729 * configure, aclocal.m4, config.in: Regenerated.
2730
2731 2003-01-03 Andrew Cagney <ac131313@redhat.com>
2732
2733 * alpha-tdep.c: Use get_frame_saved_regs.
2734 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
2735 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
2736 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
2737 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
2738 * vax-tdep.c, xstormy16-tdep.c: Ditto.
2739
2740 2003-01-03 Mark Kettenis <kettenis@gnu.org>
2741
2742 * configure.in: Remove all use of the SUBDIRS variable; add
2743 directories using the AC_CONFIG_SUBDIRS macro instead. Polish
2744 code providing the --enable-multi-ice option, and move it right in
2745 front of the code that checks whether gdbserver is supported.
2746 Polish that too.
2747 * configure: Regenerated.
2748 * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
2749 @SUBDIRS@.
2750
2751 2003-01-03 Andrew Cagney <cagney@redhat.com>
2752
2753 * alpha-tdep.c: Use deprecated_update_frame_base_hack.
2754 * avr-tdep.c, cris-tdep.c: Ditto.
2755 * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
2756 * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
2757
2758 2003-01-03 Mark Kettenis <kettenis@gnu.org>
2759
2760 * configure.in: Remove --enable-netrom option.
2761 * configure: Regenerated.
2762
2763 2003-01-03 Mark Kettenis <kettenis@gnu.org>
2764
2765 * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
2766 declaration for `struct re_pattern_buffer' instead.
2767 * Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
2768
2769 2003-01-03 J. Brobecker <brobecker@gnat.com>
2770
2771 * mdebugread.c (parse_symbol): Count until the stEnd matching
2772 the structure name.
2773
2774 2003-01-02 Mark Kettenis <kettenis@gnu.org>
2775
2776 * configure.in: Remove --with-cpu option.
2777 subscripts. Remove evil changequotes here.
2778 * acconfig.h (TARGET_CPU_DEFAULT): Remove.
2779 * config.in, configure: Regenerated.
2780
2781 * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
2782 * configure.in: Cleanup section that sources GDB and BFD configure
2783 subscripts. Remove evil changequotes here.
2784 * config.in, configure: Regenerated.
2785
2786 2003-01-02 Andrew Cagney <ac131313@redhat.com>
2787
2788 * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
2789 frame accessor methods.
2790 * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
2791 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
2792 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
2793 * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
2794 * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
2795 * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
2796 * z8k-tdep.c: Ditto.
2797
2798 2003-01-02 Mark Kettenis <kettenis@gnu.org>
2799
2800 * configure.in: Remove UI_OUT configuration code.
2801 * ada-lang.c: Update assuming UI_OUT is always true.
2802 * Makefile.in (UIOUT_CFLAGS): Remove.
2803 * configure: Regenerated.
2804 * TODO: Remove blurb about elimination of -DUI_OUT.
2805
2806 * configure.in: Move code that provides the --enable-gdbcli,
2807 --enable-gdbmi options right before the code that handles the
2808 --enable-tui option. Polish a bit.
2809 * configure: Regenerated.
2810
2811 * configure.in: Rewrite check for GNU regex and the
2812 --without-included regex option, and move it into the "Checks for
2813 library functions" section. This makes us use the system regex
2814 again by default on systems with version 2 of the GNU C library.
2815 This was apparently broken.
2816 * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
2817 * acconfig.h (USE_INCLUDED_REGEX): Remove.
2818 * config.in, configure: Regenerated.
2819
2820 * configure.in: Move code that provides the --enable-tui option
2821 before the "Checks for libraries" section. Polish the code
2822 somewhat and set need_curses to yes if we build the TUI. Rewrite
2823 code that looks for a library providing termcap functionality to
2824 match more closely what's done in the Readline library, and move
2825 it into to the "Checks for libraries" section.
2826 * configure: Regenerated.
2827 * Makefile.in (TERMCAP): Remove variable.
2828 * config/i386/go32.mh (TERMCAP): Remove variable.
2829
2830 2003-01-02 Andrew Cagney <ac131313@redhat.com>
2831
2832 * MAINTAINERS: Mention gdb_mbuild.sh.
2833 * gdb_mbuild.sh: Rewrite.
2834
2835 2003-01-02 Mark Kettenis <kettenis@gnu.org>
2836
2837 * configure.in: Fix typo in last change.
2838 * config.in, configure: Regenerated.
2839
2840 2003-01-02 Andrew Cagney <ac131313@redhat.com>
2841
2842 * valarith.c (value_binop): Delete obsolete code and comments.
2843 * configure.host: Ditto.
2844 * buildsym.h (make_blockvector): Ditto.
2845 * buildsym.c (make_blockvector): Ditto.
2846 * defs.h (enum language): Ditto.
2847 (chill_demangle): Ditto.
2848 * elfread.c (elf_symtab_read): Ditto.
2849 * dwarfread.c (CHILL_PRODUCER): Ditto.
2850 (set_cu_language): Ditto.
2851 (handle_producer): Ditto.
2852 * expprint.c (print_subexp): Ditto.
2853 * gdbtypes.c (chill_varying_type): Ditto.
2854 * gdbtypes.h (builtin_type_chill_bool): Ditto.
2855 (builtin_type_chill_char, builtin_type_chill_long): Ditto.
2856 (builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
2857 (chill_varying_type): Ditto.
2858 * language.h (_LANG_chill): Ditto.
2859 * language.c (binop_result_type, integral_type): Ditto.
2860 (character_type, string_type, structured_type): Ditto.
2861 (lang_bool_type, binop_type_check): Ditto.
2862 * stabsread.h (os9k_stabs): Ditto.
2863 * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
2864 (define_symbol, read_type, read_struct_fields): Ditto.
2865 (read_array_type, read_enum_type, read_huge_number): Ditto.
2866 (read_range_type, start_stabs): Ditto.
2867 * symfile.c (init_filename_language_table): Ditto.
2868 (add_psymbol_with_dem_name_to_list): Ditto.
2869 * symtab.c (symbol_init_language_specific): Ditto.
2870 (symbol_init_demangled_name, symbol_demangled_name): Ditto.
2871 * symtab.h (struct general_symbol_info): Ditto.
2872 (SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
2873 * typeprint.c (typedef_print): Ditto.
2874 * utils.c (fprintf_symbol_filtered): Ditto.
2875 * valops.c (value_cast, search_struct_field, value_slice): Delete
2876 obsolete code.
2877 (varying_to_slice): Delete function.
2878 * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
2879 (varying_to_slice): Delete declaration.
2880 * MAINTAINERS: Update.
2881
2882 2003-01-02 Mark Kettenis <kettenis@gnu.org>
2883
2884 * configure.in: Reorganize "Checks for library functions section"
2885 a bit. Remove check for `btowc' and `isascii' functions.
2886 * configure: Regenerated.
2887
2888 * acconfig.h (_MSE_INT_H): Remove.
2889 * configure.in: Create "Checks for header files" section, and move
2890 appropriate tests there. Don't check for objlist.h, wchar.h,
2891 wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h>
2892 misdetection fix. Also add "Checks for types", "Checks for
2893 compiler characteristics" and "Checks for library functions"
2894 sections.
2895 * config.in, configure: Regenerated.
2896
2897 * configure.in: Create "Checks for programs" section, and move
2898 appropriate tests there.
2899
2900 2003-01-01 Mark Kettenis <kettenis@gnu.org>
2901
2902 * configure.in: Create "Checks for libraries" section, and move
2903 appropriate tests there. Cleanup check for wctype in libw. Use
2904 AC_SEARCH_LIBS to see whether we need libsocket.
2905 * configure: Regenerated.
2906
2907 For older changes see ChangeLog-2002
2908 \f
2909 Local Variables:
2910 mode: change-log
2911 left-margin: 8
2912 fill-column: 74
2913 version-control: never
2914 End:
This page took 0.170156 seconds and 4 git commands to generate.