]> Git Repo - binutils.git/blame - gdb/ChangeLog
Fixed wrong entry in the ld/configure.tgt list
[binutils.git] / gdb / ChangeLog
CommitLineData
36018d2e
AF
12003-04-01 Adam Fedor <[email protected]>
2
3 * gdb/objc-lang.c (selectors_info): Replace calls to
4 SYMBOL_DEMANGLED_NAME and DEPRECATED_SYMBOL_NAME with
5 SYMBOL_NATURAL_NAME.
6 (classes_info, find_methods): Likewise.
7
35cec841
KB
82003-04-03 Kevin Buettner <[email protected]>
9
10 * rs6000-tdep.c (rs6000_gdbarch_init): For xcoff executables, set
11 ``mach'' to the value determined by bfd_default_set_arch_mach().
12
43136899
BR
132003-04-02 Bob Rossi <[email protected]>
14
15 * Makefile.in (SUBDIR_MI_OBS): Add "mi-cmd-file.o".
16 (SUBDIR_MI_SRCS): Add "mi-cmd-file.c".
17 (mi-cmd-file.o): Update dependencies.
18
040b99fd
KB
192003-04-01 Kevin Buettner <[email protected]>
20
21 * mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum)
22 (mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM.
23
9a3d7dfd
AF
242003-04-01 Adam Fedor <[email protected]>
25
26 * Makefile.in (c_lang.o, jv_lang.o, language.o): Add $(demangle_h).
27 * language.h (struct language_defn): Add la_demangle.
28 (language_demangle): Declare.
29 * language.c (language_demangle): New function.
30 (unk_lang_demangle): Likewise.
31 (unknown_language_defn, auto_language_defn, local_language_defn):
32 Add ukn_lang_demangle.
33 * ada-lang.c (ada_language_defn): Add NULL for la_demangle element.
34 * f-lang.c, m2-lang.c, p-lang.c, scm-lang.c: Likewise.
35 * c-lang.c (c_language_defn, asm_language_defn): Likewise.
36 (cplus_language_defn): Add cplus_demangle for la_demangle element.
37 * jv-lang.c (java_demangle): New function
38 (java_language_defn): Use it for la_demangle element.
39 * objc-lang.c (objc_demangle): Add options argument
40 (objc_language_defn): Use objc_demangle for la_demangle element.
41 * maint.c (maintenance_demangle): Replace switch with
42 call to language_demangle.
43 * utils.c (fprintf_symbol_filtered): Likewise.
44
5e074003
AC
452003-04-01 Andrew Cagney <[email protected]>
46
47 * printcmd.c (print_frame_nameless_args): Delete #ifdef
48 NAMELESS_ARG_VALUE, PRINT_NAMELESS_INTEGER and
49 PRINT_TYPELESS_INTEGER.
50 * config/sparc/tm-sp64.h (DEPRECATED_PUSH_RETURN_ADDRESS): Rename
51 PUSH_RETURN_ADDRESS.
52
270cb5d6
AC
532003-04-01 Andrew Cagney <[email protected]>
54
55 * Makefile.in (d10v-tdep.o): Update dependencies.
56 * d10v-tdep.c: Include "frame-base.h".
57 (d10v_frame_unwind): Make constant.
58 (d10v_frame_base_address): New function.
59 (d10v_frame_base): New variable.
60 (d10v_gdbarch_init): Set frame_base default.
61 (struct d10v_unwind_cache): Add the field "prev_sp". Update
62 comment for base.
63 (d10v_frame_unwind_cache): Set and use "prev_sp".
64 (d10v_frame_this_id): Use the previous frame's inner most stack
65 address and this frame's func address for the frame ID. Use
66 frame_id_build. Don't analyze beyond the current instruction.
67
6bfb3e36
AC
682003-04-01 Andrew Cagney <[email protected]>
69
70 * frame.h (get_frame_locals_address, get_frame_args_address):
71 Refer to the base address, instead of the address of the first
72 local or parameter.
73
da62e633
AC
742003-04-01 Andrew Cagney <[email protected]>
75
76 Add frame debug info addresses:
77 * frame-base.c: New file.
78 * frame-base.h: New file.
79 * frame.h (struct frame_base): Add opaque declaration.
80 (get_frame_base): Update comment.
81 (get_frame_base_address): Declare.
82 (get_frame_locals_address): Declare.
83 (get_frame_args_address): Declare.
84 (struct frame_info): Add "base" and "base_cache". Update
85 comments on the unwinder.
86 * frame.c: Include "frame-base.h".
87 (get_frame_locals_address): New function.
88 (get_frame_base_address): New function.
89 (get_frame_args_address): New function.
90 * findvar.c (read_var_value): Use get_frame_locals_address and
91 get_frame_args_address.
92 * stack.c (frame_info): Use get_frame_locals_address and
93 get_frame_args_address.
94 (FRAME_ARGS_ADDRESS_CORRECT): Delete conditionally defined macro,
95 moved to "frame-base.c".
96 * printcmd.c (print_frame_nameless_args): Ditto.
97 * symtab.h (address_class): Update comments.
98 * dwarf2loc.c (dwarf_expr_frame_base): Add note about
99 get_frame_base_address.
100 * dwarf2expr.c (execute_stack_op): Ditto.
101 * Makefile.in (frame_base_h): Define.
102 (frame.o): Update dependencies.
103 (frame-base.o): Add dependencies.
104 (SFILES): Add frame-base.c.
105 (COMMON_OBS): Add frame-base.o.
106
3d30e9c2
AC
1072003-04-01 Andrew Cagney <[email protected]>
108
109 * gdbarch.sh (CALL_DUMMY_START_OFFSET): Default to zero.
110 CALL_DUMMY_LENGTH): Ditto.
111 * gdbarch.c: Re-generate.
112 * inferior.h (CALL_DUMMY_START_OFFSET): Delete macro.
113 (CALL_DUMMY_LENGTH): Delete macro.
114 * alpha-tdep.c (alpha_gdbarch_init): Do not set above when zero.
115 * arm-tdep.c (arm_gdbarch_init): Ditto.
116 * avr-tdep.c (avr_gdbarch_init): Ditto.
117 * cris-tdep.c (cris_gdbarch_init): Ditto.
118 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
119 * frv-tdep.c (frv_gdbarch_init): Ditto.
120 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
121 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
122 * i386-tdep.c (i386_gdbarch_init): Ditto.
123 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
124 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
125 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
126 * mips-tdep.c (mips_gdbarch_init): Ditto.
127 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
128 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
129 * s390-tdep.c (s390_gdbarch_init): Ditto.
130 * sh-tdep.c (sh_gdbarch_init): Ditto.
131 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
132 * v850-tdep.c (v850_gdbarch_init): Ditto.
133 * vax-tdep.c (vax_gdbarch_init): Ditto.
134 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
135
ce0c7262
CV
1362003-04-01 Corinna Vinschen <[email protected]>
137
138 * frame.c (get_prev_frame): Disable call to inside_entry_file().
139
73dd234f
AC
1402003-04-01 Andrew Cagney <[email protected]>
141
142 * gdbarch.sh (CALL_DUMMY_BREAKPOINT_OFFSET): Default to zero.
143 (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
144 * gdbarch.h, gdbarch.c: Re-generate.
145 * config/sparc/tm-sp64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
146 (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
147 * config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
148 * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
149 (CALL_DUMMY_BREAKPOINT_OFFSET): Delete.
150 * infcmd.c (run_stack_dummy): Simplify assuming
151 CALL_DUMMY_BREAKPOINT_OFFSET_P.
152 * infrun.c (handle_inferior_event): Ditto.
153 * alpha-tdep.c (alpha_gdbarch_init): Do not set
154 call_dummy_breakpoint_offset or call_dummy_breakpoint_offset_p.
155 * arm-tdep.c (arm_gdbarch_init): Ditto.
156 * avr-tdep.c (avr_gdbarch_init): Ditto.
157 * cris-tdep.c (cris_gdbarch_init): Ditto.
158 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
159 * frv-tdep.c (frv_gdbarch_init): Ditto.
160 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
161 * i386-tdep.c (i386_gdbarch_init): Ditto.
162 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
163 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
164 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
165 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
166 * mips-tdep.c (mips_gdbarch_init): Ditto.
167 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
168 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
169 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
170 * s390-tdep.c (s390_gdbarch_init): Ditto.
171 * sh-tdep.c (sh_gdbarch_init): Ditto.
172 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
173 * v850-tdep.c (v850_gdbarch_init): Ditto.
174 * vax-tdep.c (vax_gdbarch_init): Ditto.
175 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
176
97606a13
DJ
1772003-04-01 Daniel Jacobowitz <[email protected]>
178
179 * symfile.c (symfile_relocate_debug_section): Update call to
180 bfd_simple_get_relocated_section_contents.
181
e8ab51f7
AC
1822003-03-31 Andrew Cagney <[email protected]>
183
184 * gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate.
185 * gdbarch.h, gdbarch.c: Regenerate.
186 * inferior.h (FIX_CALL_DUMMY): Delete macro.
187 * valops.c (hand_function_call): Only call FIX_CALL_DUMMY when
188 available.
189 * frame.h (generic_fix_call_dummy): Delete declaration.
190 * dummy-frame.h: Update comment.
191 * dummy-frame.c (generic_fix_call_dummy): Delete function.
192 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
193 fix_call_dummy.
194 * sh-tdep.c (sh_gdbarch_init): Ditto.
195 * s390-tdep.c (s390_gdbarch_init): Ditto.
196 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
197 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
198 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
199 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
200 * i386-tdep.c (i386_gdbarch_init): Ditto.
201 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
202 * frv-tdep.c (frv_gdbarch_init): Ditto.
203 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
204 * cris-tdep.c (cris_gdbarch_init): Ditto.
205 * avr-tdep.c (avr_gdbarch_init): Ditto.
206 * arm-tdep.c (arm_gdbarch_init): Ditto.
207
018d1b48
JB
2082003-03-31 J. Brobecker <[email protected]>
209
210 * config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful.
211 (INIT_FRAME_AP): Likewise.
212 (EXTRA_FRAME_INFO): Likewise.
213
e9a2674e
AC
2142003-03-31 Andrew Cagney <[email protected]>
215
216 * gdbarch.sh: Include "symfile.h".
217 (CALL_DUMMY_ADDRESS): Default to entry_point_address.
218 * gdbarch.h, gdbarch.c: Re-generate.
219 * inferior.h (CALL_DUMMY_ADDRESS): Delete macro.
220 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
221 call_dummy_address, the default is at entry_point_address.
222 * v850-tdep.c (v850_gdbarch_init): Ditto.
223 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
224 * sh-tdep.c (sh_gdbarch_init): Ditto.
225 * s390-tdep.c (s390_gdbarch_init): Ditto.
226 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
227 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
228 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
229 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
230 * i386-tdep.c (i386_gdbarch_init): Ditto.
231 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
232 * frv-tdep.c (frv_gdbarch_init): Ditto.
233 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
234 * cris-tdep.c (cris_gdbarch_init): Ditto.
235 * arm-tdep.c (arm_gdbarch_init): Ditto.
236
e8a8712a
AC
2372003-03-31 Andrew Cagney <[email protected]>
238
239 * gdbarch.sh (CALL_DUMMY_P): Delete.
240 * gdbarch.h, gdbarch.c: Re-generate.
241 * inferior.h (CALL_DUMMY_P): Delete macro.
242 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
243 * vax-tdep.c (vax_gdbarch_init): Update.
244 * v850-tdep.c (v850_gdbarch_init): Update.
245 * sparc-tdep.c (sparc_gdbarch_init): Update.
246 * sh-tdep.c (sh_gdbarch_init): Update.
247 * s390-tdep.c (s390_gdbarch_init): Update.
248 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
249 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
250 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
251 * mips-tdep.c (mips_gdbarch_init): Update.
252 * mcore-tdep.c (mcore_gdbarch_init): Update.
253 * m68k-tdep.c (m68k_gdbarch_init): Update.
254 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
255 * ia64-tdep.c (ia64_gdbarch_init): Update.
256 * i386-tdep.c (i386_gdbarch_init): Update.
257 * h8300-tdep.c (h8300_gdbarch_init): Update.
258 * frv-tdep.c (frv_gdbarch_init): Update.
259 * d10v-tdep.c (d10v_gdbarch_init): Update.
260 * cris-tdep.c (cris_gdbarch_init): Update.
261 * breakpoint.c (deprecated_frame_in_dummy): Update.
262 * avr-tdep.c (avr_gdbarch_init): Update.
263 * alpha-tdep.c (alpha_gdbarch_init): Update.
264 * arm-tdep.c (arm_gdbarch_init): Update.
265 * dummy-frame.c (dummy_frame_this_id): Update comments.
266 * rs6000-tdep.c (rs6000_extract_struct_value_address): Ditto.
267 * frame.c (legacy_get_prev_frame): Ditto.
268 * valops.c (call_function_by_hand): Delete function.
269 (hand_function_call): Rename to call_function_by_hand
270
ed234cf8
AC
2712003-03-30 Andrew Cagney <[email protected]>
272
273 2002-11-10 Klee Dienes <[email protected]>
274 * value.h (struct value): Update comment.
275
06c77151
AC
2762003-03-30 Andrew Cagney <[email protected]>
277
6c2b5168
AC
278 * d10v-tdep.c: Replace _FP_REGNUM and FP_REGNUM with
279 D10V_FP_REGNUM.
280 (d10v_gdbarch_init): Do not set fp_regnum.
281
06c77151
AC
282 * frame.c (get_frame_base): Force ID initialization.
283 (get_prev_frame): Move computation of the frame ID from here ...
284 (get_frame_id): ... to here.
285 (legacy_get_prev_frame): Mark the frame ID as valid.
286 * frame.h (struct frame_info): Add field "id_p".
287
97a1a11c
MK
2882003-03-30 Mark Kettenis <[email protected]>
289
290 * i386-tdep.c (i386_store_struct_return): Removed.
291 (i386_gdbarch_init): Don't set deprecated_store_struct_return.
292
6c0e89ed
AC
2932003-03-30 Andrew Cagney <[email protected]>
294
295 * gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP.
296 * gdbarch.h, gdbarch.c: Regenerate.
297 * v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp.
298 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
299 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
300 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
301 * i386-tdep.c (i386_gdbarch_init): Ditto.
302 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
303 * cris-tdep.c (cris_gdbarch_init): Ditto.
304 * vax-tdep.c (vax_gdbarch_init): Ditto.
305 * s390-tdep.c (s390_gdbarch_init): Ditto.
306 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
307 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
308 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
309 * sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update.
310 * config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update.
311 * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define.
312 * sparc-tdep.c (sparc_gdbarch_init): Update.
313 * sh-tdep.c (sh_gdbarch_init): Update.
314 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
315 * mips-tdep.c (mips_gdbarch_init): Update.
316 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
317 * ia64-tdep.c (ia64_gdbarch_init): Update.
318 * frv-tdep.c (frv_gdbarch_init): Update.
319 * avr-tdep.c (avr_gdbarch_init): Update.
320 * valops.c (hand_function_call): Replace TARGET_WRITE_SP with
321 DEPRECATED_DUMMY_WRITE_SP. Call when the method is available,
322 instead of when push_dummy_call is not available.
323
f7dd6af2
AC
3242003-03-30 Andrew Cagney <[email protected]>
325
326 * infttrace.c: Include "gdbthread.h".
327 (parent_attach_all): Fix function signature.
328 (call_ptrace): Update call.
329 * Makefile.in (infttrace.o): Update dependencies.
330
28f617b3
AC
3312003-03-30 Andrew Cagney <[email protected]>
332
333 * gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace
334 PUSH_RETURN_ADDRESS.
335 * gdbarch.h, gdbarch.c: Regenerate.
336 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
337 * x86-64-tdep.c (x86_64_init_abi): Update.
338 * v850-tdep.c (v850_gdbarch_init): Update.
339 * sparc-tdep.c (sparc_gdbarch_init): Update.
340 * sh-tdep.c (sh_gdbarch_init): Update.
341 * s390-tdep.c (s390_gdbarch_init): Update.
342 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
343 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
344 * mips-tdep.c (mips_gdbarch_init): Update.
345 * mcore-tdep.c (mcore_gdbarch_init): Update.
346 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
347 * ia64-tdep.c (ia64_gdbarch_init): Update.
348 * i386-tdep.c (i386_gdbarch_init): Update.
349 * h8300-tdep.c (h8300_gdbarch_init): Update.
350 * frv-tdep.c (frv_gdbarch_init): Update.
351 * cris-tdep.c (cris_gdbarch_init): Update.
352 * avr-tdep.c (avr_gdbarch_init): Update.
353 * arm-tdep.c (arm_gdbarch_init): Update.
354 * valops.c (hand_function_call): Update.
355
4d628cd7
AC
3562003-03-29 Andrew Cagney <[email protected]>
357
358 * d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or
359 sizeof_call_dummy_words.
360 * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always
361 define.
362 * gdbarch.h: Regenerate.
363
65e82032
AC
3642003-03-29 Andrew Cagney <[email protected]>
365
366 * infttrace.h: New file.
367 * hpread.c: Include "gdb_assert.h" and "somsolib.h".
368 (hpread_get_textlow): Detect an uninitialized dn_bufp.
369 (hpread_read_doc_function_type): Detect an initialized type1.
370 (hpread_quick_traverse): Initialize mod_name_string.
371 * somsolib.h: Add #ifdef SOMSOLIB_H wrapper.
372 (som_solib_get_solib_by_pc): Declare.
373 (so_lib_thread_start_addr): Declare.
374 (no_shared_libraries): Declare.
375 * somread.c (init_import_symbols): Make static. Add forward
376 declaration.
377 * config/pa/nm-hppah.h: Include "infttrace.h" for
378 parent_attach_all.
379 (hppa_insert_hw_watchpoint): Declare.
380 (hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare.
381 * hppah-nat.c: Include "gdb_string.h".
382 (parent_attach_all): Delete extern declaration, moved to
383 "infttrace.h".
384 (hppa_can_use_hw_watchpoint): Change type of "type" parameter to
385 int.
386 (hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto.
387 * Makefile.in (infttrace_h): Define.
388 (hpread.o): Update dependencies.
389 (hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto.
390 * hppa-hpux-tdep.c: Include "gdb_string.h".
391 * hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc".
392 * infrun.c (handle_inferior_event): Always initialize
393 stepped_after_stopped_by_watchpoint. Add default and remove
394 fallthrough in switch statement.
395 * infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type"
396 parameter to int.
397 (hppa_remove_hw_watchpoint): Ditto.
398
2c3bbe77
AC
3992003-03-29 Andrew Cagney <[email protected]>
400
401 * ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint
402 offset.
403
2dd604e7
RE
4042003-03-29 Richard Earnshaw <[email protected]>
405
406 * arm-tdep.c (arm_push_arguments): Delete.
407 (struct stack_item): New type.
408 (push_stack_item, pop_stack_item, arm_push_dummy_call): New functions.
409 (arm_store_struct_return): Delte.
410 (arm_gdbarch_init): Register arm_push_dummy_call. Don't register
411 arm_push_arguments or arm_store_struct_return.
412
e8933a55
AC
4132003-03-28 Andrew Cagney <[email protected]>
414
415 * Makefile.in (d10v-tdep.o): Update dependencies.
416 * remote.h (target_resume_hook, target_wait_loop_hook): Declare.
417 * d10v-tdep.c: Include "remote.h".
418 (target_resume_hook): Delete extern declaration.
419 (target_wait_loop_hook): Ditto.
420 (tdisassemble_command): Eliminate assignment in "if" conditional.
421 (d10v_ts2_register_sim_regno): Eliminate call to
422 legacy_register_sim_regno.
423 (d10v_ts3_register_sim_regno): Ditto.
424
6949171e
JJ
4252003-03-28 Jeff Johnston <[email protected]>
426
427 * thread.c: Reindented.
428 * lin-lwp.c: Ditto.
429 * linux-proc.c: Ditto.
430
98c7071f
BR
4312003-03-28 Bob Rossi <[email protected]>
432
433 * MAINTAINERS (write after approval): Add myself.
434
5edc9ca6
TR
4352003-03-27 Theodore A. Roth <[email protected]>
436
437 * objc-exp.y: Add missing semi-colons.
438
378bfd1b
AC
4392003-03-27 Andrew Cagney <[email protected]>
440
441 * regcache.c (write_sp): Delete function and references.
442 * inferior.h (write_sp): Delete declaration.
443 * valops.c (hand_function_call): Replace write_sp with
444 TARGET_WRITE_SP.
445 * sparc-tdep.c (sparc_push_dummy_frame): Ditto.
446 (sparc_pop_frame): Ditto.
447
56056df7
AC
4482003-03-27 Andrew Cagney <[email protected]>
449
450 * NEWS: Mention removal of support for hppa*-*-bsd* and
451 hppa*-*-osf* natives, and hppa*-*-pro* target.
452 * config/pa/xm-hppah.h: Do not include "pa/xm-pa.h".
453 * config/pa/xm-pa.h: Obsolete file.
454 * config/pa/xm-hppab.h: Obsolete file.
455 * config/pa/nm-hppab.h: Obsolete file.
456 * config/pa/tm-hppab.h: Obsolete file.
457 * config/pa/tm-hppao.h: Obsolete file.
458 * config/pa/nm-hppao.h: Obsolete file.
459 * config/pa/tm-pro.h: Obsolete file.
460 * config/pa/hppaosf.mt: Obsolete file.
461 * config/pa/hppaosf.mh: Obsolete file.
462 * config/pa/hppapro.mt: Obsolete file.
463 * config/pa/hppabsd.mt: Obsolete file.
464 * config/pa/hppabsd.mh: Obsolete file.
465 * configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*.
466 * configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and
467 hppa*-*-osf*.
468
5873a88d
AC
4692003-03-27 Andrew Cagney <[email protected]>
470
471 * d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of
472 push_arguments. Don't set push_return_address or write_sp.
473 (d10v_push_dummy_call): Replace d10v_push_arguments.
474 (d10v_push_return_address, d10v_write_sp): Delete function,
475 handled by push_dummy_call.
476
b81774d8
AC
4772003-03-26 Andrew Cagney <[email protected]>
478
479 * gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS.
480 (push_dummy_call): New pure multi-arch replacement with gdbarch,
481 regcache and dummy_addr parameters.
482 * gdbarch.h, gdbarch.c: Re-generate.
483 * valops.c (hand_function_call): Use gdbarch_push_dummy_call when
484 available; assume it will handle stack alignment and return
485 address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and
486 legacy_push_arguments.
487 (legacy_push_arguments): Rename default_push_arguments.
488 * value.h (legacy_push_arguments): Rename default_push_arguments.
489 * i386-tdep.c (i386_push_arguments): Call legacy_push_arguments.
490 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update.
491 * config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update.
492 * config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update.
493 * config/i386/tm-symmetry.h: Update.
494 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
495 * x86-64-tdep.c (x86_64_init_abi): Update.
496 * v850-tdep.c (v850_gdbarch_init): Update.
497 * sparc-tdep.c (sparc_gdbarch_init): Update.
498 * sh-tdep.c (sh_gdbarch_init): Update.
499 * s390-tdep.c (s390_gdbarch_init): Update.
500 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
501 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
502 * mips-tdep.c (mips_gdbarch_init): Update.
503 * mcore-tdep.c (mcore_gdbarch_init): Update.
504 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
505 * ia64-tdep.c (ia64_gdbarch_init): Update.
506 * i386-tdep.c (i386_gdbarch_init): Update.
507 * hppa-tdep.c (hppa_gdbarch_init): Update.
508 * h8300-tdep.c (h8300_gdbarch_init): Update.
509 * frv-tdep.c (frv_gdbarch_init): Update.
510 * d10v-tdep.c (d10v_gdbarch_init): Update.
511 * cris-tdep.c (cris_gdbarch_init): Update.
512 * avr-tdep.c (avr_gdbarch_init): Update.
513 * arm-tdep.c (arm_gdbarch_init): Update.
514 * arm-linux-tdep.c (arm_linux_init_abi): Update.
515 * alpha-tdep.c (alpha_gdbarch_init): Update.
516
f541410f
DJ
5172003-03-26 Daniel Jacobowitz <[email protected]>
518
519 * signals/signals.c (do_target_signal_to_host): Correct realtime
520 signal range test.
521
69f567ae
DJ
5222003-03-26 Daniel Jacobowitz <[email protected]>
523
524 * breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals)
525 (struct sal_chain, map_catch_names): Remove.
526 (catch_exception_command_1): Don't call
527 handle_gnu_4_16_catch_command.
528
d5d14a5a
DJ
5292003-03-26 Daniel Jacobowitz <[email protected]>
530
531 From Mark Dettinger <[email protected]>:
532 * dwarf2cfi.c (read_2u): Increment pointer by two.
533
bdd73e22
DJ
5342003-03-26 Daniel Jacobowitz <[email protected]>
535
536 * signals/signals.c: Fix typos in last change.
537
960cb555
DJ
5382003-03-26 Daniel Jacobowitz <[email protected]>
539
540 * signals/signals.c (REALTIME_LO, REALTIME_HI): Define if
541 not already defined. Use __SIGRTMIN if available.
542 (target_signal_from_host): Remove SIGRTMIN block.
543 (do_target_signal_to_host): Remove SIGRTMIN block; check that
544 the signal is within the realtime range.
545
f636b87d
AF
5462003-03-25 Adam Fedor <[email protected]>
547
548 * Makefile.in (infrun.o): Add $(language_h)
549 * infrun.c (handle_inferior_event): Use skip_language_trampoline
550 for language specific trampolines.
551 * language.h (struct language_defn): Add skip_trampoline.
552 (skip_language_trampoline): Declare.
553 * language.c (unk_lang_trampoline, skip_language_trampoline):
554 New functions.
555 (unknown_language_defn, auto_language_defn, local_language_defn):
556 Add ukn_lang_trampoline.
557 * ada-lang.c (ada_language_defn): Add NULL for language
558 specific skip_trampoline.
559 * c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c,
560 scm-lang.c: Likewise.
561 * objc-lang.c (objc_skip_trampoline): New function.
562 (objc_language_defn): Add objc_skip_trampoline.
563
28f617b3 5642003-03-25 Andrew Cagney <[email protected]>
270c3b1d
AC
565
566 * frame.c (get_prev_frame): Delay validating a frame's ID -
567 non-NULL, didn't go backwards - until an attempt to unwind it to
568 the previous frame.
569
f933a9c5
AC
5702003-03-25 Andrew Cagney <[email protected]>
571
572 * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace
573 EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1.
574 * gdbarch.h, gdbarch.c: Re-generate.
575 * config/sparc/tm-sparc.h
576 (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define.
577 * sparc-tdep.c (sparc_gdbarch_init): Set
578 deprecated_extra_stack_alignment_needed.
579 * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
580 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear
581 extra_stack_alignment_needed.
582 * v850-tdep.c (v850_gdbarch_init): Ditto.
583 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
584 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
585 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
586 * cris-tdep.c (cris_gdbarch_init): Ditto.
587 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
588 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
589
4183d812
AC
5902003-03-25 Andrew Cagney <[email protected]>
591
592 * gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace
593 STORE_STRUCT_RETURN.
594 * gdbarch.h, gdbarch.c: Regenerate.
595 * d10v-tdep.c (d10v_store_struct_return): Delete function.
596 (d10v_push_arguments): Set the struct return register.
597 (d10v_gdbarch_init): Update.
598 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
599 * x86-64-tdep.c (x86_64_init_abi): Update.
600 * vax-tdep.c (vax_gdbarch_init): Update.
601 * v850-tdep.c (v850_gdbarch_init): Update.
602 * sparc-tdep.c (sparc_gdbarch_init): Update.
603 * sh-tdep.c (sh_gdbarch_init): Update.
604 * s390-tdep.c (s390_gdbarch_init): Update.
605 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
606 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
607 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
608 * mips-tdep.c (mips_gdbarch_init): Update.
609 * mcore-tdep.c (mcore_gdbarch_init): Update.
610 * m68k-tdep.c (m68k_gdbarch_init): Update.
611 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
612 * ia64-tdep.c (ia64_gdbarch_init): Update.
613 * i386-tdep.c (i386_gdbarch_init): Update.
614 * hppa-tdep.c (hppa_gdbarch_init): Update.
615 * h8300-tdep.c (h8300_gdbarch_init): Update.
616 * frv-tdep.c (frv_gdbarch_init): Update.
617 * cris-tdep.c (cris_gdbarch_init): Update.
618 * avr-tdep.c (avr_gdbarch_init): Update.
619 * arm-tdep.c (arm_gdbarch_init): Update.
620 * alpha-tdep.c (alpha_gdbarch_init): Update.
621
1bf6d5cc
AC
6222003-03-25 Andrew Cagney <[email protected]>
623
624 * gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete.
625 (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace
626 CALL_DUMMY_STACK_ADJUST with a predicate variable.
627 * gdbarch.h, gdbarch.c: Regenerate.
628 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
629 call_dummy_stack_adjust_p.
630 * vax-tdep.c (vax_gdbarch_init): Ditto.
631 * v850-tdep.c (v850_gdbarch_init): Ditto.
632 * sh-tdep.c (sh_gdbarch_init): Ditto.
633 * s390-tdep.c (s390_gdbarch_init): Ditto.
634 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
635 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
636 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
637 * mips-tdep.c (mips_gdbarch_init): Ditto.
638 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
639 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
640 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
641 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
642 * i386-tdep.c (i386_gdbarch_init): Ditto.
643 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
644 * frv-tdep.c (frv_gdbarch_init): Ditto.
645 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
646 * cris-tdep.c (cris_gdbarch_init): Ditto.
647 * avr-tdep.c (avr_gdbarch_init): Ditto.
648 * arm-tdep.c (arm_gdbarch_init): Ditto.
649 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
650 * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
651 * config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update.
652 * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
653 * sparc-tdep.c (sparc_gdbarch_init): Update. Do not set
654 call_dummy_stack_adjust_p.
655 * inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro.
656 (CALL_DUMMY_STACK_ADJUST): Delete macro.
657 * sparc-tdep.c (sparc32_push_arguments): Update.
658 * valops.c (hand_function_call): Update.
659
71c08af0
CV
6602003-03-25 Corinna Vinschen <[email protected]>
661
662 * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to
663 set_gdbarch_char_signed.
664
30757f90
RE
6652003-03-25 Richard Earnshaw <[email protected]>
666
667 PR cli/548
668 * arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler".
669
03d48a7d
RE
6702003-03-25 Richard Earnshaw <[email protected]>
671
672 * arm-tdep.c (arm_gdbarch_init): Register the disassembler function.
673 (_initialize_arm_tdep): Don't set tm_print_insn.
674
2cf6873c
AF
6752003-03-24 Adam Fedor <[email protected]>
676
677 * Makefile.in (YYOBJ): Add objc-exp.tab.o
678 * objc-lang.h: Add multiple inclusion protection.
679 (start_msglist, add_msglist, end_msglist): Additional declarations.
680
17c0759e
RE
6812003-03-24 Richard Earnshaw <[email protected]>
682
683 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum
684 value was renamed to ARM_FLOAT_SOFT_FPA.
685
618ce49f
AC
6862003-03-23 Andrew Cagney <[email protected]>
687
688 * gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN.
689 (DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID.
690 * gdbarch.h, gdbarch.c: Regenerate.
691 * valops.c (hand_function_call): Update.
692 * objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
693 * frame.c (legacy_saved_regs_this_id): Update.
694 (legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update.
695 * dummy-frame.h: Update.
696 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update.
697 * config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
698 * config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update.
699 * config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update.
700 * config/m68k/tm-sun3.h: Update.
701 * blockframe.c (inside_main_func, frame_chain_valid): Update.
702 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
703 * x86-64-tdep.c (x86_64_init_abi): Update.
704 * vax-tdep.c (vax_gdbarch_init): Update.
705 * v850-tdep.c (v850_gdbarch_init): Update.
706 * sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update.
707 * sh-tdep.c (sh_gdbarch_init): Update.
708 * s390-tdep.c (s390_gdbarch_init): Update.
709 * rs6000-tdep.c (rs6000_frame_saved_pc): Update.
710 (rs6000_gdbarch_init, rs6000_frame_saved_pc): Update.
711 (frame_get_saved_regs): Update.
712 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
713 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
714 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
715 * mips-tdep.c (mips_gdbarch_init): Update.
716 * mcore-tdep.c (mcore_gdbarch_init): Update.
717 * m68k-tdep.c (m68k_gdbarch_init): Update.
718 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
719 * ia64-tdep.c (ia64_gdbarch_init): Update.
720 * i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update.
721 * i386-interix-tdep.c (i386_interix_init_abi): Update.
722 (i386_interix_back_one_frame): Update.
723 * hppa-tdep.c (hppa_gdbarch_init): Update.
724 (hppa_init_extra_frame_info): Update.
725 * h8300-tdep.c (h8300_gdbarch_init): Update.
726 * frv-tdep.c (frv_gdbarch_init): Update.
727 * cris-tdep.c (cris_gdbarch_init): Update.
728 * avr-tdep.c (avr_gdbarch_init): Update.
729 * arm-tdep.c (arm_gdbarch_init): Update.
730 * alpha-tdep.c (alpha_gdbarch_init): Update.
731
fd50bc42
RE
7322003-03-22 Richard Earnshaw <[email protected]>
733
734 * arm-tdep.h (arm_float_model): Add AUTO and LAST values.
735 (arm_get_fp_model): Declare.
736 * arm-tdep.c (fp_model_strings): New string array.
737 (arm_fp_model, current_fp_model): New variables.
738 (arm_get_fp_model): New function.
739 (arm_set_fp): New function.
740 (set_fp_model_sfunc): New function.
741 (show_fp_model): New function.
742 (_initialize_arm_tdep): Add new command to set/show the FPU.
743 (arm_extract_return_value): Use arm_get_fp_model.
744 (arm_store_return_value): Likewise.
745 (arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp
746 to initialize the floating-point data types.
747 * arm-linux-tdep.c (arm_linux_init_abi): The default floating point
748 model is FPA.
749
26304000
RE
7502003-03-22 Richard Earnshaw <[email protected]>
751
752 * arm-tdep.c (show_arm_command): Don't print out help. Instead, show
753 the current setting of each value.
754 (_initialize_arm_tdep): Delete variable new_cmd and add new vars
755 new_set and new_show. Use add_setshow_cmd_full and
756 add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32"
757 commands and add new version as subcommands of "set/show arm".
758
afd7eef0
RE
7592003-03-22 Richard Earnshaw <[email protected]>
760
761 * arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists.
762 (set_arm_command, show_arm_command): New functions.
763 (_initialize_arm_tdep): Add them.
764 (num_disassembly_options): Renamed from num_flavor_options.
765 (valid_disassembly_styles): Renamed from valid_flavors.
766 (disassembly_style): Renamed from disassembly_flavor.
767 (set_disassembly_style_sfunc): Renamed from
768 set_disassembly_flavor_sfunc.
769 (set_disassembly_style): Renamed from set_disassembly_flavor.
770 (arm_othernames): Updated.
771 (_initialize_arm_tdep): Deprecate "set/show disassembly-flavor"
772 command. Add "set/show arm disassembly" commands. Deprecate
773 "othernames" command.
774
299a7944
RE
7752003-03-22 Richard Earnshaw <[email protected]>
776
777 * Makefile.in (elf_reloc_macros_h, elf_arm_h): Define.
778 (arm-tdep.o): Depend on elf_arm_h.
779
c1dac9e6
RE
7802003-03-22 Richard Earnshaw <[email protected]>
781
782 * Makefile.in (coff_internal_h): Define.
783 (arm-tdep.o): Update dependencies.
784
2702d96c
RE
7852003-03-22 Richard Earnshaw <[email protected]>
786
787 * arm-tdep.c (prologue_cache): Delete.
788 (check_prologue_cache, save_prologue_cache): Delete.
789 (arm_scan_prologue): Don't check or update the prologue_cache.
790 (arm_gdb_arch_init): Don't initialize it.
791 (_initialize_arm_tdep): Likewise.
792
27d5d74b
SC
7932003-03-21 Stephane Carrez <[email protected]>
794
795 * MAINTAINERS (tui): Maintainer of tui code.
796
1762d96d
CV
7972003-03-21 Corinna Vinschen <[email protected]>
798
799 * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c.
800 (i386-cygwin-tdep.o): Add dependencies.
801 * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN.
802 * i386-cygwin-tdep.c: New file.
803 * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN.
804 * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o.
805
4c2e2391
AC
8062003-03-20 Andrew Cagney <[email protected]>
807
f20d38b7
AC
808 * infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro.
809 (handle_inferior_event): Remove code calling
810 DYNAMIC_TRAMPOLINE_NEXTPC.
811
0022b738
AC
812 * Makefile.in (init.c): Don't add $(srcdir) prefix when a file
813 already has a full path.
814
864dbc90
AC
815 * main.c (gdb_main): Return 1.
816 (captured_main): Call error to report an invalid interpreter.
817
4c2e2391
AC
818 * Makefile.in (alpha-osf1-tdep.o): Update dependencies.
819 * alpha-osf1-tdep.c: Include "gdb_string.h".
820
5ef7553b
JB
8212003-03-19 J. Brobecker <[email protected]>
822
823 Continuing work to convert the hppa targets to multiarch partial.
824
825 * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch
826 method, now that hppa_push_dummy_frame has a conformant prototype.
827 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro
828 inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation
829 for the switch to multiarch partial.
830
7bde8967
KB
8312003-03-19 Kevin Buettner <[email protected]>
832
833 * mdebugread.c (parse_symbol): For stEnd, we're done counting
834 when iss is issNull.
835
b006a9e9
KB
8362003-03-18 Kevin Buettner <[email protected]>
837
838 * mips-tdep.c (mips_register_name): Fix fencepost error involving
839 NUM_REGS bounds check.
840
5e2e9765
KB
8412003-03-18 Kevin Buettner <[email protected]>
842
843 * Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h).
844 * mips-tdep.c (gdb_assert.h): Include.
845 (mips_generic_reg_names, mips_processor_reg_names): Make static.
846 (mips_register_name): Handle integer registers explicitly. Add
847 bounds checking.
848 (mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names)
849 (mips_lsi33k_reg_names): Don't list integer registers; they're
850 handled by mips_register_name() now.
851 * config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise.
852 * config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise.
853 * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise.
854 * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise.
855 * config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise.
856
a2867626
AC
8572003-03-18 Andrew Cagney <[email protected]>
858
859 * printcmd.c (print_scalar_formatted): Change VALADDR parameter to
860 a void pointer.
861 * gdbtypes.h (print_scalar_formatted): Update declaration.
862 * expression.h (enum exp_opcode): Remove non-ISO C trailing comma.
863
06600e06
JB
8642003-03-18 J. Brobecker <[email protected]>
865
866 * infrun.c (observer.h): Add #include.
867 (normal_stop): Add call to observer_notify_normal_stop.
868 * Makefile.in (infrun.o): Add dependency on observer.h.
869
7daf4f5b
JB
8702003-03-18 J. Brobecker <[email protected]>
871
872 Continuing work to convert the hppa targets to multiarch partial.
873 * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function
874 parameter. Reformat comment.
875 * config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile.
876 (DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame()
877 to match new profile.
878
3371ccc0
JB
8792003-03-18 J. Brobecker <[email protected]>
880
881 * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not
882 appear to be working in any case.
883
4fbe891e
JB
8842003-03-18 J. Brobecker <[email protected]>
885
886 * observer.c (observer_test_first_observer): New static variable.
887 (observer_test_second_observer): Likewise.
888 (observer_test_third_observer): Likewise.
889 (observer_test_first_notification_function): New static function.
890 (observer_test_second_notification_function): Likewise.
891 (observer_test_third_notification_function): Likewise.
892
a7ff40e7
JB
8932003-03-17 J. Brobecker <[email protected]>
894
895 * hppa-tdep.c (gdb_assert.h): Add missing #include.
896 * somsolib.c (gdb_assert.h): Likewise.
897 * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h.
898 (somsolib.o): Likewise.
899
26ca4152
AC
9002003-03-17 Andrew Cagney <[email protected]>
901
902 * disasm.c (gdb_disassembly): Set di.mach using the architecture's
903 BFD. Simplify setting of di.endian.
904
0a613259
AC
9052003-03-17 Andrew Cagney <[email protected]>
906
907 * rs6000-tdep.c (ppc_floating_point_unit_p): New function.
908 * ppc-tdep.h (ppc_floating_point_unit_p): Declare.
909
910 From Elena Zannoni <[email protected]>
911 * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500
912 vector and floating-point parameters.
913 (ppc_sysv_abi_use_struct_convention): Handle e500 struct return
914 convention.
915 (ppc_sysv_abi_broken_use_struct_convention): Ditto.
916
1132738f
FN
9172003-03-17 Fernando Nasser <[email protected]>
918
919 * MAINTAINERS: Remove my name from several maintainership roles.
920
6dc42492
AC
9212003-03-17 Andrew Cagney <[email protected]>
922
923 Fix frame off-by-one bug.
924 * frame-unwind.h (frame_this_id_ftype): Replace
925 frame_unwind_id_ftype.
926 (frame_prev_register_ftype): Replace frame_unwind_reg_ftype.
927 (struct frame_unwind): Replace "id" with "this_id". Replace "reg"
928 with "prev_register".
929 * frame-unwind.c (frame_unwind_find_by_pc): Return
930 legacy_saved_regs_unwind instead of trad_frame_unwind. Update
931 comment.
932 * dummy-frame.c (cached_find_dummy_frame): Delete function.
933 (dummy_frame_this_id): Replace dummy_frame_id_unwind.
934 (dummy_frame_prev_register): Replace dummy_frame_register_unwind.
935 (dummy_frame_unwind): Update.
936 * sentinel-frame.c (sentinel_frame_prev_register): Replace
937 sentinel_frame_register_unwind.
938 (sentinel_frame_this_id): Replace sentinel_frame_id_unwind.
939 (sentinel_frame_unwinder): Update.
940 * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind.
941 (struct frame_info): Rename "unwind_cache" to "prologue_cache".
942 * frame.c (create_sentinel_frame): Update. Initialize
943 "prologue_cache" instead of "unwind_cache".
944 (frame_register_unwind): Call this frame's prev_register with the
945 next frame and this frame's prologue cache.
946 (get_prev_frame): Simplify. Always call prev frame's this_id with
947 this frame and prev frame's prologue cache. Document that this
948 call is shifted one to the left when compared to the
949 frame_register_unwind call.
950 (legacy_saved_regs_prev_register): Replace
951 frame_saved_regs_register_unwind.
952 (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind.
953 (legacy_saved_regs_unwinder): Replace trad_frame_unwinder.
954 (legacy_saved_regs_unwind): Replace trad_frame_unwind.
955 * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind.
956 (d10v_frame_unwind): Update.
957 (d10v_frame_prev_register): Replace d10v_frame_register_unwind.
958 (d10v_frame_unwind_cache): Replace this "fi" with "next_frame".
959 (saved_regs_unwinder): Replace this "frame" with "next_frame", and
960 "saved_regs" with "this_saved_regs".
961
efd710d6
AC
9622003-03-16 Andrew Cagney <[email protected]>
963
964 * frame.c (frame_pop): Don't call target_store_registers. Fix
965 problem reported by Mark Kettenis.
966
4e259f09
MK
9672003-03-16 Mark Kettenis <[email protected]>
968
969 * i386-tdep.c (i386_register_type): Renamed from
970 i386_register_virtual_type. Adjust function signature.
971 (i386_gdbarch_init): Set register_type instead of
972 deprecated_max_register_raw_size,
973 deprecated_max_register_virtual_size and register_virtual_type.
974
055bb976
AC
9752003-03-14 Andrew Cagney <[email protected]>
976
977 * frame.c (get_prev_frame): When a legacy frame, always call
978 legacy_get_prev_frame. Simplify unwind code using assumption that
979 the unwinder is new.
980 (legacy_get_prev_frame): Handle legacy sentinel frame unwind here.
981 (legacy_frame_p): When no gdbarch_unwind_dummy_id, or
982 SAVED_DUMMY_FRAME_TOS, assume a legacy frame.
983
ac2adee5
AC
9842003-03-14 Andrew Cagney <[email protected]>
985
986 * frame.c (get_saved_register): Delete function.
987 * frame.h (get_saved_register): Delete declaration.
988 * xstormy16-tdep.c: Update comment.
989 * regcache.h: Update comments.
990 * sparc-tdep.c (sparc_init_extra_frame_info): Instead of
991 get_saved_register and extract_address, use
992 frame_read_unsigned_register.
993 (sparc_frame_saved_pc): Ditto.
994 (sparc_get_saved_register): Instead of get_saved_register, use
995 frame_register.
996 (sparc_pop_frame): Ditto.
997 * findvar.c: Update comments.
998 (value_of_register): Call frame_register instead of
999 get_saved_register.
1000 (value_from_register): Ditto.
1001 * config/sparc/tm-sparc.h: Update comment.
1002 * breakpoint.c: Update comment.
1003
129c1cd6
AC
10042003-03-14 Andrew Cagney <[email protected]>
1005
1006 * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace
1007 GET_SAVED_REGISTER.
1008 * gdbarch.h, gdbarch.c: Re-generate.
1009 * frame.h: Update comments.
1010 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1011 * x86-64-tdep.c (x86_64_init_abi): Update.
1012 * sparc-tdep.c (sparc_gdbarch_init): Update.
1013 * sh-tdep.c (sh_gdbarch_init): Update.
1014 * mips-tdep.c (mips_gdbarch_init): Update.
1015 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1016 * cris-tdep.c (cris_gdbarch_init): Update.
1017 * ia64-tdep.c (ia64_gdbarch_init): Update.
1018 * frame.c (frame_register): Update.
1019 (get_saved_register): Update.
1020 * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update.
1021
749b82f6
AC
10222003-03-13 Andrew Cagney <[email protected]>
1023
1024 * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME.
1025 * gdbarch.h, gdbarch.c: Regenerate.
1026 * valops.c (hand_function_call): Update comment.
1027 * stack.c (return_command): Update comment.
1028 * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update.
1029 * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update.
1030 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1031 * x86-64-tdep.c (x86_64_init_abi): Update.
1032 * vax-tdep.c (vax_gdbarch_init): Update.
1033 * v850-tdep.c (v850_gdbarch_init): Update.
1034 * sparc-tdep.c (sparc_gdbarch_init): Update.
1035 * sh-tdep.c (sh_gdbarch_init): Update.
1036 * s390-tdep.c (s390_gdbarch_init): Update.
1037 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1038 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1039 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1040 * mips-tdep.c (mips_gdbarch_init): Update.
1041 * mcore-tdep.c (mcore_gdbarch_init): Update.
1042 * m68k-tdep.c (m68k_gdbarch_init): Update.
1043 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1044 * ia64-tdep.c (ia64_gdbarch_init): Update.
1045 * i386-tdep.c (i386_gdbarch_init): Update.
1046 * hppa-tdep.c (hppa_gdbarch_init): Update.
1047 * h8300-tdep.c (h8300_gdbarch_init): Update.
1048 * frv-tdep.c (frv_gdbarch_init): Update.
1049 * cris-tdep.c (cris_gdbarch_init): Update.
1050 * avr-tdep.c (avr_gdbarch_init): Update.
1051 * arm-tdep.c (arm_gdbarch_init): Update.
1052 * alpha-tdep.c (alpha_gdbarch_init): Update.
1053
1594fa56
AC
10542003-03-13 Andrew Cagney <[email protected]>
1055
1056 * frame.c (legacy_frame_p): New function.
1057 (get_prev_frame): Use legacy_frame_p.
1058 * frame.h (legacy_frame_p): Declare.
1059
7717fda3
V
10602003-03-13 D. Venkatasubramanian <[email protected]>
1061
1062 * MAINTAINERS (write after approval): Alphabetically
1063 listing corrected.
1064
0c67cbe9
V
10652003-03-13 D. Venkatasubramanian <[email protected]>
1066
1067 * MAINTAINERS (write after approval): Add myself.
1068
03febf99
AC
10692003-03-12 Andrew Cagney <[email protected]>
1070
1071 * frame.c (get_prev_frame): Rename the frame parameter to
1072 "this_frame".
1073 (get_next_frame, legacy_get_prev_frame): Ditto.
1074
0a1e1ca1
AC
10752003-03-12 Andrew Cagney <[email protected]>
1076
1077 * frame.c (get_current_frame): Check target_has_registers before
1078 checking target_has_stack.
1079 * eval.c (evaluate_subexp_standard): Use get_selected_frame,
1080 instead of deprecated_selected_frame.
1081 * findvar.c (value_of_register): Pass "frame", not
1082 deprecated_selected_frame, to value_of_builtin_reg.
1083
a66a9c23
AC
10842003-03-12 Andrew Cagney <[email protected]>
1085
1086 * regcache.c (regcache_cooked_write_signed): New function.
1087 (regcache_cooked_write_unsigned): New function.
1088 (regcache_cooked_read_unsigned): Fix regnum in range assertion.
1089 (regcache_cooked_read_signed): Fix regnum in range assertion.
1090 * regcache.h (regcache_cooked_write_signed): Declare.
1091 (regcache_cooked_write_unsigned): Declare.
1092
8bedc050
AC
10932003-03-12 Andrew Cagney <[email protected]>
1094
1095 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
1096 * gdbarch.h, gdbarch.c: Re-generate.
1097 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1098 * x86-64-tdep.h: Update.
1099 * x86-64-tdep.c (x86_64_init_abi): Update.
1100 * v850-tdep.c (v850_gdbarch_init): Update.
1101 * sparc-tdep.c (sparc_gdbarch_init): Update.
1102 * sh-tdep.c (sh_gdbarch_init): Update.
1103 * s390-tdep.c (s390_gdbarch_init): Update.
1104 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1105 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
1106 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1107 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1108 * mips-tdep.c (mips_gdbarch_init): Update.
1109 * mcore-tdep.c (mcore_gdbarch_init): Update.
1110 * m68k-tdep.c (m68k_gdbarch_init): Update.
1111 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1112 * ia64-tdep.c (ia64_gdbarch_init): Update.
1113 * i386-tdep.c (i386_gdbarch_init): Update.
1114 * i386-interix-tdep.c (i386_interix_init_abi): Update.
1115 * hppa-tdep.c (hppa_gdbarch_init): Update.
1116 * h8300-tdep.c (h8300_gdbarch_init): Update.
1117 * frv-tdep.c (frv_gdbarch_init): Update.
1118 * cris-tdep.c (cris_gdbarch_init): Update.
1119 * avr-tdep.c (avr_gdbarch_init): Update.
1120 * arm-tdep.c (arm_gdbarch_init): Update.
1121 * alpha-tdep.c (alpha_gdbarch_init): Update.
1122 * sh-tdep.c (sh_init_extra_frame_info): Update.
1123 (sh64_init_extra_frame_info): Update.
1124 * ns32knbsd-nat.c (frame_num_args): Update.
1125 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
1126 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
1127 (xstormy16_frame_chain_valid): Update.
1128 * vax-tdep.c (vax_saved_pc_after_call): Update.
1129 * v850-tdep.c (v850_frame_chain): Update.
1130 (v850_pop_frame): Update.
1131 (v850_init_extra_frame_info): Update.
1132 * sparc-tdep.c (setup_arbitrary_frame): Update.
1133 * ns32k-tdep.c (umax_frame_num_args): Update.
1134 * s390-tdep.c (s390_pop_frame_regular): Update.
1135 * mn10300-tdep.c (mn10300_frame_chain): Update.
1136 (mn10300_pop_frame_regular): Update.
1137 (mn10300_init_extra_frame_info): Update.
1138 * mips-tdep.c (mips_init_frame_pc_first): Update.
1139 (mips_frame_chain): Update.
1140 (mips_pop_frame): Update.
1141 * mcore-tdep.c (mcore_frame_chain): Update.
1142 (mcore_pop_frame): Update.
1143 (mcore_init_extra_frame_info): Update.
1144 * arch-utils.c (init_frame_pc_default): Update.
1145 * m68k-tdep.c (isi_frame_num_args): Update.
1146 (delta68_frame_num_args): Update.
1147 (news_frame_num_args): Update.
1148 * ia64-tdep.c (ia64_pop_frame_regular): Update.
1149 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
1150 (alpha_frame_chain): Update.
1151 (alpha_pop_frame): Update.
1152 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
1153 (hppa_init_extra_frame_info): Update.
1154 (hppa_frame_chain): Update.
1155 (hppa_frame_chain_valid): Update.
1156 * cris-tdep.c (cris_init_extra_frame_info): Update.
1157 * avr-tdep.c (avr_init_extra_frame_info): Update.
1158 * arm-tdep.c (arm_frame_chain_valid): Update.
1159 (arm_init_extra_frame_info): Update.
1160 (arm_pop_frame): Update.
1161 * frame.c (frame_pc_unwind): Update.
1162 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
1163 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1164 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1165 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
1166 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
1167 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
1168
7a25a7c1
AC
11692003-03-12 Andrew Cagney <[email protected]>
1170
1171 Eliminate the need for POP_FRAME.
1172 * frame.c (do_frame_unwind_register): New function.
1173 (frame_pop): When no POP_FRAME, pop the frame using register
1174 unwind and a scratch regcache.
1175 (frame_saved_regs_pop): Delete function.
1176 (trad_frame_unwinder): Update.
1177 * d10v-tdep.c (d10v_frame_pop): Delete function.
1178 (d10v_frame_unwind): Update.
1179 * sentinel-frame.c (sentinel_frame_pop): Delete function.
1180 (sentinel_frame_unwinder): Update.
1181 * dummy-frame.c (dummy_frame_pop): Delete function.
1182 (dummy_frame_unwind): Update.
1183 * frame-unwind.h (frame_unwind_pop_ftype): Delete definition.
1184 (struct frame_unwind): Update.
1185
2f38ef89
KB
11862003-03-11 Kevin Buettner <[email protected]>
1187
1188 * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to
1189 mips_dwarf_dwarf2_ecoff_reg_to_regnum().
1190 (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum):
1191 Do range checks on register number obtained from debugging info.
1192 (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and
1193 set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of
1194 set_gdbarch_ecoff_reg_to_regnum() to account for new name of
1195 mapping function.
1196 (do_fp_register_row): Fix typo which caused double type to be
1197 used when attempting to unpack a float.
1198
552f4abf
JB
11992003-03-11 J. Brobecker <[email protected]>
1200
1201 * breakpoint.c (bpstat_stop_status): Fix a small memory leak.
1202
e0d2ae16
AC
12032003-03-11 Andrew Cagney <[email protected]>
1204
1205 * frame.c (deprecated_update_frame_pc_hack): Don't assume a next
1206 frame. Problem found by Corinna Vinschen.
1207
ddbfdd06
PM
12082003-03-11 Pierre Muller <[email protected]>
1209
1210 * doublest.c (floatformat_from_length): Accept also
1211 the real size of 'long double' type.
1212
088b2ddc 12132003-03-10 Daniel Jacobowitz <[email protected]>
31cc81e9 1214
088b2ddc 1215 From Klee Dienes <[email protected]>:
31cc81e9
DJ
1216 * breakpoint.c (bpstat_copy): Copy the command lines as well
1217 as the old value, to match what is freed in bpstat_clear.
1218
f56f77c1
DC
12192003-03-10 David Carlton <[email protected]>
1220
1221 * minsyms.c (add_minsym_to_hash_table): Replace
1222 DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME.
1223 (compare_minimal_symbols, compact_minimal_symbols)
1224 (install_minimal_symbols, find_solib_trampoline_target): Ditto.
1225 (lookup_minimal_symbol_text): Use strcmp on linkage names instead
1226 of DEPRECATED_SYMBOL_MATCHES_NAME.
1227 (lookup_minimal_symbol_solib_trampoline): Ditto.
1228
5602984a
AC
12292003-03-10 Andrew Cagney <[email protected]>
1230
1231 * regcache.h (regcache_cooked_read_ftype): Define.
1232 (regcache_save, regcache_restore): Add a cooked_read parameter.
1233 * regcache.c (regcache_save, regcache_restore): Update.
1234 (do_cooked_read): New function.
1235 (regcache_cpy): Pass do_cooked_read to regcache_save and
1236 regcache_restore.
1237
8bedc050
AC
12382003-03-10 Andrew Cagney <[email protected]>
1239
1240 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
1241 * gdbarch.h, gdbarch.c: Re-generate.
1242 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1243 * x86-64-tdep.h: Update.
1244 * x86-64-tdep.c (x86_64_init_abi): Update.
1245 * v850-tdep.c (v850_gdbarch_init): Update.
1246 * sparc-tdep.c (sparc_gdbarch_init): Update.
1247 * sh-tdep.c (sh_gdbarch_init): Update.
1248 * s390-tdep.c (s390_gdbarch_init): Update.
1249 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1250 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
1251 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1252 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1253 * mips-tdep.c (mips_gdbarch_init): Update.
1254 * mcore-tdep.c (mcore_gdbarch_init): Update.
1255 * m68k-tdep.c (m68k_gdbarch_init): Update.
1256 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1257 * ia64-tdep.c (ia64_gdbarch_init): Update.
1258 * i386-tdep.c (i386_gdbarch_init): Update.
1259 * i386-interix-tdep.c (i386_interix_init_abi): Update.
1260 * hppa-tdep.c (hppa_gdbarch_init): Update.
1261 * h8300-tdep.c (h8300_gdbarch_init): Update.
1262 * frv-tdep.c (frv_gdbarch_init): Update.
1263 * cris-tdep.c (cris_gdbarch_init): Update.
1264 * avr-tdep.c (avr_gdbarch_init): Update.
1265 * arm-tdep.c (arm_gdbarch_init): Update.
1266 * alpha-tdep.c (alpha_gdbarch_init): Update.
1267 * sh-tdep.c (sh_init_extra_frame_info): Update.
1268 (sh64_init_extra_frame_info): Update.
1269 * ns32knbsd-nat.c (frame_num_args): Update.
1270 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
1271 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
1272 (xstormy16_frame_chain_valid): Update.
1273 * vax-tdep.c (vax_saved_pc_after_call): Update.
1274 * v850-tdep.c (v850_frame_chain): Update.
1275 (v850_pop_frame): Update.
1276 (v850_init_extra_frame_info): Update.
1277 * sparc-tdep.c (setup_arbitrary_frame): Update.
1278 * ns32k-tdep.c (umax_frame_num_args): Update.
1279 * s390-tdep.c (s390_pop_frame_regular): Update.
1280 * mn10300-tdep.c (mn10300_frame_chain): Update.
1281 (mn10300_pop_frame_regular): Update.
1282 (mn10300_init_extra_frame_info): Update.
1283 * mips-tdep.c (mips_init_frame_pc_first): Update.
1284 (mips_frame_chain): Update.
1285 (mips_pop_frame): Update.
1286 * mcore-tdep.c (mcore_frame_chain): Update.
1287 (mcore_pop_frame): Update.
1288 (mcore_init_extra_frame_info): Update.
1289 * arch-utils.c (init_frame_pc_default): Update.
1290 * m68k-tdep.c (isi_frame_num_args): Update.
1291 (delta68_frame_num_args): Update.
1292 (news_frame_num_args): Update.
1293 * ia64-tdep.c (ia64_pop_frame_regular): Update.
1294 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
1295 (alpha_frame_chain): Update.
1296 (alpha_pop_frame): Update.
1297 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
1298 (hppa_init_extra_frame_info): Update.
1299 (hppa_frame_chain): Update.
1300 (hppa_frame_chain_valid): Update.
1301 * cris-tdep.c (cris_init_extra_frame_info): Update.
1302 * avr-tdep.c (avr_init_extra_frame_info): Update.
1303 * arm-tdep.c (arm_frame_chain_valid): Update.
1304 (arm_init_extra_frame_info): Update.
1305 (arm_pop_frame): Update.
1306 * frame.c (frame_pc_unwind): Update.
1307 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
1308 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1309 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1310 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
1311 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
1312 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
1313
12cc2063
AC
13142003-03-10 Andrew Cagney <[email protected]>
1315
1316 * gdbarch.sh (gdbarch_unwind_pc): New method.
1317 * gdbarch.h, gdbarch.c: Regenerate.
1318 * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc,
1319 but use read_pc and FRAME_SAVED_PC as fall backs.
1320 (frame_saved_regs_pc_unwind): Delete function.
1321 (trad_frame_unwinder): Update.
1322 * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration.
1323 (struct frame_unwind): Update.
1324 * dummy-frame.c (dummy_frame_pc_unwind): Delete function.
1325 (dummy_frame_unwind): Update.
1326 * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function.
1327 (sentinel_frame_unwinder): Update.
1328 * d10v-tdep.c (d10v_frame_pc_unwind): Delete function.
1329 (d10v_frame_unwind): Update.
1330 (d10v_unwind_pc): New function.
1331 (d10v_gdbarch_init): Set unwind_pc.
1332
ef840a37
AC
13332003-03-10 Andrew Cagney <[email protected]>
1334
a2ce2e56
AC
1335 * gdbarch.h: Re-generate.
1336
ef840a37
AC
1337 * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the
1338 PC.
1339 (d10v_frame_pop): Unwind the PC, and not the LR, when restoring
1340 the PC register.
1341
08f3424b
MK
13422003-03-08 Mark Kettenis <[email protected]>
1343
1344 * gdbarch.sh (save_dummy_frame_tos): Add comment.
1345
1248ede2
AC
13462003-03-08 Andrew Cagney <[email protected]>
1347
1348 * cli-out.c: Update copyright.
1349 (cli_out_data): Define typedef. Use instead of ui_out_data.
1350
f49bacc8
AC
13512003-03-08 Andrew Cagney <[email protected]>
1352
1353 * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to
1354 the result.
1355
9b05f993
AC
13562003-03-07 Andrew Cagney <[email protected]>
1357
1358 * gdbarch.sh: Don't generate two macro definitions when an
1359 undefined macro taking no arguments.
1360 * gdbarch.h: Regenerate.
1361
166f4c7b
ML
13622002-03-07 Michal Ludvig <[email protected]>
1363
1364 * x86-64-tdep.c (x86_64_save_dummy_frame_tos)
1365 (x86_64_unwind_dummy_id): New functions.
1366 (x86_64_init_abi): Register these two new functions.
1367
6d686a84
ML
13682003-03-07 Michal Ludvig <[email protected]>
1369
1370 * x86-64-tdep.c (x86_64_function_has_prologue): New function.
1371 (x86_64_skip_prologue): Move prologue detection to
1372 separate function.
1373 * x86-64-tdep.h (x86_64_function_has_prologue): New prototype.
1374
6314f104
AC
13752003-03-05 Andrew Cagney <[email protected]>
1376
1377 * d10v-tdep.c (d10v_unwind_dummy_id): New function.
1378 (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos.
1379 * frame.c (get_prev_frame): Restructure the frame ID unwind code
1380 to use unwind_dummy_id when a dummy frame.
1381 * gdbarch.sh (unwind_dummy_id): New multi-arch method with
1382 predicate.
1383 * gdbarch.h, gdbarch.c: Regneerate.
1384
ceea5145
AC
13852003-03-05 Andrew Cagney <[email protected]>
1386
1387 * d10v-tdep.c (struct d10v_unwind_cache): Add field "base".
1388 (d10v_frame_unwind_cache): Rewrite code computing the base and SP.
1389 Do not use d10v_read_sp or d10v_read_fp when obtaining register
1390 values.
1391
0d843116
AC
13922003-03-05 Andrew Cagney <[email protected]>
1393
1394 * d10v-tdep.c (struct frame_extra_info): Delete unused structure.
1395 (struct d10v_unwind_cache): Delete field "frameless". Replace
1396 "next_addr" with "sp_offset". Add "r11_offset".
1397 (d10v_frame_unwind_cache): Update.
1398 (prologue_find_regs): Update. When "mv r11, sp", save the
1399 "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that
1400 RN was saved in r11_offset.
1401
b2579786
AC
14022003-03-05 Andrew Cagney <[email protected]>
1403
1404 * frame.c (deprecated_update_frame_pc_hack): Also update the the
1405 cached PC value in the next frame.
1406
218e5956
AC
14072003-03-05 Andrew Cagney <[email protected]>
1408
1409 * frame.h (struct frame_info): Replace "id_unwind_cache_p" and
1410 "id_unwind_cache" with "id".
1411 (frame_id_unwind): Delete declaration.
1412 * frame.c (frame_id_unwind): Delete function.
1413 (get_prev_frame): Call the frame id unwind method directly. Store
1414 the returned next frame's ID value in NEXT_FRAME. Note that there
1415 is a problem with the wrong unwind ID being called with the wrong
1416 unwind cache.
1417
ed363b1b
DJ
14182003-03-05 Daniel Jacobowitz <[email protected]>
1419
1420 * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS.
1421
fe1f4a5e
DJ
14222003-03-05 James Ingham <[email protected]>
1423 Daniel Jacobowitz <[email protected]>
1424
1425 * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h".
1426 (auto_cp_abi): New variable.
1427 (current_cp_abi, num_cp_abis): Make static.
1428 (CP_ABI_MAX): Define.
1429 (cp_abis): Turn into an array.
1430 (value_virtual_fn_field): Fix formatting.
1431 (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now
1432 takes a pointer.
1433 (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd)
1434 (list_cp_abis, _initialize_cp_abi): New functions.
1435 * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove
1436 declarations for cp_abis, num_cp_abis, current_cp_abi, and
1437 switch_to_cp_abi. Update prototype for register_cp_abi.
1438 * Makefile.in (cp-abi.o): Update dependencies.
1439 * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default
1440 instead of switch_to_cp_abi.
1441 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to
1442 register_cp_abi.
1443 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to
1444 register_cp_abi.
1445 * hpacc-abi.c (_initialize_hpacc_abi): Likewise.
1446
e4adbba9
DJ
14472003-03-05 Daniel Jacobowitz <[email protected]>
1448
1449 * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition.
1450 * dwarf2loc.c: Include "regcache.h".
1451 (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use
1452 register_size.
1453 * Makefile.in (dwarf2loc.o): Update dependencies.
1454
91ccbfc1
TR
14552003-03-04 Theodore A. Roth <[email protected]>
1456
1457 * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the
1458 number of io registers reported by remote target is not a multiple of
1459 step.
1460
3d4e8fd2
DC
14612003-03-04 David Carlton <[email protected]>
1462
1463 * symtab.c (lookup_partial_symbol): Add linkage_name argument.
1464 (lookup_symbol_aux_psymtabs): Update call to
1465 lookup_partial_symbol.
1466 (lookup_transparent_type, find_main_psymtab)
1467 (make_symbol_overload_list): Ditto.
1468
ed42d87b
KH
14692003-03-04 Kazu Hirata <[email protected]>
1470
1471 * MAINTAINERS (Write after approval): Update my email address.
1472
a0ed5532
AC
14732003-03-03 Andrew Cagney <[email protected]>
1474
1475 Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional.
1476 * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with
1477 predicate. Replace MAX_REGISTER_RAW_SIZE.
1478 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for
1479 MAX_REGISTER_VIRTUAL_SIZE.
1480 * regcache.c (legacy_max_register_raw_size): New function.
1481 (legacy_max_register_virtual_size): New function.
1482 * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define.
1483 (MAX_REGISTER_RAW_SIZE): Define.
1484 (legacy_max_register_raw_size): Declare.
1485 (legacy_max_register_virtual_size): Declare.
1486 * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
1487 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update.
1488 * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
1489 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
1490 * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
1491 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
1492 * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
1493 * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
1494 * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
1495 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1496 * vax-tdep.c (vax_gdbarch_init): Update.
1497 * v850-tdep.c (v850_gdbarch_init): Update.
1498 * sparc-tdep.c (sparc_gdbarch_init): Update.
1499 * sh-tdep.c (sh_gdbarch_init): Update.
1500 * s390-tdep.c (s390_gdbarch_init): Update.
1501 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1502 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1503 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1504 * mips-tdep.c (mips_gdbarch_init): Update.
1505 * mcore-tdep.c (mcore_gdbarch_init): Update.
1506 * m68k-tdep.c (m68k_gdbarch_init): Update.
1507 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1508 * ia64-tdep.c (ia64_gdbarch_init): Update.
1509 * i386-tdep.c (i386_gdbarch_init): Update.
1510 * hppa-tdep.c (hppa_gdbarch_init): Update.
1511 * h8300-tdep.c (h8300_gdbarch_init): Update.
1512 * frv-tdep.c (frv_gdbarch_init): Update.
1513 * cris-tdep.c (cris_gdbarch_init): Update.
1514 * avr-tdep.c (avr_gdbarch_init): Update.
1515 * arm-tdep.c (arm_gdbarch_init): Update.
1516 * alpha-tdep.c (alpha_gdbarch_init): Update.
1517 * d10v-tdep.c (d10v_gdbarch_init): Do not set
1518 max_register_raw_size or max_register_virtual_size.
1519
8e437497
DC
15202003-03-03 David Carlton <[email protected]>
1521
1522 * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from
1523 SYMBOL_MATCHES_NAME, add comment.
1524 (SYMBOL_MATCHES_NATURAL_NAME): New.
1525 * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace
1526 SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME.
1527 (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto.
1528 * symtab.c (lookup_partial_symbol): Use
1529 SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete
1530 unhelpful comment.
1531 (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not
1532 SYMBOL_MATCHES_NAME.
1533 Fix for PR c++/33.
1534
25120b0d
DC
15352003-03-03 David Carlton <[email protected]>
1536
1537 * symtab.h (SYMBOL_MATCHES_REGEXP): Delete.
1538 * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP
1539 by regexp matching against SYMBOL_NATURAL_NAME.
1540
78a11fb4
DC
15412003-03-03 David Carlton <[email protected]>
1542
1543 * linespec.c (find_method): Extract code into collect_methods.
1544 (collect_methods): New.
1545
645dd519
MK
15462003-03-02 Mark Kettenis <[email protected]>
1547
b4700d91
MK
1548 * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and
1549 get_frame_base.
1550
645dd519
MK
1551 * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of
1552 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
1553
0aa7e1aa
SC
15542003-03-02 Stephane Carrez <[email protected]>
1555
1556 * arch-utils.c (generic_register_byte): Fix to use the loop index
1557 and not regnum when summing the size of all registers up to regnum.
1558
f30ee0bc
AC
15592003-03-01 Andrew Cagney <[email protected]>
1560
1561 * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename
1562 FRAME_INIT_SAVED_REGS.
1563 * gdbarch.h, gdbarch.c: Regenerate.
1564 * stack.c (frame_info): Update.
1565 * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update.
1566 (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update.
1567 (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update.
1568 * ns32k-tdep.c (ns32k_pop_frame): Update.
1569 * mips-tdep.c (mips_pop_frame): Update.
1570 * m68hc11-tdep.c (m68hc11_pop_frame): Update.
1571 * ia64-tdep.c (ia64_frame_chain): Update.
1572 (ia64_frame_saved_pc, ia64_get_saved_register): Update.
1573 (ia64_frameless_function_invocation): Update.
1574 (ia64_init_extra_frame_info): Update.
1575 (ia64_pop_frame_regular): Update.
1576 * frame.h (struct frame_info): Update comment.
1577 (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro.
1578 * frame.c (frame_saved_regs_register_unwind): Update.
1579 (frame_saved_regs_register_unwind): Update.
1580 (deprecated_generic_get_saved_register): Update.
1581 * cris-tdep.c: Update comment.
1582 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS):
1583 Rename macro.
1584 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1585 * x86-64-tdep.c (x86_64_init_abi): Update.
1586 * vax-tdep.c (vax_gdbarch_init): Update.
1587 * v850-tdep.c (v850_gdbarch_init): Update.
1588 * sparc-tdep.c (sparc_gdbarch_init): Update.
1589 * sh-tdep.c (sh_gdbarch_init): Update.
1590 * s390-tdep.c (s390_gdbarch_init): Update.
1591 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1592 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
1593 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1594 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1595 * mips-tdep.c (mips_gdbarch_init): Update.
1596 * mcore-tdep.c (mcore_gdbarch_init): Update.
1597 * m68k-tdep.c (m68k_gdbarch_init): Update.
1598 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1599 * ia64-tdep.c (ia64_gdbarch_init): Update.
1600 * i386-tdep.c (i386_gdbarch_init): Update.
1601 * frv-tdep.c (frv_gdbarch_init): Update.
1602 * avr-tdep.c (avr_gdbarch_init): Update.
1603 * arm-tdep.c (arm_gdbarch_init): Update.
1604 * alpha-tdep.c (alpha_gdbarch_init): Update.
1605
42fa7c0f
AC
16062003-03-01 Andrew Cagney <[email protected]>
1607
1608 * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to
1609 option enum and switch. When no windows, set the interpreter to
1610 INTERP_CONSOLE.
1611
49c7e338
AC
16122003-03-01 Andrew Cagney <[email protected]>
1613
1614 * main.c (captured_main): Replace magic option characters with an
1615 enum.
1616
e9582e71
AC
16172003-03-01 Andrew Cagney <[email protected]>
1618
1619 * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename
1620 INIT_EXTRA_FRAME_INFO.
1621 * gdbarch.h, gdbarch.c: Regenerate.
1622 * arm-tdep.c: Update comments.
1623 * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto.
1624 * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto.
1625 * frame.h, avr-tdep.c: Ditto.
1626 * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO.
1627 (create_new_frame, legacy_get_prev_frame): Ditto.
1628 * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
1629 * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
1630 * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize
1631 deprecated_init_extra_frame_info instead of init_extra_frame_info.
1632 * x86-64-tdep.c (x86_64_init_abi): Ditto.
1633 * v850-tdep.c (v850_gdbarch_init): Ditto.
1634 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
1635 * sh-tdep.c (sh_gdbarch_init): Ditto.
1636 * s390-tdep.c (s390_gdbarch_init): Ditto.
1637 * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto.
1638 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1639 * mips-tdep.c (mips_gdbarch_init): Ditto.
1640 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1641 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1642 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
1643 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
1644 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
1645 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1646 * frv-tdep.c (frv_gdbarch_init): Ditto.
1647 * cris-tdep.c (cris_gdbarch_init): Ditto.
1648 * avr-tdep.c (avr_gdbarch_init): Ditto.
1649 * arm-tdep.c (arm_gdbarch_init): Ditto.
1650 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
1651 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
1652
35cac7cf
AC
16532003-03-01 Andrew Cagney <[email protected]>
1654
1655 * gdbarch.sh (register_type): New function with predicate.
1656 (REGISTER_VIRTUAL_TYPE): Change to function with predicate.
1657 * gdbarch.h, gdbarch.c: Re-generate.
1658 * arch-utils.c (generic_register_byte): Use generic_register_size.
1659 (generic_register_size): When available, use
1660 gdbarch_register_type.
1661 * regcache.c (init_regcache_descr): When available, initialize the
1662 register type array using gdbarch_register_type. If the
1663 architecture supplies gdbarch_register_type, do not use the legacy
1664 regcache layout.
1665 * d10v-tdep.c (d10v_register_type): Replace
1666 d10v_register_virtual_type.
1667 (d10v_gdbarch_init): Set register_type instead of
1668 register_virtual_type.
1669
7b83296f
AC
16702003-03-01 Andrew Cagney <[email protected]>
1671
1672 * Makefile.in (ax-gdb.o): Update dependencies.
1673 * ax-gdb.c: Include "regcache.h".
1674 (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE.
1675 * findvar.c (value_of_register): Ditto.
1676 * infcmd.c (default_print_registers_info): Ditto.
1677
eadc1c87
MK
16782003-03-01 Mark Kettenis <[email protected]>
1679
1680 * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of
1681 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
1682
14143612
MK
16832003-03-01 Mark Kettenis <[email protected]>
1684
1685 * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead
1686 of STREQ.
1687
a55cc764
DJ
16882003-02-28 Daniel Jacobowitz <[email protected]>
1689
1690 * Makefile.in (dwarf2loc.o): Update dependencies.
1691 * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG.
1692 * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static.
1693 * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes.
1694 * dwarf2loc.c: Include "ax.h" and "ax-gdb.h".
1695 (locexpr_tracepoint_var_ref): New function.
1696 (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref.
1697
08a617da
AC
16982003-02-28 Andrew Cagney <[email protected]>
1699
1700 * regcache.c (register_size): New function.
1701 * regcache.h (register_size): Declare
1702 * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use
1703 max_register_size instead of MAX_REGISTER_RAW_SIZE.
1704
4224873a
DC
17052003-02-28 David Carlton <[email protected]>
1706
1707 * linespec.c (decode_compound): Extract code into find_method.
1708 (find_method): New.
1709
ccdc5d7f
JB
17102003-02-28 J. Brobecker <[email protected]>
1711
1712 * Makefile.in: Add rules to build and link in observer.o.
1713
974e8ced
JB
17142003-02-27 J. Brobecker <[email protected]>
1715
1716 * observer.c: Minor comments edits.
1717
7a28f973
JB
17182003-02-27 J. Brobecker <[email protected]>
1719
1720 * observer.h, observer.c: New file.
1721
27cddce2
AC
17222003-02-27 Andrew Cagney <[email protected]>
1723
1724 * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd.
1725
b94a41a1
SC
17262003-02-27 Stephane Carrez <[email protected]>
1727
1728 * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines.
1729 (M6812_OP_STS_EXT): Likewise.
1730 (m6811_prologue): Use the above to recognize prologue.
1731 (m6812_prologue): Likewise.
1732
c8be8951
DC
17332003-02-27 David Carlton <[email protected]>
1734
1735 * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not
1736 SYMBOL_PRINT_NAME.
1737 (compare_psymbols): Ditto.
1738 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
1739
d05bb1fc
MS
17402003-02-27 Michael Snyder <[email protected]>
1741
4e845cd3
MS
1742 * f-lang.c (build_fortran_types): New function.
1743 (_initialize_f_language): Gdbarch-register built-in fortran types.
d05bb1fc
MS
1744 * doublest.c (extract_floating): Fix warning text.
1745
f3824013
AC
17462003-02-27 Andrew Cagney <[email protected]>
1747
1748 * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with
1749 predicate. Replaces PUSH_DUMMY_FRAME.
1750 * gdbarch.h, gdbarch.c: Regnerate.
1751 * valops.c (hand_function_call): Update. Call
1752 generic_push_dummy_frame directly.
1753 * vax-tdep.c (vax_gdbarch_init): Update.
1754 * sparc-tdep.c (sparc_gdbarch_init): Update.
1755 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1756 * m68k-tdep.c (m68k_gdbarch_init): Update.
1757 * hppa-tdep.c (hppa_gdbarch_init): Update.
1758 * alpha-tdep.c (alpha_gdbarch_init): Update.
1759 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
1760 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
1761 * inferior.h (PUSH_DUMMY_FRAME): Delete definition.
1762 * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set
1763 push_dummy_frame to generic_push_dummy_frame.
1764 * v850-tdep.c (v850_gdbarch_init): Ditto.
1765 * sh-tdep.c (sh_gdbarch_init): Ditto.
1766 * s390-tdep.c (s390_gdbarch_init): Ditto.
1767 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
1768 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1769 * mips-tdep.c (mips_gdbarch_init): Ditto.
1770 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1771 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1772 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
1773 * i386-tdep.c (i386_gdbarch_init): Ditto.
1774 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1775 * frv-tdep.c (frv_gdbarch_init): Ditto.
1776 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
1777 * cris-tdep.c (cris_gdbarch_init): Ditto.
1778 * avr-tdep.c (avr_gdbarch_init): Ditto.
1779 * arm-tdep.c (arm_gdbarch_init): Ditto.
1780
ad188201
KB
17812003-02-26 Kevin Buettner <[email protected]>
1782
1783 * mips-tdep.c (show_mips_abi): New function.
1784 (_initialize_mips_tdep): Use show_mips_abi() to implement the
1785 command ``show mips abi''.
1786
6b37567a
JJ
17872003-02-26 Jeff Johnston <[email protected]>
1788
1789 From Elena Zannoni <[email protected]>
1790 * dbxread.c (process_one_symbol): Only record line 0 if one or
1791 more sline entries have been seen for the function.
1792
d3e0a5bf
MC
17932003-02-26 Michael Chastain <[email protected]>
1794
1795 * configure: Regenerate with autoconf 000227.
1796
18972eea
MC
17972003-02-26 Michael Chastain <[email protected]>
1798
1799 Close PR build/660.
1800 * PROBLEMS (i[3456]86-*-linux*): Note explicit error message
1801 for old libc5/glibc.
1802 * gdb_thread_db.h: Die if not HAVE_UINTPTR_T.
1803
0bbde931
KW
18042003-02-26 Kris Warkentin <[email protected]>
1805
1806 * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO.
1807 * osabi.c (gdb_osabi_names): Add "QNX Neutrino".
1808
27ca5dad
MC
18092003-02-26 Michael Chastain <[email protected]>
1810
1811 * configure.in: New variable HAVE_UINTPTR_T.
1812 * configure, config.in: Regenerated.
1813
6f88d630
DJ
18142003-02-26 Daniel Jacobowitz <[email protected]>
1815
1816 Fix PR build/1097.
1817 * utils.c (gdb_realpath): Move closing brace outwards one #endif.
1818
b14185ce
AC
18192003-02-25 Andrew Cagney <[email protected]>
1820
1821 * frame.c (get_prev_frame): Add comment on check for
1822 inside_entry_func. Only check for inside_entry_file when not a
1823 dummy and not a sentinel. Check that the new frame is not inner
1824 to the old frame.
1825
ac2bd0a9
AC
18262003-02-25 Andrew Cagney <[email protected]>
1827
1828 * frame.c (frame_debug): New variable.
1829 (_initialize_frame): Add "set/show debug frame" command.
1830 (get_prev_frame): When frame_debug, print reason why unwind
1831 failed.
1832
b18a0fd2
MC
18332003-02-25 Michael Chastain <[email protected]>
1834
1835 * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later
1836 to avoid uintptr_t definition problems.
1837
22abf04a
DC
18382003-02-25 David Carlton <[email protected]>
1839
1840 * symtab.h (SYMBOL_NATURAL_NAME): New macro.
1841 (SYMBOL_LINKAGE_NAME): Ditto.
1842 (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and
1843 SYMBOL_LINKAGE_NAME.
1844 (struct general_symbol_info): Expand comment.
1845 (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME.
1846 (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME.
1847 (SYMBOL_MATCHES_REGEXP): Ditto.
1848 * symtab.c (symbol_natural_name): New function.
1849 * objfiles.h: Replace all uses of SYMBOL_NAME by
1850 DEPRECATED_SYMBOL_NAME.
1851 * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto.
1852 * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto.
1853 * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto.
1854 * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto.
1855 * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto.
1856 * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto.
1857 * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto.
1858 * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto.
1859 * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto.
1860 * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto.
1861 * ada-exp.y: Ditto.
1862 * ada-exp.y: Update copyright.
1863 * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto.
1864 * cp-valprint.c: Ditto.
1865
1a5848f6
JJ
18662003-02-25 Jeff Johnston <[email protected]>
1867
1868 * infptrace.c (detach): Do not flag error if ptrace detach fails
1869 and errno is set to ESRCH.
1870
7343d46a
AC
18712003-02-24 Andrew Cagney <[email protected]>
1872
1873 * infptrace.c (udot_info): Change type of udot_off to long. Use
1874 paddr when printing udot_off's value.
1875
49fa1dc2
DC
18762003-02-24 David Carlton <[email protected]>
1877
1878 * symtab.c (make_symbol_overload_list): Only read in partial
1879 symtabs containing a matching partial symbol.
1880
0fe19209
DC
18812003-02-24 David Carlton <[email protected]>
1882
1883 * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to
1884 do the comparison, not strcmp.
1885 * symfile.c (compare_psymbols): Ditto.
1886 * defs.h: Declare strcmp_iw_ordered.
1887 * utils.c (strcmp_iw_ordered): New function.
1888
8e3ee7b5
JB
18892003-02-24 Jim Blandy <[email protected]>
1890
1891 * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme
1892 support, shared libs): Remove my name from here, to better reflect
1893 reality.
1894
7df1a324
KW
18952003-02-24 Kris Warkentin <[email protected]>
1896
1897 * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define.
1898 (target_ops): Add to_have_continuable_watchpoint.
1899 * target.c (update_current_target): Add INHERIT line for
1900 to_have_continuable_watchpoint.
1901 * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines.
1902 * config/i386/nm-i386.h, config/i386/nm-i386sco5.h,
1903 config/i386/nm-i386sol2.h, config/s390/nm-linux.h,
1904 config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1.
1905
d1c76907
EZ
19062003-02-24 Elena Zannoni <[email protected]>
1907
1908 * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop
1909 maintainership.
1910
2610b0bf
KW
19112003-02-24 Kris Warkentin <[email protected]>
1912
f46169db
KW
1913 * solib.c (solib_open): Call target defined search function after
1914 failing with solib-search-path.
1915 * solist.h (target_so_ops): Add find_and_open_solib function hook and
1916 create define TARGET_SO_FIND_AND_OPEN_SOLIB.
2610b0bf 1917
9a3c34fe
KW
19182003-02-24 Kris Warkentin <[email protected]>
1919
f46169db 1920 * MAINTAINERS: Add myself to Write After section.
9a3c34fe 1921
2417dd25
SC
19222003-02-23 Stephane Carrez <[email protected]>
1923
1924 * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide.
1925
b631436b
SC
19262003-02-22 Stephane Carrez <[email protected]>
1927
1928 * m68hc11-tdep.c (m68hc11_init_reggroups): New function.
1929 (m68hc11_add_reggroups): New function.
1930 (m68hc11_register_reggroup_p): New to register hard/soft reggroups.
1931 (m68hc11_gdbarch_init): Install the reggroups.
1932 (_initialize_m68hc11_tdep): Initialize them.
1933
0aa8c1e4
JW
19342003-02-21 James E Wilson <[email protected]>
1935
1936 * MAINTAINERS: Update my email address.
1937
50ceaba5
DC
19382003-02-21 David Carlton <[email protected]>
1939
1940 * arm-tdep.c (arm_gdbarch_init): Add break after default label.
1941
4c2df51b
DJ
19422003-02-21 Daniel Jacobowitz <[email protected]>
1943
1944 Based on a patch from Daniel Berlin ([email protected]).
1945 * symtab.h: Add opaque declarations of struct axs_value and
1946 struct agent_expr.
1947 (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG.
1948 (struct location_funcs): New type.
1949 (struct symbol): Add "loc" to aux_value.
1950 (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros.
1951 * dwarf2read.c: Include "dwarf2expr.h".
1952 (dwarf2_symbol_mark_computed): New function.
1953 (read_func_scope): Use it.
1954 (var_decode_location): New function.
1955 (new_symbol): Use it.
1956 * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files.
1957
1958 * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c.
1959 (dwarf2expr_h, dwarf2loc_h): New variables.
1960 (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o.
1961 (dwarf2expr.o, dwarf2loc.o): New rules.
1962 (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h).
1963 * buildsym.c (finish_block): Handle LOC_COMPUTED and
1964 LOC_COMPUTED_ARG.
1965 * findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
1966 * m2-exp.y (yylex): Likewise.
1967 * printcmd.c (address_info, print_frame_args): Likewise.
1968 * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise.
1969 * symmisc.c (print_symbol, print_partial_symbols): Likewise.
1970 * ada-lang.c (ada_resolve_subexp, symtab_for_sym)
1971 (ada_add_block_symbols, fill_in_ada_prototype): Likewise.
1972 * symtab.c (lookup_block_symbol): Likewise.
1973
5784d15e
AF
19742003-02-20 Adam Fedor <[email protected]>
1975
1976 * symtab.h: Remove objc_specific struct
1977 (SYMBOL_OBJC_DEMANGLED_NAME): Remove.
1978 * symtab.c (symbol_init_language_specific, symbol_demangled_name):
1979 Have language_objc use cplus_specific struct.
1980
d4cad8db
TT
19812003-02-20 Tom Tromey <[email protected]>
1982
1983 * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not
1984 TYPE_NAME, when printing a String value. PR java/1075.
1985
2f9a90b4
AF
19862003-02-20 Adam Fedor <[email protected]>
1987
d38074a8 1988 * objc-lang.h (find_methods): Remove declaration.
2f9a90b4
AF
1989 * objc-lang.c (find_methods): Make static.
1990
6f17862b
CF
19912003-02-20 Christopher Faylor <[email protected]>
1992
1993 * win32-nat.c (get_image_name): Check return value from
1994 ReadProcessMemory.
1995 (child_xfer_memory): Ditto.
1996
715d1656
AO
19972003-02-20 Alexandre Oliva <[email protected]>
1998
1999 * configure.in (TARGET_SYSTEM_ROOT): Set default to
2000 ${exec_prefix}/${target_alias}/sys-root. Match explicit
2001 '${exec_prefix}' (in addition to the expansion thereof) as
2002 relocatable.
2003 * configure: Rebuilt.
2004
b1262a02
DC
20052003-02-20 David Carlton <[email protected]>
2006
2007 * symtab.c (search_symbols): Revert the search_symbols part of my
2008 2002-12-23 patch. Add comment.
2009
7134143f
DJ
20102002-02-20 Daniel Jacobowitz <[email protected]>
2011
2012 * coffread.c (coff_symfile_read): Clean up minimal symbols earlier.
2013 * dbxread.c (elfstab_build_psymtabs): Don't call
2014 install_minimal_symbols.
2015 (stabsect_build_psymtabs): Likewise.
2016 * elfread.c (elf_symfile_read): Call install_minimal_symbols
2017 earlier.
2018 * somread.c (som_symfile_read): Call install_minimal_symbols
2019 and do_cleanups earlier.
2020 * nlmread.c (nlm_symfile_read): Likewise.
2021 * mdebugread.c (elfmdebug_build_psymtabs): Call
2022 install_minimal_symbols and make appropriate cleanups.
2023
cf466558
KB
20242003-02-20 Kevin Buettner <[email protected]>
2025
2026 * solib.c (reload_shared_libraries): New function.
2027 (_initialize_solib): Add callbacks for ``set solib-search-path''
2028 and ``set solib-absolute-prefix''.
2029
de5ad195
DC
20302003-02-20 David Carlton <[email protected]>
2031
2032 * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME;
2033 expand comment.
2034 * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace
2035 SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME.
2036 * ada-typeprint.c (ada_typedef_print): Ditto.
2037 * ax-gdb.c (gen_var_ref): Ditto.
2038 * breakpoint.c (print_one_breakpoint): Ditto.
2039 * buildsym.c (finish_block): Ditto.
2040 * c-valprint.c (c_val_print): Ditto.
2041 * expprint.c (print_subexp): Ditto.
2042 * findvar.c (locate_var_value): Ditto.
2043 * infcmd.c (jump_command): Ditto.
2044 * linespec.c (decode_line_2, decode_compound): Ditto.
2045 * maint.c (maintenance_translate_address): Ditto.
2046 * objc-lang.c (compare_selectors, compare_classes): Ditto.
2047 * printcmd.c (build_address_symbolic, sym_info, print_frame_args):
2048 Ditto.
2049 * p-valprint.c (pascal_val_print): Ditto.
2050 * stabsread.c (define_symbol): Ditto.
2051 * stack.c (print_frame, frame_info, print_block_frame_locals)
2052 (print_frame_arg_vars, return_command): Ditto.
2053 * symfile.c (compare_symbols, compare_psymbols): Ditto.
2054 * symmisc.c (print_symbol): Ditto.
2055 * symtab.c (lookup_partial_symbol, lookup_block_symbol)
2056 (compare_search_syms, print_symbol_info, print_msymbol_info)
2057 (rbreak_command): Ditto.
2058 * tracepoint.c (tracepoints_info): Ditto.
2059 * typeprint.c (typedef_print): Ditto.
2060 * valops.c (value_of_variable, hand_function_call): Ditto.
2061 * cli/cli-cmds.c (edit_command, list_command): Ditto.
2062 * ada-typeprint.c: Update Copyright.
2063 * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto.
2064 * tracepoint.c, cli/cli-cmds.c: Ditto.
2065
f796e4be
KB
20662003-02-20 Kevin Buettner <[email protected]>
2067
2068 * frame.c (generic_unwind_get_saved_register): Make non-static.
2069 * frame.h (generic_unwind_get_saved_register): Declare.
2070 * mips-tdep.c (read_next_frame_reg): Fetch register from
2071 current regcache when frame is NULL.
2072 (mips_init_extra_frame_info): Pass NULL explicitly for parameter
2073 that must be NULL.
2074 (mips_get_saved_register): Call generic_unwind_get_saved_register()
2075 instead of frame_register_unwind().
2076
836cc9f4
AC
20772003-02-20 Andrew Cagney <[email protected]>
2078
2079 * remote-sim.c (gdbsim_insert_breakpoint)
2080 (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS
2081 code.
2082
501eef12
AC
20832003-02-20 Andrew Cagney <[email protected]>
2084
2085 * remote.c (_initialize_remote): Add commands "set/show remote
2086 hardware-watchpoint-limit" and "set/show remote
2087 hardware-breakpoint-limit".
2088 (remote_hw_watchpoint_limit): Initialize to -1.
2089 (remote_hw_breakpoint_limit): Ditto.
2090 (remote_check_watch_resources): Treat a limit of -1 as unlimited.
2091
1b6bc7e0
CF
20922003-02-19 Raoul Gough <[email protected]>
2093
2094 * coff-pe-read.c: New file - support reading of minimal symbols from a
2095 portable executable using the export table.
2096 * coff-pe-read.h: New file.
2097 * coffread.c: Include coff-pe-read.h.
2098 (coff_symtab_read): Call read_pe_exported_syms iff no recognized
2099 debugging symbols found.
2100 * Makefile.in (SFILES): Add coff-pe-read.o.
2101 (coff_pe_read_h): Define.
2102 (COMMON_OBS): Add coff-pe-read.o.
2103 (coffread.o): Add coff_pe_read_h dependency.
2104 (coff-pe-read.o): New target.
2105
fe898f56
DC
21062003-02-19 David Carlton <[email protected]>
2107
2108 * Makefile.in (SFILES): Add block.c.
2109 (block_h): New.
2110 (COMMON_OBS): Add block.o.
2111 (block.o): New.
2112 (x86-64-tdep.o): Add $(block_h).
2113 (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o)
2114 (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o)
2115 (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o)
2116 (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o)
2117 (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o)
2118 (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o)
2119 (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto.
2120 * value.h: Add opaque declaration for struct block.
2121 * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto.
2122 * ada-lang.h: Ditto.
2123 * x86-64-tdep.c: #include "block.h"
2124 * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto.
2125 * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto.
2126 * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto.
2127 * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto.
2128 * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto.
2129 * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto.
2130 * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto.
2131 * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto.
2132 * blockframe.c (blockvector_for_pc_sect): Move to "block.c".
2133 (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto.
2134 * symtab.c (block_function): Ditto.
2135 (contained_in): Ditto.
2136 * frame.h: Move block_for_pc and block_for_pc_sect declarations to
2137 block.h. Add opaque declaration for struct block.
2138 * symtab.h: Move block_function and contained_in declarations to
2139 block.h. Add opaque declarations for struct block, struct
2140 blockvector.
2141 (struct block): Move to block.h.
2142 (struct blockvector): Ditto.
2143 (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK)
2144 (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM)
2145 (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE)
2146 (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS)
2147 (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):
2148 Ditto.
2149 * block.c: New file.
2150 * block.h: New file.
2151
173345b5
TR
21522003-02-19 Theodore A. Roth <[email protected]>
2153
2154 * avr-tdep.c (avr_extract_return_value): Remove function.
2155 (avr_store_return_value): Remove function.
2156 (avr_extract_struct_value_address): Remove function.
2157 (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls.
2158
338ef23d
AC
21592003-02-19 Andrew Cagney <[email protected]>
2160
2161 * rs6000-tdep.c: Include "gdb_assert.h".
2162 (registers_e500): Add "acc" and "spefscr".
2163 (PPC_GPRS_PSEUDO_REGS): Remove trailing comma.
2164 (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum,
2165 ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum
2166 really is "r0".
2167 (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson).
2168
5412f5f3
KS
21692003-02-18 Keith Seitz <[email protected]>
2170
2171 * Makefile.in: Add gdbtk-interps.c.
2172
881324eb
KB
21732003-02-18 Kevin Buettner <[email protected]>
2174
2175 * sparc-tdep.c (sparc_frame_chain): Adjust return value.
2176 * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare.
2177
6a2f5abf
AC
21782003-02-18 Andrew Cagney <[email protected]>
2179
2180 * symtab.h (struct objfile): Add opaque declaration.
2181
54c7009d
EZ
21822003-02-18 Elena Zannoni <[email protected]>
2183
2184 From Jim Ingham <[email protected]>:
2185 * dbxread.c (process_one_symbol): Use last_function_start rather
2186 than function_start_offset to find the real beginning of the
2187 current function. The latter is just the text section offset on
2188 some systems, the former is always the real function start.
2189
7ee6d7eb
AC
21902003-02-17 Andrew Cagney <[email protected]>
2191
2192 * configure.in: Revert ${target} != ${host}.
2193
2846da9b
AC
21942003-02-17 Andrew Cagney <[email protected]>
2195
2196 * configure.in (Makefile): Use the test ${target} != ${host},
2197 instead of the absence of the "nm.h" file, to determine of the
2198 configuration non-native.
2199 * configure: Regenerate.
2200
3b27aeea
EZ
22012003-02-14 Elena Zannoni <[email protected]>
2202
2203 From Brian Ford <[email protected]>
2204
2205 * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly
2206 conditionalize tui_active test.
2207 (lookup_cmd_1): Ditto.
2208
b0b1c2c0
MK
22092003-02-14 Mark Kettenis <[email protected]>
2210
2211 * configure.in: Add check for _etext.
2212 * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't
2213 available.
2214 * config.in, configure: regenerated.
2215
8f05cde5
DJ
22162003-02-14 Daniel Jacobowitz <[email protected]>
2217
2218 * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base.
2219
021e7609
AC
22202003-02-14 Andrew Cagney <[email protected]>
2221
2222 * main.c (tui_version): Delete variable.
2223 (captured_main): When --tui, set interpreter_p to "tui" instead of
2224 enabling tui_version.
2225 * printcmd.c (display_command) [TUI]: Test tui_active instead of
2226 tui_version.
2227 * cli/cli-decode.c (lookup_cmd_composition): Ditto.
2228 * cli/cli-cmds.c (disassemble_command): Ditto.
2229 * defs.h (tui_version): Delete declaration.
2230 * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c".
2231 (tui-interp.o): Add rules.
2232 (SUBDIR_TUI_OBS): Add "tui-interp.o".
2233
e325dcec
CF
22342003-02-14 Christopher Faylor <[email protected]>
2235
36ffb041 2236 * win32-nat.c (register_loaded_dll): Correctly set address range for
e325dcec
CF
2237 just-loaded dll.
2238
c4f90d87
JM
22392003-02-12 Jason Molenda ([email protected])
2240
2241 * symmisc.c (print_objfile_statistics): Include information about
2242 the number of psymtabs and symtabs in each object file.
2243
e46e5ccd
KS
22442003-02-13 Keith R Seitz <[email protected]>
2245
2246 * main.h (struct captured_main_args): Add interpreter_p.
2247 * main.c (captured_main): Initialize interpreter_p from context.
2248 * gdb.c (main): Set interpreter_p argument.
2249 * Makefile.in (gdb.o): Add dependency for interps.h.
2250
fe97fe9c
AC
22512003-02-12 Andrew Cagney <[email protected]>
2252
2253 * event-top.c (cli_command_loop): Delete declaration.
2254 (_initialize_event_loop): Delete function setting event_loop_hook.
2255 * event-top.h (cli_command_loop): Declare. Update copyright.
2256 (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H.
2257 * interps.c (current_interp_command_loop): When event_loop_p, call
2258 cli_command_loop.
2259
1cdac4ef
AC
22602003-02-12 Andrew Cagney <[email protected]>
2261
2262 * interps.h (interp_command_loop_ftype): Change return type to
2263 void.
2264
48037ead
ML
22652003-02-12 Michal Ludvig <[email protected]>
2266
2267 * x86-64-tdep.c (x86_64_extract_return_value)
2268 (x86_64_store_return_value): Use regcache instead of regbuf.
2269 (x86_64_gdbarch_init): Change related set_gdbarch_* functions.
2270 * x86-64-linux-nat.c (fill_gregset): Use regcache.
2271
033afc63
AC
22722003-02-11 Andrew Cagney <[email protected]>
2273
2274 * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS.
2275 * aclocal.m4: Regenerate.
2276 * configure: Regenerate.
2277
2278 * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of
2279 TCL_LD_SEARCH_FLAGS.
2280
40d02bca
ML
22812003-02-10 Michal Ludvig <[email protected]>
2282
2283 * dwarf2cfi.c: Reindented.
2284
11308a41
AC
22852003-02-09 Andrew Cagney <[email protected]>
2286
2287 * interps.c (clear_interpreter_hooks): Convert function definition
2288 to ISO C.
2289
e1c1c0f6
DC
22902003-02-07 David Carlton <[email protected]>
2291
2292 * gdb_mbuild.sh: Delete extra shift after parsing '-f'.
2293
ab5d3da6
KB
22942003-02-07 Kevin Buettner <[email protected]>
2295
2296 * gdbtypes.h (struct main_type): Move ``length'' field from here...
2297 (struct type): ...to here.
2298 (TYPE_LENGTH): Adjust to reflect different location of ``length''
2299 field.
2300 * gdbtypes.c (make_qualified_type): Set length on newly created type.
2301 (replace_type): Set length on all type variants for a given type.
2302
b8a92b82
AC
23032003-02-07 Andrew Cagney <[email protected]>
2304
2305 * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of
2306 <sys/stat.h>.
2307 * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies.
2308
5cb316ef
AC
23092003-02-06 Andrew Cagney <[email protected]>
2310
2555fe1a
AC
2311 * Makefile.in (symm-nat.o): Update dependencies.
2312 (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto.
2313 (lynx-nat.o, ia64-linux-nat.): Ditto.
2314 * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include
2315 "gdb_wait.h" instead of <wait.h> or <sys/wait.h>.
2316 * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto.
2317
44270758
AC
2318 * Makefile.in (inflow_h): Define.
2319 (procfs.o, inflow.o, procfs.o): Update dependencies.
2320 * inftarg.c (child_stop): Delete extern declaration of
2321 inferior_process_group. Include "inflow.h".
2322 * procfs.c (procfs_stop): Ditto. Include "inflow.h".
2323 * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ...
2324 * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file.
2325 (our_process_group, inferior_process_group): Extern declarations.
2326
df8f7274
AC
2327 * procfs.c: Include "gdb_assert.h".
2328
5cb316ef
AC
2329 * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>.
2330 * cp-valprint.c (cp_print_value_fields): Eliminate STREQN.
2331 * jv-typeprint.c (java_type_print_base): Ditto.
2332 * typeprint.c (typedef_print): Eliminate STREQ.
2333 * cli/cli-script.c (define_command, define_command): Ditto.
2334 * main.c (captured_main): Ditto.
2335 * values.c (lookup_internalvar): Ditto.
2336 * utils.c (safe_strerror, parse_escape): Eliminate assignment
2337 within `if' conditional.
2338 * linespec.c (decode_line_2): Ditto.
2339 * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto.
2340 (bfd_openw_with_cleanup): Ditto.
2341
2a28ccea
MK
23422003-02-07 Mark Kettenis <[email protected]>
2343
2344 * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to
2345 legacy_extract_return_value and store_return_value to
2346 legacy_return_value.
2347
786b8124
CF
23482003-02-06 Raoul Gough <[email protected]>
2349
2350 * win32-nat.c (get_relocated_section_addrs): New function. Find
2351 section load addresses for symbol handling in relocated DLLs.
2352 (solib_symbols_add): Open a bfd and call get_relocated_section_addrs.
2353
b871e4ec
FF
23542003-02-05 Fred Fish <[email protected]>
2355
2356 * remote-e7000.c (e7000_drain_command): Fix precedence problem with
2357 '=' and '!='.
2358 * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem
2359 with '&' and '=='.
2360 (angel_RDI_info): Ditto.
2361 * infttrace.c (threads_continue_all_but_one): Fix precedence problem
2362 with '&' and '!='.
2363 (threads_continue_all_with_signals): Ditto.
2364
4389a95a
AC
23652003-02-05 Jim Ingham <[email protected]>
2366 Keith Seitz <[email protected]>
2367 Elena Zannoni <[email protected]>
2368 Andrew Cagney <[email protected]>
2369
2370 * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
2371 (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
2372 (SUBDIR_MI_OBS): Add "mi-interp.o".
2373 (SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
2374 (SFILES): Add "interps.c".
2375 (COMMON_OBS): Add "interps.o".
2376 (interps_h, mi_main_h): Define.
2377 (interps.o, cli-interp.o, mi-interp.o): Add dependencies.
2378 (mi-main.o, main.o, event-top.o): Update dependencies.
2379 * cli/cli-interp.c: New file.
2380 * interps.h, interps.c: New files.
2381 * top.c: (gdb_init): Don't install the default interpreter, handed
2382 by captured_main.
2383 * main.c: Include "interps.h".
2384 (interpreter_p): Note that it should malloc'ed.
2385 (captured_command_loop): Call current_interp_command_loop.
2386 (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
2387 xfree and xstrdup when updating interpreter_p. Install the
2388 default interpreter. Add hack to stop mi1's copyright notice
2389 being encoded.
2390 * event-top.h (gdb_setup_readline): Declare.
2391 (gdb_disable_readline): Declare.
2392 * event-top.c: Include "interps.h".
2393 (display_gdb_prompt): Call current_interp_display_prompt_p.
2394 (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
2395 gdb_stdlog, and gdb_stdtarg.
2396 (_initialize_event_loop): Don't call gdb_setup_readline.
2397 * cli-out.c (cli_out_set_stream): New function.
2398 * cli-out.h (cli_out_set_stream): Declare.
2399
ff3b5810
MK
24002003-02-06 Mark Kettenis <[email protected]>
2401
2402 * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*,
2403 i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all
2404 handled fine by i[3456]86-*sco* and i[3456]86-sysv*.
2405 * config/i386/i386sco5.mt, config/i386/i386v4.mt,
2406 config/i386/i386v42mp.mt: Removed.
2407
5b729aa5
MK
24082003-02-05 Mark Kettenis <[email protected]>
2409
2410 * configure.tgt (*-*-solaris*): Set gdb_osabi to
2411 GDB_OSABI_SOLARIS.
2412
8cc15142
MC
24132003-02-05 Michael Chastain <[email protected]>
2414
2415 * PROBLEMS (i[3456]86-*-linux*): Warn about binutils
2416 2.12.1 and earlier versions.
2417
5aa5d4b9
AC
24182003-02-05 Andrew Cagney <[email protected]>
2419
2420 Remove orphaned hosts, targets and files.
2421 * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete.
2422 * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete.
2423 * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete.
2424 * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete.
2425 * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete.
2426 * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete.
2427 * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete.
2428 * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete.
2429 * config/sparc/tm-sp64sim.h: Delete.
2430 * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-*
2431 hosts.
2432 * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and
2433 mips*-dec-mach3* targets.
2434
b68767c1
MC
24352003-02-04 Michael Chastain <[email protected]>
2436
2437 * NEWS: Fix typo: sepcifying -> specifying.
2438
5ae7ca1d
MC
24392003-02-04 Michael Chastain <[email protected]>
2440
2441 * dwarfread.c: Add documentation on the state of dwarf-1,
2442 looking towards obsoletion.
2443
d08a4280
MC
24442003-02-03 Michael Chastain <[email protected]>
2445
2446 * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc,
2447 gdb/testsuite/gdb.c++/pr-1023.exp.
2448
e9be73e4
AC
24492003-02-04 Andrew Cagney <[email protected]>
2450
2451 * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR.
2452 * TODO: Delete reference to IS_TRAPPED_INTERNALVAR.
2453
2454 * utils.c (init_page_info): Delete reference to MPW in comments.
2455 * main.c (captured_main): Delete #ifdef MPW.
2456
05d57f6f
AC
24572003-02-04 Andrew Cagney <[email protected]>
2458
2459 * NEWS: Note that the m32r-*-elf* is obsolete.
2460 * monitor.c (monitor_expect): Obsolete reference to m32r.
2461 * configure.tgt: Mark m32r-*-elf* as obsolete.
2462 * MAINTAINERS: Mark m32k as obsolete.
2463 * m32r-rom.c: Obsolete file.
2464 * config/m32r/m32r.mt: Obsolete file.
2465 * config/m32r/tm-m32r.h: Obsolete file.
2466 * m32r-stub.c: Obsolete file.
2467 * m32r-tdep.c: Obsolete file.
2468
8b0e5691
AC
24692003-02-04 Andrew Cagney <[email protected]>
2470
2471 * NEWS: Mention that the z8k-zilog-none is obsolete.
2472 * MAINTAINERS: Mark z8k as obsolete.
2473 * configure.tgt: Obsolete the z8k-*-coff* target.
2474 * config/z8k/z8k.mt: Obsolete file.
2475 * config/z8k/tm-z8k.h: Obsolete file.
2476 * z8k-tdep.c: Obsolete file.
2477
67f16606
AC
24782003-02-04 Andrew Cagney <[email protected]>
2479
2480 * NEWS: Mention that the mn10200-elf is obsolete.
2481 * configure.tgt: Obsolete mn10200-*-* target.
2482 * breakpoint.c (update_breakpoints_after_exec): Update comment to
2483 mention that the mn10200 is obsolete.
2484 * breakpoint.h: Ditto.
2485 * MAINTAINERS: Mark the mn10200-elf as obsolete.
2486 * config/mn10200/mn10200.mt: Obsolete file.
2487 * config/mn10200/tm-mn10200.h: Obsolete file.
2488 * mn10200-tdep.c: Obsolete file.
2489
fd2299bd
AC
24902003-02-04 Andrew Cagney <[email protected]>
2491
2492 * MAINTAINERS: Mark h8500 as obsolete.
2493 * configure.tgt (h8500-*-*): Mark h8500 code as obsolete.
2494 * findvar.c (value_from_register): Ditto.
2495 * h8500-tdep.c: Mark file as obsolete.
2496 * config/h8500/h8500.mt: Ditto.
2497 * config/h8500/tm-h8500.h: Ditto.
2498 * NEWS: Mention that h8500 is obsolete.
2499
eb9a305d
DC
25002003-02-04 David Carlton <[email protected]>
2501
2502 * objfiles.c (allocate_objfile): Always set name. Add comment at
2503 start of function.
2504 * jv-lang.c (get_dynamics_objfile): Add comment.
2505
406fc7fb
DC
25062003-02-04 David Carlton <[email protected]>
2507
2508 * symtab.h (SYMBOL_LINKAGE_NAME): Delete.
2509 * printcmd.c (build_address_symbolic): Replace uses of
2510 SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME,
2511 SYMBOL_NAME, and asm_demangle.
2512 Update copyright.
2513
93d91629
DC
25142003-02-04 David Carlton <[email protected]>
2515
2516 * linespec.c (decode_compound): Extract code into
2517 lookup_prefix_sym.
2518 (lookup_prefix_sym): New function.
2519
1c5cb38e
DC
25202003-02-04 David Carlton <[email protected]>
2521
2522 * gdbtypes.h: Delete INTEGER_COERCION_BADNESS,
2523 FLOAT_COERCION_BADNESS.
2524 * gdbtypes.c (rank_one_type): Replace all uses of
2525 INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS.
2526
0cf824c9
JB
25272003-02-04 Jim Blandy <[email protected]>
2528
2529 * dwarf2read.c (dwarf2_locate_sections): When we find a macro info
2530 section, let dwarf_macinfo_section point to it, not
2531 dwarf_loc_section.
2532
a2d356b0
DJ
25332003-02-04 Daniel Jacobowitz <[email protected]>
2534
2535 Pointed out by Anton Blanchard <[email protected]>.
2536 * ppc-linux-tdep.c (insn_is_sigreturn): New function.
2537 (ppc_linux_at_sigtramp_return_path): Use it.
2538
2de7ced7
DJ
25392003-02-04 Daniel Jacobowitz <[email protected]>
2540
2541 * defs.h (streq): Add prototype.
2542 * utils.c (streq): New function.
2543
2544 * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of
2545 SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME.
2546 * mdebugread.c (new_symbol): Likewise.
2547 * stabsread.c (define_symbol): Likewise.
2548 * coffread.c (process_coff_symbol): Likewise.
2549 * dwarfread.c (new_symbol): Likewise.
2550
2551 * minsyms.c (prim_record_minimal_symbol_and_info): Use
2552 SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language
2553 here.
2554 (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call
2555 SYMBOL_INIT_DEMANGLED_NAME.
2556 * objfiles.c: Include "hashtab.h".
2557 (allocate_objfile): Call htab_set_functions_ex for the
2558 demangled_names_hash.
2559 (free_objfile): Call htab_delete for the demangled_names_hash.
2560 * objfiles.h (struct htab): Add declaration.
2561 (struct objfile): Add demangled_names_hash.
2562 * symfile.c: Include "hashtab.h".
2563 (reread_symbols): Call htab_delete for the demangled_names_hash.
2564 (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting
2565 SYMBOL_NAME in the bcache.
2566 * symtab.c: Include "hashtab.h". Update comments.
2567 (create_demangled_names_hash, symbol_set_names): New functions.
2568 (symbol_find_demangled_name): New function, broken out from
2569 symbol_init_demangled_names.
2570 (symbol_init_demangled_names): Use it.
2571 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses.
2572 (SYMBOL_SET_NAMES): New macro.
2573 (symbol_set_names): Add prototype.
2574
15831452
JB
25752003-02-03 Jim Blandy <[email protected]>
2576
2577 Use a single, consistent representation for an empty minimal
2578 symbol table in an objfile.
2579 * objfiles.c (terminate_minimal_symbol_table): New function.
2580 (allocate_objfile): Call it.
2581 * objfiles.h (terminate_minimal_symbol_table): New declaration.
2582 (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is
2583 non-NULL.
2584 * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether
2585 objfile has minimal symbols, compare minimal_symbol_count to zero,
2586 instead of comparing msymbols with NULL.
2587 * objfiles.c (have_minimal_symbols): Same.
2588 * solib-sunos.c (solib_add_common_symbols): Call
2589 terminate_minimal_symbol_table.
2590 * symfile.c (reread_symbols): Same.
2591
ffc65945
KB
25922003-02-03 Kevin Buettner <[email protected]>
2593
2594 * s390-tdep.c (s390_address_class_type_flags)
2595 (s390_address_class_type_flags_to_name)
2596 (s390_address_class_name_to_type_flags): New functions.
2597 (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME,
2598 ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS.
2599
f211c6d4
MS
26002003-02-03 Michael Snyder <[email protected]>
2601
2602 * arm-tdep.c: Fix spell-o in comment.
2603
659b0389
ML
26042003-02-03 Michal Ludvig <[email protected]>
2605
2606 * dwarf2cfi.c (pointer_encoding): Added new parameter.
2607 * dwarf2cfi.c, dwarf2read.c: Changed all warnings and
2608 error messages to contain BFD filename.
2609
3b31d625
EZ
26102003-02-02 Elena Zannoni <[email protected]>
2611
997b089a 2612 Fix PR gdb/742 gdb/743 gdb/877
3b31d625
EZ
2613 * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end.
2614 (do_mixed_source_and_assembly): Use
2615 make_cleanup_ui_out_tuple_begin_end and
2616 make_cleanup_ui_out_tuple_begin_end.
2617 (do_mixed_source_and_assembly): Ditto.
2618 * thread.c (do_captured_list_thread_ids): Ditto.
2619 * ui-out.h (ui_out_table_begin, ui_out_list_begin,
2620 ui_out_tuple_begin, ui_out_table_end, ui_out_list_end,
2621 ui_out_tuple_end): Delete prototypes.
2622 * ui-out.c (ui_out_list_begin, ui_out_tuple_begin,
2623 ui_out_list_end, ui_out_tuple_end): Delete.
2624
2625 From Kevin Buettner <[email protected]>:
2626 * ui-out.h (make_cleanup_ui_out_table_begin_end): New function.
2627 * ui-out.c (make_cleanup_ui_out_table_begin_end)
2628 (do_cleanup_table_end): New functions.
2629 * breakpoint.c (print_it_typical, print_one_breakpoint, mention):
2630 Use cleanups to invoke_ui_out_tuple_end().
2631 (breakpoint_1): Use cleanup to invoke ui_out_table_end().
2632 * cli/cli-setshow.c (cmd_show_list): Use
2633 make_cleanup_ui_out_tuple_begin_end.
2634
5b181d62
AC
26352003-02-02 Andrew Cagney <[email protected]>
2636
2637 * frame.c (frame_unwind_register): New function.
2638 (frame_unwind_unsigned_register): Use.
2639 (frame_unwind_signed_register): Use.
2640 (frame_read_register): New function.
2641 * frame.h (frame_unwind_register): Declare.
2642 (frame_read_register): Declare.
2643
2644 * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write
2645 and frame_unwind_register instead of read_memory, write_register
2646 and deprecated_write_register_bytes.
2647
5f601589
AC
26482003-02-02 Andrew Cagney <[email protected]>
2649
2650 * frame.h: Note that namelen can be negative.
2651 * frame.c (frame_map_name_to_regnum): When LEN is negative, use
2652 NAME's length.
2653
2654 * NEWS: Mention that the d10v's `regs' command is deprecated.
2655 * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info.
2656 (d10v_print_registers_info): New function.
2657 (show_regs): Call d10v_print_registers_info.
2658 (_initialize_d10v_tdep): Mark "show regs" command as deprecated.
2659
6a3fe0a4
MK
26602003-02-02 Mark Kettenis <[email protected]>
2661
2662 * stack.c (print_frame_info): Restore call to annotate_frame_begin
2663 lost in the previous patch.
2664
075559bc
AC
26652003-02-01 Andrew Cagney <[email protected]>
2666
2667 From 2002-11-09 Jason Molenda ([email protected])
2668 * stack.c (print_frame_info_base): Output complete FRAME tuple
2669 for synthesized frames.
2670
6789195b
AC
26712003-02-02 Andrew Cagney <[email protected]>
2672
2673 * mips-nat.c (zerobuf): Delete.
2674 (fetch_inferior_registers): Alloc local zerobuf.
2675 (fetch_core_registers): Alloc local zerobuf.
2676 * d10v-tdep.c (show_regs): Don't allocate a dynamic array using
2677 MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE.
2678 * thread-db.c (thread_db_store_registers): Ditto.
2679 * sh-tdep.c (sh_do_register): Ditto.
2680 * rom68k-rom.c (rom68k_supply_one_register): Ditto.
2681 * remote-sim.c (gdbsim_store_register): Ditto.
2682 * remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
2683 * remote-e7000.c (fetch_regs_from_dump): Ditto.
2684 * monitor.c (monitor_supply_register): Ditto.
2685 * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto.
2686 * mips-nat.c (fetch_inferior_registers): Ditto.
2687 * m68klinux-nat.c (fetch_register): Ditto.
2688 * lynx-nat.c (fetch_inferior_registers): Ditto.
2689 (fetch_inferior_registers): Ditto.
2690 * irix4-nat.c (supply_gregset, supply_fpregset): Ditto.
2691 * hpux-thread.c (hpux_thread_fetch_registers): Ditto.
2692 (hpux_thread_store_registers): Ditto.
2693 * hppah-nat.c (fetch_register): Ditto.
2694 * hppab-nat.c (fetch_register): Ditto.
2695 * hppa-tdep.c (pa_register_look_aside): Ditto.
2696 (pa_print_fp_reg, pa_strcat_fp_reg): Ditto.
2697 * dve3900-rom.c (fetch_bitmapped_register): Ditto.
2698
e669114a
AC
26992003-02-01 Andrew Cagney <[email protected]>
2700
2701 * gdbarch.sh: Explictly specify all method levels. When a
2702 variable with an empty level, provide a non-multi-arch default.
2703 (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty.
2704 * gdbarch.h: Re-generate.
2705 * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined.
2706 * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1
2707
9a043c1d
AC
27082003-02-01 Andrew Cagney <[email protected]>
2709
2710 * defs.h (host_pointer_to_address): Delete declaration.
2711 (address_to_host_pointer): Delete declaration.
2712 * utils.c (host_pointer_to_address): Delete function.
2713 (address_to_host_pointer): Delete function.
2714 * procfs.c (procfs_address_to_host_pointer): New function.
2715 * procfs.c (proc_set_watchpoint): Use.
2716 (procfs_can_use_hw_breakpoint): Update comments.
2717 * somsolib.c (hpux_address_to_host_pointer_hack): New function.
2718 (som_solib_add): Use.
2719 * hppa-tdep.c (hppa_pointer_to_address_hack): New function.
2720 * hppa-tdep.c (unwind_command): Use.
2721
7ca9f392
AC
27222003-02-01 Andrew Cagney <[email protected]>
2723
94bbfd30
AC
2724 * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and
2725 strlen d_name.
2726
7ca9f392
AC
2727 * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS,
2728 ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code.
2729 (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code.
2730 * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro.
2731 (define_symbol): Update.
2732 * symfile.c (generic_load): Remove references to nindy.
2733 * symtab.c: Remove references to nindy.
2734
31a85ea2
AC
27352003-02-01 Andrew Cagney <[email protected]>
2736
2737 * infcmd.c (print_float_info): Delete code conditional on
2738 FLOAT_INFO.
2739 * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright.
2740 * config/m68k/nm-apollo68b.h: Ditto.
2741 * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright.
2742 * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto.
2743 * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto.
2744
f6e85fc8
MK
27452003-02-01 Mark Kettenis <[email protected]>
2746
6015b6a0
MK
2747 * config/i386/tm-i386os9k.h: Removed.
2748
f7a30bdf
MK
2749 * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v.
2750 Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since
2751 they're identical to i[3456]86-*-sysv* now.
2752 * config/i386/i386v32.mh: Removed.
2753 * config/i386/xm-i386v32.h: Removed.
2754 * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro.
2755
28d52111
MK
2756 * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed.
2757
4d3f6bce
MK
2758 * config/i386/i386dgux.mh: Removed.
2759 * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4.
2760
f6e85fc8
MK
2761 * configure.in: Fix typo.
2762 * configure: Regenerated.
2763
53955967
DC
27642003-01-31 David Carlton <[email protected]>
2765
2766 * dwarf2read.c (dwarf2_locate_sections): Set
2767 dwarf_ranges_section.
2768
b1364885
AC
27692003-01-31 Andrew Cagney <[email protected]>
2770
8dbb1c65
AC
2771 * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts.
2772 * utils.c: Update comments documenting legitimate uses of PTR.
2773
8731e58e
AC
2774 * utils.c: Re-indent.
2775
b1364885
AC
2776 * config/djgpp/fnchange.lst: Delete nindy files.
2777 * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files.
2778 * nindy-share/nindy.c, nindy-share/env.h: Delete files.
2779 * nindy-share/coff.h, nindy-share/block_io.h: Delete files.
2780 * nindy-share/b.out.h, nindy-share/VERSION: Delete files.
2781 * nindy-share/README, nindy-share/Onindy.c: Delete files.
2782 * nindy-tdep.c, nindy-share/Makefile: Delete files.
2783 * Makefile.in (init.c): Remove nindy references.
2784 (saber_gdb): Delete rule.
2785 (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c,
2786 nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c,
2787 and a68v-nat.c.
2788 (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules.
2789 (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules.
2790 (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h,
2791 nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and
2792 nindy-share/stop.h.
2793 * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files.
2794 * saber.suppress: Delete file.
2795
086df311
DJ
27962003-01-31 Daniel Jacobowitz <[email protected]>
2797
2798 * dbxread.c (stabs_data): New static variable.
2799 (fill_symbuf): Support an in-memory buffer for stabs data.
2800 (stabs_seek): New function.
2801 (dbx_psymtab_to_symtab): Relocate the stabs data if necessary.
2802 (read_ofile_symtab): Use stabs_seek.
2803 (elfstab_build_psymtabs): Take an asection* instead of
2804 an offset and size. Relocate the stabs data if necessary.
2805 Save the section* for dbx_psymtab_to_symtab.
2806 * dwarf2read.c: Add section variables for each debug section.
2807 (dwarf2_locate_sections): Fill them in.
2808 (dwarf2_read_section): Take an asection* argument.
2809 Relocate the section contents if necessary.
2810 (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers.
2811 * dwarf2cfi.c (parse_frame_info): Take a section argument and pass
2812 it to dwarf2_read_section.
2813 (dwarf2_build_frame_info): Update callers.
2814 * elfread.c (elf_symfile_read): Update call to
2815 elfstab_build_psymtabs.
2816 * gdb-stabs.h (struct dbx_symfile_info): Add stab_section.
2817 (DBX_STAB_SECTION): New macro.
2818 * stabsread.h (elfstab_build_psymtabs): Update prototype.
2819 * symfile.c (symfile_dummy_outputs): New function.
2820 (symfile_relocate_debug_section): New function.
2821 * symfile.h (symfile_relocate_debug_section): Add prototype.
2822
87d1b352
RH
28232003-01-31 Richard Henderson <[email protected]>
2824
2825 * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...
2826 (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM.
2827 (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM.
2828 * alpha-tdep.c (alpha_register_name): Add "unique".
2829 * alpha-tdep.h (ALPHA_NUM_REGS): Increment.
2830 (ALPHA_UNIQUE_REGNUM): New.
2831 * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New.
2832
c48861fb
AC
28332003-01-31 Andrew Cagney <[email protected]>
2834
2835 * README: Remove reference to Ericsson 1800 monitor.
2836 * Makefile.in (remote-es.o): Delete rule.
2837 (ALLDEPFILES): Delete remote-es.c.
2838 * remote-es.c: Delete file.
2839 * config/m68k/es1800.mt: Delete file.
2840 * config/djgpp/fnchange.lst: Update.
2841 * configure.tgt: Delete m68*-ericsson-* target.
2842
d764a824
AF
28432003-01-31 Adam Fedor <[email protected]>
2844
2845 * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc.
2846 Remove duplicate/shadowing variable of same name.
2847
fe36c4f4
JB
28482003-01-30 Jim Blandy <[email protected]>
2849
2850 * symfile.c (find_separate_debug_file): Assert that the objfile's
2851 directory name we compute ends with a slash, and then assume that
2852 that's so everywhere we use it.
2853
cb741690
DJ
28542003-01-30 Daniel Jacobowitz <[email protected]>
2855
2856 * valops.c (value_assign): Flush frame cache after stores to memory
2857 also.
2858
96ee5227
AC
28592003-01-30 Andrew Cagney <[email protected]>
2860
2861 * Makefile.in (mon960-rom.o): Delete rule.
2862 * mon960-rom.c: Delete file.
2863
7f6104a9
AC
28642003-01-30 Andrew Cagney <[email protected]>
2865
2866 * d10v-tdep.c: Include "frame-unwind.h".
2867 (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate
2868 list.
2869 (next_addr, uses_frame): Delete.
2870 (struct d10v_unwind_cache): Define.
2871 (prologue_find_regs): Add struct d10v_unwind_cache info parameter.
2872 Use info instead of next_addr and uses_frame globals.
2873 (d10v_frame_init_saved_regs): Delete function.
2874 (d10v_init_extra_frame_info): Delete function.
2875 (d10v_gdbarch_init): Do not initialize init_extra_frame_info,
2876 frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid,
2877 init_frame_pc or frame_saved_pc.
2878 (d10v_pop_frame): Delete function.
2879 (do_d10v_pop_frame): Delete function.
2880 (d10v_frame_chain): Delete function.
2881 (d10v_frame_chain_valid): Delete function.
2882 (d10v_frame_pc_unwind): New function.
2883 (d10v_frame_id_unwind): New function.
2884 (saved_regs_unwinder): New function.
2885 (d10v_frame_register_unwind): New function.
2886 (d10v_frame_pop): New function.
2887 (d10v_frame_unwind): New variable.
2888 (d10v_frame_p): New function.
2889 (d10v_frame_saved_pc): Delete function.
2890 * Makefile.in (d10v-tdep.o): Update dependencies.
2891
cad2e848
JB
28922003-01-30 J. Brobecker <[email protected]>
2893
2894 * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef
2895 causing some regressions due to a change in the default value
2896 for this macro.
2897
af34e669
DJ
28982003-01-29 Richard Henderson <[email protected]>
2899 Elena Zannoni <[email protected]>
2900 Daniel Jacobowitz <[email protected]>
2901
2902 Fix PR gdb/961.
2903 * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New
2904 variables.
2905 (RANGES_SECTION): New.
2906 (dwarf_ranges_buffer): New variable.
2907 (struct comp_unit_head): Add member "die".
2908 (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size.
2909 (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New.
2910 (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size.
2911 (dwarf2_locate_sections): Likewise.
2912 (dwarf2_build_psymtabs): Read .debug_ranges.
2913 (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out.
2914 (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die.
2915 (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers.
2916 Look for DW_AT_ranges and return the bounding box.
2917
baa93fa6
CF
29182003-01-29 Brian Ford <[email protected]>
2919
2920 * win32-nat.c (cygwin_pid): Removed as unused.
2921 (child_attach): Try fall back to Cygwin pid.
2922
c63f977f
JB
29232003-01-29 Jim Blandy <[email protected]>
2924
2925 * objfiles.h (struct objfile): Doc fix.
2926
d62d1979
AC
29272003-01-29 Andrew Cagney <[email protected]>
2928
2929 * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P.
2930 (legacy_get_prev_frame): Assert FRAME_CHAIN_P.
2931 (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame.
2932 (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P.
2933 * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate.
2934 (FRAME_SAVED_PC): Change to a function with predicate.
2935 * gdbarch.h, gdbarch.c: Re-generate.
2936
1ae18a04
AC
29372003-01-28 Andrew Cagney <[email protected]>
2938
52287340
AC
2939 * hppah-nat.c (child_pid_to_exec_file): Don't use boolean.
2940
1ae18a04
AC
2941 * complaints.c (complain): Delete function.
2942 * complaints.h (struct deprecated_complaint): Delete definition.
2943 (complain): Delete declaration.
2944
f2c16bd6
KB
29452003-01-28 Kevin Buettner <[email protected]>
2946
2947 * mips-tdep.c (mips_init_extra_frame_info): Return early for
2948 dummy frames.
2949
a94dd1fd
AC
29502003-01-27 Andrew Cagney <[email protected]>
2951
2952 * sentinel-frame.h, sentinel-frame.c: New files.
2953 * Makefile.in (frame.o): Update dependencies.
2954 (SFILES): Add sentinel-frame.c.
2955 (sentinel_frame_h): Define.
2956 (COMMON_OBS): Add sentinel-frame.o.
2957 (sentinel-frame.o): Specify dependencies.
2958 * frame.c: Include "sentinel-frame.h".
2959 (frame_register_unwind): Rewrite assuming that there is always a a
2960 ->next frame.
2961 (frame_register, generic_unwind_get_saved_register): Ditto.
2962 (frame_read_unsigned_register, frame_read_signed_register): Ditto.
2963 (create_sentinel_frame, unwind_to_current_frame): New functions.
2964 (get_current_frame): Rewrite using create_sentinel_frame and
2965 unwind_to_current_frame. When possible, always create a frame.
2966 (create_new_frame): Set next to the sentinel frame.
2967 (get_next_frame): Rewrite. Don't go below the level 0 frame.
2968 (deprecated_update_frame_pc_hack): Update the next frame's PC and
2969 ID cache when necessary.
2970 (frame_saved_regs_id_unwind): Use frame_relative_level.
2971 (deprecated_generic_get_saved_register): Use frame_relative_level,
2972 get_frame_saved_regs, get_frame_pc, get_frame_base and
2973 get_next_frame.
2974 (frame_saved_regs_register_unwind): Use get_frame_saved_regs and
2975 frame_register.
2976
5378adc4
DJ
29772003-01-27 Daniel Jacobowitz <[email protected]>
2978
2979 * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments.
2980
51ee2ddc
DJ
29812003-01-27 Daniel Jacobowitz <[email protected]>
2982
2983 * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
2984 (maintenance_set_profile_cmd): Use error () instead of warning ().
2985
d9feb4e7
DJ
29862003-01-27 Daniel Jacobowitz <[email protected]>
2987
2988 * configure.in: Check that -pg works if using --enable-profiling.
2989 Check for monstartup and _mcleanup regardless of --enable-profiling.
2990 * maint.c: Check for monstartup and _mcleanup before using them.
2991 * config.in: Regenerated.
2992 * configure: Regenerated.
2993
2d188dd3
NC
29942003-01-24 Nick Clifton <[email protected]>
2995
2996 * Add sh2e support:
2997
2998 2002-04-02 Elena Zannoni <[email protected]>
2999
3000 * gdb/sh-tdep.c (sh_sh2e_register_name): New.
3001 (sh2e_show_regs): New.
3002 (sh_gdbarch_init): Handle bfd_mach_sh2e.
3003 * config/sh/tm-sh.h: Added sh2e to comments.
3004
cb3c37b2
JB
30052003-01-23 Jim Blandy <[email protected]>
3006
3007 * symfile.c (syms_from_objfile): Don't print the "(no debugging
3008 symbols found)" message here; we haven't checked for a separate
3009 debug info file yet, so we don't know yet.
3010 (symbol_file_add_with_addrs_or_offsets): Print it here, after
3011 we've looked everywhere. Also, there's no need to print a special
3012 message when we're loading the separate debug info file: the one
3013 symbol_file_add prints is fine.
3014
5b5d99cf
JB
30152003-01-23 Alexander Larsson <[email protected]>
3016 Jim Blandy <[email protected]>
3017
3018 Add support for executables whose debug info has been separated
3019 out into a separate file, leaving only a link behind.
3020 * objfiles.h (struct objfile): New fields: separate_debug_objfile
3021 and separate_debug_objfile_backlink.
3022 (put_objfile_before): New declaration.
3023 * symfile.c: #include "filenames.h".
3024 (symbol_file_add_with_addrs_or_offsets): If this objfile has its
3025 debug info in a separate file, read that, too. Save the addrs
3026 argument, so we can use it again to read the separated debug info;
3027 syms_from_objfile modifies the table we pass it.
3028 (reread_symbols): After re-reading an objfile, call
3029 reread_separate_symbols to refresh its separate debug info
3030 objfile, if it has one.
3031 (reread_separate_symbols, find_separate_debug_file,
3032 get_debug_link_info, separate_debug_file_exists): New functions.
3033 (debug_file_directory): New global var.
3034 (_initialize_symfile): Initialize debug_file_directory, and
3035 provide the new `set debug-file-directory' command to let the user
3036 change it.
3037 * objfiles.c (free_objfile): If this objfile has its debug info in
3038 a separate objfile, free that one too. If this is itself a
3039 separate debug info objfile, clear our parent's backlink.
3040 (put_objfile_before): New function.
3041 * utils.c (gnu_debuglink_crc32): New function.
3042 * defs.h (gnu_debuglink_crc32): New declaration.
3043 * Makefile.in (symfile.o): Note dependency on "filenames.h".
3044 * configure.in: Handle --with-separate-debug-dir config option.
3045 * acinclude.m4 (AC_DEFINE_DIR): New macro.
3046 * acconfig.h (DEBUGDIR): New macro.
3047 * configure, aclocal.m4, config.in: Regenerated.
3048
7e8580c1
JB
30492003-01-22 Jim Blandy <[email protected]>
3050
7904e09f
JB
3051 * symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
3052 like the old symbol_file_add, but taking new arguments: you can
3053 now pass in either a `struct section_addr_info' list to say where
3054 each section is loaded, or a `struct section_offsets' table. Pass
3055 these new arguments through to syms_from_objfile as appropriate.
3056 (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets,
3057 with the appropriate quiescent values for the new arguments.
3058
7e8580c1
JB
3059 * symfile.c: #include "gdb_assert.h".
3060 (syms_from_objfile): Add the ability to pass in a section offset
3061 table directly, as an alternative to the section_addr_info table.
3062 Document arguments better.
3063 (symbol_file_add): Pass extra arguments to syms_from_objfile.
3064 * symfile.h (syms_from_objfile): Update declaration.
3065 * rs6000-nat.c (objfile_symbol_add): Pass new arguments to
3066 syms_from_objfile.
3067 * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
3068
d28f9cdf
DJ
30692003-01-22 Daniel Jacobowitz <[email protected]>
3070
3071 Original patch by Tom Tromey <[email protected]> and
3072 Jason Molenda <[email protected]>.
3073 * Makefile.in (PROFILE_CFLAGS): Substitute from configure.
3074 (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS.
3075 * NEWS: Mention profiling.
3076 * configure.in (--enable-gdbtk): Fix typo.
3077 (--enable-profiling): New. Set PROFILE_CFLAGS.
3078 * maint.c (maintenance_set_profile_cmd): Remove NOTYET.
3079 Fill in function.
3080 (profiling_state): New variable.
3081 (mcleanup_wrapper): New function.
3082 (_initialize_maint): Remove NOTYET, fix call to
3083 add_setshow_boolean_cmd for "maint set profile".
3084 * configure: Regenerated.
3085
df21e465
MH
30862003-01-21 Martin M. Hunt <[email protected]>
3087
3088 * Makefile.in (install-gdbtk): Install PNG images too.
3089
73c1f219
AC
30902003-01-21 Andrew Cagney <[email protected]>
3091
3092 * exec.c (text_start): Delete global variable.
3093 (exec_file_attach): Make text_start local to the function.
3094 * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros.
3095 * valops.c (hand_function_call): Delete code that handles
3096 BEFORE_TEXT_END and AFTER_TEXT_END.
3097 * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead
3098 of CALL_DUMMY_LOCATION.
3099 * gdbarch.c: Regenerate.
3100 * inferior.h (deprecated_pc_in_call_dummy_before_text_end)
3101 (deprecated_pc_in_call_dummy_after_text_end): Delete declaration.
3102 * blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
3103 (deprecated_pc_in_call_dummy_after_text_end): Delete functions.
3104 (text_end): Delete extern declaration.
3105
eb4f72c5
AC
31062003-01-21 Andrew Cagney <[email protected]>
3107
3108 * frame.h (FRAME_OBSTACK_ZALLOC): Define.
3109 * blockframe.c (backtrace_below_main): Move to "frame.c".
3110 (frame_chain_valid): Delete check for backtrace_below_main.
3111 (_initialize_blockframe): Delete initialization, move ``set
3112 backtrace-below-main'' command to "frame.c".
3113 (do_flush_frames_sfunc): Delete function.
3114 * frame.c: Include "command.h" and "gdbcmd.h".
3115 (frame_type_from_pc): New function.
3116 (create_new_frame): Use frame_type_from_pc.
3117 (legacy_get_prev_frame): New function.
3118 (get_prev_frame): Rewrite. When an old style frame, call
3119 legacy_get_prev_frame. Otherwize, unwind the PC first.
3120 (_initialize_frame): Add ``set backtrace-below-main'' command.
3121 * Makefile.in (frame.o): Update dependencies.
3122
778ce8cc
AC
31232003-01-19 Andrew Cagney <[email protected]>
3124
3125 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename
3126 DEPRECATED_REGISTERS_INFO.
3127
01c193c8
AC
31282003-01-19 Andrew Cagney <[email protected]>
3129
3130 * MAINTAINERS: Replace `Blanket Write Privs' with `Global
3131 Maintainers'. Update `Various Maintainers'.
3132
dedc2a2b
AC
31332003-01-19 Andrew Cagney <[email protected]>
3134
3135 * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
3136 * gdbarch.sh (POP_FRAME): Change to function with predicate.
3137 Suppress actual parameters when `-'.
3138 * gdbarch.h, gdbarch.c: Regenerate.
3139
b7261c70
AC
31402003-01-19 Andrew Cagney <[email protected]>
3141
3142 * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore
3143 code handling dummy frames.
3144
dbe9fe58
AC
31452003-01-19 Andrew Cagney <[email protected]>
3146
3147 * frame-unwind.h (frame_unwind_pop_ftype): Declare.
3148 (struct frame_unwind): Add field pop.
3149 * frame.h (frame_pop): Declare.
3150 * frame.c (frame_saved_regs_pop): New function.
3151 (trad_frame_unwinder): Add frame_saved_regs_pop.
3152 (frame_pop): New function.
3153 * dummy-frame.c (dummy_frame_pop): New function.
3154 (discard_innermost_dummy): New function.
3155 (generic_pop_dummy_frame): Use discard_innermost_dummy.
3156 (dummy_frame_unwind): Add dummy_frame_pop.
3157 * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
3158 * valops.c (hand_function_call): Ditto.
3159 * stack.c (return_command): Ditto.
3160
570b8f7c
AC
31612003-01-18 Andrew Cagney <[email protected]>
3162
3163 * cris-tdep.c: Fix function declaration indentation.
3164 * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
3165 * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
3166 * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
3167 * symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
3168 * xcoffread.c, config/pa/tm-hppa.h: Ditto.
3169 * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
3170
31712003-01-18 Michael Chastain <[email protected]>
eaec4d85
MC
3172
3173 * README (Unpacking and Installation -- quick overview):
3174 Warn against ".../gdb-5.3/gdb/configure".
3175
494cca16
AC
31762003-01-18 Andrew Cagney <[email protected]>
3177
3178 * dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
3179 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
3180 (struct frame_unwind): Declare opaque.
3181 (dummy_frame_p): Declare function.
3182 * dummy-frame.c (dummy_frame_id_unwind): Make static.
3183 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
3184 * dummy-frame.c: Include "frame-unwind.h".
3185 (dummy_frame_p): New function.
3186 (dummy_frame_unwind): New variable.
3187 * frame.c: Include "frame-unwind.h".
3188 (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
3189 to use the new unwind field.
3190 (set_unwind_by_pc): Delete function.
3191 (create_new_frame, get_prev_frame): Set unwind field using
3192 frame_unwind_find_by_pc.
3193 (trad_frame_unwind, trad_frame_unwinder): New variables.
3194 * frame.h (trad_frame_unwind): Declare variable.
3195 (frame_id_unwind_ftype): Delete declaration.
3196 (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
3197 (struct frame_unwind): Declare opaque.
3198 (struct frame_info): Replace the fields id_unwind, pc_unwind and
3199 register_unwind with a single unwind pointer.
3200 * frame-unwind.h, frame-unwind.c: New files.
3201 * Makefile.in (SFILES): Add frame-unwind.c.
3202 (frame_unwind_h): Define.
3203 (COMMON_OBS): Add frame-unwind.o.
3204 (frame-unwind.o): Specify dependencies.
3205 (frame.o, dummy-frame.o): Update dependencies.
3206
4efb68b1
AC
32072003-01-18 Andrew Cagney <[email protected]>
3208
3209 * ada-valprint.c: Eliminate PTR.
3210 * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
3211 * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
3212 * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
3213 * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
3214 * remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
3215 * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
3216 * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
3217
a84d24ee
AC
32182003-01-17 Andrew Cagney <[email protected]>
3219
762f08a3
AC
3220 * main.c (captured_main): Don't use PTR.
3221 * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp.
3222 * gdbtypes.c (lookup_primitive_typename): Ditto.
3223 (lookup_struct_elt_type): Ditto.
3224 * f-valprint.c (info_common_command): Ditto.
3225 (list_all_visible_commons): Ditto.
3226 * jv-typeprint.c (java_type_print_base): Ditto.
3227
a84d24ee
AC
3228 * config/djgpp/fnchange.lst: Rename mi1-var-block.exp,
3229 mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp.
3230 Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename
3231 i386-interix-nat.c and i386-interix-tdep.c. Rename
3232 m68klinux-nat.c and m68klinux-tdep.c. Rename
3233 config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename
3234 bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename
3235 gdb/objc-exp.tab.c and gdb/ada-exp.tab.c
3236 * main.c (captured_main): Use xfree, not free.
3237
c170fb60
AC
32382003-01-16 Andrew Cagney <[email protected]>
3239
3240 * frame.h (frame_id_unwind_ftype): Change type so that the frame's
3241 ID back using a parameter.
3242 * frame.c (frame_id_unwind): Update call.
3243 (frame_saved_regs_id_unwind): Update.
3244 * dummy-frame.c (dummy_frame_id_unwind): Update function.
3245 * dummy-frame.h (struct frame_id): Add opaque declaration.
3246 (dummy_frame_id_unwind): Update declaration.
3247
867f3898
AC
32482003-01-15 Andrew Cagney <[email protected]>
3249
3250 * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.
3251
40622be8 32522003-01-15 Stephen P. Smith <[email protected]>
de3a8c23 3253
40622be8 3254 * MAINTAINERS (Stephen P. Smith): Updated email address.
de3a8c23 3255
ae66c1fc
EZ
32562003-01-14 Elena Zannoni <[email protected]>
3257
997b089a 3258 Fix PR gdb/898
ae66c1fc
EZ
3259 * breakpoint.c (until_break_command): Add new argument. Use it to
3260 decide whether to stop only at the current frame or not.
3261 * breakpoint.h (until_break_command): Update prototype.
3262 * infcmd.c (until_command): Add new argument to until_break_command
3263 call.
3264 (advance_command): New function.
3265 (_initialize_infcmd): Update help string for 'until' command.
3266 Add new 'advance' command.
3267
a04257e6
DC
32682003-01-14 David Carlton <[email protected]>
3269
3270 * linespec.c (decode_line_1): Normalize comments.
3271 (set_flags): Ditto.
3272 (locate_first_half): Ditto.
3273 (decode_compound): Ditto.
3274 (symtab_from_filename): Ditto.
3275 (decode_all_digits): Ditto.
3276 (decode_dollar): Ditto.
3277 (find_methods): Ditto.
3278 (find_toplevel_char): Ditto.
3279
1bac305b
AC
32802003-01-13 Andrew Cagney <[email protected]>
3281
3282 * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright.
3283 * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright.
3284 * elfread.c, eval.c, expprint.c, expression.h: Update copyright.
3285 * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright.
3286 * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright.
3287 * language.c, language.h, m32r-tdep.c: Update copyright.
3288 * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright.
3289 * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright.
3290 * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright.
3291 * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright.
3292 * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright.
3293 * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright.
3294
25caa7a8
EZ
32952003-01-13 Elena Zannoni <[email protected]>
3296
3297 * stabsread.h (process_later, resolve_cfront_continuation):
3298 Obsolete.
3299 Update copyright years.
3300 * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront.
3301 Update copyright year.
3302 * dbxread.c(struct cont_elem): Obsolete.
3303 (process_later, process_now): Obsolete functions.
3304 (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support.
3305 Update copyright year.
3306 * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros.
3307 (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions.
3308 * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront.
3309 (parse_partial_symbols): Obsolete cfront support.
3310 * stabsread.c
3311 (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete
3312 macros.
3313 (get_substring, get_cfront_method_physname, msg_unknown_complaint,
3314 read_cfront_baseclasses, read_cfront_member_functions,
3315 resolve_cfront_continuation,read_cfront_static_fields,
3316 copy_cfront_struct_fields): Obsolete functions.
3317 (define_symbol, read_one_struct_field): Obsolete cfront support.
3318 * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support.
3319 Update Copyright year.
3320
7789c6f5
EZ
33212003-01-13 Elena Zannoni <[email protected]>
3322
3323 * stack.c (print_frame_info, print_stack_frame_base_stub,
3324 print_stack_frame_base, show_and_print_stack_frame_stub,
3325 show_and_print_stack_frame, print_only_stack_frame_stub,
3326 print_only_stack_frame): Delete functions.
3327 (print_stack_frame_stub): Call print_frame_info instead of
3328 print_frame_info_base.
3329 (print_frame_info_base): Rename to print_frame_info.
3330 (backtrace_command_1): Call print_frame_info, instead of
3331 print_frame_info_base.
3332 (current_frame_command): Call print_stack_frame, instead of
3333 print_only_stack_frame.
3334 (frame_command): Call print_stack_frame, instead of
3335 show_and_print_stack_frame.
3336 (up_command): Ditto.
3337 (down_command): Ditto.
3338 * frame.h (print_only_stack_frame): Delete prototype.
3339 * infrun.c (normal_stop): Call print_stack_frame, instead of
3340 show_and_print_stack_frame.
3341 * thread.c (info_threads_command): Call print_stack_frame, instead
3342 of print_only_stack_frame.
3343
3f5a3016
AC
33442003-01-13 Andrew Cagney <[email protected]>
3345
d99ba314
AC
3346 * README (Graphical interface to GDB): Update URL. Point at
3347 gdb/links/.
3348
3f5a3016
AC
3349 * gdb_indent.sh: Update to version 2.2.9. Warn when not exact
3350 version match.
3351
083ae935
DJ
33522003-01-13 Daniel Jacobowitz <[email protected]>
3353
3354 * symtab.c (find_pc_sect_line): Don't consider end-of-function
3355 lines.
3356
5365276c
DJ
33572003-01-13 Daniel Jacobowitz <[email protected]>
3358
3359 * thread-db.c (attach_thread): Prototype.
3360 (struct private_thread_info): Remove lwpid. Add thread handle (th),
3361 thread information (ti), and valid flags (th_valid, ti_valid).
3362 (attach_thread): Move target_pid_to_str call to after the thread
3363 is added to GDB's list. Initialize the cache.
3364 (thread_get_info_callback, thread_db_map_id2thr)
3365 (thread_db_get_info): New functions.
3366 (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers)
3367 (thread_db_store_registers, thread_db_thread_alive)
3368 (thread_db_get_thread_local_address): Use them.
3369 (thread_db_pid_to_str): Likewise. Return "Missing" instead
3370 of calling error() for threads in unknown state.
3371
3372 (clear_lwpid_callback): New function.
3373 (thread_db_resume): Use it to clear the cache.
3374
9fc30b6b
DJ
33752003-01-13 Daniel Jacobowitz <[email protected]>
3376
3377 * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
3378 (resume_callback): Remove dead code.
3379
8f871025
AC
33802003-01-13 Andrew Cagney <[email protected]>
3381
3382 * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
3383 predicate.
3384 * gdbarch.h, gdbarch.c: Regenerate.
3385 * stack.c (frame_info): Only initialize the saved registers when
3386 FRAME_INIT_SAVED_REGS_P.
3387 * frame.c (frame_saved_regs_register_unwind): Assert
3388 FRAME_INIT_SAVED_REGS_P.
3389 (deprecated_generic_get_saved_register): Ditto.
3390
3f565f1e
DJ
33912003-01-13 Daniel Jacobowitz <[email protected]>
3392
3393 * source.c (openp): Squelch warning about "filename".
3394
072b1022
DJ
33952003-01-13 Daniel Jacobowitz <[email protected]>
3396
3397 * source.c (openp): If the file does not exist don't necessarily
3398 search the path.
3399
973ccf8b
DJ
34002003-01-13 Daniel Jacobowitz <[email protected]>
3401
3402 Fix PR gdb/872.
3403 * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN.
3404 (integer_types_same_name_p): New function.
3405 (rank_one_type): Use it.
3406 * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN.
3407
030292b7
DJ
34082003-01-13 Daniel Jacobowitz <[email protected]>
3409
3410 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
3411 variables.
3412 (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE).
3413 * configure.in: Add --with-sysroot.
3414 * configure: Regenerated.
3415 * main.c (gdb_sysroot): New variable.
3416 (captured_main): Initialize gdb_sysroot.
3417 * defs.h (gdb_sysroot): New extern declaration.
3418 * solib.c (_initialize_solib): Initialize solib_absolute_prefix.
3419
afb5d334
MC
34202003-01-12 Michael Chastain <[email protected]>
3421
3422 * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
3423
751ceeb4
MC
34242003-01-12 Michael Chastain <[email protected]>
3425
3426 * top.c (print_gdb_version): Bump copyright year to 2003.
3427
94cd26f8
DC
34282003-01-12 David Carlton <[email protected]>
3429
3430 * linespec.c (symtab_from_filename): Rename variable 's' to
3431 'file_symtab'.
3432
1ce79225
AC
34332003-01-12 Andrew Cagney <[email protected]>
3434
3435 * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
3436 dummy frame.
3437 (d10v_frame_saved_pc, d10v_frame_chain): Ditto.
3438
fa1fd571
AC
34392003-01-12 Andrew Cagney <[email protected]>
3440
3441 * d10v-tdep.c: Include "gdb_assert.h".
3442 (d10v_store_return_value): Rewrite to match current interface.
3443 (d10v_extract_struct_value_address): Ditto.
3444 (d10v_extract_return_value): Ditto.
3445 (d10v_gdbarch_init): Set store_restore_value,
3446 extract_struct_value_address and extract_return_value.
3447
68b8d23e
JB
34482003-01-12 J. Brobecker <[email protected]>
3449
3450 * hpread.c (set_namestring): New procedure replacing the
3451 SET_NAMESTRING macro.
3452 (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
3453 by calls to set_namestring.
3454
34552003-01-11 J. Brobecker <[email protected]>
1fb309ea
JB
3456
3457 * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
3458 a compilation warning.
3459 (hpread_process_one_debug_symbol): Likewise.
3460
88d262ca
DC
34612003-01-10 David Carlton <[email protected]>
3462
3463 * linespec.c (decode_line_1): Rename variable 's' to
3464 'file_symtab'.
3465 (decode_all_digits): Rename argument 's' to 'file_symtab'.
3466 (decode_dollar): Ditto.
3467 (decode_variable): Ditto.
3468 (symbol_found): Ditto.
3469
86669319
MC
34702003-01-09 Michael Chastain <[email protected]>
3471
3472 * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
3473
616a9dc4
CV
34742003-01-07 Corinna Vinschen <[email protected]>
3475
3476 * win32-nat.c (set_process_privilege): New function.
3477 (child_attach): Call set_process_privilege() to enable the
3478 SE_DEBUG_NAME user privilege if available in process token.
3479
3269bcfa
JB
34802003-01-10 J. Brobecker <[email protected]>
3481
3482 * hpread.c (hpread_process_one_debug_symbol): Fix a small
3483 compilation error in the previous revision.
3484
2b0ee454
DC
34852003-01-09 David Carlton <[email protected]>
3486
3487 * linespec.c: Update copyright.
3488
b3ba1b44
DJ
34892003-01-09 Daniel Jacobowitz <[email protected]>
3490
3491 * lin-lwp.c (child_wait): Ignore exit statuses for processes other
3492 than inferior_ptid.
3493 (lin_lwp_wait): Ignore exit statuses for unknown LWPs.
3494
4ef3f3be
AC
34952003-01-09 Andrew Cagney <[email protected]>
3496
479ab5a0
AC
3497 * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
3498 Update comments.
3499 * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
3500 (frame_saved_regs_zalloc): Update.
3501 (frame_saved_regs_register_unwind): Update.
3502 (create_new_frame): Update.
3503 (get_prev_frame): Update.
3504 (frame_extra_info_zalloc): Update.
3505 (deprecated_get_frame_saved_regs): Update.
3506 * dwarf2cfi.c (cfi_init_extra_frame_info): Update.
3507 * cris-tdep.c: Update comment.
3508
bde58177
AC
3509 * somsolib.h: Fix function indentation.
3510 * disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
3511 * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
3512 * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
3513 * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
3514 * somsolib.c, inftarg.c: Remove assignment in if conditional.
3515
4ef3f3be
AC
3516 * infrun.c (follow_fork): Use ISO C definition.
3517 * expprint.c (print_subexp): Use xfree instead of free.
3518 * charset.c: Include "gdb_string.h" instead of <string.h>.
3519 (register_iconv_charsets): Use ISO C definition.
3520 (host_charset, target_charset): Ditto.
3521 * Makefile.in (charset.o): Update dependencies.
3522 (mi-cmd-env.o): Update dependencies.
3523
1c615f7a
AC
35242003-01-08 Andrew Cagney <[email protected]>
3525
3526 * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
3527 get_frame_base.
3528
c9a1dc08
AC
35292003-01-08 Andrew Cagney <[email protected]>
3530
3531 * gdb_mbuild.sh: Add --keep option. When specified, keep the
3532 build directories. Save edited gdb output in Mbuild.log. If a
3533 build fails, remove any final GDB executable.
3534
dbad9d94
AC
35352003-01-08 Andrew Cagney <[email protected]>
3536
3537 * gdb_mbuild.sh: Edit the output of `maint print architecture'
3538 replacing hex constants with function names and stripping leading
3539 file name directory prefixes.
3540
8d357cca
AC
35412003-01-08 Andrew Cagney <[email protected]>
3542
3543 * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
3544 get_frame_base.
3545
bca02a8a
DC
35462003-01-08 David Carlton <[email protected]>
3547
3548 * linespec.c (decode_line_1): Move code into decode_variable.
3549 (decode_variable): New function.
3550
7f8ab3a0
AC
35512003-01-08 Andrew Cagney <[email protected]>
3552
3553 * mn10300-tdep.c (analyze_dummy_frame): Fix typo.
3554
7b5849cc
AC
35552003-01-08 Andrew Cagney <[email protected]>
3556
3557 * cris-tdep.c (cris_frame_init_saved_regs): Use
3558 get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
3559 saved_regs buffer.
3560 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
3561 (sh64_nofp_frame_init_saved_regs): Ditto.
3562 (sh_fp_frame_init_saved_regs): Ditto.
3563 * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
3564 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
3565 * mcore-tdep.c (analyze_dummy_frame): Ditto.
3566 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
3567
72a5efb3
DJ
35682003-01-08 Daniel Jacobowitz <[email protected]>
3569
3570 * minsyms.c (lookup_minimal_symbol): Update comment.
3571 (lookup_minimal_symbol_text): Update comment. Use the hash table.
3572 (lookup_minimal_symbol_solib_trampoline): Likewise.
3573
11c02a10
AC
35742003-01-08 Andrew Cagney <[email protected]>
3575
aab3ea25
AC
3576 * d10v-tdep.c (d10v_init_extra_frame_info): Use
3577 frame_relative_level.
3578
da50a4b7
AC
3579 * alpha-tdep.c: Use get_frame_extra_info.
3580 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3581 * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
3582 * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
3583 * sparc-tdep.c, xstormy16-tdep.c: Ditto.
3584
11c02a10
AC
3585 * alpha-tdep.c: Use get_next_frame.
3586 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3587 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
3588 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
3589 * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
3590 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
3591 * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
3592 * xstormy16-tdep.c: Ditto.
3593
1e2330ba
AC
35942003-01-07 Andrew Cagney <[email protected]>
3595
3596 * alpha-tdep.c: Use get_frame_base.
3597 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
3598 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
3599 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
3600 * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
3601 * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
3602 * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
3603 * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
3604 * config/sparc/tm-sparc.h: Ditto.
3605
2d75187b
AC
36062003-01-07 Andrew Cagney <[email protected]>
3607
3608 * frame.c (deprecated_get_frame_context): New function.
3609 (deprecated_set_frame_context): New function.
3610 * frame.h (deprecated_get_frame_context): Declare.
3611 (deprecated_set_frame_context): Declare.
3612 * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
3613 (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
3614
483d36b2
AC
36152003-01-07 Andrew Cagney <[email protected]>
3616
3617 * frame.c (deprecated_set_frame_next_hack): New function.
3618 (deprecated_set_frame_prev_hack): New function.
3619 * frame.h (deprecated_set_frame_next_hack): Declare.
3620 (deprecated_set_frame_prev_hack): Declare.
3621 * mcore-tdep.c (analyze_dummy_frame): Use
3622 deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
3623 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
3624
14e91ac5
DC
36252003-01-07 David Carlton <[email protected]>
3626
3627 * linespec.c (decode_line_1): Move code into decode_dollar.
3628 (decode_dollar): New function.
3629
b0c6b05c
AC
36302003-01-07 Andrew Cagney <[email protected]>
3631
3632 * arm-tdep.c (arm_init_extra_frame_info): Use
3633 deprecated_update_frame_base_hack.
3634 * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto.
3635 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
3636 (fix_frame_pointer): Ditto.
3637 (mn10300_analyze_prologue): Ditto.
3638
a00a19e9
AC
36392003-01-07 Andrew Cagney <[email protected]>
3640
3641 * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
3642 extra_info using frame_extra_info_zalloc.
3643 * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
3644 * sh-tdep.c (sh_init_extra_frame_info): Ditto.
3645 (sh64_init_extra_frame_info): Ditto.
3646 * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
3647 * s390-tdep.c (s390_init_extra_frame_info): Ditto.
3648 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
3649 * mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
3650 * frv-tdep.c (frv_init_extra_frame_info): Ditto.
3651 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
3652 * ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
3653 * h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
3654 * d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
3655 * cris-tdep.c (cris_init_extra_frame_info): Ditto.
3656 * arm-tdep.c (arm_init_extra_frame_info): Ditto.
3657 * alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
3658
3659 * mn10300-tdep.c (analyze_dummy_frame): Use
3660 deprecated_set_frame_extra_info_hack.
3661 * mcore-tdep.c (analyze_dummy_frame): Ditto.
3662
1fb4c65b
JB
36632003-01-07 J. Brobecker <[email protected]>
3664
3665 * mdebugread.c (parse_symbol): Skip stProc entries which storage
3666 class is not scText. These do not define "real" procedures.
3667 (parse_partial_symbols): Likewise.
3668
9fe7d6bf
MS
36692003-01-06 Michael Snyder <[email protected]>
3670
3671 * lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
3672
f6c609c4
AC
36732003-01-06 Andrew Cagney <[email protected]>
3674
3675 * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
3676 * frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
3677 * arm-tdep.c (arm_frame_chain): Allocate caller_fi using
3678 deprecated_frame_xmalloc_with_cleanup.
3679 * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
3680 deprecated_frame_xmalloc.
3681 * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
3682 * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
3683
d995ff4b
AC
36842003-01-06 Andrew Cagney <[email protected]>
3685
84dc46cb
AC
3686 * x86-64-linux-tdep.c: Include "osabi.h".
3687 * Makefile.in (x86-64-linux-tdep.o): Update dependencies.
3688
d995ff4b
AC
3689 * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
3690
66140c26
AC
36912003-01-06 Andrew Cagney <[email protected]>
3692
3693 * MAINTAINERS (Target Instruction Set Architectures): Update
3694 arm-elf. Can be built with -Werror, has been multiarched.
3695
3696 * value.h (unpack_long): Make buffer parameter constant.
3697 (unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
3698 * scm-lang.h (scm_parse): Ditto.
3699 * defs.h (extract_typed_address, extract_address): Ditto.
3700 (extract_long_unsigned_integer): Ditto.
3701 * inferior.h (unsigned_pointer_to_address): Ditto.
3702 (signed_pointer_to_address): Ditto.
3703 * gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
3704 * gdbarch.h, gdbarch.c: Regenerate.
3705 * findvar.c (extract_long_unsigned_integer): Update.
3706 (extract_address): Update.
3707 (extract_typed_address): Update.
3708 (unsigned_pointer_to_address): Update.
3709 * values.c (unpack_long): Update.
3710 (unpack_double): Update.
3711 (unpack_pointer): Update.
3712 (unpack_field_as_long): Update.
3713 * d10v-tdep.c (d10v_pointer_to_address): Update.
3714 * avr-tdep.c (avr_pointer_to_address): Update.
3715 * scm-lang.c (scm_unpack): Update.
3716 * findvar.c (signed_pointer_to_address): Update.
3717
b089b3da
ML
37182003-01-06 Michal Ludvig <[email protected]>
3719
3720 * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore
3721 since it is in i386-tdep.c.
3722
aff87235
JB
37232003-01-06 J. Brobecker <[email protected]>
3724
3725 * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
3726 failure introduced in the previous change.
3727
34f5e845
MC
37282003-01-05 Michael Chastain <[email protected]>
3729
3730 * README: Remove references to deleted remote-*.c files:
3731 remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
3732 remote-nrom.c, remote-os9k.c, remote-udi.c.
3733
28bcfd30
MK
37342003-01-05 Mark Kettenis <[email protected]>
3735
3736 * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
3737 * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
3738 i386_get_longjmp_target.
3739
15a5b3ee
AC
37402003-01-05 Andrew Cagney <[email protected]>
3741
3742 * arm-tdep.c (prologue_cache): Change to a pointer.
3743 (_initialize_arm_tdep): Allocate prologue_cache.
3744 (check_prologue_cache): Update.
3745 (save_prologue_cache): Update.
3746 (arm_gdbarch_init): Update.
3747
c263362b
DJ
37482003-01-04 Daniel Jacobowitz <[email protected]>
3749
3750 * stabsread.c (update_method_name_from_physname): Call complaint()
3751 instead of error.
3752
51603483
DJ
37532003-01-04 Daniel Jacobowitz <[email protected]>
3754
3755 * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
3756 * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
3757 * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
3758
3759 * blockframe.c: Include "gdbcmd.h" and "command.h".
3760 (backtrace_below_main): New variable.
3761 (file_frame_chain_valid, func_frame_chain_valid)
3762 (nonnull_frame_chain_valid, generic_file_frame_chain_valid)
3763 (generic_func_frame_chain_valid): Remove functions.
3764 (frame_chain_valid, do_flush_frames_sfunc): New functions.
3765 (_initialize_blockframe): New function.
3766 * Makefile.in (blockframe.o): Update dependencies.
3767 * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
3768 comment. Call frame_chain_valid ().
3769 * frame.h: Remove old prototypes. Add prototype for
3770 frame_chain_valid and update comments to match.
3771 * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
3772 Remove old comment.
3773 * gdbarch.h: Regenerated.
3774 * gdbarch.c: Regenerated.
3775
3776 * alpha-tdep.c (alpha_gdbarch_init): Don't call
3777 set_gdbarch_frame_chain_valid.
3778 * avr-tdep.c (avr_gdbarch_init): Likewise.
3779 * cris-tdep.c (cris_gdbarch_init): Likewise.
3780 * frv-tdep.c (frv_gdbarch_init): Likewise.
3781 * h8300-tdep.c (h8300_gdbarch_init): Likewise.
3782 * i386-tdep.c (i386_svr4_init_abi): Likewise.
3783 (i386_nw_init_abi): Likewise.
3784 (i386_gdbarch_init): Likewise.
3785 * ia64-tdep.c (ia64_gdbarch_init): Likewise.
3786 * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
3787 * m68k-tdep.c (m68k_gdbarch_init): Likewise.
3788 * mcore-tdep.c (mcore_gdbarch_init): Likewise.
3789 * mips-tdep.c (mips_gdbarch_init): Likewise.
3790 * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
3791 * ns32k-tdep.c (ns32k_gdbarch_init): Likewise.
3792 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise.
3793 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
3794 * s390-tdep.c (s390_gdbarch_init): Likewise.
3795 * sh-tdep.c (sh_gdbarch_init): Likewise.
3796 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
3797 * v850-tdep.c (v850_gdbarch_init): Likewise.
3798 * vax-tdep.c (vax_gdbarch_init): Likewise.
3799 * x86-64-tdep.c (x86_64_init_abi): Likewise.
3800
3801 * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define.
3802 * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise.
3803 * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise.
3804 * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise.
3805 * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise.
3806 * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise.
3807 * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise.
3808 * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise.
3809
b00a8037
DJ
38102002-01-04 Daniel Jacobowitz <[email protected]>
3811
3812 * Makefile.in (acconfig_h): Remove incorrect macro.
3813 (config_h): Define.
3814 (osabi.o): Update dependencies.
3815 * configure.tgt: Set gdb_osabi based on target triplet.
3816 * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
3817 * configure: Regenerated.
3818 * config.in: Regenerated.
3819 * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
3820 (GDB_OSABI_DEFAULT): Define if not already defined.
3821 (user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
3822 (set_osabi_string): New variables.
3823 (gdbarch_register_osabi): Add new OS ABI to
3824 gdb_osabi_available_names.
3825 (gdbarch_lookup_osabi): Honor specified and default OS ABIs.
3826 (set_osabi, show_osabi): New functions.
3827 (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
3828
4be87837
DJ
38292003-01-04 Daniel Jacobowitz <[email protected]>
3830
3831 * arch-utils.c (gdbarch_info_init): Set osabi to
3832 GDB_OSABI_UNINITIALIZED.
3833 * gdbarch.sh: Add osabi to struct gdbarch and to struct
3834 gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi
3835 in gdbarch_list_lookup_by_info and in gdbarch_update_p.
3836 * gdbarch.c: Regenerated.
3837 * gdbarch.h: Regenerated.
3838 * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
3839 there's no BFD.
3840 (gdbarch_init_osabi): Remove osabi argument; use info.osabi.
3841 * osabi.h (enum gdb_osabi): Move to defs.h.
3842 (gdbarch_init_osabi): Update prototype.
3843 * defs.h (enum gdb_osabi): Moved here.
3844 * Makefile.in: Update dependencies.
3845
3846 * alpha-tdep.h: Don't include "osabi.h".
3847 (struct gdbarch_tdep): Remove osabi member.
3848 * alpha-tdep.c: Include "osabi.h".
3849 (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3850 iterate over arches. Update call to gdbarch_init_osabi.
3851 (alpha_dump_tdep): Don't dump osabi.
3852 * alpha-linux-tdep.c: Include "osabi.h".
3853 * alpha-osf1-tdep.c: Include "osabi.h".
3854 * alphafbsd-tdep.c: Include "osabi.h".
3855 * alphanbsd-tdep.c: Include "osabi.h".
3856
3857 * arm-tdep.h: Don't include "osabi.h".
3858 (struct gdbarch_tdep): Remove osabi member.
3859 * arm-tdep.c: Include "osabi.h".
3860 (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3861 iterate over arches. Update call to gdbarch_init_osabi.
3862 (arm_dump_tdep): Don't dump osabi.
3863 * arm-linux-tdep.c: Include "osabi.h".
3864 * armnbsd-tdep.c: Include "osabi.h".
3865
3866 * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi.
3867 Update call to gdbarch_init_osabi.
3868
3869 * i386-tdep.h: Don't include "osabi.h".
3870 (struct gdbarch_tdep): Remove osabi member.
3871 * i386-tdep.c: Include "osabi.h".
3872 (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3873 iterate over arches. Update call to gdbarch_init_osabi.
3874 (i386_dump_tdep): Don't dump osabi.
3875 * i386-linux-tdep.c: Include "osabi.h".
3876 * i386-sol2-tdep.c: Include "osabi.h".
3877 * i386bsd-tdep.c: Include "osabi.h".
3878 * i386gnu-tdep.c: Include "osabi.h".
3879 * i386ly-tdep.c: Include "osabi.h".
3880 * i386nbsd-tdep.c: Include "osabi.h".
3881 * i386obsd-tdep.c: Include "osabi.h".
3882
3883 * mips-tdep.c (struct gdbarch_tdep): Remove osabi member.
3884 (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3885 check osabi when iterating over arches. Update call to
3886 gdbarch_init_osabi.
3887 (mips_dump_tdep): Don't dump osabi.
3888
3889 * ns32k-tdep.h: Don't include "osabi.h".
3890 (struct gdbarch_tdep): Remove.
3891 * ns32k-tdep.c (ns32k_gdbarch_init): Don't call
3892 gdbarch_lookup_osabi. Don't iterate over arches. Don't
3893 allocate tdep. Update call to gdbarch_init_osabi.
3894 (ns32k_dump_tdep): Remove.
3895 (_initialize_ns32k_tdep): Update call to gdbarch_register.
3896 * ns32knbsd-tdep.c: Include "osabi.h".
3897
3898 * ppc-tdep.h: Don't include "osabi.h".
3899 (struct gdbarch_tdep): Remove osabi member.
3900 * rs6000-tdep.c: Include "osabi.h".
3901 (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check
3902 osabi when iterating over arches. Update call to
3903 gdbarch_init_osabi.
3904 (rs6000_dump_tdep): Don't dump osabi.
3905 * ppc-linux-tdep.c: Include "osabi.h".
3906 * ppcnbsd-tdep.c: Include "osabi.h".
3907
3908 * sh-tdep.h: Don't include "osabi.h".
3909 (struct gdbarch_tdep): Remove osabi member.
3910 * sh-tdep.c: Include "osabi.h".
3911 (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3912 iterate over arches. Update call to gdbarch_init_osabi.
3913 (sh_dump_tdep): Don't dump osabi.
3914 * shnbsd-tdep.c: Include "osabi.h".
3915
3916 * sparc-tdep.c: Include "osabi.h".
3917 (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3918 iterate over arches. Update call to gdbarch_init_osabi.
3919 (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the
3920 tdep structure.
3921
3922 * vax-tdep.h: Don't include "osabi.h".
3923 (struct gdbarch_tdep): Remove.
3924 * vax-tdep.c: Include "osabi.h".
3925 (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
3926 iterate over arches. Don't allocate tdep. Update call
3927 to gdbarch_init_osabi.
3928 (vax_dump_tdep): Remove.
3929 (_initialize_vax_tdep): Update call to gdbarch_register.
3930
a881cf8e
DJ
39312003-01-04 Daniel Jacobowitz <[email protected]>
3932
3933 * breakpoint.c (insert_breakpoints): Skip disabled breakpoints
3934 entirely.
3935 (breakpoint_re_set_one): Don't fetch the value for a disabled
3936 watchpoint.
3937
1e698235
DJ
39382003-01-04 Daniel Jacobowitz <[email protected]>
3939
3940 * buildsym.h (processing_hp_compilation): Remove obsolete variable.
3941 * gdbarch.sh Remove include of "value.h" in gdbarch.h.
3942 (COERCE_FLOAT_TO_DOUBLE): Remove.
3943 * gdbarch.c: Regenerate.
3944 * gdbarch.h: Regenerate.
3945 * Makefile.in: Remove value_h from gdbarch_h.
3946 * valops.c (coerce_float_to_double): New variable.
3947 (default_coerce_float_to_double): Remove.
3948 (standard_coerce_float_to_double): Remove.
3949 (value_arg_coerce): Use coerce_float_to_double.
3950 (_initialize_valops): Add "set coerce-float-to-double".
3951 * value.h (default_coerce_float_to_double): Remove prototype.
3952 (standard_coerce_float_to_double): Remove prototype.
3953
3954 * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
3955 prototyped.
3956 * mdebugread.c (parse_symbol): Likewise.
3957 * stabsread.c (define_symbol): Mark all functions as prototyped.
3958
3959 * hppa-tdep.c (hppa_coerce_float_to_double): Remove.
3960 * alpha-tdep.c (alpha_gdbarch_init): Remove call to
3961 set_gdbarch_coerce_float_to_double.
3962 * arm-tdep.c (arm_gdbarch_init): Likewise.
3963 * frv-tdep.c (frv_gdbarch_init): Likewise.
3964 * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
3965 * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
3966 * mips-tdep.c (mips_gdbarch_init): Likewise.
3967 (mips_coerce_float_to_double): Remove.
3968 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
3969 (rs6000_coerce_float_to_double): Remove.
3970 * s390-tdep.c (s390_gdbarch_init): Likewise.
3971 * sh-tdep.c (sh_gdbarch_init): Likewise.
3972 (sh_coerce_float_to_double): Remove.
3973 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
3974 (sparc_coerce_float_to_double): Remove.
3975 * v850-tdep.c (v850_gdbarch_init): Likewise.
3976 * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
3977 * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
3978 * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
3979 (hppa_coerce_float_to_double): Remove prototype.
3980 * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
3981
f436a26a
DJ
39822003-01-04 Daniel Jacobowitz <[email protected]>
3983
3984 * regformats/reg-m68k.dat: Remove fpcode and fpflags.
3985
248f8055
DJ
39862003-01-04 Daniel Jacobowitz <[email protected]>
3987
3988 Suggested by Stewart Brown <[email protected]>:
3989 * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
3990 in recursive calls. Handle TYPE_CODE_TYPEDEF.
3991 (c_type_print_varspec_suffix): Likewise.
3992
72cfdc76
MK
39932003-01-04 Mark Kettenis <[email protected]>
3994
bfd260bb
MK
3995 * configure.in: Don't set and AC_SUBST SUBDIRS.
3996 * configure: Regenerated.
3997
72cfdc76
MK
3998 * configure.in: Remove code dealing with shared libraries.
3999 * Makefile.in: Remove HLDFLAGS and HLDENV.
4000 * configure: Regenerated.
4001
c8b8a898
AC
40022003-01-04 Andrew Cagney <[email protected]>
4003
4004 * frame.c (deprecated_frame_xmalloc): New function.
4005 (deprecated_set_frame_saved_regs_hack): New function.
4006 (deprecated_set_frame_extra_info_hack): New function.
4007 * frame.h (deprecated_frame_xmalloc): Declare.
4008 (deprecated_set_frame_saved_regs_hack): Declare.
4009 (deprecated_set_frame_extra_info_hack): Declare.
4010
14abd0fb
MK
40112003-01-04 Mark Kettenis <[email protected]>
4012
8ee53726
MK
4013 * configure.in: Move code that provides the --enable-gdbtk option
4014 right after the code that handles the --enable-tui option, and
4015 polish it somewhat.
4016 * configure: Regenerated.
4017
14abd0fb
MK
4018 * configure.in: Call AC_GNU_SOURCE. Check for pread64 using
4019 AC_CHECK_FUNCS and remove the old check for pread64.
4020 * acinclude.m4 (AC_GNU_SOURCE): New macro.
4021 * acconfig.h (_GNU_SOURCE): Add.
4022 (HAVE_PREAD64): Remove.
4023 * configure, aclocal.m4, config.in: Regenerated.
4024
b2fb4676
AC
40252003-01-03 Andrew Cagney <[email protected]>
4026
4027 * alpha-tdep.c: Use get_frame_saved_regs.
4028 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
4029 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
4030 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
4031 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
4032 * vax-tdep.c, xstormy16-tdep.c: Ditto.
4033
8dcde887
MK
40342003-01-03 Mark Kettenis <[email protected]>
4035
4036 * configure.in: Remove all use of the SUBDIRS variable; add
4037 directories using the AC_CONFIG_SUBDIRS macro instead. Polish
4038 code providing the --enable-multi-ice option, and move it right in
4039 front of the code that checks whether gdbserver is supported.
4040 Polish that too.
4041 * configure: Regenerated.
4042 * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
4043 @SUBDIRS@.
4044
8ccd593b
AC
40452003-01-03 Andrew Cagney <[email protected]>
4046
4047 * alpha-tdep.c: Use deprecated_update_frame_base_hack.
4048 * avr-tdep.c, cris-tdep.c: Ditto.
4049 * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
4050 * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
4051
91151a06
MK
40522003-01-03 Mark Kettenis <[email protected]>
4053
4054 * configure.in: Remove --enable-netrom option.
4055 * configure: Regenerated.
4056
8fe84d01
MK
40572003-01-03 Mark Kettenis <[email protected]>
4058
4059 * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
4060 declaration for `struct re_pattern_buffer' instead.
4061 * Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
4062
f0394be6
JB
40632003-01-03 J. Brobecker <[email protected]>
4064
4065 * mdebugread.c (parse_symbol): Count until the stEnd matching
4066 the structure name.
4067
27e9bf90
MK
40682003-01-02 Mark Kettenis <[email protected]>
4069
93d331ba
MK
4070 * configure.in: Remove --with-cpu option.
4071 subscripts. Remove evil changequotes here.
4072 * acconfig.h (TARGET_CPU_DEFAULT): Remove.
4073 * config.in, configure: Regenerated.
4074
27e9bf90
MK
4075 * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
4076 * configure.in: Cleanup section that sources GDB and BFD configure
4077 subscripts. Remove evil changequotes here.
4078 * config.in, configure: Regenerated.
4079
50abf9e5
AC
40802003-01-02 Andrew Cagney <[email protected]>
4081
4082 * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
4083 frame accessor methods.
4084 * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
4085 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
4086 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
4087 * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
4088 * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
4089 * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
4090 * z8k-tdep.c: Ditto.
4091
287c1a40
MK
40922003-01-02 Mark Kettenis <[email protected]>
4093
f5dbc56d
MK
4094 * configure.in: Remove UI_OUT configuration code.
4095 * ada-lang.c: Update assuming UI_OUT is always true.
4096 * Makefile.in (UIOUT_CFLAGS): Remove.
4097 * configure: Regenerated.
4098 * TODO: Remove blurb about elimination of -DUI_OUT.
4099
627af7ea
MK
4100 * configure.in: Move code that provides the --enable-gdbcli,
4101 --enable-gdbmi options right before the code that handles the
4102 --enable-tui option. Polish a bit.
4103 * configure: Regenerated.
4104
06825bd1
MK
4105 * configure.in: Rewrite check for GNU regex and the
4106 --without-included regex option, and move it into the "Checks for
4107 library functions" section. This makes us use the system regex
4108 again by default on systems with version 2 of the GNU C library.
4109 This was apparently broken.
4110 * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
4111 * acconfig.h (USE_INCLUDED_REGEX): Remove.
4112 * config.in, configure: Regenerated.
4113
287c1a40
MK
4114 * configure.in: Move code that provides the --enable-tui option
4115 before the "Checks for libraries" section. Polish the code
4116 somewhat and set need_curses to yes if we build the TUI. Rewrite
4117 code that looks for a library providing termcap functionality to
4118 match more closely what's done in the Readline library, and move
4119 it into to the "Checks for libraries" section.
4120 * configure: Regenerated.
4121 * Makefile.in (TERMCAP): Remove variable.
4122 * config/i386/go32.mh (TERMCAP): Remove variable.
4123
684e56bf
AC
41242003-01-02 Andrew Cagney <[email protected]>
4125
4126 * MAINTAINERS: Mention gdb_mbuild.sh.
4127 * gdb_mbuild.sh: Rewrite.
4128
e1ea1d75
MK
41292003-01-02 Mark Kettenis <[email protected]>
4130
4131 * configure.in: Fix typo in last change.
4132 * config.in, configure: Regenerated.
4133
1b831c93
AC
41342003-01-02 Andrew Cagney <[email protected]>
4135
4136 * valarith.c (value_binop): Delete obsolete code and comments.
4137 * configure.host: Ditto.
4138 * buildsym.h (make_blockvector): Ditto.
4139 * buildsym.c (make_blockvector): Ditto.
4140 * defs.h (enum language): Ditto.
4141 (chill_demangle): Ditto.
4142 * elfread.c (elf_symtab_read): Ditto.
4143 * dwarfread.c (CHILL_PRODUCER): Ditto.
4144 (set_cu_language): Ditto.
4145 (handle_producer): Ditto.
4146 * expprint.c (print_subexp): Ditto.
4147 * gdbtypes.c (chill_varying_type): Ditto.
4148 * gdbtypes.h (builtin_type_chill_bool): Ditto.
4149 (builtin_type_chill_char, builtin_type_chill_long): Ditto.
4150 (builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
4151 (chill_varying_type): Ditto.
4152 * language.h (_LANG_chill): Ditto.
4153 * language.c (binop_result_type, integral_type): Ditto.
4154 (character_type, string_type, structured_type): Ditto.
4155 (lang_bool_type, binop_type_check): Ditto.
4156 * stabsread.h (os9k_stabs): Ditto.
4157 * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
4158 (define_symbol, read_type, read_struct_fields): Ditto.
4159 (read_array_type, read_enum_type, read_huge_number): Ditto.
4160 (read_range_type, start_stabs): Ditto.
4161 * symfile.c (init_filename_language_table): Ditto.
4162 (add_psymbol_with_dem_name_to_list): Ditto.
4163 * symtab.c (symbol_init_language_specific): Ditto.
4164 (symbol_init_demangled_name, symbol_demangled_name): Ditto.
4165 * symtab.h (struct general_symbol_info): Ditto.
4166 (SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
4167 * typeprint.c (typedef_print): Ditto.
4168 * utils.c (fprintf_symbol_filtered): Ditto.
4169 * valops.c (value_cast, search_struct_field, value_slice): Delete
4170 obsolete code.
4171 (varying_to_slice): Delete function.
4172 * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
4173 (varying_to_slice): Delete declaration.
4174 * MAINTAINERS: Update.
4175
8bb2c122
MK
41762003-01-02 Mark Kettenis <[email protected]>
4177
97bf5e38
MK
4178 * configure.in: Reorganize "Checks for library functions section"
4179 a bit. Remove check for `btowc' and `isascii' functions.
4180 * configure: Regenerated.
4181
5ee754fc
MK
4182 * acconfig.h (_MSE_INT_H): Remove.
4183 * configure.in: Create "Checks for header files" section, and move
4184 appropriate tests there. Don't check for objlist.h, wchar.h,
4185 wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h>
4186 misdetection fix. Also add "Checks for types", "Checks for
4187 compiler characteristics" and "Checks for library functions"
4188 sections.
4189 * config.in, configure: Regenerated.
4190
8bb2c122
MK
4191 * configure.in: Create "Checks for programs" section, and move
4192 appropriate tests there.
4193
9a156167
MK
41942003-01-01 Mark Kettenis <[email protected]>
4195
4196 * configure.in: Create "Checks for libraries" section, and move
4197 appropriate tests there. Cleanup check for wctype in libw. Use
4198 AC_SEARCH_LIBS to see whether we need libsocket.
4199 * configure: Regenerated.
4200
a80e2bcb 4201For older changes see ChangeLog-2002
c906108c
SS
4202\f
4203Local Variables:
4204mode: change-log
4205left-margin: 8
4206fill-column: 74
4207version-control: never
4208End:
This page took 1.31277 seconds and 4 git commands to generate.