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