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