2003-03-30 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
6c0e89ed
AC
12003-03-30 Andrew Cagney <cagney@redhat.com>
2
3 * gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP.
4 * gdbarch.h, gdbarch.c: Regenerate.
5 * v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp.
6 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
7 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
8 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
9 * i386-tdep.c (i386_gdbarch_init): Ditto.
10 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
11 * cris-tdep.c (cris_gdbarch_init): Ditto.
12 * vax-tdep.c (vax_gdbarch_init): Ditto.
13 * s390-tdep.c (s390_gdbarch_init): Ditto.
14 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
15 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
16 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
17 * sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update.
18 * config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update.
19 * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define.
20 * sparc-tdep.c (sparc_gdbarch_init): Update.
21 * sh-tdep.c (sh_gdbarch_init): Update.
22 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
23 * mips-tdep.c (mips_gdbarch_init): Update.
24 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
25 * ia64-tdep.c (ia64_gdbarch_init): Update.
26 * frv-tdep.c (frv_gdbarch_init): Update.
27 * avr-tdep.c (avr_gdbarch_init): Update.
28 * valops.c (hand_function_call): Replace TARGET_WRITE_SP with
29 DEPRECATED_DUMMY_WRITE_SP. Call when the method is available,
30 instead of when push_dummy_call is not available.
31
f7dd6af2
AC
322003-03-30 Andrew Cagney <cagney@redhat.com>
33
34 * infttrace.c: Include "gdbthread.h".
35 (parent_attach_all): Fix function signature.
36 (call_ptrace): Update call.
37 * Makefile.in (infttrace.o): Update dependencies.
38
28f617b3
AC
392003-03-30 Andrew Cagney <cagney@redhat.com>
40
41 * gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace
42 PUSH_RETURN_ADDRESS.
43 * gdbarch.h, gdbarch.c: Regenerate.
44 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
45 * x86-64-tdep.c (x86_64_init_abi): Update.
46 * v850-tdep.c (v850_gdbarch_init): Update.
47 * sparc-tdep.c (sparc_gdbarch_init): Update.
48 * sh-tdep.c (sh_gdbarch_init): Update.
49 * s390-tdep.c (s390_gdbarch_init): Update.
50 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
51 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
52 * mips-tdep.c (mips_gdbarch_init): Update.
53 * mcore-tdep.c (mcore_gdbarch_init): Update.
54 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
55 * ia64-tdep.c (ia64_gdbarch_init): Update.
56 * i386-tdep.c (i386_gdbarch_init): Update.
57 * h8300-tdep.c (h8300_gdbarch_init): Update.
58 * frv-tdep.c (frv_gdbarch_init): Update.
59 * cris-tdep.c (cris_gdbarch_init): Update.
60 * avr-tdep.c (avr_gdbarch_init): Update.
61 * arm-tdep.c (arm_gdbarch_init): Update.
62 * valops.c (hand_function_call): Update.
63
4d628cd7
AC
642003-03-29 Andrew Cagney <cagney@redhat.com>
65
66 * d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or
67 sizeof_call_dummy_words.
68 * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always
69 define.
70 * gdbarch.h: Regenerate.
71
65e82032
AC
722003-03-29 Andrew Cagney <cagney@redhat.com>
73
74 * infttrace.h: New file.
75 * hpread.c: Include "gdb_assert.h" and "somsolib.h".
76 (hpread_get_textlow): Detect an uninitialized dn_bufp.
77 (hpread_read_doc_function_type): Detect an initialized type1.
78 (hpread_quick_traverse): Initialize mod_name_string.
79 * somsolib.h: Add #ifdef SOMSOLIB_H wrapper.
80 (som_solib_get_solib_by_pc): Declare.
81 (so_lib_thread_start_addr): Declare.
82 (no_shared_libraries): Declare.
83 * somread.c (init_import_symbols): Make static. Add forward
84 declaration.
85 * config/pa/nm-hppah.h: Include "infttrace.h" for
86 parent_attach_all.
87 (hppa_insert_hw_watchpoint): Declare.
88 (hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare.
89 * hppah-nat.c: Include "gdb_string.h".
90 (parent_attach_all): Delete extern declaration, moved to
91 "infttrace.h".
92 (hppa_can_use_hw_watchpoint): Change type of "type" parameter to
93 int.
94 (hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto.
95 * Makefile.in (infttrace_h): Define.
96 (hpread.o): Update dependencies.
97 (hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto.
98 * hppa-hpux-tdep.c: Include "gdb_string.h".
99 * hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc".
100 * infrun.c (handle_inferior_event): Always initialize
101 stepped_after_stopped_by_watchpoint. Add default and remove
102 fallthrough in switch statement.
103 * infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type"
104 parameter to int.
105 (hppa_remove_hw_watchpoint): Ditto.
106
2c3bbe77
AC
1072003-03-29 Andrew Cagney <cagney@redhat.com>
108
109 * ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint
110 offset.
111
2dd604e7
RE
1122003-03-29 Richard Earnshaw <rearnsha@arm.com>
113
114 * arm-tdep.c (arm_push_arguments): Delete.
115 (struct stack_item): New type.
116 (push_stack_item, pop_stack_item, arm_push_dummy_call): New functions.
117 (arm_store_struct_return): Delte.
118 (arm_gdbarch_init): Register arm_push_dummy_call. Don't register
119 arm_push_arguments or arm_store_struct_return.
120
e8933a55
AC
1212003-03-28 Andrew Cagney <cagney@redhat.com>
122
123 * Makefile.in (d10v-tdep.o): Update dependencies.
124 * remote.h (target_resume_hook, target_wait_loop_hook): Declare.
125 * d10v-tdep.c: Include "remote.h".
126 (target_resume_hook): Delete extern declaration.
127 (target_wait_loop_hook): Ditto.
128 (tdisassemble_command): Eliminate assignment in "if" conditional.
129 (d10v_ts2_register_sim_regno): Eliminate call to
130 legacy_register_sim_regno.
131 (d10v_ts3_register_sim_regno): Ditto.
132
6949171e
JJ
1332003-03-28 Jeff Johnston <jjohnstn@redhat.com>
134
135 * thread.c: Reindented.
136 * lin-lwp.c: Ditto.
137 * linux-proc.c: Ditto.
138
98c7071f
BR
1392003-03-28 Bob Rossi <bob_rossi@cox.net>
140
141 * MAINTAINERS (write after approval): Add myself.
142
5edc9ca6
TR
1432003-03-27 Theodore A. Roth <troth@openavr.org>
144
145 * objc-exp.y: Add missing semi-colons.
146
378bfd1b
AC
1472003-03-27 Andrew Cagney <cagney@redhat.com>
148
149 * regcache.c (write_sp): Delete function and references.
150 * inferior.h (write_sp): Delete declaration.
151 * valops.c (hand_function_call): Replace write_sp with
152 TARGET_WRITE_SP.
153 * sparc-tdep.c (sparc_push_dummy_frame): Ditto.
154 (sparc_pop_frame): Ditto.
155
56056df7
AC
1562003-03-27 Andrew Cagney <cagney@redhat.com>
157
158 * NEWS: Mention removal of support for hppa*-*-bsd* and
159 hppa*-*-osf* natives, and hppa*-*-pro* target.
160 * config/pa/xm-hppah.h: Do not include "pa/xm-pa.h".
161 * config/pa/xm-pa.h: Obsolete file.
162 * config/pa/xm-hppab.h: Obsolete file.
163 * config/pa/nm-hppab.h: Obsolete file.
164 * config/pa/tm-hppab.h: Obsolete file.
165 * config/pa/tm-hppao.h: Obsolete file.
166 * config/pa/nm-hppao.h: Obsolete file.
167 * config/pa/tm-pro.h: Obsolete file.
168 * config/pa/hppaosf.mt: Obsolete file.
169 * config/pa/hppaosf.mh: Obsolete file.
170 * config/pa/hppapro.mt: Obsolete file.
171 * config/pa/hppabsd.mt: Obsolete file.
172 * config/pa/hppabsd.mh: Obsolete file.
173 * configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*.
174 * configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and
175 hppa*-*-osf*.
176
5873a88d
AC
1772003-03-27 Andrew Cagney <cagney@redhat.com>
178
179 * d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of
180 push_arguments. Don't set push_return_address or write_sp.
181 (d10v_push_dummy_call): Replace d10v_push_arguments.
182 (d10v_push_return_address, d10v_write_sp): Delete function,
183 handled by push_dummy_call.
184
b81774d8
AC
1852003-03-26 Andrew Cagney <cagney@redhat.com>
186
187 * gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS.
188 (push_dummy_call): New pure multi-arch replacement with gdbarch,
189 regcache and dummy_addr parameters.
190 * gdbarch.h, gdbarch.c: Re-generate.
191 * valops.c (hand_function_call): Use gdbarch_push_dummy_call when
192 available; assume it will handle stack alignment and return
193 address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and
194 legacy_push_arguments.
195 (legacy_push_arguments): Rename default_push_arguments.
196 * value.h (legacy_push_arguments): Rename default_push_arguments.
197 * i386-tdep.c (i386_push_arguments): Call legacy_push_arguments.
198 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update.
199 * config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update.
200 * config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update.
201 * config/i386/tm-symmetry.h: Update.
202 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
203 * x86-64-tdep.c (x86_64_init_abi): Update.
204 * v850-tdep.c (v850_gdbarch_init): Update.
205 * sparc-tdep.c (sparc_gdbarch_init): Update.
206 * sh-tdep.c (sh_gdbarch_init): Update.
207 * s390-tdep.c (s390_gdbarch_init): Update.
208 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
209 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
210 * mips-tdep.c (mips_gdbarch_init): Update.
211 * mcore-tdep.c (mcore_gdbarch_init): Update.
212 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
213 * ia64-tdep.c (ia64_gdbarch_init): Update.
214 * i386-tdep.c (i386_gdbarch_init): Update.
215 * hppa-tdep.c (hppa_gdbarch_init): Update.
216 * h8300-tdep.c (h8300_gdbarch_init): Update.
217 * frv-tdep.c (frv_gdbarch_init): Update.
218 * d10v-tdep.c (d10v_gdbarch_init): Update.
219 * cris-tdep.c (cris_gdbarch_init): Update.
220 * avr-tdep.c (avr_gdbarch_init): Update.
221 * arm-tdep.c (arm_gdbarch_init): Update.
222 * arm-linux-tdep.c (arm_linux_init_abi): Update.
223 * alpha-tdep.c (alpha_gdbarch_init): Update.
224
f541410f
DJ
2252003-03-26 Daniel Jacobowitz <drow@mvista.com>
226
227 * signals/signals.c (do_target_signal_to_host): Correct realtime
228 signal range test.
229
69f567ae
DJ
2302003-03-26 Daniel Jacobowitz <drow@mvista.com>
231
232 * breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals)
233 (struct sal_chain, map_catch_names): Remove.
234 (catch_exception_command_1): Don't call
235 handle_gnu_4_16_catch_command.
236
d5d14a5a
DJ
2372003-03-26 Daniel Jacobowitz <drow@mvista.com>
238
239 From Mark Dettinger <dettinge@de.ibm.com>:
240 * dwarf2cfi.c (read_2u): Increment pointer by two.
241
bdd73e22
DJ
2422003-03-26 Daniel Jacobowitz <drow@mvista.com>
243
244 * signals/signals.c: Fix typos in last change.
245
960cb555
DJ
2462003-03-26 Daniel Jacobowitz <drow@mvista.com>
247
248 * signals/signals.c (REALTIME_LO, REALTIME_HI): Define if
249 not already defined. Use __SIGRTMIN if available.
250 (target_signal_from_host): Remove SIGRTMIN block.
251 (do_target_signal_to_host): Remove SIGRTMIN block; check that
252 the signal is within the realtime range.
253
f636b87d
AF
2542003-03-25 Adam Fedor <fedor@gnu.org>
255
256 * Makefile.in (infrun.o): Add $(language_h)
257 * infrun.c (handle_inferior_event): Use skip_language_trampoline
258 for language specific trampolines.
259 * language.h (struct language_defn): Add skip_trampoline.
260 (skip_language_trampoline): Declare.
261 * language.c (unk_lang_trampoline, skip_language_trampoline):
262 New functions.
263 (unknown_language_defn, auto_language_defn, local_language_defn):
264 Add ukn_lang_trampoline.
265 * ada-lang.c (ada_language_defn): Add NULL for language
266 specific skip_trampoline.
267 * c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c,
268 scm-lang.c: Likewise.
269 * objc-lang.c (objc_skip_trampoline): New function.
270 (objc_language_defn): Add objc_skip_trampoline.
271
28f617b3 2722003-03-25 Andrew Cagney <cagney@redhat.com>
270c3b1d
AC
273
274 * frame.c (get_prev_frame): Delay validating a frame's ID -
275 non-NULL, didn't go backwards - until an attempt to unwind it to
276 the previous frame.
277
f933a9c5
AC
2782003-03-25 Andrew Cagney <cagney@redhat.com>
279
280 * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace
281 EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1.
282 * gdbarch.h, gdbarch.c: Re-generate.
283 * config/sparc/tm-sparc.h
284 (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define.
285 * sparc-tdep.c (sparc_gdbarch_init): Set
286 deprecated_extra_stack_alignment_needed.
287 * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
288 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear
289 extra_stack_alignment_needed.
290 * v850-tdep.c (v850_gdbarch_init): Ditto.
291 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
292 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
293 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
294 * cris-tdep.c (cris_gdbarch_init): Ditto.
295 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
296 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
297
4183d812
AC
2982003-03-25 Andrew Cagney <cagney@redhat.com>
299
300 * gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace
301 STORE_STRUCT_RETURN.
302 * gdbarch.h, gdbarch.c: Regenerate.
303 * d10v-tdep.c (d10v_store_struct_return): Delete function.
304 (d10v_push_arguments): Set the struct return register.
305 (d10v_gdbarch_init): Update.
306 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
307 * x86-64-tdep.c (x86_64_init_abi): Update.
308 * vax-tdep.c (vax_gdbarch_init): Update.
309 * v850-tdep.c (v850_gdbarch_init): Update.
310 * sparc-tdep.c (sparc_gdbarch_init): Update.
311 * sh-tdep.c (sh_gdbarch_init): Update.
312 * s390-tdep.c (s390_gdbarch_init): Update.
313 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
314 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
315 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
316 * mips-tdep.c (mips_gdbarch_init): Update.
317 * mcore-tdep.c (mcore_gdbarch_init): Update.
318 * m68k-tdep.c (m68k_gdbarch_init): Update.
319 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
320 * ia64-tdep.c (ia64_gdbarch_init): Update.
321 * i386-tdep.c (i386_gdbarch_init): Update.
322 * hppa-tdep.c (hppa_gdbarch_init): Update.
323 * h8300-tdep.c (h8300_gdbarch_init): Update.
324 * frv-tdep.c (frv_gdbarch_init): Update.
325 * cris-tdep.c (cris_gdbarch_init): Update.
326 * avr-tdep.c (avr_gdbarch_init): Update.
327 * arm-tdep.c (arm_gdbarch_init): Update.
328 * alpha-tdep.c (alpha_gdbarch_init): Update.
329
1bf6d5cc
AC
3302003-03-25 Andrew Cagney <cagney@redhat.com>
331
332 * gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete.
333 (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace
334 CALL_DUMMY_STACK_ADJUST with a predicate variable.
335 * gdbarch.h, gdbarch.c: Regenerate.
336 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
337 call_dummy_stack_adjust_p.
338 * vax-tdep.c (vax_gdbarch_init): Ditto.
339 * v850-tdep.c (v850_gdbarch_init): Ditto.
340 * sh-tdep.c (sh_gdbarch_init): Ditto.
341 * s390-tdep.c (s390_gdbarch_init): Ditto.
342 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
343 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
344 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
345 * mips-tdep.c (mips_gdbarch_init): Ditto.
346 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
347 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
348 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
349 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
350 * i386-tdep.c (i386_gdbarch_init): Ditto.
351 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
352 * frv-tdep.c (frv_gdbarch_init): Ditto.
353 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
354 * cris-tdep.c (cris_gdbarch_init): Ditto.
355 * avr-tdep.c (avr_gdbarch_init): Ditto.
356 * arm-tdep.c (arm_gdbarch_init): Ditto.
357 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
358 * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
359 * config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update.
360 * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
361 * sparc-tdep.c (sparc_gdbarch_init): Update. Do not set
362 call_dummy_stack_adjust_p.
363 * inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro.
364 (CALL_DUMMY_STACK_ADJUST): Delete macro.
365 * sparc-tdep.c (sparc32_push_arguments): Update.
366 * valops.c (hand_function_call): Update.
367
71c08af0
CV
3682003-03-25 Corinna Vinschen <vinschen@redhat.com>
369
370 * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to
371 set_gdbarch_char_signed.
372
30757f90
RE
3732003-03-25 Richard Earnshaw <rearnsha@arm.com>
374
375 PR cli/548
376 * arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler".
377
03d48a7d
RE
3782003-03-25 Richard Earnshaw <rearnsha@arm.com>
379
380 * arm-tdep.c (arm_gdbarch_init): Register the disassembler function.
381 (_initialize_arm_tdep): Don't set tm_print_insn.
382
2cf6873c
AF
3832003-03-24 Adam Fedor <fedor@gnu.org>
384
385 * Makefile.in (YYOBJ): Add objc-exp.tab.o
386 * objc-lang.h: Add multiple inclusion protection.
387 (start_msglist, add_msglist, end_msglist): Additional declarations.
388
17c0759e
RE
3892003-03-24 Richard Earnshaw <rearnsha@arm.com>
390
391 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum
392 value was renamed to ARM_FLOAT_SOFT_FPA.
393
618ce49f
AC
3942003-03-23 Andrew Cagney <cagney@redhat.com>
395
396 * gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN.
397 (DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID.
398 * gdbarch.h, gdbarch.c: Regenerate.
399 * valops.c (hand_function_call): Update.
400 * objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
401 * frame.c (legacy_saved_regs_this_id): Update.
402 (legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update.
403 * dummy-frame.h: Update.
404 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update.
405 * config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
406 * config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update.
407 * config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update.
408 * config/m68k/tm-sun3.h: Update.
409 * blockframe.c (inside_main_func, frame_chain_valid): Update.
410 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
411 * x86-64-tdep.c (x86_64_init_abi): Update.
412 * vax-tdep.c (vax_gdbarch_init): Update.
413 * v850-tdep.c (v850_gdbarch_init): Update.
414 * sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update.
415 * sh-tdep.c (sh_gdbarch_init): Update.
416 * s390-tdep.c (s390_gdbarch_init): Update.
417 * rs6000-tdep.c (rs6000_frame_saved_pc): Update.
418 (rs6000_gdbarch_init, rs6000_frame_saved_pc): Update.
419 (frame_get_saved_regs): Update.
420 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
421 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
422 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
423 * mips-tdep.c (mips_gdbarch_init): Update.
424 * mcore-tdep.c (mcore_gdbarch_init): Update.
425 * m68k-tdep.c (m68k_gdbarch_init): Update.
426 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
427 * ia64-tdep.c (ia64_gdbarch_init): Update.
428 * i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update.
429 * i386-interix-tdep.c (i386_interix_init_abi): Update.
430 (i386_interix_back_one_frame): Update.
431 * hppa-tdep.c (hppa_gdbarch_init): Update.
432 (hppa_init_extra_frame_info): Update.
433 * h8300-tdep.c (h8300_gdbarch_init): Update.
434 * frv-tdep.c (frv_gdbarch_init): Update.
435 * cris-tdep.c (cris_gdbarch_init): Update.
436 * avr-tdep.c (avr_gdbarch_init): Update.
437 * arm-tdep.c (arm_gdbarch_init): Update.
438 * alpha-tdep.c (alpha_gdbarch_init): Update.
439
fd50bc42
RE
4402003-03-22 Richard Earnshaw <rearnsha@arm.com>
441
442 * arm-tdep.h (arm_float_model): Add AUTO and LAST values.
443 (arm_get_fp_model): Declare.
444 * arm-tdep.c (fp_model_strings): New string array.
445 (arm_fp_model, current_fp_model): New variables.
446 (arm_get_fp_model): New function.
447 (arm_set_fp): New function.
448 (set_fp_model_sfunc): New function.
449 (show_fp_model): New function.
450 (_initialize_arm_tdep): Add new command to set/show the FPU.
451 (arm_extract_return_value): Use arm_get_fp_model.
452 (arm_store_return_value): Likewise.
453 (arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp
454 to initialize the floating-point data types.
455 * arm-linux-tdep.c (arm_linux_init_abi): The default floating point
456 model is FPA.
457
26304000
RE
4582003-03-22 Richard Earnshaw <rearnsha@arm.com>
459
460 * arm-tdep.c (show_arm_command): Don't print out help. Instead, show
461 the current setting of each value.
462 (_initialize_arm_tdep): Delete variable new_cmd and add new vars
463 new_set and new_show. Use add_setshow_cmd_full and
464 add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32"
465 commands and add new version as subcommands of "set/show arm".
466
afd7eef0
RE
4672003-03-22 Richard Earnshaw <rearnsha@arm.com>
468
469 * arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists.
470 (set_arm_command, show_arm_command): New functions.
471 (_initialize_arm_tdep): Add them.
472 (num_disassembly_options): Renamed from num_flavor_options.
473 (valid_disassembly_styles): Renamed from valid_flavors.
474 (disassembly_style): Renamed from disassembly_flavor.
475 (set_disassembly_style_sfunc): Renamed from
476 set_disassembly_flavor_sfunc.
477 (set_disassembly_style): Renamed from set_disassembly_flavor.
478 (arm_othernames): Updated.
479 (_initialize_arm_tdep): Deprecate "set/show disassembly-flavor"
480 command. Add "set/show arm disassembly" commands. Deprecate
481 "othernames" command.
482
299a7944
RE
4832003-03-22 Richard Earnshaw <rearnsha@arm.com>
484
485 * Makefile.in (elf_reloc_macros_h, elf_arm_h): Define.
486 (arm-tdep.o): Depend on elf_arm_h.
487
c1dac9e6
RE
4882003-03-22 Richard Earnshaw <rearnsha@arm.com>
489
490 * Makefile.in (coff_internal_h): Define.
491 (arm-tdep.o): Update dependencies.
492
2702d96c
RE
4932003-03-22 Richard Earnshaw <rearnsha@arm.com>
494
495 * arm-tdep.c (prologue_cache): Delete.
496 (check_prologue_cache, save_prologue_cache): Delete.
497 (arm_scan_prologue): Don't check or update the prologue_cache.
498 (arm_gdb_arch_init): Don't initialize it.
499 (_initialize_arm_tdep): Likewise.
500
27d5d74b
SC
5012003-03-21 Stephane Carrez <stcarrez@nerim.fr>
502
503 * MAINTAINERS (tui): Maintainer of tui code.
504
1762d96d
CV
5052003-03-21 Corinna Vinschen <vinschen@redhat.com>
506
507 * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c.
508 (i386-cygwin-tdep.o): Add dependencies.
509 * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN.
510 * i386-cygwin-tdep.c: New file.
511 * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN.
512 * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o.
513
4c2e2391
AC
5142003-03-20 Andrew Cagney <cagney@redhat.com>
515
f20d38b7
AC
516 * infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro.
517 (handle_inferior_event): Remove code calling
518 DYNAMIC_TRAMPOLINE_NEXTPC.
519
0022b738
AC
520 * Makefile.in (init.c): Don't add $(srcdir) prefix when a file
521 already has a full path.
522
864dbc90
AC
523 * main.c (gdb_main): Return 1.
524 (captured_main): Call error to report an invalid interpreter.
525
4c2e2391
AC
526 * Makefile.in (alpha-osf1-tdep.o): Update dependencies.
527 * alpha-osf1-tdep.c: Include "gdb_string.h".
528
5ef7553b
JB
5292003-03-19 J. Brobecker <brobecker@gnat.com>
530
531 Continuing work to convert the hppa targets to multiarch partial.
532
533 * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch
534 method, now that hppa_push_dummy_frame has a conformant prototype.
535 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro
536 inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation
537 for the switch to multiarch partial.
538
7bde8967
KB
5392003-03-19 Kevin Buettner <kevinb@redhat.com>
540
541 * mdebugread.c (parse_symbol): For stEnd, we're done counting
542 when iss is issNull.
543
b006a9e9
KB
5442003-03-18 Kevin Buettner <kevinb@redhat.com>
545
546 * mips-tdep.c (mips_register_name): Fix fencepost error involving
547 NUM_REGS bounds check.
548
5e2e9765
KB
5492003-03-18 Kevin Buettner <kevinb@redhat.com>
550
551 * Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h).
552 * mips-tdep.c (gdb_assert.h): Include.
553 (mips_generic_reg_names, mips_processor_reg_names): Make static.
554 (mips_register_name): Handle integer registers explicitly. Add
555 bounds checking.
556 (mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names)
557 (mips_lsi33k_reg_names): Don't list integer registers; they're
558 handled by mips_register_name() now.
559 * config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise.
560 * config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise.
561 * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise.
562 * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise.
563 * config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise.
564
a2867626
AC
5652003-03-18 Andrew Cagney <cagney@redhat.com>
566
567 * printcmd.c (print_scalar_formatted): Change VALADDR parameter to
568 a void pointer.
569 * gdbtypes.h (print_scalar_formatted): Update declaration.
570 * expression.h (enum exp_opcode): Remove non-ISO C trailing comma.
571
06600e06
JB
5722003-03-18 J. Brobecker <brobecker@gnat.com>
573
574 * infrun.c (observer.h): Add #include.
575 (normal_stop): Add call to observer_notify_normal_stop.
576 * Makefile.in (infrun.o): Add dependency on observer.h.
577
7daf4f5b
JB
5782003-03-18 J. Brobecker <brobecker@gnat.com>
579
580 Continuing work to convert the hppa targets to multiarch partial.
581 * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function
582 parameter. Reformat comment.
583 * config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile.
584 (DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame()
585 to match new profile.
586
3371ccc0
JB
5872003-03-18 J. Brobecker <brobecker@gnat.com>
588
589 * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not
590 appear to be working in any case.
591
4fbe891e
JB
5922003-03-18 J. Brobecker <brobecker@gnat.com>
593
594 * observer.c (observer_test_first_observer): New static variable.
595 (observer_test_second_observer): Likewise.
596 (observer_test_third_observer): Likewise.
597 (observer_test_first_notification_function): New static function.
598 (observer_test_second_notification_function): Likewise.
599 (observer_test_third_notification_function): Likewise.
600
a7ff40e7
JB
6012003-03-17 J. Brobecker <brobecker@gnat.com>
602
603 * hppa-tdep.c (gdb_assert.h): Add missing #include.
604 * somsolib.c (gdb_assert.h): Likewise.
605 * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h.
606 (somsolib.o): Likewise.
607
26ca4152
AC
6082003-03-17 Andrew Cagney <cagney@redhat.com>
609
610 * disasm.c (gdb_disassembly): Set di.mach using the architecture's
611 BFD. Simplify setting of di.endian.
612
0a613259
AC
6132003-03-17 Andrew Cagney <cagney@redhat.com>
614
615 * rs6000-tdep.c (ppc_floating_point_unit_p): New function.
616 * ppc-tdep.h (ppc_floating_point_unit_p): Declare.
617
618 From Elena Zannoni <ezannoni@redhat.com>
619 * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500
620 vector and floating-point parameters.
621 (ppc_sysv_abi_use_struct_convention): Handle e500 struct return
622 convention.
623 (ppc_sysv_abi_broken_use_struct_convention): Ditto.
624
1132738f
FN
6252003-03-17 Fernando Nasser <fnasser@redhat.com>
626
627 * MAINTAINERS: Remove my name from several maintainership roles.
628
6dc42492
AC
6292003-03-17 Andrew Cagney <cagney@redhat.com>
630
631 Fix frame off-by-one bug.
632 * frame-unwind.h (frame_this_id_ftype): Replace
633 frame_unwind_id_ftype.
634 (frame_prev_register_ftype): Replace frame_unwind_reg_ftype.
635 (struct frame_unwind): Replace "id" with "this_id". Replace "reg"
636 with "prev_register".
637 * frame-unwind.c (frame_unwind_find_by_pc): Return
638 legacy_saved_regs_unwind instead of trad_frame_unwind. Update
639 comment.
640 * dummy-frame.c (cached_find_dummy_frame): Delete function.
641 (dummy_frame_this_id): Replace dummy_frame_id_unwind.
642 (dummy_frame_prev_register): Replace dummy_frame_register_unwind.
643 (dummy_frame_unwind): Update.
644 * sentinel-frame.c (sentinel_frame_prev_register): Replace
645 sentinel_frame_register_unwind.
646 (sentinel_frame_this_id): Replace sentinel_frame_id_unwind.
647 (sentinel_frame_unwinder): Update.
648 * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind.
649 (struct frame_info): Rename "unwind_cache" to "prologue_cache".
650 * frame.c (create_sentinel_frame): Update. Initialize
651 "prologue_cache" instead of "unwind_cache".
652 (frame_register_unwind): Call this frame's prev_register with the
653 next frame and this frame's prologue cache.
654 (get_prev_frame): Simplify. Always call prev frame's this_id with
655 this frame and prev frame's prologue cache. Document that this
656 call is shifted one to the left when compared to the
657 frame_register_unwind call.
658 (legacy_saved_regs_prev_register): Replace
659 frame_saved_regs_register_unwind.
660 (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind.
661 (legacy_saved_regs_unwinder): Replace trad_frame_unwinder.
662 (legacy_saved_regs_unwind): Replace trad_frame_unwind.
663 * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind.
664 (d10v_frame_unwind): Update.
665 (d10v_frame_prev_register): Replace d10v_frame_register_unwind.
666 (d10v_frame_unwind_cache): Replace this "fi" with "next_frame".
667 (saved_regs_unwinder): Replace this "frame" with "next_frame", and
668 "saved_regs" with "this_saved_regs".
669
efd710d6
AC
6702003-03-16 Andrew Cagney <cagney@redhat.com>
671
672 * frame.c (frame_pop): Don't call target_store_registers. Fix
673 problem reported by Mark Kettenis.
674
4e259f09
MK
6752003-03-16 Mark Kettenis <kettenis@gnu.org>
676
677 * i386-tdep.c (i386_register_type): Renamed from
678 i386_register_virtual_type. Adjust function signature.
679 (i386_gdbarch_init): Set register_type instead of
680 deprecated_max_register_raw_size,
681 deprecated_max_register_virtual_size and register_virtual_type.
682
055bb976
AC
6832003-03-14 Andrew Cagney <cagney@redhat.com>
684
685 * frame.c (get_prev_frame): When a legacy frame, always call
686 legacy_get_prev_frame. Simplify unwind code using assumption that
687 the unwinder is new.
688 (legacy_get_prev_frame): Handle legacy sentinel frame unwind here.
689 (legacy_frame_p): When no gdbarch_unwind_dummy_id, or
690 SAVED_DUMMY_FRAME_TOS, assume a legacy frame.
691
ac2adee5
AC
6922003-03-14 Andrew Cagney <cagney@redhat.com>
693
694 * frame.c (get_saved_register): Delete function.
695 * frame.h (get_saved_register): Delete declaration.
696 * xstormy16-tdep.c: Update comment.
697 * regcache.h: Update comments.
698 * sparc-tdep.c (sparc_init_extra_frame_info): Instead of
699 get_saved_register and extract_address, use
700 frame_read_unsigned_register.
701 (sparc_frame_saved_pc): Ditto.
702 (sparc_get_saved_register): Instead of get_saved_register, use
703 frame_register.
704 (sparc_pop_frame): Ditto.
705 * findvar.c: Update comments.
706 (value_of_register): Call frame_register instead of
707 get_saved_register.
708 (value_from_register): Ditto.
709 * config/sparc/tm-sparc.h: Update comment.
710 * breakpoint.c: Update comment.
711
129c1cd6
AC
7122003-03-14 Andrew Cagney <cagney@redhat.com>
713
714 * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace
715 GET_SAVED_REGISTER.
716 * gdbarch.h, gdbarch.c: Re-generate.
717 * frame.h: Update comments.
718 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
719 * x86-64-tdep.c (x86_64_init_abi): Update.
720 * sparc-tdep.c (sparc_gdbarch_init): Update.
721 * sh-tdep.c (sh_gdbarch_init): Update.
722 * mips-tdep.c (mips_gdbarch_init): Update.
723 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
724 * cris-tdep.c (cris_gdbarch_init): Update.
725 * ia64-tdep.c (ia64_gdbarch_init): Update.
726 * frame.c (frame_register): Update.
727 (get_saved_register): Update.
728 * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update.
729
749b82f6
AC
7302003-03-13 Andrew Cagney <cagney@redhat.com>
731
732 * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME.
733 * gdbarch.h, gdbarch.c: Regenerate.
734 * valops.c (hand_function_call): Update comment.
735 * stack.c (return_command): Update comment.
736 * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update.
737 * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update.
738 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
739 * x86-64-tdep.c (x86_64_init_abi): Update.
740 * vax-tdep.c (vax_gdbarch_init): Update.
741 * v850-tdep.c (v850_gdbarch_init): Update.
742 * sparc-tdep.c (sparc_gdbarch_init): Update.
743 * sh-tdep.c (sh_gdbarch_init): Update.
744 * s390-tdep.c (s390_gdbarch_init): Update.
745 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
746 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
747 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
748 * mips-tdep.c (mips_gdbarch_init): Update.
749 * mcore-tdep.c (mcore_gdbarch_init): Update.
750 * m68k-tdep.c (m68k_gdbarch_init): Update.
751 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
752 * ia64-tdep.c (ia64_gdbarch_init): Update.
753 * i386-tdep.c (i386_gdbarch_init): Update.
754 * hppa-tdep.c (hppa_gdbarch_init): Update.
755 * h8300-tdep.c (h8300_gdbarch_init): Update.
756 * frv-tdep.c (frv_gdbarch_init): Update.
757 * cris-tdep.c (cris_gdbarch_init): Update.
758 * avr-tdep.c (avr_gdbarch_init): Update.
759 * arm-tdep.c (arm_gdbarch_init): Update.
760 * alpha-tdep.c (alpha_gdbarch_init): Update.
761
1594fa56
AC
7622003-03-13 Andrew Cagney <cagney@redhat.com>
763
764 * frame.c (legacy_frame_p): New function.
765 (get_prev_frame): Use legacy_frame_p.
766 * frame.h (legacy_frame_p): Declare.
767
7717fda3
V
7682003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com>
769
770 * MAINTAINERS (write after approval): Alphabetically
771 listing corrected.
772
0c67cbe9
V
7732003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com>
774
775 * MAINTAINERS (write after approval): Add myself.
776
03febf99
AC
7772003-03-12 Andrew Cagney <cagney@redhat.com>
778
779 * frame.c (get_prev_frame): Rename the frame parameter to
780 "this_frame".
781 (get_next_frame, legacy_get_prev_frame): Ditto.
782
0a1e1ca1
AC
7832003-03-12 Andrew Cagney <cagney@redhat.com>
784
785 * frame.c (get_current_frame): Check target_has_registers before
786 checking target_has_stack.
787 * eval.c (evaluate_subexp_standard): Use get_selected_frame,
788 instead of deprecated_selected_frame.
789 * findvar.c (value_of_register): Pass "frame", not
790 deprecated_selected_frame, to value_of_builtin_reg.
791
a66a9c23
AC
7922003-03-12 Andrew Cagney <cagney@redhat.com>
793
794 * regcache.c (regcache_cooked_write_signed): New function.
795 (regcache_cooked_write_unsigned): New function.
796 (regcache_cooked_read_unsigned): Fix regnum in range assertion.
797 (regcache_cooked_read_signed): Fix regnum in range assertion.
798 * regcache.h (regcache_cooked_write_signed): Declare.
799 (regcache_cooked_write_unsigned): Declare.
800
8bedc050
AC
8012003-03-12 Andrew Cagney <cagney@redhat.com>
802
803 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
804 * gdbarch.h, gdbarch.c: Re-generate.
805 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
806 * x86-64-tdep.h: Update.
807 * x86-64-tdep.c (x86_64_init_abi): Update.
808 * v850-tdep.c (v850_gdbarch_init): Update.
809 * sparc-tdep.c (sparc_gdbarch_init): Update.
810 * sh-tdep.c (sh_gdbarch_init): Update.
811 * s390-tdep.c (s390_gdbarch_init): Update.
812 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
813 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
814 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
815 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
816 * mips-tdep.c (mips_gdbarch_init): Update.
817 * mcore-tdep.c (mcore_gdbarch_init): Update.
818 * m68k-tdep.c (m68k_gdbarch_init): Update.
819 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
820 * ia64-tdep.c (ia64_gdbarch_init): Update.
821 * i386-tdep.c (i386_gdbarch_init): Update.
822 * i386-interix-tdep.c (i386_interix_init_abi): Update.
823 * hppa-tdep.c (hppa_gdbarch_init): Update.
824 * h8300-tdep.c (h8300_gdbarch_init): Update.
825 * frv-tdep.c (frv_gdbarch_init): Update.
826 * cris-tdep.c (cris_gdbarch_init): Update.
827 * avr-tdep.c (avr_gdbarch_init): Update.
828 * arm-tdep.c (arm_gdbarch_init): Update.
829 * alpha-tdep.c (alpha_gdbarch_init): Update.
830 * sh-tdep.c (sh_init_extra_frame_info): Update.
831 (sh64_init_extra_frame_info): Update.
832 * ns32knbsd-nat.c (frame_num_args): Update.
833 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
834 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
835 (xstormy16_frame_chain_valid): Update.
836 * vax-tdep.c (vax_saved_pc_after_call): Update.
837 * v850-tdep.c (v850_frame_chain): Update.
838 (v850_pop_frame): Update.
839 (v850_init_extra_frame_info): Update.
840 * sparc-tdep.c (setup_arbitrary_frame): Update.
841 * ns32k-tdep.c (umax_frame_num_args): Update.
842 * s390-tdep.c (s390_pop_frame_regular): Update.
843 * mn10300-tdep.c (mn10300_frame_chain): Update.
844 (mn10300_pop_frame_regular): Update.
845 (mn10300_init_extra_frame_info): Update.
846 * mips-tdep.c (mips_init_frame_pc_first): Update.
847 (mips_frame_chain): Update.
848 (mips_pop_frame): Update.
849 * mcore-tdep.c (mcore_frame_chain): Update.
850 (mcore_pop_frame): Update.
851 (mcore_init_extra_frame_info): Update.
852 * arch-utils.c (init_frame_pc_default): Update.
853 * m68k-tdep.c (isi_frame_num_args): Update.
854 (delta68_frame_num_args): Update.
855 (news_frame_num_args): Update.
856 * ia64-tdep.c (ia64_pop_frame_regular): Update.
857 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
858 (alpha_frame_chain): Update.
859 (alpha_pop_frame): Update.
860 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
861 (hppa_init_extra_frame_info): Update.
862 (hppa_frame_chain): Update.
863 (hppa_frame_chain_valid): Update.
864 * cris-tdep.c (cris_init_extra_frame_info): Update.
865 * avr-tdep.c (avr_init_extra_frame_info): Update.
866 * arm-tdep.c (arm_frame_chain_valid): Update.
867 (arm_init_extra_frame_info): Update.
868 (arm_pop_frame): Update.
869 * frame.c (frame_pc_unwind): Update.
870 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
871 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
872 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
873 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
874 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
875 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
876
7a25a7c1
AC
8772003-03-12 Andrew Cagney <cagney@redhat.com>
878
879 Eliminate the need for POP_FRAME.
880 * frame.c (do_frame_unwind_register): New function.
881 (frame_pop): When no POP_FRAME, pop the frame using register
882 unwind and a scratch regcache.
883 (frame_saved_regs_pop): Delete function.
884 (trad_frame_unwinder): Update.
885 * d10v-tdep.c (d10v_frame_pop): Delete function.
886 (d10v_frame_unwind): Update.
887 * sentinel-frame.c (sentinel_frame_pop): Delete function.
888 (sentinel_frame_unwinder): Update.
889 * dummy-frame.c (dummy_frame_pop): Delete function.
890 (dummy_frame_unwind): Update.
891 * frame-unwind.h (frame_unwind_pop_ftype): Delete definition.
892 (struct frame_unwind): Update.
893
2f38ef89
KB
8942003-03-11 Kevin Buettner <kevinb@redhat.com>
895
896 * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to
897 mips_dwarf_dwarf2_ecoff_reg_to_regnum().
898 (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum):
899 Do range checks on register number obtained from debugging info.
900 (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and
901 set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of
902 set_gdbarch_ecoff_reg_to_regnum() to account for new name of
903 mapping function.
904 (do_fp_register_row): Fix typo which caused double type to be
905 used when attempting to unpack a float.
906
552f4abf
JB
9072003-03-11 J. Brobecker <brobecker@gnat.com>
908
909 * breakpoint.c (bpstat_stop_status): Fix a small memory leak.
910
e0d2ae16
AC
9112003-03-11 Andrew Cagney <cagney@redhat.com>
912
913 * frame.c (deprecated_update_frame_pc_hack): Don't assume a next
914 frame. Problem found by Corinna Vinschen.
915
ddbfdd06
PM
9162003-03-11 Pierre Muller <muller@ics.u-strasbg.fr>
917
918 * doublest.c (floatformat_from_length): Accept also
919 the real size of 'long double' type.
920
088b2ddc 9212003-03-10 Daniel Jacobowitz <drow@mvista.com>
31cc81e9 922
088b2ddc 923 From Klee Dienes <kdienes@apple.com>:
31cc81e9
DJ
924 * breakpoint.c (bpstat_copy): Copy the command lines as well
925 as the old value, to match what is freed in bpstat_clear.
926
f56f77c1
DC
9272003-03-10 David Carlton <carlton@math.stanford.edu>
928
929 * minsyms.c (add_minsym_to_hash_table): Replace
930 DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME.
931 (compare_minimal_symbols, compact_minimal_symbols)
932 (install_minimal_symbols, find_solib_trampoline_target): Ditto.
933 (lookup_minimal_symbol_text): Use strcmp on linkage names instead
934 of DEPRECATED_SYMBOL_MATCHES_NAME.
935 (lookup_minimal_symbol_solib_trampoline): Ditto.
936
5602984a
AC
9372003-03-10 Andrew Cagney <cagney@redhat.com>
938
939 * regcache.h (regcache_cooked_read_ftype): Define.
940 (regcache_save, regcache_restore): Add a cooked_read parameter.
941 * regcache.c (regcache_save, regcache_restore): Update.
942 (do_cooked_read): New function.
943 (regcache_cpy): Pass do_cooked_read to regcache_save and
944 regcache_restore.
945
8bedc050
AC
9462003-03-10 Andrew Cagney <cagney@redhat.com>
947
948 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
949 * gdbarch.h, gdbarch.c: Re-generate.
950 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
951 * x86-64-tdep.h: Update.
952 * x86-64-tdep.c (x86_64_init_abi): Update.
953 * v850-tdep.c (v850_gdbarch_init): Update.
954 * sparc-tdep.c (sparc_gdbarch_init): Update.
955 * sh-tdep.c (sh_gdbarch_init): Update.
956 * s390-tdep.c (s390_gdbarch_init): Update.
957 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
958 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
959 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
960 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
961 * mips-tdep.c (mips_gdbarch_init): Update.
962 * mcore-tdep.c (mcore_gdbarch_init): Update.
963 * m68k-tdep.c (m68k_gdbarch_init): Update.
964 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
965 * ia64-tdep.c (ia64_gdbarch_init): Update.
966 * i386-tdep.c (i386_gdbarch_init): Update.
967 * i386-interix-tdep.c (i386_interix_init_abi): Update.
968 * hppa-tdep.c (hppa_gdbarch_init): Update.
969 * h8300-tdep.c (h8300_gdbarch_init): Update.
970 * frv-tdep.c (frv_gdbarch_init): Update.
971 * cris-tdep.c (cris_gdbarch_init): Update.
972 * avr-tdep.c (avr_gdbarch_init): Update.
973 * arm-tdep.c (arm_gdbarch_init): Update.
974 * alpha-tdep.c (alpha_gdbarch_init): Update.
975 * sh-tdep.c (sh_init_extra_frame_info): Update.
976 (sh64_init_extra_frame_info): Update.
977 * ns32knbsd-nat.c (frame_num_args): Update.
978 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
979 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
980 (xstormy16_frame_chain_valid): Update.
981 * vax-tdep.c (vax_saved_pc_after_call): Update.
982 * v850-tdep.c (v850_frame_chain): Update.
983 (v850_pop_frame): Update.
984 (v850_init_extra_frame_info): Update.
985 * sparc-tdep.c (setup_arbitrary_frame): Update.
986 * ns32k-tdep.c (umax_frame_num_args): Update.
987 * s390-tdep.c (s390_pop_frame_regular): Update.
988 * mn10300-tdep.c (mn10300_frame_chain): Update.
989 (mn10300_pop_frame_regular): Update.
990 (mn10300_init_extra_frame_info): Update.
991 * mips-tdep.c (mips_init_frame_pc_first): Update.
992 (mips_frame_chain): Update.
993 (mips_pop_frame): Update.
994 * mcore-tdep.c (mcore_frame_chain): Update.
995 (mcore_pop_frame): Update.
996 (mcore_init_extra_frame_info): Update.
997 * arch-utils.c (init_frame_pc_default): Update.
998 * m68k-tdep.c (isi_frame_num_args): Update.
999 (delta68_frame_num_args): Update.
1000 (news_frame_num_args): Update.
1001 * ia64-tdep.c (ia64_pop_frame_regular): Update.
1002 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
1003 (alpha_frame_chain): Update.
1004 (alpha_pop_frame): Update.
1005 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
1006 (hppa_init_extra_frame_info): Update.
1007 (hppa_frame_chain): Update.
1008 (hppa_frame_chain_valid): Update.
1009 * cris-tdep.c (cris_init_extra_frame_info): Update.
1010 * avr-tdep.c (avr_init_extra_frame_info): Update.
1011 * arm-tdep.c (arm_frame_chain_valid): Update.
1012 (arm_init_extra_frame_info): Update.
1013 (arm_pop_frame): Update.
1014 * frame.c (frame_pc_unwind): Update.
1015 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
1016 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1017 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1018 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
1019 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
1020 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
1021
12cc2063
AC
10222003-03-10 Andrew Cagney <cagney@redhat.com>
1023
1024 * gdbarch.sh (gdbarch_unwind_pc): New method.
1025 * gdbarch.h, gdbarch.c: Regenerate.
1026 * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc,
1027 but use read_pc and FRAME_SAVED_PC as fall backs.
1028 (frame_saved_regs_pc_unwind): Delete function.
1029 (trad_frame_unwinder): Update.
1030 * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration.
1031 (struct frame_unwind): Update.
1032 * dummy-frame.c (dummy_frame_pc_unwind): Delete function.
1033 (dummy_frame_unwind): Update.
1034 * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function.
1035 (sentinel_frame_unwinder): Update.
1036 * d10v-tdep.c (d10v_frame_pc_unwind): Delete function.
1037 (d10v_frame_unwind): Update.
1038 (d10v_unwind_pc): New function.
1039 (d10v_gdbarch_init): Set unwind_pc.
1040
ef840a37
AC
10412003-03-10 Andrew Cagney <cagney@redhat.com>
1042
a2ce2e56
AC
1043 * gdbarch.h: Re-generate.
1044
ef840a37
AC
1045 * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the
1046 PC.
1047 (d10v_frame_pop): Unwind the PC, and not the LR, when restoring
1048 the PC register.
1049
08f3424b
MK
10502003-03-08 Mark Kettenis <kettenis@gnu.org>
1051
1052 * gdbarch.sh (save_dummy_frame_tos): Add comment.
1053
1248ede2
AC
10542003-03-08 Andrew Cagney <cagney@redhat.com>
1055
1056 * cli-out.c: Update copyright.
1057 (cli_out_data): Define typedef. Use instead of ui_out_data.
1058
f49bacc8
AC
10592003-03-08 Andrew Cagney <cagney@redhat.com>
1060
1061 * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to
1062 the result.
1063
9b05f993
AC
10642003-03-07 Andrew Cagney <cagney@redhat.com>
1065
1066 * gdbarch.sh: Don't generate two macro definitions when an
1067 undefined macro taking no arguments.
1068 * gdbarch.h: Regenerate.
1069
166f4c7b
ML
10702002-03-07 Michal Ludvig <mludvig@suse.cz>
1071
1072 * x86-64-tdep.c (x86_64_save_dummy_frame_tos)
1073 (x86_64_unwind_dummy_id): New functions.
1074 (x86_64_init_abi): Register these two new functions.
1075
6d686a84
ML
10762003-03-07 Michal Ludvig <mludvig@suse.cz>
1077
1078 * x86-64-tdep.c (x86_64_function_has_prologue): New function.
1079 (x86_64_skip_prologue): Move prologue detection to
1080 separate function.
1081 * x86-64-tdep.h (x86_64_function_has_prologue): New prototype.
1082
6314f104
AC
10832003-03-05 Andrew Cagney <cagney@redhat.com>
1084
1085 * d10v-tdep.c (d10v_unwind_dummy_id): New function.
1086 (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos.
1087 * frame.c (get_prev_frame): Restructure the frame ID unwind code
1088 to use unwind_dummy_id when a dummy frame.
1089 * gdbarch.sh (unwind_dummy_id): New multi-arch method with
1090 predicate.
1091 * gdbarch.h, gdbarch.c: Regneerate.
1092
ceea5145
AC
10932003-03-05 Andrew Cagney <cagney@redhat.com>
1094
1095 * d10v-tdep.c (struct d10v_unwind_cache): Add field "base".
1096 (d10v_frame_unwind_cache): Rewrite code computing the base and SP.
1097 Do not use d10v_read_sp or d10v_read_fp when obtaining register
1098 values.
1099
0d843116
AC
11002003-03-05 Andrew Cagney <cagney@redhat.com>
1101
1102 * d10v-tdep.c (struct frame_extra_info): Delete unused structure.
1103 (struct d10v_unwind_cache): Delete field "frameless". Replace
1104 "next_addr" with "sp_offset". Add "r11_offset".
1105 (d10v_frame_unwind_cache): Update.
1106 (prologue_find_regs): Update. When "mv r11, sp", save the
1107 "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that
1108 RN was saved in r11_offset.
1109
b2579786
AC
11102003-03-05 Andrew Cagney <cagney@redhat.com>
1111
1112 * frame.c (deprecated_update_frame_pc_hack): Also update the the
1113 cached PC value in the next frame.
1114
218e5956
AC
11152003-03-05 Andrew Cagney <cagney@redhat.com>
1116
1117 * frame.h (struct frame_info): Replace "id_unwind_cache_p" and
1118 "id_unwind_cache" with "id".
1119 (frame_id_unwind): Delete declaration.
1120 * frame.c (frame_id_unwind): Delete function.
1121 (get_prev_frame): Call the frame id unwind method directly. Store
1122 the returned next frame's ID value in NEXT_FRAME. Note that there
1123 is a problem with the wrong unwind ID being called with the wrong
1124 unwind cache.
1125
ed363b1b
DJ
11262003-03-05 Daniel Jacobowitz <drow@mvista.com>
1127
1128 * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS.
1129
fe1f4a5e
DJ
11302003-03-05 James Ingham <jingham@apple.com>
1131 Daniel Jacobowitz <drow@mvista.com>
1132
1133 * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h".
1134 (auto_cp_abi): New variable.
1135 (current_cp_abi, num_cp_abis): Make static.
1136 (CP_ABI_MAX): Define.
1137 (cp_abis): Turn into an array.
1138 (value_virtual_fn_field): Fix formatting.
1139 (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now
1140 takes a pointer.
1141 (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd)
1142 (list_cp_abis, _initialize_cp_abi): New functions.
1143 * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove
1144 declarations for cp_abis, num_cp_abis, current_cp_abi, and
1145 switch_to_cp_abi. Update prototype for register_cp_abi.
1146 * Makefile.in (cp-abi.o): Update dependencies.
1147 * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default
1148 instead of switch_to_cp_abi.
1149 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to
1150 register_cp_abi.
1151 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to
1152 register_cp_abi.
1153 * hpacc-abi.c (_initialize_hpacc_abi): Likewise.
1154
e4adbba9
DJ
11552003-03-05 Daniel Jacobowitz <drow@mvista.com>
1156
1157 * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition.
1158 * dwarf2loc.c: Include "regcache.h".
1159 (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use
1160 register_size.
1161 * Makefile.in (dwarf2loc.o): Update dependencies.
1162
91ccbfc1
TR
11632003-03-04 Theodore A. Roth <troth@openavr.org>
1164
1165 * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the
1166 number of io registers reported by remote target is not a multiple of
1167 step.
1168
3d4e8fd2
DC
11692003-03-04 David Carlton <carlton@math.stanford.edu>
1170
1171 * symtab.c (lookup_partial_symbol): Add linkage_name argument.
1172 (lookup_symbol_aux_psymtabs): Update call to
1173 lookup_partial_symbol.
1174 (lookup_transparent_type, find_main_psymtab)
1175 (make_symbol_overload_list): Ditto.
1176
ed42d87b
KH
11772003-03-04 Kazu Hirata <kazu@cs.umass.edu>
1178
1179 * MAINTAINERS (Write after approval): Update my email address.
1180
a0ed5532
AC
11812003-03-03 Andrew Cagney <cagney@redhat.com>
1182
1183 Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional.
1184 * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with
1185 predicate. Replace MAX_REGISTER_RAW_SIZE.
1186 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for
1187 MAX_REGISTER_VIRTUAL_SIZE.
1188 * regcache.c (legacy_max_register_raw_size): New function.
1189 (legacy_max_register_virtual_size): New function.
1190 * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define.
1191 (MAX_REGISTER_RAW_SIZE): Define.
1192 (legacy_max_register_raw_size): Declare.
1193 (legacy_max_register_virtual_size): Declare.
1194 * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
1195 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update.
1196 * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
1197 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
1198 * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
1199 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
1200 * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
1201 * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
1202 * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
1203 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1204 * vax-tdep.c (vax_gdbarch_init): Update.
1205 * v850-tdep.c (v850_gdbarch_init): Update.
1206 * sparc-tdep.c (sparc_gdbarch_init): Update.
1207 * sh-tdep.c (sh_gdbarch_init): Update.
1208 * s390-tdep.c (s390_gdbarch_init): Update.
1209 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1210 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1211 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1212 * mips-tdep.c (mips_gdbarch_init): Update.
1213 * mcore-tdep.c (mcore_gdbarch_init): Update.
1214 * m68k-tdep.c (m68k_gdbarch_init): Update.
1215 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1216 * ia64-tdep.c (ia64_gdbarch_init): Update.
1217 * i386-tdep.c (i386_gdbarch_init): Update.
1218 * hppa-tdep.c (hppa_gdbarch_init): Update.
1219 * h8300-tdep.c (h8300_gdbarch_init): Update.
1220 * frv-tdep.c (frv_gdbarch_init): Update.
1221 * cris-tdep.c (cris_gdbarch_init): Update.
1222 * avr-tdep.c (avr_gdbarch_init): Update.
1223 * arm-tdep.c (arm_gdbarch_init): Update.
1224 * alpha-tdep.c (alpha_gdbarch_init): Update.
1225 * d10v-tdep.c (d10v_gdbarch_init): Do not set
1226 max_register_raw_size or max_register_virtual_size.
1227
8e437497
DC
12282003-03-03 David Carlton <carlton@math.stanford.edu>
1229
1230 * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from
1231 SYMBOL_MATCHES_NAME, add comment.
1232 (SYMBOL_MATCHES_NATURAL_NAME): New.
1233 * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace
1234 SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME.
1235 (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto.
1236 * symtab.c (lookup_partial_symbol): Use
1237 SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete
1238 unhelpful comment.
1239 (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not
1240 SYMBOL_MATCHES_NAME.
1241 Fix for PR c++/33.
1242
25120b0d
DC
12432003-03-03 David Carlton <carlton@math.stanford.edu>
1244
1245 * symtab.h (SYMBOL_MATCHES_REGEXP): Delete.
1246 * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP
1247 by regexp matching against SYMBOL_NATURAL_NAME.
1248
78a11fb4
DC
12492003-03-03 David Carlton <carlton@math.stanford.edu>
1250
1251 * linespec.c (find_method): Extract code into collect_methods.
1252 (collect_methods): New.
1253
645dd519
MK
12542003-03-02 Mark Kettenis <kettenis@gnu.org>
1255
b4700d91
MK
1256 * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and
1257 get_frame_base.
1258
645dd519
MK
1259 * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of
1260 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
1261
0aa7e1aa
SC
12622003-03-02 Stephane Carrez <stcarrez@nerim.fr>
1263
1264 * arch-utils.c (generic_register_byte): Fix to use the loop index
1265 and not regnum when summing the size of all registers up to regnum.
1266
f30ee0bc
AC
12672003-03-01 Andrew Cagney <cagney@redhat.com>
1268
1269 * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename
1270 FRAME_INIT_SAVED_REGS.
1271 * gdbarch.h, gdbarch.c: Regenerate.
1272 * stack.c (frame_info): Update.
1273 * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update.
1274 (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update.
1275 (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update.
1276 * ns32k-tdep.c (ns32k_pop_frame): Update.
1277 * mips-tdep.c (mips_pop_frame): Update.
1278 * m68hc11-tdep.c (m68hc11_pop_frame): Update.
1279 * ia64-tdep.c (ia64_frame_chain): Update.
1280 (ia64_frame_saved_pc, ia64_get_saved_register): Update.
1281 (ia64_frameless_function_invocation): Update.
1282 (ia64_init_extra_frame_info): Update.
1283 (ia64_pop_frame_regular): Update.
1284 * frame.h (struct frame_info): Update comment.
1285 (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro.
1286 * frame.c (frame_saved_regs_register_unwind): Update.
1287 (frame_saved_regs_register_unwind): Update.
1288 (deprecated_generic_get_saved_register): Update.
1289 * cris-tdep.c: Update comment.
1290 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS):
1291 Rename macro.
1292 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1293 * x86-64-tdep.c (x86_64_init_abi): Update.
1294 * vax-tdep.c (vax_gdbarch_init): Update.
1295 * v850-tdep.c (v850_gdbarch_init): Update.
1296 * sparc-tdep.c (sparc_gdbarch_init): Update.
1297 * sh-tdep.c (sh_gdbarch_init): Update.
1298 * s390-tdep.c (s390_gdbarch_init): Update.
1299 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1300 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
1301 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1302 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1303 * mips-tdep.c (mips_gdbarch_init): Update.
1304 * mcore-tdep.c (mcore_gdbarch_init): Update.
1305 * m68k-tdep.c (m68k_gdbarch_init): Update.
1306 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1307 * ia64-tdep.c (ia64_gdbarch_init): Update.
1308 * i386-tdep.c (i386_gdbarch_init): Update.
1309 * frv-tdep.c (frv_gdbarch_init): Update.
1310 * avr-tdep.c (avr_gdbarch_init): Update.
1311 * arm-tdep.c (arm_gdbarch_init): Update.
1312 * alpha-tdep.c (alpha_gdbarch_init): Update.
1313
42fa7c0f
AC
13142003-03-01 Andrew Cagney <cagney@redhat.com>
1315
1316 * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to
1317 option enum and switch. When no windows, set the interpreter to
1318 INTERP_CONSOLE.
1319
49c7e338
AC
13202003-03-01 Andrew Cagney <cagney@redhat.com>
1321
1322 * main.c (captured_main): Replace magic option characters with an
1323 enum.
1324
e9582e71
AC
13252003-03-01 Andrew Cagney <cagney@redhat.com>
1326
1327 * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename
1328 INIT_EXTRA_FRAME_INFO.
1329 * gdbarch.h, gdbarch.c: Regenerate.
1330 * arm-tdep.c: Update comments.
1331 * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto.
1332 * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto.
1333 * frame.h, avr-tdep.c: Ditto.
1334 * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO.
1335 (create_new_frame, legacy_get_prev_frame): Ditto.
1336 * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
1337 * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
1338 * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize
1339 deprecated_init_extra_frame_info instead of init_extra_frame_info.
1340 * x86-64-tdep.c (x86_64_init_abi): Ditto.
1341 * v850-tdep.c (v850_gdbarch_init): Ditto.
1342 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
1343 * sh-tdep.c (sh_gdbarch_init): Ditto.
1344 * s390-tdep.c (s390_gdbarch_init): Ditto.
1345 * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto.
1346 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1347 * mips-tdep.c (mips_gdbarch_init): Ditto.
1348 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1349 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1350 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
1351 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
1352 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
1353 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1354 * frv-tdep.c (frv_gdbarch_init): Ditto.
1355 * cris-tdep.c (cris_gdbarch_init): Ditto.
1356 * avr-tdep.c (avr_gdbarch_init): Ditto.
1357 * arm-tdep.c (arm_gdbarch_init): Ditto.
1358 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
1359 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
1360
35cac7cf
AC
13612003-03-01 Andrew Cagney <cagney@redhat.com>
1362
1363 * gdbarch.sh (register_type): New function with predicate.
1364 (REGISTER_VIRTUAL_TYPE): Change to function with predicate.
1365 * gdbarch.h, gdbarch.c: Re-generate.
1366 * arch-utils.c (generic_register_byte): Use generic_register_size.
1367 (generic_register_size): When available, use
1368 gdbarch_register_type.
1369 * regcache.c (init_regcache_descr): When available, initialize the
1370 register type array using gdbarch_register_type. If the
1371 architecture supplies gdbarch_register_type, do not use the legacy
1372 regcache layout.
1373 * d10v-tdep.c (d10v_register_type): Replace
1374 d10v_register_virtual_type.
1375 (d10v_gdbarch_init): Set register_type instead of
1376 register_virtual_type.
1377
7b83296f
AC
13782003-03-01 Andrew Cagney <cagney@redhat.com>
1379
1380 * Makefile.in (ax-gdb.o): Update dependencies.
1381 * ax-gdb.c: Include "regcache.h".
1382 (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE.
1383 * findvar.c (value_of_register): Ditto.
1384 * infcmd.c (default_print_registers_info): Ditto.
1385
eadc1c87
MK
13862003-03-01 Mark Kettenis <kettenis@gnu.org>
1387
1388 * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of
1389 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
1390
14143612
MK
13912003-03-01 Mark Kettenis <kettenis@gnu.org>
1392
1393 * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead
1394 of STREQ.
1395
a55cc764
DJ
13962003-02-28 Daniel Jacobowitz <drow@mvista.com>
1397
1398 * Makefile.in (dwarf2loc.o): Update dependencies.
1399 * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG.
1400 * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static.
1401 * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes.
1402 * dwarf2loc.c: Include "ax.h" and "ax-gdb.h".
1403 (locexpr_tracepoint_var_ref): New function.
1404 (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref.
1405
08a617da
AC
14062003-02-28 Andrew Cagney <cagney@redhat.com>
1407
1408 * regcache.c (register_size): New function.
1409 * regcache.h (register_size): Declare
1410 * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use
1411 max_register_size instead of MAX_REGISTER_RAW_SIZE.
1412
4224873a
DC
14132003-02-28 David Carlton <carlton@math.stanford.edu>
1414
1415 * linespec.c (decode_compound): Extract code into find_method.
1416 (find_method): New.
1417
ccdc5d7f
JB
14182003-02-28 J. Brobecker <brobecker@gnat.com>
1419
1420 * Makefile.in: Add rules to build and link in observer.o.
1421
974e8ced
JB
14222003-02-27 J. Brobecker <brobecker@gnat.com>
1423
1424 * observer.c: Minor comments edits.
1425
7a28f973
JB
14262003-02-27 J. Brobecker <brobecker@gnat.com>
1427
1428 * observer.h, observer.c: New file.
1429
27cddce2
AC
14302003-02-27 Andrew Cagney <cagney@redhat.com>
1431
1432 * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd.
1433
b94a41a1
SC
14342003-02-27 Stephane Carrez <stcarrez@nerim.fr>
1435
1436 * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines.
1437 (M6812_OP_STS_EXT): Likewise.
1438 (m6811_prologue): Use the above to recognize prologue.
1439 (m6812_prologue): Likewise.
1440
c8be8951
DC
14412003-02-27 David Carlton <carlton@math.stanford.edu>
1442
1443 * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not
1444 SYMBOL_PRINT_NAME.
1445 (compare_psymbols): Ditto.
1446 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
1447
d05bb1fc
MS
14482003-02-27 Michael Snyder <msnyder@redhat.com>
1449
4e845cd3
MS
1450 * f-lang.c (build_fortran_types): New function.
1451 (_initialize_f_language): Gdbarch-register built-in fortran types.
d05bb1fc
MS
1452 * doublest.c (extract_floating): Fix warning text.
1453
f3824013
AC
14542003-02-27 Andrew Cagney <cagney@redhat.com>
1455
1456 * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with
1457 predicate. Replaces PUSH_DUMMY_FRAME.
1458 * gdbarch.h, gdbarch.c: Regnerate.
1459 * valops.c (hand_function_call): Update. Call
1460 generic_push_dummy_frame directly.
1461 * vax-tdep.c (vax_gdbarch_init): Update.
1462 * sparc-tdep.c (sparc_gdbarch_init): Update.
1463 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1464 * m68k-tdep.c (m68k_gdbarch_init): Update.
1465 * hppa-tdep.c (hppa_gdbarch_init): Update.
1466 * alpha-tdep.c (alpha_gdbarch_init): Update.
1467 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
1468 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
1469 * inferior.h (PUSH_DUMMY_FRAME): Delete definition.
1470 * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set
1471 push_dummy_frame to generic_push_dummy_frame.
1472 * v850-tdep.c (v850_gdbarch_init): Ditto.
1473 * sh-tdep.c (sh_gdbarch_init): Ditto.
1474 * s390-tdep.c (s390_gdbarch_init): Ditto.
1475 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
1476 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1477 * mips-tdep.c (mips_gdbarch_init): Ditto.
1478 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1479 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1480 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
1481 * i386-tdep.c (i386_gdbarch_init): Ditto.
1482 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1483 * frv-tdep.c (frv_gdbarch_init): Ditto.
1484 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
1485 * cris-tdep.c (cris_gdbarch_init): Ditto.
1486 * avr-tdep.c (avr_gdbarch_init): Ditto.
1487 * arm-tdep.c (arm_gdbarch_init): Ditto.
1488
ad188201
KB
14892003-02-26 Kevin Buettner <kevinb@redhat.com>
1490
1491 * mips-tdep.c (show_mips_abi): New function.
1492 (_initialize_mips_tdep): Use show_mips_abi() to implement the
1493 command ``show mips abi''.
1494
6b37567a
JJ
14952003-02-26 Jeff Johnston <jjohnstn@redhat.com>
1496
1497 From Elena Zannoni <ezannoni@redhat.com>
1498 * dbxread.c (process_one_symbol): Only record line 0 if one or
1499 more sline entries have been seen for the function.
1500
d3e0a5bf
MC
15012003-02-26 Michael Chastain <mec@shout.net>
1502
1503 * configure: Regenerate with autoconf 000227.
1504
18972eea
MC
15052003-02-26 Michael Chastain <mec@shout.net>
1506
1507 Close PR build/660.
1508 * PROBLEMS (i[3456]86-*-linux*): Note explicit error message
1509 for old libc5/glibc.
1510 * gdb_thread_db.h: Die if not HAVE_UINTPTR_T.
1511
0bbde931
KW
15122003-02-26 Kris Warkentin <kewarken@qnx.com>
1513
1514 * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO.
1515 * osabi.c (gdb_osabi_names): Add "QNX Neutrino".
1516
27ca5dad
MC
15172003-02-26 Michael Chastain <mec@shout.net>
1518
1519 * configure.in: New variable HAVE_UINTPTR_T.
1520 * configure, config.in: Regenerated.
1521
6f88d630
DJ
15222003-02-26 Daniel Jacobowitz <drow@mvista.com>
1523
1524 Fix PR build/1097.
1525 * utils.c (gdb_realpath): Move closing brace outwards one #endif.
1526
b14185ce
AC
15272003-02-25 Andrew Cagney <cagney@redhat.com>
1528
1529 * frame.c (get_prev_frame): Add comment on check for
1530 inside_entry_func. Only check for inside_entry_file when not a
1531 dummy and not a sentinel. Check that the new frame is not inner
1532 to the old frame.
1533
ac2bd0a9
AC
15342003-02-25 Andrew Cagney <cagney@redhat.com>
1535
1536 * frame.c (frame_debug): New variable.
1537 (_initialize_frame): Add "set/show debug frame" command.
1538 (get_prev_frame): When frame_debug, print reason why unwind
1539 failed.
1540
b18a0fd2
MC
15412003-02-25 Michael Chastain <mec@shout.net>
1542
1543 * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later
1544 to avoid uintptr_t definition problems.
1545
22abf04a
DC
15462003-02-25 David Carlton <carlton@math.stanford.edu>
1547
1548 * symtab.h (SYMBOL_NATURAL_NAME): New macro.
1549 (SYMBOL_LINKAGE_NAME): Ditto.
1550 (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and
1551 SYMBOL_LINKAGE_NAME.
1552 (struct general_symbol_info): Expand comment.
1553 (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME.
1554 (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME.
1555 (SYMBOL_MATCHES_REGEXP): Ditto.
1556 * symtab.c (symbol_natural_name): New function.
1557 * objfiles.h: Replace all uses of SYMBOL_NAME by
1558 DEPRECATED_SYMBOL_NAME.
1559 * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto.
1560 * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto.
1561 * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto.
1562 * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto.
1563 * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto.
1564 * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto.
1565 * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto.
1566 * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto.
1567 * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto.
1568 * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto.
1569 * ada-exp.y: Ditto.
1570 * ada-exp.y: Update copyright.
1571 * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto.
1572 * cp-valprint.c: Ditto.
1573
1a5848f6
JJ
15742003-02-25 Jeff Johnston <jjohnstn@redhat.com>
1575
1576 * infptrace.c (detach): Do not flag error if ptrace detach fails
1577 and errno is set to ESRCH.
1578
7343d46a
AC
15792003-02-24 Andrew Cagney <cagney@redhat.com>
1580
1581 * infptrace.c (udot_info): Change type of udot_off to long. Use
1582 paddr when printing udot_off's value.
1583
49fa1dc2
DC
15842003-02-24 David Carlton <carlton@math.stanford.edu>
1585
1586 * symtab.c (make_symbol_overload_list): Only read in partial
1587 symtabs containing a matching partial symbol.
1588
0fe19209
DC
15892003-02-24 David Carlton <carlton@math.stanford.edu>
1590
1591 * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to
1592 do the comparison, not strcmp.
1593 * symfile.c (compare_psymbols): Ditto.
1594 * defs.h: Declare strcmp_iw_ordered.
1595 * utils.c (strcmp_iw_ordered): New function.
1596
8e3ee7b5
JB
15972003-02-24 Jim Blandy <jimb@redhat.com>
1598
1599 * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme
1600 support, shared libs): Remove my name from here, to better reflect
1601 reality.
1602
7df1a324
KW
16032003-02-24 Kris Warkentin <kewarken@qnx.com>
1604
1605 * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define.
1606 (target_ops): Add to_have_continuable_watchpoint.
1607 * target.c (update_current_target): Add INHERIT line for
1608 to_have_continuable_watchpoint.
1609 * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines.
1610 * config/i386/nm-i386.h, config/i386/nm-i386sco5.h,
1611 config/i386/nm-i386sol2.h, config/s390/nm-linux.h,
1612 config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1.
1613
d1c76907
EZ
16142003-02-24 Elena Zannoni <ezannoni@redhat.com>
1615
1616 * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop
1617 maintainership.
1618
2610b0bf
KW
16192003-02-24 Kris Warkentin <kewarken@qnx.com>
1620
f46169db
KW
1621 * solib.c (solib_open): Call target defined search function after
1622 failing with solib-search-path.
1623 * solist.h (target_so_ops): Add find_and_open_solib function hook and
1624 create define TARGET_SO_FIND_AND_OPEN_SOLIB.
2610b0bf 1625
9a3c34fe
KW
16262003-02-24 Kris Warkentin <kewarken@qnx.com>
1627
f46169db 1628 * MAINTAINERS: Add myself to Write After section.
9a3c34fe 1629
2417dd25
SC
16302003-02-23 Stephane Carrez <stcarrez@nerim.fr>
1631
1632 * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide.
1633
b631436b
SC
16342003-02-22 Stephane Carrez <stcarrez@nerim.fr>
1635
1636 * m68hc11-tdep.c (m68hc11_init_reggroups): New function.
1637 (m68hc11_add_reggroups): New function.
1638 (m68hc11_register_reggroup_p): New to register hard/soft reggroups.
1639 (m68hc11_gdbarch_init): Install the reggroups.
1640 (_initialize_m68hc11_tdep): Initialize them.
1641
0aa8c1e4
JW
16422003-02-21 James E Wilson <wilson@tuliptree.org>
1643
1644 * MAINTAINERS: Update my email address.
1645
50ceaba5
DC
16462003-02-21 David Carlton <carlton@math.stanford.edu>
1647
1648 * arm-tdep.c (arm_gdbarch_init): Add break after default label.
1649
4c2df51b
DJ
16502003-02-21 Daniel Jacobowitz <drow@mvista.com>
1651
1652 Based on a patch from Daniel Berlin (dberlin@dberlin.org).
1653 * symtab.h: Add opaque declarations of struct axs_value and
1654 struct agent_expr.
1655 (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG.
1656 (struct location_funcs): New type.
1657 (struct symbol): Add "loc" to aux_value.
1658 (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros.
1659 * dwarf2read.c: Include "dwarf2expr.h".
1660 (dwarf2_symbol_mark_computed): New function.
1661 (read_func_scope): Use it.
1662 (var_decode_location): New function.
1663 (new_symbol): Use it.
1664 * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files.
1665
1666 * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c.
1667 (dwarf2expr_h, dwarf2loc_h): New variables.
1668 (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o.
1669 (dwarf2expr.o, dwarf2loc.o): New rules.
1670 (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h).
1671 * buildsym.c (finish_block): Handle LOC_COMPUTED and
1672 LOC_COMPUTED_ARG.
1673 * findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
1674 * m2-exp.y (yylex): Likewise.
1675 * printcmd.c (address_info, print_frame_args): Likewise.
1676 * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise.
1677 * symmisc.c (print_symbol, print_partial_symbols): Likewise.
1678 * ada-lang.c (ada_resolve_subexp, symtab_for_sym)
1679 (ada_add_block_symbols, fill_in_ada_prototype): Likewise.
1680 * symtab.c (lookup_block_symbol): Likewise.
1681
5784d15e
AF
16822003-02-20 Adam Fedor <fedor@gnu.org>
1683
1684 * symtab.h: Remove objc_specific struct
1685 (SYMBOL_OBJC_DEMANGLED_NAME): Remove.
1686 * symtab.c (symbol_init_language_specific, symbol_demangled_name):
1687 Have language_objc use cplus_specific struct.
1688
d4cad8db
TT
16892003-02-20 Tom Tromey <tromey@redhat.com>
1690
1691 * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not
1692 TYPE_NAME, when printing a String value. PR java/1075.
1693
2f9a90b4
AF
16942003-02-20 Adam Fedor <fedor@gnu.org>
1695
d38074a8 1696 * objc-lang.h (find_methods): Remove declaration.
2f9a90b4
AF
1697 * objc-lang.c (find_methods): Make static.
1698
6f17862b
CF
16992003-02-20 Christopher Faylor <cgf@redhat.com>
1700
1701 * win32-nat.c (get_image_name): Check return value from
1702 ReadProcessMemory.
1703 (child_xfer_memory): Ditto.
1704
715d1656
AO
17052003-02-20 Alexandre Oliva <aoliva@redhat.com>
1706
1707 * configure.in (TARGET_SYSTEM_ROOT): Set default to
1708 ${exec_prefix}/${target_alias}/sys-root. Match explicit
1709 '${exec_prefix}' (in addition to the expansion thereof) as
1710 relocatable.
1711 * configure: Rebuilt.
1712
b1262a02
DC
17132003-02-20 David Carlton <carlton@math.stanford.edu>
1714
1715 * symtab.c (search_symbols): Revert the search_symbols part of my
1716 2002-12-23 patch. Add comment.
1717
7134143f
DJ
17182002-02-20 Daniel Jacobowitz <drow@mvista.com>
1719
1720 * coffread.c (coff_symfile_read): Clean up minimal symbols earlier.
1721 * dbxread.c (elfstab_build_psymtabs): Don't call
1722 install_minimal_symbols.
1723 (stabsect_build_psymtabs): Likewise.
1724 * elfread.c (elf_symfile_read): Call install_minimal_symbols
1725 earlier.
1726 * somread.c (som_symfile_read): Call install_minimal_symbols
1727 and do_cleanups earlier.
1728 * nlmread.c (nlm_symfile_read): Likewise.
1729 * mdebugread.c (elfmdebug_build_psymtabs): Call
1730 install_minimal_symbols and make appropriate cleanups.
1731
cf466558
KB
17322003-02-20 Kevin Buettner <kevinb@redhat.com>
1733
1734 * solib.c (reload_shared_libraries): New function.
1735 (_initialize_solib): Add callbacks for ``set solib-search-path''
1736 and ``set solib-absolute-prefix''.
1737
de5ad195
DC
17382003-02-20 David Carlton <carlton@math.stanford.edu>
1739
1740 * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME;
1741 expand comment.
1742 * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace
1743 SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME.
1744 * ada-typeprint.c (ada_typedef_print): Ditto.
1745 * ax-gdb.c (gen_var_ref): Ditto.
1746 * breakpoint.c (print_one_breakpoint): Ditto.
1747 * buildsym.c (finish_block): Ditto.
1748 * c-valprint.c (c_val_print): Ditto.
1749 * expprint.c (print_subexp): Ditto.
1750 * findvar.c (locate_var_value): Ditto.
1751 * infcmd.c (jump_command): Ditto.
1752 * linespec.c (decode_line_2, decode_compound): Ditto.
1753 * maint.c (maintenance_translate_address): Ditto.
1754 * objc-lang.c (compare_selectors, compare_classes): Ditto.
1755 * printcmd.c (build_address_symbolic, sym_info, print_frame_args):
1756 Ditto.
1757 * p-valprint.c (pascal_val_print): Ditto.
1758 * stabsread.c (define_symbol): Ditto.
1759 * stack.c (print_frame, frame_info, print_block_frame_locals)
1760 (print_frame_arg_vars, return_command): Ditto.
1761 * symfile.c (compare_symbols, compare_psymbols): Ditto.
1762 * symmisc.c (print_symbol): Ditto.
1763 * symtab.c (lookup_partial_symbol, lookup_block_symbol)
1764 (compare_search_syms, print_symbol_info, print_msymbol_info)
1765 (rbreak_command): Ditto.
1766 * tracepoint.c (tracepoints_info): Ditto.
1767 * typeprint.c (typedef_print): Ditto.
1768 * valops.c (value_of_variable, hand_function_call): Ditto.
1769 * cli/cli-cmds.c (edit_command, list_command): Ditto.
1770 * ada-typeprint.c: Update Copyright.
1771 * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto.
1772 * tracepoint.c, cli/cli-cmds.c: Ditto.
1773
f796e4be
KB
17742003-02-20 Kevin Buettner <kevinb@redhat.com>
1775
1776 * frame.c (generic_unwind_get_saved_register): Make non-static.
1777 * frame.h (generic_unwind_get_saved_register): Declare.
1778 * mips-tdep.c (read_next_frame_reg): Fetch register from
1779 current regcache when frame is NULL.
1780 (mips_init_extra_frame_info): Pass NULL explicitly for parameter
1781 that must be NULL.
1782 (mips_get_saved_register): Call generic_unwind_get_saved_register()
1783 instead of frame_register_unwind().
1784
836cc9f4
AC
17852003-02-20 Andrew Cagney <ac131313@redhat.com>
1786
1787 * remote-sim.c (gdbsim_insert_breakpoint)
1788 (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS
1789 code.
1790
501eef12
AC
17912003-02-20 Andrew Cagney <ac131313@redhat.com>
1792
1793 * remote.c (_initialize_remote): Add commands "set/show remote
1794 hardware-watchpoint-limit" and "set/show remote
1795 hardware-breakpoint-limit".
1796 (remote_hw_watchpoint_limit): Initialize to -1.
1797 (remote_hw_breakpoint_limit): Ditto.
1798 (remote_check_watch_resources): Treat a limit of -1 as unlimited.
1799
1b6bc7e0
CF
18002003-02-19 Raoul Gough <RaoulGough@yahoo.co.uk>
1801
1802 * coff-pe-read.c: New file - support reading of minimal symbols from a
1803 portable executable using the export table.
1804 * coff-pe-read.h: New file.
1805 * coffread.c: Include coff-pe-read.h.
1806 (coff_symtab_read): Call read_pe_exported_syms iff no recognized
1807 debugging symbols found.
1808 * Makefile.in (SFILES): Add coff-pe-read.o.
1809 (coff_pe_read_h): Define.
1810 (COMMON_OBS): Add coff-pe-read.o.
1811 (coffread.o): Add coff_pe_read_h dependency.
1812 (coff-pe-read.o): New target.
1813
fe898f56
DC
18142003-02-19 David Carlton <carlton@math.stanford.edu>
1815
1816 * Makefile.in (SFILES): Add block.c.
1817 (block_h): New.
1818 (COMMON_OBS): Add block.o.
1819 (block.o): New.
1820 (x86-64-tdep.o): Add $(block_h).
1821 (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o)
1822 (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o)
1823 (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o)
1824 (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o)
1825 (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o)
1826 (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o)
1827 (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto.
1828 * value.h: Add opaque declaration for struct block.
1829 * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto.
1830 * ada-lang.h: Ditto.
1831 * x86-64-tdep.c: #include "block.h"
1832 * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto.
1833 * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto.
1834 * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto.
1835 * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto.
1836 * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto.
1837 * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto.
1838 * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto.
1839 * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto.
1840 * blockframe.c (blockvector_for_pc_sect): Move to "block.c".
1841 (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto.
1842 * symtab.c (block_function): Ditto.
1843 (contained_in): Ditto.
1844 * frame.h: Move block_for_pc and block_for_pc_sect declarations to
1845 block.h. Add opaque declaration for struct block.
1846 * symtab.h: Move block_function and contained_in declarations to
1847 block.h. Add opaque declarations for struct block, struct
1848 blockvector.
1849 (struct block): Move to block.h.
1850 (struct blockvector): Ditto.
1851 (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK)
1852 (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM)
1853 (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE)
1854 (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS)
1855 (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):
1856 Ditto.
1857 * block.c: New file.
1858 * block.h: New file.
1859
173345b5
TR
18602003-02-19 Theodore A. Roth <troth@openavr.org>
1861
1862 * avr-tdep.c (avr_extract_return_value): Remove function.
1863 (avr_store_return_value): Remove function.
1864 (avr_extract_struct_value_address): Remove function.
1865 (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls.
1866
338ef23d
AC
18672003-02-19 Andrew Cagney <ac131313@redhat.com>
1868
1869 * rs6000-tdep.c: Include "gdb_assert.h".
1870 (registers_e500): Add "acc" and "spefscr".
1871 (PPC_GPRS_PSEUDO_REGS): Remove trailing comma.
1872 (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum,
1873 ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum
1874 really is "r0".
1875 (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson).
1876
5412f5f3
KS
18772003-02-18 Keith Seitz <keiths@redhat.com>
1878
1879 * Makefile.in: Add gdbtk-interps.c.
1880
881324eb
KB
18812003-02-18 Kevin Buettner <kevinb@redhat.com>
1882
1883 * sparc-tdep.c (sparc_frame_chain): Adjust return value.
1884 * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare.
1885
6a2f5abf
AC
18862003-02-18 Andrew Cagney <cagney@redhat.com>
1887
1888 * symtab.h (struct objfile): Add opaque declaration.
1889
54c7009d
EZ
18902003-02-18 Elena Zannoni <ezannoni@redhat.com>
1891
1892 From Jim Ingham <jingham@apple.com>:
1893 * dbxread.c (process_one_symbol): Use last_function_start rather
1894 than function_start_offset to find the real beginning of the
1895 current function. The latter is just the text section offset on
1896 some systems, the former is always the real function start.
1897
7ee6d7eb
AC
18982003-02-17 Andrew Cagney <cagney@redhat.com>
1899
1900 * configure.in: Revert ${target} != ${host}.
1901
2846da9b
AC
19022003-02-17 Andrew Cagney <ac131313@redhat.com>
1903
1904 * configure.in (Makefile): Use the test ${target} != ${host},
1905 instead of the absence of the "nm.h" file, to determine of the
1906 configuration non-native.
1907 * configure: Regenerate.
1908
3b27aeea
EZ
19092003-02-14 Elena Zannoni <ezannoni@redhat.com>
1910
1911 From Brian Ford <ford@vss.fsi.com>
1912
1913 * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly
1914 conditionalize tui_active test.
1915 (lookup_cmd_1): Ditto.
1916
b0b1c2c0
MK
19172003-02-14 Mark Kettenis <kettenis@gnu.org>
1918
1919 * configure.in: Add check for _etext.
1920 * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't
1921 available.
1922 * config.in, configure: regenerated.
1923
8f05cde5
DJ
19242003-02-14 Daniel Jacobowitz <drow@mvista.com>
1925
1926 * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base.
1927
021e7609
AC
19282003-02-14 Andrew Cagney <ac131313@redhat.com>
1929
1930 * main.c (tui_version): Delete variable.
1931 (captured_main): When --tui, set interpreter_p to "tui" instead of
1932 enabling tui_version.
1933 * printcmd.c (display_command) [TUI]: Test tui_active instead of
1934 tui_version.
1935 * cli/cli-decode.c (lookup_cmd_composition): Ditto.
1936 * cli/cli-cmds.c (disassemble_command): Ditto.
1937 * defs.h (tui_version): Delete declaration.
1938 * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c".
1939 (tui-interp.o): Add rules.
1940 (SUBDIR_TUI_OBS): Add "tui-interp.o".
1941
e325dcec
CF
19422003-02-14 Christopher Faylor <cgf@redhat.com>
1943
36ffb041 1944 * win32-nat.c (register_loaded_dll): Correctly set address range for
e325dcec
CF
1945 just-loaded dll.
1946
c4f90d87
JM
19472003-02-12 Jason Molenda (jmolenda@apple.com)
1948
1949 * symmisc.c (print_objfile_statistics): Include information about
1950 the number of psymtabs and symtabs in each object file.
1951
e46e5ccd
KS
19522003-02-13 Keith R Seitz <keiths@redhat.com>
1953
1954 * main.h (struct captured_main_args): Add interpreter_p.
1955 * main.c (captured_main): Initialize interpreter_p from context.
1956 * gdb.c (main): Set interpreter_p argument.
1957 * Makefile.in (gdb.o): Add dependency for interps.h.
1958
fe97fe9c
AC
19592003-02-12 Andrew Cagney <ac131313@redhat.com>
1960
1961 * event-top.c (cli_command_loop): Delete declaration.
1962 (_initialize_event_loop): Delete function setting event_loop_hook.
1963 * event-top.h (cli_command_loop): Declare. Update copyright.
1964 (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H.
1965 * interps.c (current_interp_command_loop): When event_loop_p, call
1966 cli_command_loop.
1967
1cdac4ef
AC
19682003-02-12 Andrew Cagney <ac131313@redhat.com>
1969
1970 * interps.h (interp_command_loop_ftype): Change return type to
1971 void.
1972
48037ead
ML
19732003-02-12 Michal Ludvig <mludvig@suse.cz>
1974
1975 * x86-64-tdep.c (x86_64_extract_return_value)
1976 (x86_64_store_return_value): Use regcache instead of regbuf.
1977 (x86_64_gdbarch_init): Change related set_gdbarch_* functions.
1978 * x86-64-linux-nat.c (fill_gregset): Use regcache.
1979
033afc63
AC
19802003-02-11 Andrew Cagney <ac131313@redhat.com>
1981
1982 * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS.
1983 * aclocal.m4: Regenerate.
1984 * configure: Regenerate.
1985
1986 * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of
1987 TCL_LD_SEARCH_FLAGS.
1988
40d02bca
ML
19892003-02-10 Michal Ludvig <mludvig@suse.cz>
1990
1991 * dwarf2cfi.c: Reindented.
1992
11308a41
AC
19932003-02-09 Andrew Cagney <ac131313@redhat.com>
1994
1995 * interps.c (clear_interpreter_hooks): Convert function definition
1996 to ISO C.
1997
e1c1c0f6
DC
19982003-02-07 David Carlton <carlton@math.stanford.edu>
1999
2000 * gdb_mbuild.sh: Delete extra shift after parsing '-f'.
2001
ab5d3da6
KB
20022003-02-07 Kevin Buettner <kevinb@redhat.com>
2003
2004 * gdbtypes.h (struct main_type): Move ``length'' field from here...
2005 (struct type): ...to here.
2006 (TYPE_LENGTH): Adjust to reflect different location of ``length''
2007 field.
2008 * gdbtypes.c (make_qualified_type): Set length on newly created type.
2009 (replace_type): Set length on all type variants for a given type.
2010
b8a92b82
AC
20112003-02-07 Andrew Cagney <ac131313@redhat.com>
2012
2013 * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of
2014 <sys/stat.h>.
2015 * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies.
2016
5cb316ef
AC
20172003-02-06 Andrew Cagney <ac131313@redhat.com>
2018
2555fe1a
AC
2019 * Makefile.in (symm-nat.o): Update dependencies.
2020 (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto.
2021 (lynx-nat.o, ia64-linux-nat.): Ditto.
2022 * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include
2023 "gdb_wait.h" instead of <wait.h> or <sys/wait.h>.
2024 * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto.
2025
44270758
AC
2026 * Makefile.in (inflow_h): Define.
2027 (procfs.o, inflow.o, procfs.o): Update dependencies.
2028 * inftarg.c (child_stop): Delete extern declaration of
2029 inferior_process_group. Include "inflow.h".
2030 * procfs.c (procfs_stop): Ditto. Include "inflow.h".
2031 * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ...
2032 * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file.
2033 (our_process_group, inferior_process_group): Extern declarations.
2034
df8f7274
AC
2035 * procfs.c: Include "gdb_assert.h".
2036
5cb316ef
AC
2037 * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>.
2038 * cp-valprint.c (cp_print_value_fields): Eliminate STREQN.
2039 * jv-typeprint.c (java_type_print_base): Ditto.
2040 * typeprint.c (typedef_print): Eliminate STREQ.
2041 * cli/cli-script.c (define_command, define_command): Ditto.
2042 * main.c (captured_main): Ditto.
2043 * values.c (lookup_internalvar): Ditto.
2044 * utils.c (safe_strerror, parse_escape): Eliminate assignment
2045 within `if' conditional.
2046 * linespec.c (decode_line_2): Ditto.
2047 * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto.
2048 (bfd_openw_with_cleanup): Ditto.
2049
2a28ccea
MK
20502003-02-07 Mark Kettenis <kettenis@gnu.org>
2051
2052 * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to
2053 legacy_extract_return_value and store_return_value to
2054 legacy_return_value.
2055
786b8124
CF
20562003-02-06 Raoul Gough <RaoulGough@yahoo.co.uk>
2057
2058 * win32-nat.c (get_relocated_section_addrs): New function. Find
2059 section load addresses for symbol handling in relocated DLLs.
2060 (solib_symbols_add): Open a bfd and call get_relocated_section_addrs.
2061
b871e4ec
FF
20622003-02-05 Fred Fish <fnf@intrinsity.com>
2063
2064 * remote-e7000.c (e7000_drain_command): Fix precedence problem with
2065 '=' and '!='.
2066 * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem
2067 with '&' and '=='.
2068 (angel_RDI_info): Ditto.
2069 * infttrace.c (threads_continue_all_but_one): Fix precedence problem
2070 with '&' and '!='.
2071 (threads_continue_all_with_signals): Ditto.
2072
4389a95a
AC
20732003-02-05 Jim Ingham <jingham@apple.com>
2074 Keith Seitz <keiths@redhat.com>
2075 Elena Zannoni <ezannoni@redhat.com>
2076 Andrew Cagney <ac131313@redhat.com>
2077
2078 * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
2079 (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
2080 (SUBDIR_MI_OBS): Add "mi-interp.o".
2081 (SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
2082 (SFILES): Add "interps.c".
2083 (COMMON_OBS): Add "interps.o".
2084 (interps_h, mi_main_h): Define.
2085 (interps.o, cli-interp.o, mi-interp.o): Add dependencies.
2086 (mi-main.o, main.o, event-top.o): Update dependencies.
2087 * cli/cli-interp.c: New file.
2088 * interps.h, interps.c: New files.
2089 * top.c: (gdb_init): Don't install the default interpreter, handed
2090 by captured_main.
2091 * main.c: Include "interps.h".
2092 (interpreter_p): Note that it should malloc'ed.
2093 (captured_command_loop): Call current_interp_command_loop.
2094 (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
2095 xfree and xstrdup when updating interpreter_p. Install the
2096 default interpreter. Add hack to stop mi1's copyright notice
2097 being encoded.
2098 * event-top.h (gdb_setup_readline): Declare.
2099 (gdb_disable_readline): Declare.
2100 * event-top.c: Include "interps.h".
2101 (display_gdb_prompt): Call current_interp_display_prompt_p.
2102 (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
2103 gdb_stdlog, and gdb_stdtarg.
2104 (_initialize_event_loop): Don't call gdb_setup_readline.
2105 * cli-out.c (cli_out_set_stream): New function.
2106 * cli-out.h (cli_out_set_stream): Declare.
2107
ff3b5810
MK
21082003-02-06 Mark Kettenis <kettenis@gnu.org>
2109
2110 * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*,
2111 i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all
2112 handled fine by i[3456]86-*sco* and i[3456]86-sysv*.
2113 * config/i386/i386sco5.mt, config/i386/i386v4.mt,
2114 config/i386/i386v42mp.mt: Removed.
2115
5b729aa5
MK
21162003-02-05 Mark Kettenis <kettenis@gnu.org>
2117
2118 * configure.tgt (*-*-solaris*): Set gdb_osabi to
2119 GDB_OSABI_SOLARIS.
2120
8cc15142
MC
21212003-02-05 Michael Chastain <mec@shout.net>
2122
2123 * PROBLEMS (i[3456]86-*-linux*): Warn about binutils
2124 2.12.1 and earlier versions.
2125
5aa5d4b9
AC
21262003-02-05 Andrew Cagney <ac131313@redhat.com>
2127
2128 Remove orphaned hosts, targets and files.
2129 * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete.
2130 * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete.
2131 * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete.
2132 * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete.
2133 * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete.
2134 * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete.
2135 * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete.
2136 * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete.
2137 * config/sparc/tm-sp64sim.h: Delete.
2138 * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-*
2139 hosts.
2140 * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and
2141 mips*-dec-mach3* targets.
2142
b68767c1
MC
21432003-02-04 Michael Chastain <mec@shout.net>
2144
2145 * NEWS: Fix typo: sepcifying -> specifying.
2146
5ae7ca1d
MC
21472003-02-04 Michael Chastain <mec@shout.net>
2148
2149 * dwarfread.c: Add documentation on the state of dwarf-1,
2150 looking towards obsoletion.
2151
d08a4280
MC
21522003-02-03 Michael Chastain <mec@shout.net>
2153
2154 * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc,
2155 gdb/testsuite/gdb.c++/pr-1023.exp.
2156
e9be73e4
AC
21572003-02-04 Andrew Cagney <ac131313@redhat.com>
2158
2159 * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR.
2160 * TODO: Delete reference to IS_TRAPPED_INTERNALVAR.
2161
2162 * utils.c (init_page_info): Delete reference to MPW in comments.
2163 * main.c (captured_main): Delete #ifdef MPW.
2164
05d57f6f
AC
21652003-02-04 Andrew Cagney <ac131313@redhat.com>
2166
2167 * NEWS: Note that the m32r-*-elf* is obsolete.
2168 * monitor.c (monitor_expect): Obsolete reference to m32r.
2169 * configure.tgt: Mark m32r-*-elf* as obsolete.
2170 * MAINTAINERS: Mark m32k as obsolete.
2171 * m32r-rom.c: Obsolete file.
2172 * config/m32r/m32r.mt: Obsolete file.
2173 * config/m32r/tm-m32r.h: Obsolete file.
2174 * m32r-stub.c: Obsolete file.
2175 * m32r-tdep.c: Obsolete file.
2176
8b0e5691
AC
21772003-02-04 Andrew Cagney <ac131313@redhat.com>
2178
2179 * NEWS: Mention that the z8k-zilog-none is obsolete.
2180 * MAINTAINERS: Mark z8k as obsolete.
2181 * configure.tgt: Obsolete the z8k-*-coff* target.
2182 * config/z8k/z8k.mt: Obsolete file.
2183 * config/z8k/tm-z8k.h: Obsolete file.
2184 * z8k-tdep.c: Obsolete file.
2185
67f16606
AC
21862003-02-04 Andrew Cagney <ac131313@redhat.com>
2187
2188 * NEWS: Mention that the mn10200-elf is obsolete.
2189 * configure.tgt: Obsolete mn10200-*-* target.
2190 * breakpoint.c (update_breakpoints_after_exec): Update comment to
2191 mention that the mn10200 is obsolete.
2192 * breakpoint.h: Ditto.
2193 * MAINTAINERS: Mark the mn10200-elf as obsolete.
2194 * config/mn10200/mn10200.mt: Obsolete file.
2195 * config/mn10200/tm-mn10200.h: Obsolete file.
2196 * mn10200-tdep.c: Obsolete file.
2197
fd2299bd
AC
21982003-02-04 Andrew Cagney <ac131313@redhat.com>
2199
2200 * MAINTAINERS: Mark h8500 as obsolete.
2201 * configure.tgt (h8500-*-*): Mark h8500 code as obsolete.
2202 * findvar.c (value_from_register): Ditto.
2203 * h8500-tdep.c: Mark file as obsolete.
2204 * config/h8500/h8500.mt: Ditto.
2205 * config/h8500/tm-h8500.h: Ditto.
2206 * NEWS: Mention that h8500 is obsolete.
2207
eb9a305d
DC
22082003-02-04 David Carlton <carlton@math.stanford.edu>
2209
2210 * objfiles.c (allocate_objfile): Always set name. Add comment at
2211 start of function.
2212 * jv-lang.c (get_dynamics_objfile): Add comment.
2213
406fc7fb
DC
22142003-02-04 David Carlton <carlton@math.stanford.edu>
2215
2216 * symtab.h (SYMBOL_LINKAGE_NAME): Delete.
2217 * printcmd.c (build_address_symbolic): Replace uses of
2218 SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME,
2219 SYMBOL_NAME, and asm_demangle.
2220 Update copyright.
2221
93d91629
DC
22222003-02-04 David Carlton <carlton@math.stanford.edu>
2223
2224 * linespec.c (decode_compound): Extract code into
2225 lookup_prefix_sym.
2226 (lookup_prefix_sym): New function.
2227
1c5cb38e
DC
22282003-02-04 David Carlton <carlton@math.stanford.edu>
2229
2230 * gdbtypes.h: Delete INTEGER_COERCION_BADNESS,
2231 FLOAT_COERCION_BADNESS.
2232 * gdbtypes.c (rank_one_type): Replace all uses of
2233 INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS.
2234
0cf824c9
JB
22352003-02-04 Jim Blandy <jimb@redhat.com>
2236
2237 * dwarf2read.c (dwarf2_locate_sections): When we find a macro info
2238 section, let dwarf_macinfo_section point to it, not
2239 dwarf_loc_section.
2240
a2d356b0
DJ
22412003-02-04 Daniel Jacobowitz <drow@mvista.com>
2242
2243 Pointed out by Anton Blanchard <anton@samba.org>.
2244 * ppc-linux-tdep.c (insn_is_sigreturn): New function.
2245 (ppc_linux_at_sigtramp_return_path): Use it.
2246
2de7ced7
DJ
22472003-02-04 Daniel Jacobowitz <drow@mvista.com>
2248
2249 * defs.h (streq): Add prototype.
2250 * utils.c (streq): New function.
2251
2252 * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of
2253 SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME.
2254 * mdebugread.c (new_symbol): Likewise.
2255 * stabsread.c (define_symbol): Likewise.
2256 * coffread.c (process_coff_symbol): Likewise.
2257 * dwarfread.c (new_symbol): Likewise.
2258
2259 * minsyms.c (prim_record_minimal_symbol_and_info): Use
2260 SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language
2261 here.
2262 (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call
2263 SYMBOL_INIT_DEMANGLED_NAME.
2264 * objfiles.c: Include "hashtab.h".
2265 (allocate_objfile): Call htab_set_functions_ex for the
2266 demangled_names_hash.
2267 (free_objfile): Call htab_delete for the demangled_names_hash.
2268 * objfiles.h (struct htab): Add declaration.
2269 (struct objfile): Add demangled_names_hash.
2270 * symfile.c: Include "hashtab.h".
2271 (reread_symbols): Call htab_delete for the demangled_names_hash.
2272 (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting
2273 SYMBOL_NAME in the bcache.
2274 * symtab.c: Include "hashtab.h". Update comments.
2275 (create_demangled_names_hash, symbol_set_names): New functions.
2276 (symbol_find_demangled_name): New function, broken out from
2277 symbol_init_demangled_names.
2278 (symbol_init_demangled_names): Use it.
2279 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses.
2280 (SYMBOL_SET_NAMES): New macro.
2281 (symbol_set_names): Add prototype.
2282
15831452
JB
22832003-02-03 Jim Blandy <jimb@redhat.com>
2284
2285 Use a single, consistent representation for an empty minimal
2286 symbol table in an objfile.
2287 * objfiles.c (terminate_minimal_symbol_table): New function.
2288 (allocate_objfile): Call it.
2289 * objfiles.h (terminate_minimal_symbol_table): New declaration.
2290 (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is
2291 non-NULL.
2292 * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether
2293 objfile has minimal symbols, compare minimal_symbol_count to zero,
2294 instead of comparing msymbols with NULL.
2295 * objfiles.c (have_minimal_symbols): Same.
2296 * solib-sunos.c (solib_add_common_symbols): Call
2297 terminate_minimal_symbol_table.
2298 * symfile.c (reread_symbols): Same.
2299
ffc65945
KB
23002003-02-03 Kevin Buettner <kevinb@redhat.com>
2301
2302 * s390-tdep.c (s390_address_class_type_flags)
2303 (s390_address_class_type_flags_to_name)
2304 (s390_address_class_name_to_type_flags): New functions.
2305 (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME,
2306 ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS.
2307
f211c6d4
MS
23082003-02-03 Michael Snyder <msnyder@redhat.com>
2309
2310 * arm-tdep.c: Fix spell-o in comment.
2311
659b0389
ML
23122003-02-03 Michal Ludvig <mludvig@suse.cz>
2313
2314 * dwarf2cfi.c (pointer_encoding): Added new parameter.
2315 * dwarf2cfi.c, dwarf2read.c: Changed all warnings and
2316 error messages to contain BFD filename.
2317
3b31d625
EZ
23182003-02-02 Elena Zannoni <ezannoni@redhat.com>
2319
997b089a 2320 Fix PR gdb/742 gdb/743 gdb/877
3b31d625
EZ
2321 * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end.
2322 (do_mixed_source_and_assembly): Use
2323 make_cleanup_ui_out_tuple_begin_end and
2324 make_cleanup_ui_out_tuple_begin_end.
2325 (do_mixed_source_and_assembly): Ditto.
2326 * thread.c (do_captured_list_thread_ids): Ditto.
2327 * ui-out.h (ui_out_table_begin, ui_out_list_begin,
2328 ui_out_tuple_begin, ui_out_table_end, ui_out_list_end,
2329 ui_out_tuple_end): Delete prototypes.
2330 * ui-out.c (ui_out_list_begin, ui_out_tuple_begin,
2331 ui_out_list_end, ui_out_tuple_end): Delete.
2332
2333 From Kevin Buettner <kevinb@redhat.com>:
2334 * ui-out.h (make_cleanup_ui_out_table_begin_end): New function.
2335 * ui-out.c (make_cleanup_ui_out_table_begin_end)
2336 (do_cleanup_table_end): New functions.
2337 * breakpoint.c (print_it_typical, print_one_breakpoint, mention):
2338 Use cleanups to invoke_ui_out_tuple_end().
2339 (breakpoint_1): Use cleanup to invoke ui_out_table_end().
2340 * cli/cli-setshow.c (cmd_show_list): Use
2341 make_cleanup_ui_out_tuple_begin_end.
2342
5b181d62
AC
23432003-02-02 Andrew Cagney <ac131313@redhat.com>
2344
2345 * frame.c (frame_unwind_register): New function.
2346 (frame_unwind_unsigned_register): Use.
2347 (frame_unwind_signed_register): Use.
2348 (frame_read_register): New function.
2349 * frame.h (frame_unwind_register): Declare.
2350 (frame_read_register): Declare.
2351
2352 * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write
2353 and frame_unwind_register instead of read_memory, write_register
2354 and deprecated_write_register_bytes.
2355
5f601589
AC
23562003-02-02 Andrew Cagney <ac131313@redhat.com>
2357
2358 * frame.h: Note that namelen can be negative.
2359 * frame.c (frame_map_name_to_regnum): When LEN is negative, use
2360 NAME's length.
2361
2362 * NEWS: Mention that the d10v's `regs' command is deprecated.
2363 * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info.
2364 (d10v_print_registers_info): New function.
2365 (show_regs): Call d10v_print_registers_info.
2366 (_initialize_d10v_tdep): Mark "show regs" command as deprecated.
2367
6a3fe0a4
MK
23682003-02-02 Mark Kettenis <kettenis@gnu.org>
2369
2370 * stack.c (print_frame_info): Restore call to annotate_frame_begin
2371 lost in the previous patch.
2372
075559bc
AC
23732003-02-01 Andrew Cagney <ac131313@redhat.com>
2374
2375 From 2002-11-09 Jason Molenda (jason-cl@molenda.com)
2376 * stack.c (print_frame_info_base): Output complete FRAME tuple
2377 for synthesized frames.
2378
6789195b
AC
23792003-02-02 Andrew Cagney <ac131313@redhat.com>
2380
2381 * mips-nat.c (zerobuf): Delete.
2382 (fetch_inferior_registers): Alloc local zerobuf.
2383 (fetch_core_registers): Alloc local zerobuf.
2384 * d10v-tdep.c (show_regs): Don't allocate a dynamic array using
2385 MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE.
2386 * thread-db.c (thread_db_store_registers): Ditto.
2387 * sh-tdep.c (sh_do_register): Ditto.
2388 * rom68k-rom.c (rom68k_supply_one_register): Ditto.
2389 * remote-sim.c (gdbsim_store_register): Ditto.
2390 * remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
2391 * remote-e7000.c (fetch_regs_from_dump): Ditto.
2392 * monitor.c (monitor_supply_register): Ditto.
2393 * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto.
2394 * mips-nat.c (fetch_inferior_registers): Ditto.
2395 * m68klinux-nat.c (fetch_register): Ditto.
2396 * lynx-nat.c (fetch_inferior_registers): Ditto.
2397 (fetch_inferior_registers): Ditto.
2398 * irix4-nat.c (supply_gregset, supply_fpregset): Ditto.
2399 * hpux-thread.c (hpux_thread_fetch_registers): Ditto.
2400 (hpux_thread_store_registers): Ditto.
2401 * hppah-nat.c (fetch_register): Ditto.
2402 * hppab-nat.c (fetch_register): Ditto.
2403 * hppa-tdep.c (pa_register_look_aside): Ditto.
2404 (pa_print_fp_reg, pa_strcat_fp_reg): Ditto.
2405 * dve3900-rom.c (fetch_bitmapped_register): Ditto.
2406
e669114a
AC
24072003-02-01 Andrew Cagney <ac131313@redhat.com>
2408
2409 * gdbarch.sh: Explictly specify all method levels. When a
2410 variable with an empty level, provide a non-multi-arch default.
2411 (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty.
2412 * gdbarch.h: Re-generate.
2413 * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined.
2414 * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1
2415
9a043c1d
AC
24162003-02-01 Andrew Cagney <ac131313@redhat.com>
2417
2418 * defs.h (host_pointer_to_address): Delete declaration.
2419 (address_to_host_pointer): Delete declaration.
2420 * utils.c (host_pointer_to_address): Delete function.
2421 (address_to_host_pointer): Delete function.
2422 * procfs.c (procfs_address_to_host_pointer): New function.
2423 * procfs.c (proc_set_watchpoint): Use.
2424 (procfs_can_use_hw_breakpoint): Update comments.
2425 * somsolib.c (hpux_address_to_host_pointer_hack): New function.
2426 (som_solib_add): Use.
2427 * hppa-tdep.c (hppa_pointer_to_address_hack): New function.
2428 * hppa-tdep.c (unwind_command): Use.
2429
7ca9f392
AC
24302003-02-01 Andrew Cagney <ac131313@redhat.com>
2431
94bbfd30
AC
2432 * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and
2433 strlen d_name.
2434
7ca9f392
AC
2435 * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS,
2436 ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code.
2437 (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code.
2438 * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro.
2439 (define_symbol): Update.
2440 * symfile.c (generic_load): Remove references to nindy.
2441 * symtab.c: Remove references to nindy.
2442
31a85ea2
AC
24432003-02-01 Andrew Cagney <ac131313@redhat.com>
2444
2445 * infcmd.c (print_float_info): Delete code conditional on
2446 FLOAT_INFO.
2447 * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright.
2448 * config/m68k/nm-apollo68b.h: Ditto.
2449 * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright.
2450 * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto.
2451 * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto.
2452
f6e85fc8
MK
24532003-02-01 Mark Kettenis <kettenis@gnu.org>
2454
6015b6a0
MK
2455 * config/i386/tm-i386os9k.h: Removed.
2456
f7a30bdf
MK
2457 * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v.
2458 Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since
2459 they're identical to i[3456]86-*-sysv* now.
2460 * config/i386/i386v32.mh: Removed.
2461 * config/i386/xm-i386v32.h: Removed.
2462 * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro.
2463
28d52111
MK
2464 * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed.
2465
4d3f6bce
MK
2466 * config/i386/i386dgux.mh: Removed.
2467 * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4.
2468
f6e85fc8
MK
2469 * configure.in: Fix typo.
2470 * configure: Regenerated.
2471
53955967
DC
24722003-01-31 David Carlton <carlton@math.stanford.edu>
2473
2474 * dwarf2read.c (dwarf2_locate_sections): Set
2475 dwarf_ranges_section.
2476
b1364885
AC
24772003-01-31 Andrew Cagney <ac131313@redhat.com>
2478
8dbb1c65
AC
2479 * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts.
2480 * utils.c: Update comments documenting legitimate uses of PTR.
2481
8731e58e
AC
2482 * utils.c: Re-indent.
2483
b1364885
AC
2484 * config/djgpp/fnchange.lst: Delete nindy files.
2485 * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files.
2486 * nindy-share/nindy.c, nindy-share/env.h: Delete files.
2487 * nindy-share/coff.h, nindy-share/block_io.h: Delete files.
2488 * nindy-share/b.out.h, nindy-share/VERSION: Delete files.
2489 * nindy-share/README, nindy-share/Onindy.c: Delete files.
2490 * nindy-tdep.c, nindy-share/Makefile: Delete files.
2491 * Makefile.in (init.c): Remove nindy references.
2492 (saber_gdb): Delete rule.
2493 (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c,
2494 nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c,
2495 and a68v-nat.c.
2496 (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules.
2497 (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules.
2498 (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h,
2499 nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and
2500 nindy-share/stop.h.
2501 * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files.
2502 * saber.suppress: Delete file.
2503
086df311
DJ
25042003-01-31 Daniel Jacobowitz <drow@mvista.com>
2505
2506 * dbxread.c (stabs_data): New static variable.
2507 (fill_symbuf): Support an in-memory buffer for stabs data.
2508 (stabs_seek): New function.
2509 (dbx_psymtab_to_symtab): Relocate the stabs data if necessary.
2510 (read_ofile_symtab): Use stabs_seek.
2511 (elfstab_build_psymtabs): Take an asection* instead of
2512 an offset and size. Relocate the stabs data if necessary.
2513 Save the section* for dbx_psymtab_to_symtab.
2514 * dwarf2read.c: Add section variables for each debug section.
2515 (dwarf2_locate_sections): Fill them in.
2516 (dwarf2_read_section): Take an asection* argument.
2517 Relocate the section contents if necessary.
2518 (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers.
2519 * dwarf2cfi.c (parse_frame_info): Take a section argument and pass
2520 it to dwarf2_read_section.
2521 (dwarf2_build_frame_info): Update callers.
2522 * elfread.c (elf_symfile_read): Update call to
2523 elfstab_build_psymtabs.
2524 * gdb-stabs.h (struct dbx_symfile_info): Add stab_section.
2525 (DBX_STAB_SECTION): New macro.
2526 * stabsread.h (elfstab_build_psymtabs): Update prototype.
2527 * symfile.c (symfile_dummy_outputs): New function.
2528 (symfile_relocate_debug_section): New function.
2529 * symfile.h (symfile_relocate_debug_section): Add prototype.
2530
87d1b352
RH
25312003-01-31 Richard Henderson <rth@redhat.com>
2532
2533 * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...
2534 (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM.
2535 (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM.
2536 * alpha-tdep.c (alpha_register_name): Add "unique".
2537 * alpha-tdep.h (ALPHA_NUM_REGS): Increment.
2538 (ALPHA_UNIQUE_REGNUM): New.
2539 * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New.
2540
c48861fb
AC
25412003-01-31 Andrew Cagney <ac131313@redhat.com>
2542
2543 * README: Remove reference to Ericsson 1800 monitor.
2544 * Makefile.in (remote-es.o): Delete rule.
2545 (ALLDEPFILES): Delete remote-es.c.
2546 * remote-es.c: Delete file.
2547 * config/m68k/es1800.mt: Delete file.
2548 * config/djgpp/fnchange.lst: Update.
2549 * configure.tgt: Delete m68*-ericsson-* target.
2550
d764a824
AF
25512003-01-31 Adam Fedor <fedor@gnu.org>
2552
2553 * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc.
2554 Remove duplicate/shadowing variable of same name.
2555
fe36c4f4
JB
25562003-01-30 Jim Blandy <jimb@redhat.com>
2557
2558 * symfile.c (find_separate_debug_file): Assert that the objfile's
2559 directory name we compute ends with a slash, and then assume that
2560 that's so everywhere we use it.
2561
cb741690
DJ
25622003-01-30 Daniel Jacobowitz <drow@mvista.com>
2563
2564 * valops.c (value_assign): Flush frame cache after stores to memory
2565 also.
2566
96ee5227
AC
25672003-01-30 Andrew Cagney <ac131313@redhat.com>
2568
2569 * Makefile.in (mon960-rom.o): Delete rule.
2570 * mon960-rom.c: Delete file.
2571
7f6104a9
AC
25722003-01-30 Andrew Cagney <ac131313@redhat.com>
2573
2574 * d10v-tdep.c: Include "frame-unwind.h".
2575 (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate
2576 list.
2577 (next_addr, uses_frame): Delete.
2578 (struct d10v_unwind_cache): Define.
2579 (prologue_find_regs): Add struct d10v_unwind_cache info parameter.
2580 Use info instead of next_addr and uses_frame globals.
2581 (d10v_frame_init_saved_regs): Delete function.
2582 (d10v_init_extra_frame_info): Delete function.
2583 (d10v_gdbarch_init): Do not initialize init_extra_frame_info,
2584 frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid,
2585 init_frame_pc or frame_saved_pc.
2586 (d10v_pop_frame): Delete function.
2587 (do_d10v_pop_frame): Delete function.
2588 (d10v_frame_chain): Delete function.
2589 (d10v_frame_chain_valid): Delete function.
2590 (d10v_frame_pc_unwind): New function.
2591 (d10v_frame_id_unwind): New function.
2592 (saved_regs_unwinder): New function.
2593 (d10v_frame_register_unwind): New function.
2594 (d10v_frame_pop): New function.
2595 (d10v_frame_unwind): New variable.
2596 (d10v_frame_p): New function.
2597 (d10v_frame_saved_pc): Delete function.
2598 * Makefile.in (d10v-tdep.o): Update dependencies.
2599
cad2e848
JB
26002003-01-30 J. Brobecker <brobecker@gnat.com>
2601
2602 * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef
2603 causing some regressions due to a change in the default value
2604 for this macro.
2605
af34e669
DJ
26062003-01-29 Richard Henderson <rth@redhat.com>
2607 Elena Zannoni <ezannoni@redhat.com>
2608 Daniel Jacobowitz <drow@mvista.com>
2609
2610 Fix PR gdb/961.
2611 * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New
2612 variables.
2613 (RANGES_SECTION): New.
2614 (dwarf_ranges_buffer): New variable.
2615 (struct comp_unit_head): Add member "die".
2616 (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size.
2617 (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New.
2618 (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size.
2619 (dwarf2_locate_sections): Likewise.
2620 (dwarf2_build_psymtabs): Read .debug_ranges.
2621 (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out.
2622 (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die.
2623 (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers.
2624 Look for DW_AT_ranges and return the bounding box.
2625
baa93fa6
CF
26262003-01-29 Brian Ford <ford@vss.fsi.com>
2627
2628 * win32-nat.c (cygwin_pid): Removed as unused.
2629 (child_attach): Try fall back to Cygwin pid.
2630
c63f977f
JB
26312003-01-29 Jim Blandy <jimb@redhat.com>
2632
2633 * objfiles.h (struct objfile): Doc fix.
2634
d62d1979
AC
26352003-01-29 Andrew Cagney <ac131313@redhat.com>
2636
2637 * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P.
2638 (legacy_get_prev_frame): Assert FRAME_CHAIN_P.
2639 (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame.
2640 (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P.
2641 * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate.
2642 (FRAME_SAVED_PC): Change to a function with predicate.
2643 * gdbarch.h, gdbarch.c: Re-generate.
2644
1ae18a04
AC
26452003-01-28 Andrew Cagney <ac131313@redhat.com>
2646
52287340
AC
2647 * hppah-nat.c (child_pid_to_exec_file): Don't use boolean.
2648
1ae18a04
AC
2649 * complaints.c (complain): Delete function.
2650 * complaints.h (struct deprecated_complaint): Delete definition.
2651 (complain): Delete declaration.
2652
f2c16bd6
KB
26532003-01-28 Kevin Buettner <kevinb@redhat.com>
2654
2655 * mips-tdep.c (mips_init_extra_frame_info): Return early for
2656 dummy frames.
2657
a94dd1fd
AC
26582003-01-27 Andrew Cagney <ac131313@redhat.com>
2659
2660 * sentinel-frame.h, sentinel-frame.c: New files.
2661 * Makefile.in (frame.o): Update dependencies.
2662 (SFILES): Add sentinel-frame.c.
2663 (sentinel_frame_h): Define.
2664 (COMMON_OBS): Add sentinel-frame.o.
2665 (sentinel-frame.o): Specify dependencies.
2666 * frame.c: Include "sentinel-frame.h".
2667 (frame_register_unwind): Rewrite assuming that there is always a a
2668 ->next frame.
2669 (frame_register, generic_unwind_get_saved_register): Ditto.
2670 (frame_read_unsigned_register, frame_read_signed_register): Ditto.
2671 (create_sentinel_frame, unwind_to_current_frame): New functions.
2672 (get_current_frame): Rewrite using create_sentinel_frame and
2673 unwind_to_current_frame. When possible, always create a frame.
2674 (create_new_frame): Set next to the sentinel frame.
2675 (get_next_frame): Rewrite. Don't go below the level 0 frame.
2676 (deprecated_update_frame_pc_hack): Update the next frame's PC and
2677 ID cache when necessary.
2678 (frame_saved_regs_id_unwind): Use frame_relative_level.
2679 (deprecated_generic_get_saved_register): Use frame_relative_level,
2680 get_frame_saved_regs, get_frame_pc, get_frame_base and
2681 get_next_frame.
2682 (frame_saved_regs_register_unwind): Use get_frame_saved_regs and
2683 frame_register.
2684
5378adc4
DJ
26852003-01-27 Daniel Jacobowitz <drow@mvista.com>
2686
2687 * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments.
2688
51ee2ddc
DJ
26892003-01-27 Daniel Jacobowitz <drow@mvista.com>
2690
2691 * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
2692 (maintenance_set_profile_cmd): Use error () instead of warning ().
2693
d9feb4e7
DJ
26942003-01-27 Daniel Jacobowitz <drow@mvista.com>
2695
2696 * configure.in: Check that -pg works if using --enable-profiling.
2697 Check for monstartup and _mcleanup regardless of --enable-profiling.
2698 * maint.c: Check for monstartup and _mcleanup before using them.
2699 * config.in: Regenerated.
2700 * configure: Regenerated.
2701
2d188dd3
NC
27022003-01-24 Nick Clifton <nickc@redhat.com>
2703
2704 * Add sh2e support:
2705
2706 2002-04-02 Elena Zannoni <ezannoni@redhat.com>
2707
2708 * gdb/sh-tdep.c (sh_sh2e_register_name): New.
2709 (sh2e_show_regs): New.
2710 (sh_gdbarch_init): Handle bfd_mach_sh2e.
2711 * config/sh/tm-sh.h: Added sh2e to comments.
2712
cb3c37b2
JB
27132003-01-23 Jim Blandy <jimb@redhat.com>
2714
2715 * symfile.c (syms_from_objfile): Don't print the "(no debugging
2716 symbols found)" message here; we haven't checked for a separate
2717 debug info file yet, so we don't know yet.
2718 (symbol_file_add_with_addrs_or_offsets): Print it here, after
2719 we've looked everywhere. Also, there's no need to print a special
2720 message when we're loading the separate debug info file: the one
2721 symbol_file_add prints is fine.
2722
5b5d99cf
JB
27232003-01-23 Alexander Larsson <alexl@redhat.com>
2724 Jim Blandy <jimb@redhat.com>
2725
2726 Add support for executables whose debug info has been separated
2727 out into a separate file, leaving only a link behind.
2728 * objfiles.h (struct objfile): New fields: separate_debug_objfile
2729 and separate_debug_objfile_backlink.
2730 (put_objfile_before): New declaration.
2731 * symfile.c: #include "filenames.h".
2732 (symbol_file_add_with_addrs_or_offsets): If this objfile has its
2733 debug info in a separate file, read that, too. Save the addrs
2734 argument, so we can use it again to read the separated debug info;
2735 syms_from_objfile modifies the table we pass it.
2736 (reread_symbols): After re-reading an objfile, call
2737 reread_separate_symbols to refresh its separate debug info
2738 objfile, if it has one.
2739 (reread_separate_symbols, find_separate_debug_file,
2740 get_debug_link_info, separate_debug_file_exists): New functions.
2741 (debug_file_directory): New global var.
2742 (_initialize_symfile): Initialize debug_file_directory, and
2743 provide the new `set debug-file-directory' command to let the user
2744 change it.
2745 * objfiles.c (free_objfile): If this objfile has its debug info in
2746 a separate objfile, free that one too. If this is itself a
2747 separate debug info objfile, clear our parent's backlink.
2748 (put_objfile_before): New function.
2749 * utils.c (gnu_debuglink_crc32): New function.
2750 * defs.h (gnu_debuglink_crc32): New declaration.
2751 * Makefile.in (symfile.o): Note dependency on "filenames.h".
2752 * configure.in: Handle --with-separate-debug-dir config option.
2753 * acinclude.m4 (AC_DEFINE_DIR): New macro.
2754 * acconfig.h (DEBUGDIR): New macro.
2755 * configure, aclocal.m4, config.in: Regenerated.
2756
7e8580c1
JB
27572003-01-22 Jim Blandy <jimb@redhat.com>
2758
7904e09f
JB
2759 * symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
2760 like the old symbol_file_add, but taking new arguments: you can
2761 now pass in either a `struct section_addr_info' list to say where
2762 each section is loaded, or a `struct section_offsets' table. Pass
2763 these new arguments through to syms_from_objfile as appropriate.
2764 (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets,
2765 with the appropriate quiescent values for the new arguments.
2766
7e8580c1
JB
2767 * symfile.c: #include "gdb_assert.h".
2768 (syms_from_objfile): Add the ability to pass in a section offset
2769 table directly, as an alternative to the section_addr_info table.
2770 Document arguments better.
2771 (symbol_file_add): Pass extra arguments to syms_from_objfile.
2772 * symfile.h (syms_from_objfile): Update declaration.
2773 * rs6000-nat.c (objfile_symbol_add): Pass new arguments to
2774 syms_from_objfile.
2775 * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
2776
d28f9cdf
DJ
27772003-01-22 Daniel Jacobowitz <drow@mvista.com>
2778
2779 Original patch by Tom Tromey <tromey@cygnus.com> and
2780 Jason Molenda <jmolenda@apple.com>.
2781 * Makefile.in (PROFILE_CFLAGS): Substitute from configure.
2782 (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS.
2783 * NEWS: Mention profiling.
2784 * configure.in (--enable-gdbtk): Fix typo.
2785 (--enable-profiling): New. Set PROFILE_CFLAGS.
2786 * maint.c (maintenance_set_profile_cmd): Remove NOTYET.
2787 Fill in function.
2788 (profiling_state): New variable.
2789 (mcleanup_wrapper): New function.
2790 (_initialize_maint): Remove NOTYET, fix call to
2791 add_setshow_boolean_cmd for "maint set profile".
2792 * configure: Regenerated.
2793
df21e465
MH
27942003-01-21 Martin M. Hunt <hunt@redhat.com>
2795
2796 * Makefile.in (install-gdbtk): Install PNG images too.
2797
73c1f219
AC
27982003-01-21 Andrew Cagney <ac131313@redhat.com>
2799
2800 * exec.c (text_start): Delete global variable.
2801 (exec_file_attach): Make text_start local to the function.
2802 * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros.
2803 * valops.c (hand_function_call): Delete code that handles
2804 BEFORE_TEXT_END and AFTER_TEXT_END.
2805 * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead
2806 of CALL_DUMMY_LOCATION.
2807 * gdbarch.c: Regenerate.
2808 * inferior.h (deprecated_pc_in_call_dummy_before_text_end)
2809 (deprecated_pc_in_call_dummy_after_text_end): Delete declaration.
2810 * blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
2811 (deprecated_pc_in_call_dummy_after_text_end): Delete functions.
2812 (text_end): Delete extern declaration.
2813
eb4f72c5
AC
28142003-01-21 Andrew Cagney <ac131313@redhat.com>
2815
2816 * frame.h (FRAME_OBSTACK_ZALLOC): Define.
2817 * blockframe.c (backtrace_below_main): Move to "frame.c".
2818 (frame_chain_valid): Delete check for backtrace_below_main.
2819 (_initialize_blockframe): Delete initialization, move ``set
2820 backtrace-below-main'' command to "frame.c".
2821 (do_flush_frames_sfunc): Delete function.
2822 * frame.c: Include "command.h" and "gdbcmd.h".
2823 (frame_type_from_pc): New function.
2824 (create_new_frame): Use frame_type_from_pc.
2825 (legacy_get_prev_frame): New function.
2826 (get_prev_frame): Rewrite. When an old style frame, call
2827 legacy_get_prev_frame. Otherwize, unwind the PC first.
2828 (_initialize_frame): Add ``set backtrace-below-main'' command.
2829 * Makefile.in (frame.o): Update dependencies.
2830
778ce8cc
AC
28312003-01-19 Andrew Cagney <ac131313@redhat.com>
2832
2833 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename
2834 DEPRECATED_REGISTERS_INFO.
2835
01c193c8
AC
28362003-01-19 Andrew Cagney <ac131313@redhat.com>
2837
2838 * MAINTAINERS: Replace `Blanket Write Privs' with `Global
2839 Maintainers'. Update `Various Maintainers'.
2840
dedc2a2b
AC
28412003-01-19 Andrew Cagney <ac131313@redhat.com>
2842
2843 * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
2844 * gdbarch.sh (POP_FRAME): Change to function with predicate.
2845 Suppress actual parameters when `-'.
2846 * gdbarch.h, gdbarch.c: Regenerate.
2847
b7261c70
AC
28482003-01-19 Andrew Cagney <ac131313@redhat.com>
2849
2850 * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore
2851 code handling dummy frames.
2852
dbe9fe58
AC
28532003-01-19 Andrew Cagney <ac131313@redhat.com>
2854
2855 * frame-unwind.h (frame_unwind_pop_ftype): Declare.
2856 (struct frame_unwind): Add field pop.
2857 * frame.h (frame_pop): Declare.
2858 * frame.c (frame_saved_regs_pop): New function.
2859 (trad_frame_unwinder): Add frame_saved_regs_pop.
2860 (frame_pop): New function.
2861 * dummy-frame.c (dummy_frame_pop): New function.
2862 (discard_innermost_dummy): New function.
2863 (generic_pop_dummy_frame): Use discard_innermost_dummy.
2864 (dummy_frame_unwind): Add dummy_frame_pop.
2865 * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
2866 * valops.c (hand_function_call): Ditto.
2867 * stack.c (return_command): Ditto.
2868
570b8f7c
AC
28692003-01-18 Andrew Cagney <ac131313@redhat.com>
2870
2871 * cris-tdep.c: Fix function declaration indentation.
2872 * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
2873 * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
2874 * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
2875 * symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
2876 * xcoffread.c, config/pa/tm-hppa.h: Ditto.
2877 * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
2878
28792003-01-18 Michael Chastain <mec@shout.net>
eaec4d85
MC
2880
2881 * README (Unpacking and Installation -- quick overview):
2882 Warn against ".../gdb-5.3/gdb/configure".
2883
494cca16
AC
28842003-01-18 Andrew Cagney <ac131313@redhat.com>
2885
2886 * dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
2887 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
2888 (struct frame_unwind): Declare opaque.
2889 (dummy_frame_p): Declare function.
2890 * dummy-frame.c (dummy_frame_id_unwind): Make static.
2891 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
2892 * dummy-frame.c: Include "frame-unwind.h".
2893 (dummy_frame_p): New function.
2894 (dummy_frame_unwind): New variable.
2895 * frame.c: Include "frame-unwind.h".
2896 (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
2897 to use the new unwind field.
2898 (set_unwind_by_pc): Delete function.
2899 (create_new_frame, get_prev_frame): Set unwind field using
2900 frame_unwind_find_by_pc.
2901 (trad_frame_unwind, trad_frame_unwinder): New variables.
2902 * frame.h (trad_frame_unwind): Declare variable.
2903 (frame_id_unwind_ftype): Delete declaration.
2904 (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
2905 (struct frame_unwind): Declare opaque.
2906 (struct frame_info): Replace the fields id_unwind, pc_unwind and
2907 register_unwind with a single unwind pointer.
2908 * frame-unwind.h, frame-unwind.c: New files.
2909 * Makefile.in (SFILES): Add frame-unwind.c.
2910 (frame_unwind_h): Define.
2911 (COMMON_OBS): Add frame-unwind.o.
2912 (frame-unwind.o): Specify dependencies.
2913 (frame.o, dummy-frame.o): Update dependencies.
2914
4efb68b1
AC
29152003-01-18 Andrew Cagney <ac131313@redhat.com>
2916
2917 * ada-valprint.c: Eliminate PTR.
2918 * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
2919 * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
2920 * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
2921 * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
2922 * remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
2923 * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
2924 * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
2925
a84d24ee
AC
29262003-01-17 Andrew Cagney <ac131313@redhat.com>
2927
762f08a3
AC
2928 * main.c (captured_main): Don't use PTR.
2929 * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp.
2930 * gdbtypes.c (lookup_primitive_typename): Ditto.
2931 (lookup_struct_elt_type): Ditto.
2932 * f-valprint.c (info_common_command): Ditto.
2933 (list_all_visible_commons): Ditto.
2934 * jv-typeprint.c (java_type_print_base): Ditto.
2935
a84d24ee
AC
2936 * config/djgpp/fnchange.lst: Rename mi1-var-block.exp,
2937 mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp.
2938 Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename
2939 i386-interix-nat.c and i386-interix-tdep.c. Rename
2940 m68klinux-nat.c and m68klinux-tdep.c. Rename
2941 config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename
2942 bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename
2943 gdb/objc-exp.tab.c and gdb/ada-exp.tab.c
2944 * main.c (captured_main): Use xfree, not free.
2945
c170fb60
AC
29462003-01-16 Andrew Cagney <ac131313@redhat.com>
2947
2948 * frame.h (frame_id_unwind_ftype): Change type so that the frame's
2949 ID back using a parameter.
2950 * frame.c (frame_id_unwind): Update call.
2951 (frame_saved_regs_id_unwind): Update.
2952 * dummy-frame.c (dummy_frame_id_unwind): Update function.
2953 * dummy-frame.h (struct frame_id): Add opaque declaration.
2954 (dummy_frame_id_unwind): Update declaration.
2955
867f3898
AC
29562003-01-15 Andrew Cagney <ac131313@redhat.com>
2957
2958 * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.
2959
40622be8 29602003-01-15 Stephen P. Smith <ischis2@cox.net>
de3a8c23 2961
40622be8 2962 * MAINTAINERS (Stephen P. Smith): Updated email address.
de3a8c23 2963
ae66c1fc
EZ
29642003-01-14 Elena Zannoni <ezannoni@redhat.com>
2965
997b089a 2966 Fix PR gdb/898
ae66c1fc
EZ
2967 * breakpoint.c (until_break_command): Add new argument. Use it to
2968 decide whether to stop only at the current frame or not.
2969 * breakpoint.h (until_break_command): Update prototype.
2970 * infcmd.c (until_command): Add new argument to until_break_command
2971 call.
2972 (advance_command): New function.
2973 (_initialize_infcmd): Update help string for 'until' command.
2974 Add new 'advance' command.
2975
a04257e6
DC
29762003-01-14 David Carlton <carlton@math.stanford.edu>
2977
2978 * linespec.c (decode_line_1): Normalize comments.
2979 (set_flags): Ditto.
2980 (locate_first_half): Ditto.
2981 (decode_compound): Ditto.
2982 (symtab_from_filename): Ditto.
2983 (decode_all_digits): Ditto.
2984 (decode_dollar): Ditto.
2985 (find_methods): Ditto.
2986 (find_toplevel_char): Ditto.
2987
1bac305b
AC
29882003-01-13 Andrew Cagney <ac131313@redhat.com>
2989
2990 * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright.
2991 * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright.
2992 * elfread.c, eval.c, expprint.c, expression.h: Update copyright.
2993 * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright.
2994 * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright.
2995 * language.c, language.h, m32r-tdep.c: Update copyright.
2996 * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright.
2997 * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright.
2998 * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright.
2999 * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright.
3000 * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright.
3001 * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright.
3002
25caa7a8
EZ
30032003-01-13 Elena Zannoni <ezannoni@redhat.com>
3004
3005 * stabsread.h (process_later, resolve_cfront_continuation):
3006 Obsolete.
3007 Update copyright years.
3008 * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront.
3009 Update copyright year.
3010 * dbxread.c(struct cont_elem): Obsolete.
3011 (process_later, process_now): Obsolete functions.
3012 (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support.
3013 Update copyright year.
3014 * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros.
3015 (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions.
3016 * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront.
3017 (parse_partial_symbols): Obsolete cfront support.
3018 * stabsread.c
3019 (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete
3020 macros.
3021 (get_substring, get_cfront_method_physname, msg_unknown_complaint,
3022 read_cfront_baseclasses, read_cfront_member_functions,
3023 resolve_cfront_continuation,read_cfront_static_fields,
3024 copy_cfront_struct_fields): Obsolete functions.
3025 (define_symbol, read_one_struct_field): Obsolete cfront support.
3026 * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support.
3027 Update Copyright year.
3028
7789c6f5
EZ
30292003-01-13 Elena Zannoni <ezannoni@redhat.com>
3030
3031 * stack.c (print_frame_info, print_stack_frame_base_stub,
3032 print_stack_frame_base, show_and_print_stack_frame_stub,
3033 show_and_print_stack_frame, print_only_stack_frame_stub,
3034 print_only_stack_frame): Delete functions.
3035 (print_stack_frame_stub): Call print_frame_info instead of
3036 print_frame_info_base.
3037 (print_frame_info_base): Rename to print_frame_info.
3038 (backtrace_command_1): Call print_frame_info, instead of
3039 print_frame_info_base.
3040 (current_frame_command): Call print_stack_frame, instead of
3041 print_only_stack_frame.
3042 (frame_command): Call print_stack_frame, instead of
3043 show_and_print_stack_frame.
3044 (up_command): Ditto.
3045 (down_command): Ditto.
3046 * frame.h (print_only_stack_frame): Delete prototype.
3047 * infrun.c (normal_stop): Call print_stack_frame, instead of
3048 show_and_print_stack_frame.
3049 * thread.c (info_threads_command): Call print_stack_frame, instead
3050 of print_only_stack_frame.
3051
3f5a3016
AC
30522003-01-13 Andrew Cagney <ac131313@redhat.com>
3053
d99ba314
AC
3054 * README (Graphical interface to GDB): Update URL. Point at
3055 gdb/links/.
3056
3f5a3016
AC
3057 * gdb_indent.sh: Update to version 2.2.9. Warn when not exact
3058 version match.
3059
083ae935
DJ
30602003-01-13 Daniel Jacobowitz <drow@mvista.com>
3061
3062 * symtab.c (find_pc_sect_line): Don't consider end-of-function
3063 lines.
3064
5365276c
DJ
30652003-01-13 Daniel Jacobowitz <drow@mvista.com>
3066
3067 * thread-db.c (attach_thread): Prototype.
3068 (struct private_thread_info): Remove lwpid. Add thread handle (th),
3069 thread information (ti), and valid flags (th_valid, ti_valid).
3070 (attach_thread): Move target_pid_to_str call to after the thread
3071 is added to GDB's list. Initialize the cache.
3072 (thread_get_info_callback, thread_db_map_id2thr)
3073 (thread_db_get_info): New functions.
3074 (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers)
3075 (thread_db_store_registers, thread_db_thread_alive)
3076 (thread_db_get_thread_local_address): Use them.
3077 (thread_db_pid_to_str): Likewise. Return "Missing" instead
3078 of calling error() for threads in unknown state.
3079
3080 (clear_lwpid_callback): New function.
3081 (thread_db_resume): Use it to clear the cache.
3082
9fc30b6b
DJ
30832003-01-13 Daniel Jacobowitz <drow@mvista.com>
3084
3085 * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
3086 (resume_callback): Remove dead code.
3087
8f871025
AC
30882003-01-13 Andrew Cagney <ac131313@redhat.com>
3089
3090 * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
3091 predicate.
3092 * gdbarch.h, gdbarch.c: Regenerate.
3093 * stack.c (frame_info): Only initialize the saved registers when
3094 FRAME_INIT_SAVED_REGS_P.
3095 * frame.c (frame_saved_regs_register_unwind): Assert
3096 FRAME_INIT_SAVED_REGS_P.
3097 (deprecated_generic_get_saved_register): Ditto.
3098
3f565f1e
DJ
30992003-01-13 Daniel Jacobowitz <drow@mvista.com>
3100
3101 * source.c (openp): Squelch warning about "filename".
3102
072b1022
DJ
31032003-01-13 Daniel Jacobowitz <drow@mvista.com>
3104
3105 * source.c (openp): If the file does not exist don't necessarily
3106 search the path.
3107
973ccf8b
DJ
31082003-01-13 Daniel Jacobowitz <drow@mvista.com>
3109
3110 Fix PR gdb/872.
3111 * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN.
3112 (integer_types_same_name_p): New function.
3113 (rank_one_type): Use it.
3114 * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN.
3115
030292b7
DJ
31162003-01-13 Daniel Jacobowitz <drow@mvista.com>
3117
3118 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
3119 variables.
3120 (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE).
3121 * configure.in: Add --with-sysroot.
3122 * configure: Regenerated.
3123 * main.c (gdb_sysroot): New variable.
3124 (captured_main): Initialize gdb_sysroot.
3125 * defs.h (gdb_sysroot): New extern declaration.
3126 * solib.c (_initialize_solib): Initialize solib_absolute_prefix.
3127
afb5d334
MC
31282003-01-12 Michael Chastain <mec@shout.net>
3129
3130 * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
3131
751ceeb4
MC
31322003-01-12 Michael Chastain <mec@shout.net>
3133
3134 * top.c (print_gdb_version): Bump copyright year to 2003.
3135
94cd26f8
DC
31362003-01-12 David Carlton <carlton@bactrian.org>
3137
3138 * linespec.c (symtab_from_filename): Rename variable 's' to
3139 'file_symtab'.
3140
1ce79225
AC
31412003-01-12 Andrew Cagney <ac131313@redhat.com>
3142
3143 * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
3144 dummy frame.
3145 (d10v_frame_saved_pc, d10v_frame_chain): Ditto.
3146
fa1fd571
AC
31472003-01-12 Andrew Cagney <ac131313@redhat.com>
3148
3149 * d10v-tdep.c: Include "gdb_assert.h".
3150 (d10v_store_return_value): Rewrite to match current interface.
3151 (d10v_extract_struct_value_address): Ditto.
3152 (d10v_extract_return_value): Ditto.
3153 (d10v_gdbarch_init): Set store_restore_value,
3154 extract_struct_value_address and extract_return_value.
3155
68b8d23e
JB
31562003-01-12 J. Brobecker <brobecker@gnat.com>
3157
3158 * hpread.c (set_namestring): New procedure replacing the
3159 SET_NAMESTRING macro.
3160 (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
3161 by calls to set_namestring.
3162
31632003-01-11 J. Brobecker <brobecker@gnat.com>
1fb309ea
JB
3164
3165 * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
3166 a compilation warning.
3167 (hpread_process_one_debug_symbol): Likewise.
3168
88d262ca
DC
31692003-01-10 David Carlton <carlton@math.stanford.edu>
3170
3171 * linespec.c (decode_line_1): Rename variable 's' to
3172 'file_symtab'.
3173 (decode_all_digits): Rename argument 's' to 'file_symtab'.
3174 (decode_dollar): Ditto.
3175 (decode_variable): Ditto.
3176 (symbol_found): Ditto.
3177
86669319
MC
31782003-01-09 Michael Chastain <mec@shout.net>
3179
3180 * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
3181
616a9dc4
CV
31822003-01-07 Corinna Vinschen <vinschen@redhat.com>
3183
3184 * win32-nat.c (set_process_privilege): New function.
3185 (child_attach): Call set_process_privilege() to enable the
3186 SE_DEBUG_NAME user privilege if available in process token.
3187
3269bcfa
JB
31882003-01-10 J. Brobecker <brobecker@gnat.com>
3189
3190 * hpread.c (hpread_process_one_debug_symbol): Fix a small
3191 compilation error in the previous revision.
3192
2b0ee454
DC
31932003-01-09 David Carlton <carlton@math.stanford.edu>
3194
3195 * linespec.c: Update copyright.
3196
b3ba1b44
DJ
31972003-01-09 Daniel Jacobowitz <drow@mvista.com>
3198
3199 * lin-lwp.c (child_wait): Ignore exit statuses for processes other
3200 than inferior_ptid.
3201 (lin_lwp_wait): Ignore exit statuses for unknown LWPs.
3202
4ef3f3be
AC
32032003-01-09 Andrew Cagney <ac131313@redhat.com>
3204
479ab5a0
AC
3205 * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
3206 Update comments.
3207 * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
3208 (frame_saved_regs_zalloc): Update.
3209 (frame_saved_regs_register_unwind): Update.
3210 (create_new_frame): Update.
3211 (get_prev_frame): Update.
3212 (frame_extra_info_zalloc): Update.
3213 (deprecated_get_frame_saved_regs): Update.
3214 * dwarf2cfi.c (cfi_init_extra_frame_info): Update.
3215 * cris-tdep.c: Update comment.
3216
bde58177
AC
3217 * somsolib.h: Fix function indentation.
3218 * disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
3219 * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
3220 * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
3221 * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
3222 * somsolib.c, inftarg.c: Remove assignment in if conditional.
3223
4ef3f3be
AC
3224 * infrun.c (follow_fork): Use ISO C definition.
3225 * expprint.c (print_subexp): Use xfree instead of free.
3226 * charset.c: Include "gdb_string.h" instead of <string.h>.
3227 (register_iconv_charsets): Use ISO C definition.
3228 (host_charset, target_charset): Ditto.
3229 * Makefile.in (charset.o): Update dependencies.
3230 (mi-cmd-env.o): Update dependencies.
3231
1c615f7a
AC
32322003-01-08 Andrew Cagney <cagney@redhat.com>
3233
3234 * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
3235 get_frame_base.
3236
c9a1dc08
AC
32372003-01-08 Andrew Cagney <ac131313@redhat.com>
3238
3239 * gdb_mbuild.sh: Add --keep option. When specified, keep the
3240 build directories. Save edited gdb output in Mbuild.log. If a
3241 build fails, remove any final GDB executable.
3242
dbad9d94
AC
32432003-01-08 Andrew Cagney <ac131313@redhat.com>
3244
3245 * gdb_mbuild.sh: Edit the output of `maint print architecture'
3246 replacing hex constants with function names and stripping leading
3247 file name directory prefixes.
3248
8d357cca
AC
32492003-01-08 Andrew Cagney <cagney@redhat.com>
3250
3251 * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
3252 get_frame_base.
3253
bca02a8a
DC
32542003-01-08 David Carlton <carlton@math.stanford.edu>
3255
3256 * linespec.c (decode_line_1): Move code into decode_variable.
3257 (decode_variable): New function.
3258
7f8ab3a0
AC
32592003-01-08 Andrew Cagney <ac131313@redhat.com>
3260
3261 * mn10300-tdep.c (analyze_dummy_frame): Fix typo.
3262
7b5849cc
AC
32632003-01-08 Andrew Cagney <cagney@redhat.com>
3264
3265 * cris-tdep.c (cris_frame_init_saved_regs): Use
3266 get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
3267 saved_regs buffer.
3268 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
3269 (sh64_nofp_frame_init_saved_regs): Ditto.
3270 (sh_fp_frame_init_saved_regs): Ditto.
3271 * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
3272 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
3273 * mcore-tdep.c (analyze_dummy_frame): Ditto.
3274 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
3275
72a5efb3
DJ
32762003-01-08 Daniel Jacobowitz <drow@mvista.com>
3277
3278 * minsyms.c (lookup_minimal_symbol): Update comment.
3279 (lookup_minimal_symbol_text): Update comment. Use the hash table.
3280 (lookup_minimal_symbol_solib_trampoline): Likewise.
3281
11c02a10
AC
32822003-01-08 Andrew Cagney <cagney@redhat.com>
3283
aab3ea25
AC
3284 * d10v-tdep.c (d10v_init_extra_frame_info): Use
3285 frame_relative_level.
3286
da50a4b7
AC
3287 * alpha-tdep.c: Use get_frame_extra_info.
3288 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3289 * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
3290 * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
3291 * sparc-tdep.c, xstormy16-tdep.c: Ditto.
3292
11c02a10
AC
3293 * alpha-tdep.c: Use get_next_frame.
3294 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3295 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
3296 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
3297 * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
3298 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
3299 * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
3300 * xstormy16-tdep.c: Ditto.
3301
1e2330ba
AC
33022003-01-07 Andrew Cagney <cagney@redhat.com>
3303
3304 * alpha-tdep.c: Use get_frame_base.
3305 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3306 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
3307 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
3308 * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
3309 * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
3310 * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
3311 * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
3312 * config/sparc/tm-sparc.h: Ditto.
3313
2d75187b
AC
33142003-01-07 Andrew Cagney <cagney@redhat.com>
3315
3316 * frame.c (deprecated_get_frame_context): New function.
3317 (deprecated_set_frame_context): New function.
3318 * frame.h (deprecated_get_frame_context): Declare.
3319 (deprecated_set_frame_context): Declare.
3320 * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
3321 (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
3322
483d36b2
AC
33232003-01-07 Andrew Cagney <cagney@redhat.com>
3324
3325 * frame.c (deprecated_set_frame_next_hack): New function.
3326 (deprecated_set_frame_prev_hack): New function.
3327 * frame.h (deprecated_set_frame_next_hack): Declare.
3328 (deprecated_set_frame_prev_hack): Declare.
3329 * mcore-tdep.c (analyze_dummy_frame): Use
3330 deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
3331 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
3332
14e91ac5
DC
33332003-01-07 David Carlton <carlton@math.stanford.edu>
3334
3335 * linespec.c (decode_line_1): Move code into decode_dollar.
3336 (decode_dollar): New function.
3337
b0c6b05c
AC
33382003-01-07 Andrew Cagney <cagney@redhat.com>
3339
3340 * arm-tdep.c (arm_init_extra_frame_info): Use
3341 deprecated_update_frame_base_hack.
3342 * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto.
3343 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
3344 (fix_frame_pointer): Ditto.
3345 (mn10300_analyze_prologue): Ditto.
3346
a00a19e9
AC
33472003-01-07 Andrew Cagney <cagney@redhat.com>
3348
3349 * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
3350 extra_info using frame_extra_info_zalloc.
3351 * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
3352 * sh-tdep.c (sh_init_extra_frame_info): Ditto.
3353 (sh64_init_extra_frame_info): Ditto.
3354 * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
3355 * s390-tdep.c (s390_init_extra_frame_info): Ditto.
3356 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
3357 * mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
3358 * frv-tdep.c (frv_init_extra_frame_info): Ditto.
3359 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
3360 * ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
3361 * h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
3362 * d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
3363 * cris-tdep.c (cris_init_extra_frame_info): Ditto.
3364 * arm-tdep.c (arm_init_extra_frame_info): Ditto.
3365 * alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
3366
3367 * mn10300-tdep.c (analyze_dummy_frame): Use
3368 deprecated_set_frame_extra_info_hack.
3369 * mcore-tdep.c (analyze_dummy_frame): Ditto.
3370
1fb4c65b
JB
33712003-01-07 J. Brobecker <brobecker@gnat.com>
3372
3373 * mdebugread.c (parse_symbol): Skip stProc entries which storage
3374 class is not scText. These do not define "real" procedures.
3375 (parse_partial_symbols): Likewise.
3376
9fe7d6bf
MS
33772003-01-06 Michael Snyder <msnyder@redhat.com>
3378
3379 * lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
3380
f6c609c4
AC
33812003-01-06 Andrew Cagney <ac131313@redhat.com>
3382
3383 * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
3384 * frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
3385 * arm-tdep.c (arm_frame_chain): Allocate caller_fi using
3386 deprecated_frame_xmalloc_with_cleanup.
3387 * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
3388 deprecated_frame_xmalloc.
3389 * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
3390 * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
3391
d995ff4b
AC
33922003-01-06 Andrew Cagney <cagney@redhat.com>
3393
84dc46cb
AC
3394 * x86-64-linux-tdep.c: Include "osabi.h".
3395 * Makefile.in (x86-64-linux-tdep.o): Update dependencies.
3396
d995ff4b
AC
3397 * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
3398
66140c26
AC
33992003-01-06 Andrew Cagney <cagney@redhat.com>
3400
3401 * MAINTAINERS (Target Instruction Set Architectures): Update
3402 arm-elf. Can be built with -Werror, has been multiarched.
3403
3404 * value.h (unpack_long): Make buffer parameter constant.
3405 (unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
3406 * scm-lang.h (scm_parse): Ditto.
3407 * defs.h (extract_typed_address, extract_address): Ditto.
3408 (extract_long_unsigned_integer): Ditto.
3409 * inferior.h (unsigned_pointer_to_address): Ditto.
3410 (signed_pointer_to_address): Ditto.
3411 * gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
3412 * gdbarch.h, gdbarch.c: Regenerate.
3413 * findvar.c (extract_long_unsigned_integer): Update.
3414 (extract_address): Update.
3415 (extract_typed_address): Update.
3416 (unsigned_pointer_to_address): Update.
3417 * values.c (unpack_long): Update.
3418 (unpack_double): Update.
3419 (unpack_pointer): Update.
3420 (unpack_field_as_long): Update.
3421 * d10v-tdep.c (d10v_pointer_to_address): Update.
3422 * avr-tdep.c (avr_pointer_to_address): Update.
3423 * scm-lang.c (scm_unpack): Update.
3424 * findvar.c (signed_pointer_to_address): Update.
3425
b089b3da
ML
34262003-01-06 Michal Ludvig <mludvig@suse.cz>
3427
3428 * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore
3429 since it is in i386-tdep.c.
3430
aff87235
JB
34312003-01-06 J. Brobecker <brobecker@gnat.com>
3432
3433 * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
3434 failure introduced in the previous change.
3435
34f5e845
MC
34362003-01-05 Michael Chastain <mec@shout.net>
3437
3438 * README: Remove references to deleted remote-*.c files:
3439 remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
3440 remote-nrom.c, remote-os9k.c, remote-udi.c.
3441
28bcfd30
MK
34422003-01-05 Mark Kettenis <kettenis@gnu.org>
3443
3444 * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
3445 * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
3446 i386_get_longjmp_target.
3447
15a5b3ee
AC
34482003-01-05 Andrew Cagney <ac131313@redhat.com>
3449
3450 * arm-tdep.c (prologue_cache): Change to a pointer.
3451 (_initialize_arm_tdep): Allocate prologue_cache.
3452 (check_prologue_cache): Update.
3453 (save_prologue_cache): Update.
3454 (arm_gdbarch_init): Update.
3455
c263362b
DJ
34562003-01-04 Daniel Jacobowitz <drow@mvista.com>
3457
3458 * stabsread.c (update_method_name_from_physname): Call complaint()
3459 instead of error.
3460
51603483
DJ
34612003-01-04 Daniel Jacobowitz <drow@mvista.com>
3462
3463 * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
3464 * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
3465 * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
3466
3467 * blockframe.c: Include "gdbcmd.h" and "command.h".
3468 (backtrace_below_main): New variable.
3469 (file_frame_chain_valid, func_frame_chain_valid)
3470 (nonnull_frame_chain_valid, generic_file_frame_chain_valid)
3471 (generic_func_frame_chain_valid): Remove functions.
3472 (frame_chain_valid, do_flush_frames_sfunc): New functions.
3473 (_initialize_blockframe): New function.
3474 * Makefile.in (blockframe.o): Update dependencies.
3475 * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
3476 comment. Call frame_chain_valid ().
3477 * frame.h: Remove old prototypes. Add prototype for
3478 frame_chain_valid and update comments to match.
3479 * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
3480 Remove old comment.
3481 * gdbarch.h: Regenerated.
3482 * gdbarch.c: Regenerated.
3483
3484 * alpha-tdep.c (alpha_gdbarch_init): Don't call
3485 set_gdbarch_frame_chain_valid.
3486 * avr-tdep.c (avr_gdbarch_init): Likewise.
3487 * cris-tdep.c (cris_gdbarch_init): Likewise.
3488 * frv-tdep.c (frv_gdbarch_init): Likewise.
3489 * h8300-tdep.c (h8300_gdbarch_init): Likewise.
3490 * i386-tdep.c (i386_svr4_init_abi): Likewise.
3491 (i386_nw_init_abi): Likewise.
3492 (i386_gdbarch_init): Likewise.
3493 * ia64-tdep.c (ia64_gdbarch_init): Likewise.
3494 * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
3495 * m68k-tdep.c (m68k_gdbarch_init): Likewise.
3496 * mcore-tdep.c (mcore_gdbarch_init): Likewise.
3497 * mips-tdep.c (mips_gdbarch_init): Likewise.
3498 * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
3499 * ns32k-tdep.c (ns32k_gdbarch_init): Likewise.
3500 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise.
3501 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
3502 * s390-tdep.c (s390_gdbarch_init): Likewise.
3503 * sh-tdep.c (sh_gdbarch_init): Likewise.
3504 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
3505 * v850-tdep.c (v850_gdbarch_init): Likewise.
3506 * vax-tdep.c (vax_gdbarch_init): Likewise.
3507 * x86-64-tdep.c (x86_64_init_abi): Likewise.
3508
3509 * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define.
3510 * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise.
3511 * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise.
3512 * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise.
3513 * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise.
3514 * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise.
3515 * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise.
3516 * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise.
3517
b00a8037
DJ
35182002-01-04 Daniel Jacobowitz <drow@mvista.com>
3519
3520 * Makefile.in (acconfig_h): Remove incorrect macro.
3521 (config_h): Define.
3522 (osabi.o): Update dependencies.
3523 * configure.tgt: Set gdb_osabi based on target triplet.
3524 * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
3525 * configure: Regenerated.
3526 * config.in: Regenerated.
3527 * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
3528 (GDB_OSABI_DEFAULT): Define if not already defined.
3529 (user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
3530 (set_osabi_string): New variables.
3531 (gdbarch_register_osabi): Add new OS ABI to
3532 gdb_osabi_available_names.
3533 (gdbarch_lookup_osabi): Honor specified and default OS ABIs.
3534 (set_osabi, show_osabi): New functions.
3535 (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
3536
4be87837
DJ
35372003-01-04 Daniel Jacobowitz <drow@mvista.com>
3538
3539 * arch-utils.c (gdbarch_info_init): Set osabi to
3540 GDB_OSABI_UNINITIALIZED.
3541 * gdbarch.sh: Add osabi to struct gdbarch and to struct
3542 gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi
3543 in gdbarch_list_lookup_by_info and in gdbarch_update_p.
3544 * gdbarch.c: Regenerated.
3545 * gdbarch.h: Regenerated.
3546 * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
3547 there's no BFD.
3548 (gdbarch_init_osabi): Remove osabi argument; use info.osabi.
3549 * osabi.h (enum gdb_osabi): Move to defs.h.
3550 (gdbarch_init_osabi): Update prototype.
3551 * defs.h (enum gdb_osabi): Moved here.
3552 * Makefile.in: Update dependencies.
3553
3554 * alpha-tdep.h: Don't include "osabi.h".
3555 (struct gdbarch_tdep): Remove osabi member.
3556 * alpha-tdep.c: Include "osabi.h".
3557 (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3558 iterate over arches. Update call to gdbarch_init_osabi.
3559 (alpha_dump_tdep): Don't dump osabi.
3560 * alpha-linux-tdep.c: Include "osabi.h".
3561 * alpha-osf1-tdep.c: Include "osabi.h".
3562 * alphafbsd-tdep.c: Include "osabi.h".
3563 * alphanbsd-tdep.c: Include "osabi.h".
3564
3565 * arm-tdep.h: Don't include "osabi.h".
3566 (struct gdbarch_tdep): Remove osabi member.
3567 * arm-tdep.c: Include "osabi.h".
3568 (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3569 iterate over arches. Update call to gdbarch_init_osabi.
3570 (arm_dump_tdep): Don't dump osabi.
3571 * arm-linux-tdep.c: Include "osabi.h".
3572 * armnbsd-tdep.c: Include "osabi.h".
3573
3574 * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi.
3575 Update call to gdbarch_init_osabi.
3576
3577 * i386-tdep.h: Don't include "osabi.h".
3578 (struct gdbarch_tdep): Remove osabi member.
3579 * i386-tdep.c: Include "osabi.h".
3580 (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3581 iterate over arches. Update call to gdbarch_init_osabi.
3582 (i386_dump_tdep): Don't dump osabi.
3583 * i386-linux-tdep.c: Include "osabi.h".
3584 * i386-sol2-tdep.c: Include "osabi.h".
3585 * i386bsd-tdep.c: Include "osabi.h".
3586 * i386gnu-tdep.c: Include "osabi.h".
3587 * i386ly-tdep.c: Include "osabi.h".
3588 * i386nbsd-tdep.c: Include "osabi.h".
3589 * i386obsd-tdep.c: Include "osabi.h".
3590
3591 * mips-tdep.c (struct gdbarch_tdep): Remove osabi member.
3592 (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3593 check osabi when iterating over arches. Update call to
3594 gdbarch_init_osabi.
3595 (mips_dump_tdep): Don't dump osabi.
3596
3597 * ns32k-tdep.h: Don't include "osabi.h".
3598 (struct gdbarch_tdep): Remove.
3599 * ns32k-tdep.c (ns32k_gdbarch_init): Don't call
3600 gdbarch_lookup_osabi. Don't iterate over arches. Don't
3601 allocate tdep. Update call to gdbarch_init_osabi.
3602 (ns32k_dump_tdep): Remove.
3603 (_initialize_ns32k_tdep): Update call to gdbarch_register.
3604 * ns32knbsd-tdep.c: Include "osabi.h".
3605
3606 * ppc-tdep.h: Don't include "osabi.h".
3607 (struct gdbarch_tdep): Remove osabi member.
3608 * rs6000-tdep.c: Include "osabi.h".
3609 (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check
3610 osabi when iterating over arches. Update call to
3611 gdbarch_init_osabi.
3612 (rs6000_dump_tdep): Don't dump osabi.
3613 * ppc-linux-tdep.c: Include "osabi.h".
3614 * ppcnbsd-tdep.c: Include "osabi.h".
3615
3616 * sh-tdep.h: Don't include "osabi.h".
3617 (struct gdbarch_tdep): Remove osabi member.
3618 * sh-tdep.c: Include "osabi.h".
3619 (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3620 iterate over arches. Update call to gdbarch_init_osabi.
3621 (sh_dump_tdep): Don't dump osabi.
3622 * shnbsd-tdep.c: Include "osabi.h".
3623
3624 * sparc-tdep.c: Include "osabi.h".
3625 (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3626 iterate over arches. Update call to gdbarch_init_osabi.
3627 (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the
3628 tdep structure.
3629
3630 * vax-tdep.h: Don't include "osabi.h".
3631 (struct gdbarch_tdep): Remove.
3632 * vax-tdep.c: Include "osabi.h".
3633 (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3634 iterate over arches. Don't allocate tdep. Update call
3635 to gdbarch_init_osabi.
3636 (vax_dump_tdep): Remove.
3637 (_initialize_vax_tdep): Update call to gdbarch_register.
3638
a881cf8e
DJ
36392003-01-04 Daniel Jacobowitz <drow@mvista.com>
3640
3641 * breakpoint.c (insert_breakpoints): Skip disabled breakpoints
3642 entirely.
3643 (breakpoint_re_set_one): Don't fetch the value for a disabled
3644 watchpoint.
3645
1e698235
DJ
36462003-01-04 Daniel Jacobowitz <drow@mvista.com>
3647
3648 * buildsym.h (processing_hp_compilation): Remove obsolete variable.
3649 * gdbarch.sh Remove include of "value.h" in gdbarch.h.
3650 (COERCE_FLOAT_TO_DOUBLE): Remove.
3651 * gdbarch.c: Regenerate.
3652 * gdbarch.h: Regenerate.
3653 * Makefile.in: Remove value_h from gdbarch_h.
3654 * valops.c (coerce_float_to_double): New variable.
3655 (default_coerce_float_to_double): Remove.
3656 (standard_coerce_float_to_double): Remove.
3657 (value_arg_coerce): Use coerce_float_to_double.
3658 (_initialize_valops): Add "set coerce-float-to-double".
3659 * value.h (default_coerce_float_to_double): Remove prototype.
3660 (standard_coerce_float_to_double): Remove prototype.
3661
3662 * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
3663 prototyped.
3664 * mdebugread.c (parse_symbol): Likewise.
3665 * stabsread.c (define_symbol): Mark all functions as prototyped.
3666
3667 * hppa-tdep.c (hppa_coerce_float_to_double): Remove.
3668 * alpha-tdep.c (alpha_gdbarch_init): Remove call to
3669 set_gdbarch_coerce_float_to_double.
3670 * arm-tdep.c (arm_gdbarch_init): Likewise.
3671 * frv-tdep.c (frv_gdbarch_init): Likewise.
3672 * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
3673 * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
3674 * mips-tdep.c (mips_gdbarch_init): Likewise.
3675 (mips_coerce_float_to_double): Remove.
3676 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
3677 (rs6000_coerce_float_to_double): Remove.
3678 * s390-tdep.c (s390_gdbarch_init): Likewise.
3679 * sh-tdep.c (sh_gdbarch_init): Likewise.
3680 (sh_coerce_float_to_double): Remove.
3681 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
3682 (sparc_coerce_float_to_double): Remove.
3683 * v850-tdep.c (v850_gdbarch_init): Likewise.
3684 * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
3685 * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
3686 * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
3687 (hppa_coerce_float_to_double): Remove prototype.
3688 * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
3689
f436a26a
DJ
36902003-01-04 Daniel Jacobowitz <drow@mvista.com>
3691
3692 * regformats/reg-m68k.dat: Remove fpcode and fpflags.
3693
248f8055
DJ
36942003-01-04 Daniel Jacobowitz <drow@mvista.com>
3695
3696 Suggested by Stewart Brown <sb24@avaya.com>:
3697 * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
3698 in recursive calls. Handle TYPE_CODE_TYPEDEF.
3699 (c_type_print_varspec_suffix): Likewise.
3700
72cfdc76
MK
37012003-01-04 Mark Kettenis <kettenis@gnu.org>
3702
bfd260bb
MK
3703 * configure.in: Don't set and AC_SUBST SUBDIRS.
3704 * configure: Regenerated.
3705
72cfdc76
MK
3706 * configure.in: Remove code dealing with shared libraries.
3707 * Makefile.in: Remove HLDFLAGS and HLDENV.
3708 * configure: Regenerated.
3709
c8b8a898
AC
37102003-01-04 Andrew Cagney <ac131313@redhat.com>
3711
3712 * frame.c (deprecated_frame_xmalloc): New function.
3713 (deprecated_set_frame_saved_regs_hack): New function.
3714 (deprecated_set_frame_extra_info_hack): New function.
3715 * frame.h (deprecated_frame_xmalloc): Declare.
3716 (deprecated_set_frame_saved_regs_hack): Declare.
3717 (deprecated_set_frame_extra_info_hack): Declare.
3718
14abd0fb
MK
37192003-01-04 Mark Kettenis <kettenis@gnu.org>
3720
8ee53726
MK
3721 * configure.in: Move code that provides the --enable-gdbtk option
3722 right after the code that handles the --enable-tui option, and
3723 polish it somewhat.
3724 * configure: Regenerated.
3725
14abd0fb
MK
3726 * configure.in: Call AC_GNU_SOURCE. Check for pread64 using
3727 AC_CHECK_FUNCS and remove the old check for pread64.
3728 * acinclude.m4 (AC_GNU_SOURCE): New macro.
3729 * acconfig.h (_GNU_SOURCE): Add.
3730 (HAVE_PREAD64): Remove.
3731 * configure, aclocal.m4, config.in: Regenerated.
3732
b2fb4676
AC
37332003-01-03 Andrew Cagney <ac131313@redhat.com>
3734
3735 * alpha-tdep.c: Use get_frame_saved_regs.
3736 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3737 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
3738 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
3739 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
3740 * vax-tdep.c, xstormy16-tdep.c: Ditto.
3741
8dcde887
MK
37422003-01-03 Mark Kettenis <kettenis@gnu.org>
3743
3744 * configure.in: Remove all use of the SUBDIRS variable; add
3745 directories using the AC_CONFIG_SUBDIRS macro instead. Polish
3746 code providing the --enable-multi-ice option, and move it right in
3747 front of the code that checks whether gdbserver is supported.
3748 Polish that too.
3749 * configure: Regenerated.
3750 * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
3751 @SUBDIRS@.
3752
8ccd593b
AC
37532003-01-03 Andrew Cagney <cagney@redhat.com>
3754
3755 * alpha-tdep.c: Use deprecated_update_frame_base_hack.
3756 * avr-tdep.c, cris-tdep.c: Ditto.
3757 * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
3758 * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
3759
91151a06
MK
37602003-01-03 Mark Kettenis <kettenis@gnu.org>
3761
3762 * configure.in: Remove --enable-netrom option.
3763 * configure: Regenerated.
3764
8fe84d01
MK
37652003-01-03 Mark Kettenis <kettenis@gnu.org>
3766
3767 * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
3768 declaration for `struct re_pattern_buffer' instead.
3769 * Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
3770
f0394be6
JB
37712003-01-03 J. Brobecker <brobecker@gnat.com>
3772
3773 * mdebugread.c (parse_symbol): Count until the stEnd matching
3774 the structure name.
3775
27e9bf90
MK
37762003-01-02 Mark Kettenis <kettenis@gnu.org>
3777
93d331ba
MK
3778 * configure.in: Remove --with-cpu option.
3779 subscripts. Remove evil changequotes here.
3780 * acconfig.h (TARGET_CPU_DEFAULT): Remove.
3781 * config.in, configure: Regenerated.
3782
27e9bf90
MK
3783 * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
3784 * configure.in: Cleanup section that sources GDB and BFD configure
3785 subscripts. Remove evil changequotes here.
3786 * config.in, configure: Regenerated.
3787
50abf9e5
AC
37882003-01-02 Andrew Cagney <ac131313@redhat.com>
3789
3790 * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
3791 frame accessor methods.
3792 * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3793 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
3794 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
3795 * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
3796 * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
3797 * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
3798 * z8k-tdep.c: Ditto.
3799
287c1a40
MK
38002003-01-02 Mark Kettenis <kettenis@gnu.org>
3801
f5dbc56d
MK
3802 * configure.in: Remove UI_OUT configuration code.
3803 * ada-lang.c: Update assuming UI_OUT is always true.
3804 * Makefile.in (UIOUT_CFLAGS): Remove.
3805 * configure: Regenerated.
3806 * TODO: Remove blurb about elimination of -DUI_OUT.
3807
627af7ea
MK
3808 * configure.in: Move code that provides the --enable-gdbcli,
3809 --enable-gdbmi options right before the code that handles the
3810 --enable-tui option. Polish a bit.
3811 * configure: Regenerated.
3812
06825bd1
MK
3813 * configure.in: Rewrite check for GNU regex and the
3814 --without-included regex option, and move it into the "Checks for
3815 library functions" section. This makes us use the system regex
3816 again by default on systems with version 2 of the GNU C library.
3817 This was apparently broken.
3818 * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
3819 * acconfig.h (USE_INCLUDED_REGEX): Remove.
3820 * config.in, configure: Regenerated.
3821
287c1a40
MK
3822 * configure.in: Move code that provides the --enable-tui option
3823 before the "Checks for libraries" section. Polish the code
3824 somewhat and set need_curses to yes if we build the TUI. Rewrite
3825 code that looks for a library providing termcap functionality to
3826 match more closely what's done in the Readline library, and move
3827 it into to the "Checks for libraries" section.
3828 * configure: Regenerated.
3829 * Makefile.in (TERMCAP): Remove variable.
3830 * config/i386/go32.mh (TERMCAP): Remove variable.
3831
684e56bf
AC
38322003-01-02 Andrew Cagney <ac131313@redhat.com>
3833
3834 * MAINTAINERS: Mention gdb_mbuild.sh.
3835 * gdb_mbuild.sh: Rewrite.
3836
e1ea1d75
MK
38372003-01-02 Mark Kettenis <kettenis@gnu.org>
3838
3839 * configure.in: Fix typo in last change.
3840 * config.in, configure: Regenerated.
3841
1b831c93
AC
38422003-01-02 Andrew Cagney <ac131313@redhat.com>
3843
3844 * valarith.c (value_binop): Delete obsolete code and comments.
3845 * configure.host: Ditto.
3846 * buildsym.h (make_blockvector): Ditto.
3847 * buildsym.c (make_blockvector): Ditto.
3848 * defs.h (enum language): Ditto.
3849 (chill_demangle): Ditto.
3850 * elfread.c (elf_symtab_read): Ditto.
3851 * dwarfread.c (CHILL_PRODUCER): Ditto.
3852 (set_cu_language): Ditto.
3853 (handle_producer): Ditto.
3854 * expprint.c (print_subexp): Ditto.
3855 * gdbtypes.c (chill_varying_type): Ditto.
3856 * gdbtypes.h (builtin_type_chill_bool): Ditto.
3857 (builtin_type_chill_char, builtin_type_chill_long): Ditto.
3858 (builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
3859 (chill_varying_type): Ditto.
3860 * language.h (_LANG_chill): Ditto.
3861 * language.c (binop_result_type, integral_type): Ditto.
3862 (character_type, string_type, structured_type): Ditto.
3863 (lang_bool_type, binop_type_check): Ditto.
3864 * stabsread.h (os9k_stabs): Ditto.
3865 * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
3866 (define_symbol, read_type, read_struct_fields): Ditto.
3867 (read_array_type, read_enum_type, read_huge_number): Ditto.
3868 (read_range_type, start_stabs): Ditto.
3869 * symfile.c (init_filename_language_table): Ditto.
3870 (add_psymbol_with_dem_name_to_list): Ditto.
3871 * symtab.c (symbol_init_language_specific): Ditto.
3872 (symbol_init_demangled_name, symbol_demangled_name): Ditto.
3873 * symtab.h (struct general_symbol_info): Ditto.
3874 (SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
3875 * typeprint.c (typedef_print): Ditto.
3876 * utils.c (fprintf_symbol_filtered): Ditto.
3877 * valops.c (value_cast, search_struct_field, value_slice): Delete
3878 obsolete code.
3879 (varying_to_slice): Delete function.
3880 * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
3881 (varying_to_slice): Delete declaration.
3882 * MAINTAINERS: Update.
3883
8bb2c122
MK
38842003-01-02 Mark Kettenis <kettenis@gnu.org>
3885
97bf5e38
MK
3886 * configure.in: Reorganize "Checks for library functions section"
3887 a bit. Remove check for `btowc' and `isascii' functions.
3888 * configure: Regenerated.
3889
5ee754fc
MK
3890 * acconfig.h (_MSE_INT_H): Remove.
3891 * configure.in: Create "Checks for header files" section, and move
3892 appropriate tests there. Don't check for objlist.h, wchar.h,
3893 wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h>
3894 misdetection fix. Also add "Checks for types", "Checks for
3895 compiler characteristics" and "Checks for library functions"
3896 sections.
3897 * config.in, configure: Regenerated.
3898
8bb2c122
MK
3899 * configure.in: Create "Checks for programs" section, and move
3900 appropriate tests there.
3901
9a156167
MK
39022003-01-01 Mark Kettenis <kettenis@gnu.org>
3903
3904 * configure.in: Create "Checks for libraries" section, and move
3905 appropriate tests there. Cleanup check for wctype in libw. Use
3906 AC_SEARCH_LIBS to see whether we need libsocket.
3907 * configure: Regenerated.
3908
a80e2bcb 3909For older changes see ChangeLog-2002
c906108c
SS
3910\f
3911Local Variables:
3912mode: change-log
3913left-margin: 8
3914fill-column: 74
3915version-control: never
3916End:
This page took 0.565435 seconds and 4 git commands to generate.