2003-04-16 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
25d41031
AC
12003-04-16 Andrew Cagney <cagney@redhat.com>
2
3 * utils.c (xmmalloc): Always allocate something, matches
4 libiberty/xmalloc's semantics.
5 (xmrealloc, xmcalloc): Ditto.
6
c50901fd
AC
72003-04-16 Andrew Cagney <cagney@redhat.com>
8
9 * frame.c (get_prev_frame): Do not initialize "unwind" or "type",
10 update comments.
11 (get_frame_type): Initialize unwind and type when needed.
12 (get_frame_id, frame_register_unwind): Ditto.
13
f81824a9
AC
142003-04-16 Andrew Cagney <cagney@redhat.com>
15
16 * NEWS: Mention that sparclet-*-* and sparclite-*-* have been made
17 obsolete.
18 * sparc-tdep.c: Obsolete SPARCLET and SPARCLITE code.
19 * sparcl-stub.c: Obsolete file.
20 * config/sparc/tm-sparclet.h: Obsolete file.
21 * sparclet-stub.c: Obsolete file.
22 * sparclet-rom.c: Obsolete file.
23 * sparcl-tdep.c: Obsolete file.
24 * config/sparc/tm-sparclite.h: Obsolete file.
25 * config/sparc/sparclite.mt: Obsolete file.
26 * config/sparc/sparclet.mt: Obsolete file.
27 * configure.tgt: Make sparclet-*-*, sparclite-*-*, and
28 sparc86x-*-* obsolete.
29
9219021c
DC
302003-04-15 David Carlton <carlton@math.stanford.edu>
31
32 * Makefile.in (SFILES): Add cp-namespace.c.
33 (COMMON_OBS): Add cp-namespace.o.
34 (block.o): Depend on gdb_obstack_h and cp_support_h.
35 (buildsym.o): Depend on cp_support_h.
36 (cp-namespace.o): New.
37 (cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h,
38 gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h.
39 (dwarf2read.o): Depend on cp_support_h.
40 * jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE.
41 * dwarf2read.c (process_die): Set processing_has_namespace_info,
42 processing_current_namespace.
43 (read_namespace): Update processing_current_namespace; check for
44 anonymous namespaces.
45 (dwarf2_name): New function.
46 (dwarf2_extension): Ditto.
47 * cp-support.h: Update copyright, contributors.
48 Add inclusion guards.
49 Add opaque declaration for structs obstack, block, symbol.
50 (struct using_direct): New struct.
51 Add declarations for cp_find_first_component,
52 cp_entire_prefix_len, processing_has_namespace_info,
53 processing_current_namespace, cp_is_anonymous,
54 cp_add_using_directive, cp_initialize_namespace,
55 cp_finalize_namespace, cp_set_block_scope,
56 cp_scan_for_anonymous_namespaces.
57 * cp-namespace.c: New file.
58 * cp-support.c: Update copyright.
59 Include ctype.h, gdb_assert.h, gdbcmd.h.
60 New variable maint_cplus_cmd_list.
61 (cp_find_first_component): New function.
62 (cp_entire_prefix_len, maint_cplus_command)
63 (first_component_command, _initialize_cp_support): Ditto.
64 * buildsym.c: Include cp-support.h.
65 New variable using_list.
66 (add_symbol_to_list): Check for anonymous namespaces.
67 (finish_block): Set block's scope.
68 (start_symtab): Initialize C++ namespace support.
69 (end_symtab): Finalize C++ namespace support.
70 * block.h: Add opaque declarations for structs
71 block_namespace_info, using_direct, and obstack.
72 Add declarations for block_set_scope and block_set_using.
73 (struct block): Add 'language_specific' member.
74 (BLOCK_NAMESPACE): New macro.
75 * block.c: Include gdb_obstack.h and cp-support.h.
76 (struct block_namespace_info): New struct.
77 (block_set_scope): New function.
78 (block_set_using, block_initialize_namespace): Ditto.
79
d5a921c9
KB
802003-04-14 Kevin Buettner <kevinb@redhat.com>
81
82 * solib-svr4.c (svr4_have_link_map_offsets): New function.
83 (locate_base): Return early if there aren't any link map offsets.
84 (svr4_solib_create_inferior_hook): Warn if shared library support
85 is unavailable.
86
d2a52b27
DC
872003-04-14 David Carlton <carlton@math.stanford.edu>
88
89 * symtab.c (symbol_set_names): Add prefix when storing Java names
90 in hash table. Fix for PR java/1039.
91
980cae7a
DC
922003-04-14 David Carlton <carlton@math.stanford.edu>
93
94 * symtab.c (symbol_set_names): Rename 'name' arg to
95 'linkage_name', and 'tmpname' variable to 'linkage_name_copy'.
96 * symtab.h: Change 'name' argument in declaration of
97 symbol_set_names to 'linkage_name'.
98 (SYMBOL_SET_NAMES): Change 'name' argument to 'linkage_name'.
99
e227b13c
AC
1002003-04-14 Andrew Cagney <cagney@redhat.com>
101
102 * mips-tdep.c (mips_read_sp): Do not apply ADDR_BITS_REMOVE,
103 return the fully sign-extended register value.
104 (get_frame_pointer): Ditto.
105 (mips_pop_frame): Initialize "proc_desc" after checking for a
106 dummy frame.
107
36712a20
AC
1082003-04-14 Andrew Cagney <cagney@redhat.com>
109
110 * mips-tdep.c (mips_push_dummy_frame): Delete function.
111 (MASK, PUSH_FP_REGNUM, GEN_REG_SAVE_MASK): Delete macros.
112 (FLOAT_REG_SAVE_MASK, FLOAT_SINGLE_REG_SAVE_MASK): Delete macro.
113 (mips_push_register): Delete function.
114 (mips_dump_tdep): Delete references to GEN_REG_SAVE_MASK and
115 PUSH_FP_REGNUM.
116
44ea7b70
JB
1172003-04-14 Jim Blandy <jimb@redhat.com>
118
119 * symmisc.c: #include "gdb_regex.h".
120 (maintenance_list_symtabs, maintenance_list_psymtabs): New
121 functions.
122 * maint.c (maintenance_list_command): New function.
123 (_initialize_maint_cmds): Register the above as commands.
124 * symtab.h (maintenance_list_symtabs,
125 maintenance_list_psymtabs): New declarations.
126 * cli/cli-cmds.c (maintenancelistlist): New variable.
127 (init_cmd_lists): Initialize it.
128 * cli/cli-cmds.h (maintenancelistlist): New declaration.
129 * gdbcmd.h (maintenancelistlist): New declaration.
130 * Makefile.in (symmisc.o): Update dependencies.
131
2d0c7962
EZ
1322003-04-14 Elena Zannoni <ezannoni@redhat.com>
133
134 * s390-nat.c: Include asm/types.h for addr_t.
135
1947a811
CV
1362003-04-14 Corinna Vinschen <vinschen@redhat.com>
137
138 * cp-valprint.c (cp_print_class_method): Call unpack_pointer() with
139 actually incoming type.
140
adb616d7
AC
1412003-04-13 Andrew Cagney <cagney@redhat.com>
142
143 * ppc-linux-tdep.c: Use get_frame_base, get_frame_pc,
144 get_next_frame and get_frame_saved_regs.
145
9b5e151c
AC
1462003-04-13 Andrew Cagney <cagney@redhat.com>
147
148 * reggroups.c (default_register_reggroup_p): Use NUM_REGS instead
149 of gdbarch_num_regs.
150
ef6e7e13
AC
1512003-04-13 Andrew Cagney <cagney@redhat.com>
152
153 * frame.h: Mention what replaced what in "struct frame_info".
154 * hppa-hpux-tdep.c: Use get_frame_base, get_frame_pc and
155 deprecated_update_frame_base_hack and
156 deprecated_update_frame_pc_hack.
157 * hppa-tdep.c: Ditto.
158
61fbb938
DJ
1592003-04-13 Daniel Jacobowitz <drow@mvista.com>
160
161 * dwarf2expr.h (struct dwarf_expr_context): Remove extra arguments
162 to read_reg and update its comment. Remove regnum member.
163 * dwarf2expr.c (execute_stack_op): Remove memaddr and expr_lval.
164 Don't call read_reg when setting in_reg. Call read_reg to get
165 the frame base if it's in a register. Return the register number
166 on the stack instead of in the context. Remove extra arguments
167 to read_reg.
168 * dwarf2loc.c (dwarf_expr_read_reg): Remove extra arguments.
169 (dwarf2_evaluate_loc_desc): Call value_from_register. Expect
170 the register number on the expression stack.
171 (needs_frame_read_reg): Remove extra arguments.
172
0d53c4c4
DJ
1732003-04-13 Daniel Jacobowitz <drow@mvista.com>
174
175 * dwarf2expr.c (dwarf2_read_address): Renamed from read_address;
176 made non-static.
177 (execute_stack_op): All callers updated.
178 * dwarf2expr.h: Add prototype for dwarf2_read_address.
179 * dwarf2loc.c (find_location_expression): New function.
180 (dwarf_expr_frame_base): Call it.
181 (dwarf2_evaluate_loc_desc): Handle 0-length location expressions.
182 (dwarf2_tracepoint_var_ref): New function, broken out from
183 locexpr_tracepoint_var_ref.
184 (locexpr_tracepoint_var_ref): Call dwarf2_tracepoint_var_ref.
185 Make static.
186 (loclist_read_variable, loclist_read_needs_frame): New functions.
187 (loclist_describe_location, loclist_tracepoint_var_ref): New
188 functions.
189 (dwarf2_loclist_funcs): New struct location_funcs.
190 * dwarf2loc.h (struct dwarf2_loclist_baton): New type.
191 (struct dwarf2_locexpr_baton): Add comments.
192 (dwarf2_loclist_funcs): New extern.
193 * dwarf2read.c (struct comp_unit_head): Remove DIE member, add
194 base_address and base_known.
195 (dwarf_loc_buffer): New variable.
196 (struct dwarf2_pinfo): Add dwarf_loc_buffer and dwarf_loc_size.
197 (DWARF_LOC_BUFFER, DWARF_LOC_SIZE): New macros.
198 (dwarf2_has_info): Initialize dwarf_loc_offset.
199 (dwarf2_build_psymtabs): Read in .debug_loc.
200 (dwarf2_build_psymtabs_hard): Use DWARF_LOC_BUFFER and
201 DWARF_LOC_SIZE.
202 (psymtab_to_symtab_1): Likewise. Move base address calculation
203 here, from...
204 (dwarf2_get_pc_bounds): ... here. Use the base address from
205 cu_header.
206 (dwarf2_symbol_mark_computed): Handle location lists.
207
6aca59a3
DJ
2082003-04-13 Daniel Jacobowitz <drow@mvista.com>
209
210 * minsyms.c (install_minimal_symbols): Only switch to gnu-v3 mode
211 if the linkage name demangled successfully.
212
aca1fcd0
MK
2132003-04-13 Mark Kettenis <kettenis@gnu.org>
214
97095916
MK
215 * x86-64-tdep.c (att_flavour, intel_flavour, valid_flavours,
216 disassmbly_flavour): Removed.
217
aca1fcd0
MK
218 * x86-64-tdep.c (gdb_print_insn_x86_64): Removed.
219
562a961f
MK
2202003-04-13 Mark Kettenis <kettenis@gnu.org>
221
222 * x86-64-tdep.c (x86_64_breakpoint_from_pc): Removed.
223
bd013d54
AC
2242003-04-12 Andrew Cagney <cagney@redhat.com>
225
226 * frame.h (struct frame_info): Move definition from here ...
227 * frame.c (struct frame_info): ... to here.
228
167ef8b1
AC
2292003-04-12 Andrew Cagney <cagney@redhat.com>
230
231 * gdbthread.h (save_infrun_state): Delete parameter
232 "prev_func_start".
233 (struct thread_info): Delete field "prev_func_start".
234 (load_infrun_state): Ditto.
235 * thread.c (load_infrun_state, save_infrun_state): Update.
236 * infrun.c (prev_func_start): Delete variable.
237 (context_switch, init_wait_for_inferior): Update.
238 (stop_stepping, keep_going): Update.
239
da3331ec
AC
2402003-04-12 Andrew Cagney <cagney@redhat.com>
241
242 * gdbarch.sh: Add missing opaque declarations.
243 * gdbarch.h: Regnerate.
244 * symtab.h: Add missing opaque declarations.
245 * value.h, target.h, symfile.h, stabsread.h: Ditto.
246 * x86-64-tdep.h, xmodem.h, monitor.h, typeprint.h: Ditto.
247 * srec.h, solib-svr4.h, source.h, inferior.h: Ditto.
248 * ser-unix.h, serial.h, remote-utils.h, gdbcore.h: Ditto.
249 * ppc-tdep.h, ocd.h, mips-tdep.h, gdbtypes.h: Ditto.
250 * buildsym.h, builtin-regs.h, linespec.h, language.h: Ditto.
251 * i387-tdep.h, gdbthread.h, event-top.h, gdb.h: Ditto.
252 * dwarf2cfi.h, doublest.h, disasm.h, cp-abi.h: Ditto.
253 * cli-out.h, c-lang.h, ax-gdb.h, arch-utils.h: Ditto.
254 * ada-lang.h, config/nm-lynx.h, config/nm-linux.h: Ditto.
255 * config/sparc/tm-sp64.h, config/rs6000/tm-rs6000.h: Ditto.
256 * config/pa/tm-hppah.h, config/m68k/tm-delta68.h: Ditto.
257 * cli/cli-setshow.h, cli/cli-script.h: Ditto.
258
18adea3f
AC
2592003-04-11 Andrew Cagney <cagney@redhat.com>
260
261 * frame.c (get_frame_id): Return this frame's "id".
262 (legacy_get_prev_frame): Set prev's frame ID code_addr to the
263 function start.
264 (legacy_saved_regs_this_id): Replace function body with
265 internal-error.
266 (deprecated_frame_xmalloc): Mark the frame ID as valid, use
267 FRAME_OBSTACK_ZALLOC.
268 (create_new_frame): Mark the frame ID as valid.
269
2252e863
AO
2702003-04-11 Alexandre Oliva <aoliva@redhat.com>
271
272 * Makefile.in (libbfd_h): Added missing setting.
273 * mips-tdep.c (mips_gdbarch_init): Set disassembler_options
274 according to the selected ABI.
275
a8245ab8
JJ
2762003-04-11 Jeff Johnston <jjohnstn@redhat.com>
277
278 * gdb_indent.sh: Recognize pid_t and sigset_t as types.
279
6913c89a
AC
2802003-04-11 Andrew Cagney <cagney@redhat.com>
281
282 * gdbarch.sh (DEPRECATED_SAVED_PC_AFTER_CALL): Deprecate
283 SAVED_PC_AFTER_CALL.
284 * gdbarch.h, gdbarch.c: Regenerate.
285 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
286 * x86-64-tdep.c (x86_64_init_abi): Update.
287 * vax-tdep.c (vax_gdbarch_init): Update.
288 * v850-tdep.c (v850_gdbarch_init): Update.
289 * sparc-tdep.c (sparc_gdbarch_init): Update.
290 * sh-tdep.c (sh_gdbarch_init): Update.
291 * s390-tdep.c (s390_gdbarch_init): Update.
292 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
293 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
294 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
295 * mips-tdep.c (mips_gdbarch_init): Update.
296 * mcore-tdep.c (mcore_gdbarch_init): Update.
297 * m68k-tdep.c (m68k_gdbarch_init): Update.
298 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
299 * ia64-tdep.c (ia64_gdbarch_init): Update.
300 (ia64_saved_pc_after_call): Update declaration.
301 * i386ly-tdep.c (i386lynx_init_abi): Update.
302 * i386-tdep.c (i386_gdbarch_init): Update.
303 * hppa-tdep.c (hppa_gdbarch_init): Update.
304 * h8300-tdep.c (h8300_gdbarch_init): Update.
305 * frv-tdep.c (frv_gdbarch_init): Update.
306 * cris-tdep.c (cris_gdbarch_init): Update.
307 * avr-tdep.c (avr_gdbarch_init): Update.
308 * arm-tdep.c (arm_gdbarch_init): Update.
309 * alpha-tdep.c (alpha_gdbarch_init): Update.
310 * ns32knbsd-nat.c (frame_num_args): Update.
311 * ns32k-tdep.c (umax_frame_num_args): Update.
312 * mips-tdep.c (mips_init_frame_pc_first): Update.
313 * infrun.c (step_over_function): Update.
314 * i386-linux-tdep.c (skip_hurd_resolver): Update.
315 * i386-interix-tdep.c (i386_interix_back_one_frame): Update.
316 * config/sparc/tm-sparc.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update.
317 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
318 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
319 * config/pa/tm-hppa.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update.
320 * arm-linux-tdep.c (skip_hurd_resolver): Update.
321 * arch-utils.c (init_frame_pc_default): Update.
322 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
323 * x86-64-tdep.h (x86_64_linux_saved_pc_after_call): Update
324 declaration.
325
38edeab8
AC
3262003-04-11 Andrew Cagney <cagney@redhat.com>
327
328 * i387-tdep.c: Update copyright.
329 (i387_to_double): Delete function.
330 (double_to_i387): Delete function.
331
81f8a206
AC
3322003-04-10 Andrew Cagney <cagney@redhat.com>
333
334 * d10v-tdep.c (d10v_frame_this_id): Set the code addr to the
335 frame's function's address. Simplify.
336 (d10v_frame_unwind_cache): Check that the frame's function is
337 non-zero.
338
6e691f7a
JB
3392003-04-10 Jim Blandy <jimb@redhat.com>
340
341 * s390-tdep.c (s390_gdbarch_init): Put back accidentally deleted
342 call to set_gdbarch_deprecated_push_arguments.
343
7f78e237
AC
3442003-04-10 Andrew Cagney <cagney@redhat.com>
345
346 * frame.c (fprint_frame_id): New function.
347 (fprint_frame_type, fprint_frame): New function.
348 (frame_pc_unwind, frame_func_unwind): Add/update trace code.
349 (create_sentinel_frame, get_frame_id): Ditto.
350 (frame_id_p, frame_id_eq): Ditto.
351 (frame_id_inner, create_new_frame): Ditto.
352 (legacy_get_prev_frame, get_prev_frame): Ditto.
353 (deprecated_update_frame_pc_hack): Ditto.
354 (frame_register_unwind): Ditto.
355 (deprecated_update_frame_base_hack): Ditto.
356
f870b49b
CV
3572003-04-10 Corinna Vinschen <vinschen@redhat.com>
358
359 * i386-cygwin-tdep.c (i386_cygwin_frame_chain): New function.
360 (i386_cygwin_init_abi): Set i386_cygwin_frame_chain as new
361 frame_chain function.
362 * Makefile.in: Add dependencies due to above change.
363
7c86889b
CV
3642003-04-10 Corinna Vinschen <vinschen@redhat.com>
365
366 * blockframe.c (legacy_frame_chain_valid): Move call to
367 DEPRECATED_FRAME_CHAIN_VALID before calls to inside_entry_func and
368 inside_entry_file.
369
d0a55772
AC
3702003-04-09 Andrew Cagney <cagney@redhat.com>
371
372 * frame.h (struct frame_id): Replace "pc" and "base" with
373 "stack_addr" and "code_addr". Update comments.
374 (frame_id_build): Update parameter names and comment.
375 (struct frame_info): Replace "id_p" and "id" with "this_id".
376 * dummy-frame.c (dummy_frame_this_id): Update.
377 * breakpoint.c (print_one_breakpoint): Update.
378 * frame.c (get_frame_id): Update.
379 (get_frame_base, frame_id_build): Update.
380 (create_sentinel_frame, legacy_get_prev_frame): Update.
381 (deprecated_update_frame_base_hack): Update.
382 (frame_id_p, frame_id_eq): Rework, return 0 when an invalid ID.
383 (frame_id_inner): Ditto.
384
ac16bf07
AC
3852003-04-09 Andrew Cagney <cagney@redhat.com>
386
387 * defs.h (gdb_print_host_address): Make "addr" parameter a
388 pointer constant.
389 * utils.c (gdb_print_host_address): Update.
390
366cfc9e
KB
3912003-04-09 Kevin Buettner <kevinb@redhat.com>
392
393 * rs6000-tdep.c (frame_get_saved_regs): Don't assume that the
394 register number for R0 is 0.
395
cd983b5c
JB
3962003-04-09 J. Brobecker <brobecker@gnat.com>
397
398 * frame.h (struct gdbarch): Add opaque structure definition
399 to avoid a compilation warning on LynxOS 4.0.
400
d1340264
AC
4012003-04-09 Andrew Cagney <cagney@redhat.com>
402
403 * frame.h (struct frame_info): Delete field "pc". Replace
404 "pc_unwind_cache" and "pc_unwind_cache_p" with "prev_pc"
405 structure.
406 * frame.c (frame_pc_unwind): Update.
407 (create_sentinel_frame): Do not set "pc".
408 (get_prev_frame): Do not set "pc". Use frame_pc_unwind.
409 (get_frame_pc): Call frame_pc_unwind.
410 (deprecated_update_frame_pc_hack): Update.
411 (create_new_frame): Use "pc" not "->pc".
412
90a6fffb
AC
4132003-04-09 Andrew Cagney <cagney@redhat.com>
414
415 * frame.c (get_frame_id): Eliminate code updating "frame".
416 (legacy_get_prev_frame): Ditto.
417 (get_frame_base): Return id.base directly.
418 (deprecated_update_frame_base_hack): Update "id.base".
419 * frame.h (struct frame_info): Delete field "frame".
420
2fbce691
AC
4212003-04-09 Andrew Cagney <cagney@redhat.com>
422
423 * NEWS: Mention that the "Sequent family" is obsolete.
424 * configure.tgt: Obsolete i[3456]86-sequent-bsd*,
425 i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*.
426 * configure.host: Obsolete i[3456]86-sequent-bsd*,
427 i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*.
428 * config/i386/tm-ptx4.h: Obsolete file.
429 * config/i386/tm-ptx.h: Obsolete file.
430 * symm-tdep.c: Obsolete file.
431 * config/i386/symmetry.mt: Obsolete file.
432 * config/i386/tm-symmetry.h: Obsolete file.
433 * symm-nat.c: Obsolete file.
434 * config/i386/nm-symmetry.h: Obsolete file.
435 * config/i386/xm-symmetry.h: Obsolete file.
436 * config/i386/symmetry.mh: Obsolete file.
437 * config/i386/nm-ptx4.h: Obsolete file.
438 * config/i386/ptx4.mh: Obsolete file.
439 * config/i386/ptx.mt: Obsolete file.
440 * config/i386/ptx.mh: Obsolete file.
441 * config/i386/xm-ptx4.h: Obsolete file.
442 * config/i386/xm-ptx.h: Obsolete file.
443
78c43945
AC
4442003-04-09 Andrew Cagney <cagney@redhat.com>
445
446 Obsolete mips*-*-mach3*.
447 * NEWS: Mention that mips*-*-mach3* is obsolete.
448 * m3-nat.c: Obsolete file.
449 * config/nm-m3.h: Obsolete file.
450 * config/mips/tm-mipsm3.h: Obsolete file.
451 * config/mips/mipsm3.mt: Obsolete file.
452 * config/mips/mipsm3.mh: Obsolete file.
453 * config/mips/xm-mipsm3.h: Obsolete file.
454 * mipsm3-nat.c: Obsolete file.
455 * configure.host: Obsolete mips-dec-mach3*.
456 * configure.tgt: Obsolete mips*-*-mach3*.
457
f1908289
AC
4582003-04-09 Andrew Cagney <cagney@redhat.com>
459
460 * doublest.h: Update copyright.
461 (deprecated_store_floating, deprecated_extract_floating): Rename
462 store_floating and extract_floating. Update comments.
463 * doublest.c: Update copyright.
464 (extract_floating_by_length): Replace extract_floating.
465 (store_floating_by_length): Replace store_floating.
466 (deprecated_extract_floating): New function.
467 (deprecated_store_floating): New function.
468 (extract_typed_floating): Call extract_floating_by_length.
469 (store_typed_floating): Call store_floating_by_length.
470 * x86-64-tdep.c (x86_64_store_return_value): Update.
471 * sh-tdep.c (sh3e_sh4_extract_return_value): Update.
472 (sh64_extract_return_value): Update.
473 (sh_sh4_register_convert_to_virtual): Update.
474 (sh_sh64_register_convert_to_virtual): Update.
475 (sh_sh4_register_convert_to_raw): Update.
476 (sh_sh64_register_convert_to_raw): Update.
477 * rs6000-tdep.c (rs6000_register_convert_to_virtual): Update.
478 (rs6000_register_convert_to_raw): Update.
479 * ia64-tdep.c (ia64_register_convert_to_virtual): Update.
480 (ia64_register_convert_to_raw): Update.
481 * config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Update.
482 (REGISTER_CONVERT_TO_VIRTUAL): Update.
483 * arm-linux-tdep.c (arm_linux_push_arguments): Update.
484 * alpha-tdep.c (alpha_register_convert_to_virtual): Update.
485 (alpha_register_convert_to_raw): Update.
486
4443bd83
AC
4872003-04-08 Andrew Cagney <cagney@redhat.com>
488
489 * gdbarch.sh (SAVED_PC_AFTER_CALL): Add a predicate.
490 * gdbarch.h, gdbarch.c: Re-generate.
491 * d10v-tdep.c (d10v_saved_pc_after_call): Delete function.
492 (d10v_gdbarch_init): Do not set saved_pc_after_call.
493 * infrun.c (step_over_function): Call SAVED_PC_AFTER_CALL_P
494 conditionally, use frame_pc_unwind as an alternative. Add
495 comments.
496 * arch-utils.c (init_frame_pc_default): Only call
497 SAVED_PC_AFTER_CALL when available.
498
c0236d92
EZ
4992003-04-08 Elena Zannoni <ezannoni@redhat.com>
500
501 * infrun.c (stop_soon): Rename from stop_soon_quietly.
502 (struct inferior_status): Rename stop_soon_quietly field to stop_soon.
503 (clear_proceed_status): Rename stop_soon_quietly to stop_soon.
504 (start_remote): Ditto.
505 (handle_inferior_event): Ditto.
506 (save_inferior_status): Ditto.
507 (restore_inferior_status): Ditto.
508 * infcmd.c (attach_command): Ditto.
509 * fork-child.c (startup_inferior): Ditto.
510 * inferior.h (stop_soon): Rename from stop_soon_quietly.
511 * alpha-tdep.c (heuristic_proc_start): Ditto.
512 * mips-tdep.c (heuristic_proc_start): Ditto.
513 * solib-svr4.c (svr4_solib_create_inferior_hook): Ditto.
514 * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto.
515 * solib-osf.c (osf_solib_create_inferior_hook): Ditto.
516 * solib-irix.c (irix_solib_create_inferior_hook): Ditto.
517 * remote-vx.c (vx_create_inferior): Ditto.
518
5192003-04-08 Elena Zannoni <ezannoni@redhat.com>
520
521 * infrun.c (stop_soon_quietly): Make it an enum, to better
522 override the default behavior of handle_inferior_event.
523 (clear_proceed_status): Update uses of stop_soon_quietly to
524 reflect that it is now an enum.
525 (start_remote): Ditto.
526 (handle_inferior_event): Change logic a bit if stop_soon_quietly
527 is set to handle the new GNU/Linux kernel behavior for
528 attach/sigstop. Update uses of stop_soon_quietly.
529 * inferior.h (enum stop_kind): New enum.
530 * infcmd.c (attach_command): Use STOP_QUIETLY_NO_SIGSTOP.
531 Reset normal handle_inferior_event behavior, afterwards.
532 * fork-child.c (startup_inferior): Update.
533 * alpha-tdep.c (heuristic_proc_start): Update.
534 * solib-svr4.c (svr4_solib_create_inferior_hook): Update.
535 * solib-sunos.c (sunos_solib_create_inferior_hook): Update.
536 * solib-osf.c (osf_solib_create_inferior_hook): Update.
537 * solib-irix.c (irix_solib_create_inferior_hook): Update.
538 * remote-vx.c (vx_create_inferior): Update.
539 * mips-tdep.c (heuristic_proc_start): Update.
540
1211bce3
EZ
5412003-04-07 Elena Zannoni <ezannoni@redhat.com>
542
543 * disasm.c (dump_insns): Move variables inside loop, or they will
544 be freed more than once, causing wild memory corruptions.
545 (gdb_disassembly): Look for the substring "-thread",
546 instead of "-threads" in the target name, to make sure to find
547 the 'multi-thread' target. Also, make sure we do the right thing
548 with the "core" target.
549
f0ef6b29
KB
5502003-04-07 Kevin Buettner <kevinb@redhat.com>
551
552 * mips-tdep.c (mips_print_fp_register): New function, created from
553 do_fp_register_row(). Registers are now (also) printed as hex.
554 Only one register is printed per row.
555 (mips_print_register, do_fp_register_row): Print floating point
556 registers with mips_print_fp_register().
557
8cf71652
AC
5582003-04-06 Andrew Cagney <cagney@redhat.com>
559
5e488a7b
AC
560 * valprint.h (inspect_it): Add extern declaration.
561 * objc-lang.c (value_nsstring): Avoid assignment inside of "if".
562 (selectors_info, classes_info): Ditto.
563 (find_objc_msgcall): Fix indentation.
564 (objc_printstr): Delete extern declarations.
565
8cf71652
AC
566 * arm-tdep.c (arm_frameless_function_invocation): Fix typo.
567
e6ba3bc9
AC
5682003-04-06 Andrew Cagney <cagney@redhat.com>
569
570 * frame.h (legacy_frame_chain_valid): Rename frame_chain_valid.
571 Update comment.
572 * frame.c (legacy_saved_regs_this_id): Update.
573 (legacy_get_prev_frame): Update.
574 * xstormy16-tdep.c: Update comment.
575 * sparc-tdep.c (sparc_frame_chain): Update comment.
576 * blockframe.c (legacy_frame_chain_valid): Update.
577
55e1d7e7
AC
5782003-04-06 Andrew Cagney <cagney@redhat.com>
579
996179ee
AC
580 * valprint.c (val_print_type_code_int): Delete #ifdef
581 PRINT_TYPELESS_INTEGER code.
582
55e1d7e7
AC
583 * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES)
584 (CALL_DUMMY_LOCATION, DEPRECATED_PC_IN_CALL_DUMMY): Allow partial
585 multi-arch definition.
586 * gdbarch.h: Re-generate.
587
43bd9a9e
AC
5882003-04-05 Andrew Cagney <cagney@redhat.com>
589
590 Eliminate FRAME_FIND_SAVED_REGS.
591 * config/pa/tm-hppah.h (hppa_hpux_frame_find_saved_regs_in_sigtramp):
592 Change FSR parameter to a pointer.
593 * config/pa/tm-hppa64.h (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP):
594 Assume FSR parameter is a pointer.
595 * hppa-hpux-tdep.c (hppa_hpux_frame_find_saved_regs_in_sigtramp):
596 Make fsr a pointer.
597 * hppa-tdep.c (hppa_frame_find_saved_regs): New function.
598 (hppa_frame_saved_pc): Call hppa_frame_init_saved_regs. Make
599 saved_regs a pointer.
600 (hppa_frame_saved_pc): Ditto.
601 (find_dummy_frame_regs): Make frame_saved_regs a pointer
602 (hppa_pop_frame): Call hppa_frame_init_saved_regs. Make fsr a
603 pointer.
604 (restore_pc_queue): Make fsr a pointer.
605 (hppa_frame_find_saved_regs): Make frame_saved_regs a pointer.
606 (hppa_frame_chain): Make saved_regs a pointer, call
607 hppa_frame_init_saved_regs.
608 * sparc-tdep.c: Include "gdb_assert.h".
609 (sparc_frame_find_saved_regs): Replace internal_error with
610 gdb_assert.
611 * remote-vxsparc.c (vx_read_register): Delete reference to
612 FRAME_FIND_SAVED_REGS.
613 * gdbarch.sh: Delete check for FRAME_FIND_SAVED_REGS.
614 * gdbarch.h: Regenerate.
615 * frame.h (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro.
616 (deprecated_get_frame_saved_regs): Delete declaration.
617 (struct frame_saved_regs): Delete definition.
618 * frame.c (deprecated_get_frame_saved_regs): Delete function.
619 * config/pa/tm-hppa.h (hppa_frame_init_saved_regs): Declare.
620 (hppa_frame_find_saved_regs): Delete declaration.
621 (FRAME_FIND_SAVED_REGS): Delete macro.
622 (DEPRECATED_FRAME_INIT_SAVED_REGS): Define.
623 * config/i386/tm-ptx.h (FRAME_FIND_SAVED_REGS): Delete
624 FRAME_FIND_SAVED_REGS in comment.
625
be41e9f4
AC
6262003-04-05 Andrew Cagney <cagney@redhat.com>
627
628 * frame.c (frame_func_unwind, get_frame_func): New functions.
629 * frame.h (get_frame_func, frame_func_unwind): Declare.
630 (struct frame_info): Add field "prev_func" for caching the
631 previous frame's function address.
632 * arm-tdep.c (arm_frameless_function_invocation): Combine
633 get_pc_function_start and get_frame_pc into get_frame_func.
634 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
635 (sh64_nofp_frame_init_saved_regs): Ditto.
636 * s390-tdep.c (s390_function_start): Ditto.
637 * rs6000-tdep.c (rs6000_pop_frame): Ditto.
638 (rs6000_frameless_function_invocation): Ditto.
639 (rs6000_frame_saved_pc): Ditto.
640 * m68k-tdep.c (m68k_frame_init_saved_regs): Ditto.
641 * ia64-tdep.c (ia64_frame_init_saved_regs): Ditto.
642 * i386-tdep.c (i386_frameless_signal_p): Ditto.
643 (i386_frame_init_saved_regs): Ditto.
644 * hppa-tdep.c (hppa_frame_find_saved_regs): Ditto.
645 * d10v-tdep.c (d10v_frame_unwind_cache): Combine
646 get_pc_function_start and frame_pc_unwind into frame_func_unwind.
647 * cris-tdep.c (cris_frame_init_saved_regs): Ditto.
648 * blockframe.c (frameless_look_for_prologue): Ditto.
649
a01dd7cc
AC
6502003-04-05 Andrew Cagney <cagney@redhat.com>
651
652 * frame.c (legacy_get_prev_frame): Link prev to next at the
653 function start. Update comments.
654
5e5592e6
AC
6552003-04-05 Andrew Cagney <cagney@redhat.com>
656
657 * frame.c (get_frame_id): Update comment.
658 (legacy_get_prev_frame): Update comment.
659 * gdbarch.sh: Delete check for EXTRA_FRAME_INFO.
660 * gdbarch.h: Regenerate.
661 * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Delete.
662 * frame.h: Delete #ifdef EXTRA_FRAME_INFO code.
663
6fba5002
AC
6642003-04-05 Andrew Cagney <cagney@redhat.com>
665
666 * stack.c (print_frame_info): Use get_frame_pc.
667
7df05f2b
AC
6682003-04-04 Andrew Cagney <cagney@redhat.com>
669
670 * frame.c (get_prev_frame): Do not call frame_type_from_pc. Set
671 the frame's type from the unwinder.
672 (get_frame_type): Map UNKNOWN_FRAME onto NORMAL_FRAME.
673 (create_new_frame, legacy_get_prev_frame): When the unwinder's
674 type isn't UNKNOWN_FRAME, initalize "type" from the unwinder.
675 (get_frame_base_address): Use get_frame_type.
676 (get_frame_locals_address, get_frame_args_address): Ditto.
677 (legacy_saved_regs_unwinder): Set the type to UNKNOWN_TYPE.
678 * frame.h (enum frame_type): Add UNKNOWN_FRAME.
679 (struct frame_info): Add comment explaining why the frame contains
680 a "type" field.
681 * dummy-frame.c (dummy_frame_unwind): Set the type to DUMMY_FRAME.
682 * d10v-tdep.c (d10v_frame_unwind): Set the type to NORMAL_FRAME.
683 * sentinel-frame.c (sentinel_frame_unwinder): Set the type to
684 NORMAL_FRAME.
685 * frame-unwind.h: Include "frame.h".
686 (struct frame_unwind): Add "type" field.
687 * Makefile.in (frame_unwind_h): Add $(frame_h).
688
11889732
AC
6892003-04-04 Andrew Cagney <cagney@redhat.com>
690
691 * x86-64-tdep.c (x86_64_unwind_dummy_id): Use frame_id_build.
692 * dummy-frame.c (dummy_frame_this_id): Use frame_id_build.
693 * d10v-tdep.c (d10v_frame_this_id): Use get_frame_pc and
694 get_frame_base.
695 (d10v_unwind_dummy_id): Use frame_id_build.
696 * frame.c (find_frame_sal): Use get_frame_pc.
697 (create_new_frame): Use deprecated_update_frame_pc_hack and
698 deprecated_update_frame_base_hack.
699 (create_sentinel_frame): Add comment about ->pc going away.
700 (get_prev_frame): Add comment about ->pc going away.
701 (legacy_get_prev_frame): Use get_frame_base, get_frame_pc,
702 frame_id_build, deprecated_update_frame_pc_hack and
703 deprecated_update_frame_base_hack.
704 (select_frame): Use get_frame_pc.
705 (legacy_saved_regs_this_id): Use frame_id_build.
706
50c46a0d
EZ
7072003-04-04 Elena Zannoni <ezannoni@redhat.com>
708
709 * x86-64-tdep.c (x86_64_push_arguments): Handle correctly the
710 signed integer case.
711 (classify_argument): Handle enumerations and references.
712
50bbdbd9
AC
7132003-04-04 Andrew Cagney <cagney@redhat.com>
714
715 * frame.c (create_sentinel_frame): Initialize the sentinel frame's
716 ID to NULL.
717
36018d2e
AF
7182003-04-01 Adam Fedor <fedor@gnu.org>
719
720 * gdb/objc-lang.c (selectors_info): Replace calls to
721 SYMBOL_DEMANGLED_NAME and DEPRECATED_SYMBOL_NAME with
722 SYMBOL_NATURAL_NAME.
723 (classes_info, find_methods): Likewise.
724
35cec841
KB
7252003-04-03 Kevin Buettner <kevinb@redhat.com>
726
727 * rs6000-tdep.c (rs6000_gdbarch_init): For xcoff executables, set
728 ``mach'' to the value determined by bfd_default_set_arch_mach().
729
43136899
BR
7302003-04-02 Bob Rossi <bob_rossi@cox.net>
731
732 * Makefile.in (SUBDIR_MI_OBS): Add "mi-cmd-file.o".
733 (SUBDIR_MI_SRCS): Add "mi-cmd-file.c".
734 (mi-cmd-file.o): Update dependencies.
735
040b99fd
KB
7362003-04-01 Kevin Buettner <kevinb@redhat.com>
737
738 * mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum)
739 (mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM.
740
9a3d7dfd
AF
7412003-04-01 Adam Fedor <fedor@gnu.org>
742
743 * Makefile.in (c_lang.o, jv_lang.o, language.o): Add $(demangle_h).
744 * language.h (struct language_defn): Add la_demangle.
745 (language_demangle): Declare.
746 * language.c (language_demangle): New function.
747 (unk_lang_demangle): Likewise.
748 (unknown_language_defn, auto_language_defn, local_language_defn):
749 Add ukn_lang_demangle.
750 * ada-lang.c (ada_language_defn): Add NULL for la_demangle element.
751 * f-lang.c, m2-lang.c, p-lang.c, scm-lang.c: Likewise.
752 * c-lang.c (c_language_defn, asm_language_defn): Likewise.
753 (cplus_language_defn): Add cplus_demangle for la_demangle element.
754 * jv-lang.c (java_demangle): New function
755 (java_language_defn): Use it for la_demangle element.
756 * objc-lang.c (objc_demangle): Add options argument
757 (objc_language_defn): Use objc_demangle for la_demangle element.
758 * maint.c (maintenance_demangle): Replace switch with
759 call to language_demangle.
760 * utils.c (fprintf_symbol_filtered): Likewise.
761
5e074003
AC
7622003-04-01 Andrew Cagney <cagney@redhat.com>
763
764 * printcmd.c (print_frame_nameless_args): Delete #ifdef
765 NAMELESS_ARG_VALUE, PRINT_NAMELESS_INTEGER and
766 PRINT_TYPELESS_INTEGER.
767 * config/sparc/tm-sp64.h (DEPRECATED_PUSH_RETURN_ADDRESS): Rename
768 PUSH_RETURN_ADDRESS.
769
270cb5d6
AC
7702003-04-01 Andrew Cagney <cagney@redhat.com>
771
772 * Makefile.in (d10v-tdep.o): Update dependencies.
773 * d10v-tdep.c: Include "frame-base.h".
774 (d10v_frame_unwind): Make constant.
775 (d10v_frame_base_address): New function.
776 (d10v_frame_base): New variable.
777 (d10v_gdbarch_init): Set frame_base default.
778 (struct d10v_unwind_cache): Add the field "prev_sp". Update
779 comment for base.
780 (d10v_frame_unwind_cache): Set and use "prev_sp".
781 (d10v_frame_this_id): Use the previous frame's inner most stack
782 address and this frame's func address for the frame ID. Use
783 frame_id_build. Don't analyze beyond the current instruction.
784
6bfb3e36
AC
7852003-04-01 Andrew Cagney <cagney@redhat.com>
786
787 * frame.h (get_frame_locals_address, get_frame_args_address):
788 Refer to the base address, instead of the address of the first
789 local or parameter.
790
da62e633
AC
7912003-04-01 Andrew Cagney <cagney@redhat.com>
792
793 Add frame debug info addresses:
794 * frame-base.c: New file.
795 * frame-base.h: New file.
796 * frame.h (struct frame_base): Add opaque declaration.
797 (get_frame_base): Update comment.
798 (get_frame_base_address): Declare.
799 (get_frame_locals_address): Declare.
800 (get_frame_args_address): Declare.
801 (struct frame_info): Add "base" and "base_cache". Update
802 comments on the unwinder.
803 * frame.c: Include "frame-base.h".
804 (get_frame_locals_address): New function.
805 (get_frame_base_address): New function.
806 (get_frame_args_address): New function.
807 * findvar.c (read_var_value): Use get_frame_locals_address and
808 get_frame_args_address.
809 * stack.c (frame_info): Use get_frame_locals_address and
810 get_frame_args_address.
811 (FRAME_ARGS_ADDRESS_CORRECT): Delete conditionally defined macro,
812 moved to "frame-base.c".
813 * printcmd.c (print_frame_nameless_args): Ditto.
814 * symtab.h (address_class): Update comments.
815 * dwarf2loc.c (dwarf_expr_frame_base): Add note about
816 get_frame_base_address.
817 * dwarf2expr.c (execute_stack_op): Ditto.
818 * Makefile.in (frame_base_h): Define.
819 (frame.o): Update dependencies.
820 (frame-base.o): Add dependencies.
821 (SFILES): Add frame-base.c.
822 (COMMON_OBS): Add frame-base.o.
823
3d30e9c2
AC
8242003-04-01 Andrew Cagney <cagney@redhat.com>
825
826 * gdbarch.sh (CALL_DUMMY_START_OFFSET): Default to zero.
827 CALL_DUMMY_LENGTH): Ditto.
828 * gdbarch.c: Re-generate.
829 * inferior.h (CALL_DUMMY_START_OFFSET): Delete macro.
830 (CALL_DUMMY_LENGTH): Delete macro.
831 * alpha-tdep.c (alpha_gdbarch_init): Do not set above when zero.
832 * arm-tdep.c (arm_gdbarch_init): Ditto.
833 * avr-tdep.c (avr_gdbarch_init): Ditto.
834 * cris-tdep.c (cris_gdbarch_init): Ditto.
835 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
836 * frv-tdep.c (frv_gdbarch_init): Ditto.
837 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
838 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
839 * i386-tdep.c (i386_gdbarch_init): Ditto.
840 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
841 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
842 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
843 * mips-tdep.c (mips_gdbarch_init): Ditto.
844 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
845 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
846 * s390-tdep.c (s390_gdbarch_init): Ditto.
847 * sh-tdep.c (sh_gdbarch_init): Ditto.
848 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
849 * v850-tdep.c (v850_gdbarch_init): Ditto.
850 * vax-tdep.c (vax_gdbarch_init): Ditto.
851 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
852
ce0c7262
CV
8532003-04-01 Corinna Vinschen <vinschen@redhat.com>
854
855 * frame.c (get_prev_frame): Disable call to inside_entry_file().
856
73dd234f
AC
8572003-04-01 Andrew Cagney <cagney@redhat.com>
858
859 * gdbarch.sh (CALL_DUMMY_BREAKPOINT_OFFSET): Default to zero.
860 (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
861 * gdbarch.h, gdbarch.c: Re-generate.
862 * config/sparc/tm-sp64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
863 (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
864 * config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
865 * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
866 (CALL_DUMMY_BREAKPOINT_OFFSET): Delete.
867 * infcmd.c (run_stack_dummy): Simplify assuming
868 CALL_DUMMY_BREAKPOINT_OFFSET_P.
869 * infrun.c (handle_inferior_event): Ditto.
870 * alpha-tdep.c (alpha_gdbarch_init): Do not set
871 call_dummy_breakpoint_offset or call_dummy_breakpoint_offset_p.
872 * arm-tdep.c (arm_gdbarch_init): Ditto.
873 * avr-tdep.c (avr_gdbarch_init): Ditto.
874 * cris-tdep.c (cris_gdbarch_init): Ditto.
875 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
876 * frv-tdep.c (frv_gdbarch_init): Ditto.
877 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
878 * i386-tdep.c (i386_gdbarch_init): Ditto.
879 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
880 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
881 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
882 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
883 * mips-tdep.c (mips_gdbarch_init): Ditto.
884 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
885 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
886 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
887 * s390-tdep.c (s390_gdbarch_init): Ditto.
888 * sh-tdep.c (sh_gdbarch_init): Ditto.
889 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
890 * v850-tdep.c (v850_gdbarch_init): Ditto.
891 * vax-tdep.c (vax_gdbarch_init): Ditto.
892 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
893
97606a13
DJ
8942003-04-01 Daniel Jacobowitz <drow@mvista.com>
895
896 * symfile.c (symfile_relocate_debug_section): Update call to
897 bfd_simple_get_relocated_section_contents.
898
e8ab51f7
AC
8992003-03-31 Andrew Cagney <cagney@redhat.com>
900
901 * gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate.
902 * gdbarch.h, gdbarch.c: Regenerate.
903 * inferior.h (FIX_CALL_DUMMY): Delete macro.
904 * valops.c (hand_function_call): Only call FIX_CALL_DUMMY when
905 available.
906 * frame.h (generic_fix_call_dummy): Delete declaration.
907 * dummy-frame.h: Update comment.
908 * dummy-frame.c (generic_fix_call_dummy): Delete function.
909 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
910 fix_call_dummy.
911 * sh-tdep.c (sh_gdbarch_init): Ditto.
912 * s390-tdep.c (s390_gdbarch_init): Ditto.
913 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
914 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
915 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
916 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
917 * i386-tdep.c (i386_gdbarch_init): Ditto.
918 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
919 * frv-tdep.c (frv_gdbarch_init): Ditto.
920 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
921 * cris-tdep.c (cris_gdbarch_init): Ditto.
922 * avr-tdep.c (avr_gdbarch_init): Ditto.
923 * arm-tdep.c (arm_gdbarch_init): Ditto.
924
018d1b48
JB
9252003-03-31 J. Brobecker <brobecker@gnat.com>
926
927 * config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful.
928 (INIT_FRAME_AP): Likewise.
929 (EXTRA_FRAME_INFO): Likewise.
930
e9a2674e
AC
9312003-03-31 Andrew Cagney <cagney@redhat.com>
932
933 * gdbarch.sh: Include "symfile.h".
934 (CALL_DUMMY_ADDRESS): Default to entry_point_address.
935 * gdbarch.h, gdbarch.c: Re-generate.
936 * inferior.h (CALL_DUMMY_ADDRESS): Delete macro.
937 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
938 call_dummy_address, the default is at entry_point_address.
939 * v850-tdep.c (v850_gdbarch_init): Ditto.
940 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
941 * sh-tdep.c (sh_gdbarch_init): Ditto.
942 * s390-tdep.c (s390_gdbarch_init): Ditto.
943 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
944 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
945 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
946 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
947 * i386-tdep.c (i386_gdbarch_init): Ditto.
948 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
949 * frv-tdep.c (frv_gdbarch_init): Ditto.
950 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
951 * cris-tdep.c (cris_gdbarch_init): Ditto.
952 * arm-tdep.c (arm_gdbarch_init): Ditto.
953
e8a8712a
AC
9542003-03-31 Andrew Cagney <cagney@redhat.com>
955
956 * gdbarch.sh (CALL_DUMMY_P): Delete.
957 * gdbarch.h, gdbarch.c: Re-generate.
958 * inferior.h (CALL_DUMMY_P): Delete macro.
959 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
960 * vax-tdep.c (vax_gdbarch_init): Update.
961 * v850-tdep.c (v850_gdbarch_init): Update.
962 * sparc-tdep.c (sparc_gdbarch_init): Update.
963 * sh-tdep.c (sh_gdbarch_init): Update.
964 * s390-tdep.c (s390_gdbarch_init): Update.
965 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
966 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
967 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
968 * mips-tdep.c (mips_gdbarch_init): Update.
969 * mcore-tdep.c (mcore_gdbarch_init): Update.
970 * m68k-tdep.c (m68k_gdbarch_init): Update.
971 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
972 * ia64-tdep.c (ia64_gdbarch_init): Update.
973 * i386-tdep.c (i386_gdbarch_init): Update.
974 * h8300-tdep.c (h8300_gdbarch_init): Update.
975 * frv-tdep.c (frv_gdbarch_init): Update.
976 * d10v-tdep.c (d10v_gdbarch_init): Update.
977 * cris-tdep.c (cris_gdbarch_init): Update.
978 * breakpoint.c (deprecated_frame_in_dummy): Update.
979 * avr-tdep.c (avr_gdbarch_init): Update.
980 * alpha-tdep.c (alpha_gdbarch_init): Update.
981 * arm-tdep.c (arm_gdbarch_init): Update.
982 * dummy-frame.c (dummy_frame_this_id): Update comments.
983 * rs6000-tdep.c (rs6000_extract_struct_value_address): Ditto.
984 * frame.c (legacy_get_prev_frame): Ditto.
985 * valops.c (call_function_by_hand): Delete function.
986 (hand_function_call): Rename to call_function_by_hand
987
ed234cf8
AC
9882003-03-30 Andrew Cagney <cagney@redhat.com>
989
990 2002-11-10 Klee Dienes <kdienes@apple.com>
991 * value.h (struct value): Update comment.
992
06c77151
AC
9932003-03-30 Andrew Cagney <cagney@redhat.com>
994
6c2b5168
AC
995 * d10v-tdep.c: Replace _FP_REGNUM and FP_REGNUM with
996 D10V_FP_REGNUM.
997 (d10v_gdbarch_init): Do not set fp_regnum.
998
06c77151
AC
999 * frame.c (get_frame_base): Force ID initialization.
1000 (get_prev_frame): Move computation of the frame ID from here ...
1001 (get_frame_id): ... to here.
1002 (legacy_get_prev_frame): Mark the frame ID as valid.
1003 * frame.h (struct frame_info): Add field "id_p".
1004
97a1a11c
MK
10052003-03-30 Mark Kettenis <kettenis@gnu.org>
1006
1007 * i386-tdep.c (i386_store_struct_return): Removed.
1008 (i386_gdbarch_init): Don't set deprecated_store_struct_return.
1009
6c0e89ed
AC
10102003-03-30 Andrew Cagney <cagney@redhat.com>
1011
1012 * gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP.
1013 * gdbarch.h, gdbarch.c: Regenerate.
1014 * v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp.
1015 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
1016 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1017 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
1018 * i386-tdep.c (i386_gdbarch_init): Ditto.
1019 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1020 * cris-tdep.c (cris_gdbarch_init): Ditto.
1021 * vax-tdep.c (vax_gdbarch_init): Ditto.
1022 * s390-tdep.c (s390_gdbarch_init): Ditto.
1023 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
1024 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1025 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
1026 * sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update.
1027 * config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update.
1028 * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define.
1029 * sparc-tdep.c (sparc_gdbarch_init): Update.
1030 * sh-tdep.c (sh_gdbarch_init): Update.
1031 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1032 * mips-tdep.c (mips_gdbarch_init): Update.
1033 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1034 * ia64-tdep.c (ia64_gdbarch_init): Update.
1035 * frv-tdep.c (frv_gdbarch_init): Update.
1036 * avr-tdep.c (avr_gdbarch_init): Update.
1037 * valops.c (hand_function_call): Replace TARGET_WRITE_SP with
1038 DEPRECATED_DUMMY_WRITE_SP. Call when the method is available,
1039 instead of when push_dummy_call is not available.
1040
f7dd6af2
AC
10412003-03-30 Andrew Cagney <cagney@redhat.com>
1042
1043 * infttrace.c: Include "gdbthread.h".
1044 (parent_attach_all): Fix function signature.
1045 (call_ptrace): Update call.
1046 * Makefile.in (infttrace.o): Update dependencies.
1047
28f617b3
AC
10482003-03-30 Andrew Cagney <cagney@redhat.com>
1049
1050 * gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace
1051 PUSH_RETURN_ADDRESS.
1052 * gdbarch.h, gdbarch.c: Regenerate.
1053 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1054 * x86-64-tdep.c (x86_64_init_abi): Update.
1055 * v850-tdep.c (v850_gdbarch_init): Update.
1056 * sparc-tdep.c (sparc_gdbarch_init): Update.
1057 * sh-tdep.c (sh_gdbarch_init): Update.
1058 * s390-tdep.c (s390_gdbarch_init): Update.
1059 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1060 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1061 * mips-tdep.c (mips_gdbarch_init): Update.
1062 * mcore-tdep.c (mcore_gdbarch_init): Update.
1063 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1064 * ia64-tdep.c (ia64_gdbarch_init): Update.
1065 * i386-tdep.c (i386_gdbarch_init): Update.
1066 * h8300-tdep.c (h8300_gdbarch_init): Update.
1067 * frv-tdep.c (frv_gdbarch_init): Update.
1068 * cris-tdep.c (cris_gdbarch_init): Update.
1069 * avr-tdep.c (avr_gdbarch_init): Update.
1070 * arm-tdep.c (arm_gdbarch_init): Update.
1071 * valops.c (hand_function_call): Update.
1072
4d628cd7
AC
10732003-03-29 Andrew Cagney <cagney@redhat.com>
1074
1075 * d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or
1076 sizeof_call_dummy_words.
1077 * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always
1078 define.
1079 * gdbarch.h: Regenerate.
1080
65e82032
AC
10812003-03-29 Andrew Cagney <cagney@redhat.com>
1082
1083 * infttrace.h: New file.
1084 * hpread.c: Include "gdb_assert.h" and "somsolib.h".
1085 (hpread_get_textlow): Detect an uninitialized dn_bufp.
1086 (hpread_read_doc_function_type): Detect an initialized type1.
1087 (hpread_quick_traverse): Initialize mod_name_string.
1088 * somsolib.h: Add #ifdef SOMSOLIB_H wrapper.
1089 (som_solib_get_solib_by_pc): Declare.
1090 (so_lib_thread_start_addr): Declare.
1091 (no_shared_libraries): Declare.
1092 * somread.c (init_import_symbols): Make static. Add forward
1093 declaration.
1094 * config/pa/nm-hppah.h: Include "infttrace.h" for
1095 parent_attach_all.
1096 (hppa_insert_hw_watchpoint): Declare.
1097 (hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare.
1098 * hppah-nat.c: Include "gdb_string.h".
1099 (parent_attach_all): Delete extern declaration, moved to
1100 "infttrace.h".
1101 (hppa_can_use_hw_watchpoint): Change type of "type" parameter to
1102 int.
1103 (hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto.
1104 * Makefile.in (infttrace_h): Define.
1105 (hpread.o): Update dependencies.
1106 (hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto.
1107 * hppa-hpux-tdep.c: Include "gdb_string.h".
1108 * hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc".
1109 * infrun.c (handle_inferior_event): Always initialize
1110 stepped_after_stopped_by_watchpoint. Add default and remove
1111 fallthrough in switch statement.
1112 * infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type"
1113 parameter to int.
1114 (hppa_remove_hw_watchpoint): Ditto.
1115
2c3bbe77
AC
11162003-03-29 Andrew Cagney <cagney@redhat.com>
1117
1118 * ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint
1119 offset.
1120
2dd604e7
RE
11212003-03-29 Richard Earnshaw <rearnsha@arm.com>
1122
1123 * arm-tdep.c (arm_push_arguments): Delete.
1124 (struct stack_item): New type.
1125 (push_stack_item, pop_stack_item, arm_push_dummy_call): New functions.
1126 (arm_store_struct_return): Delte.
1127 (arm_gdbarch_init): Register arm_push_dummy_call. Don't register
1128 arm_push_arguments or arm_store_struct_return.
1129
e8933a55
AC
11302003-03-28 Andrew Cagney <cagney@redhat.com>
1131
1132 * Makefile.in (d10v-tdep.o): Update dependencies.
1133 * remote.h (target_resume_hook, target_wait_loop_hook): Declare.
1134 * d10v-tdep.c: Include "remote.h".
1135 (target_resume_hook): Delete extern declaration.
1136 (target_wait_loop_hook): Ditto.
1137 (tdisassemble_command): Eliminate assignment in "if" conditional.
1138 (d10v_ts2_register_sim_regno): Eliminate call to
1139 legacy_register_sim_regno.
1140 (d10v_ts3_register_sim_regno): Ditto.
1141
6949171e
JJ
11422003-03-28 Jeff Johnston <jjohnstn@redhat.com>
1143
1144 * thread.c: Reindented.
1145 * lin-lwp.c: Ditto.
1146 * linux-proc.c: Ditto.
1147
98c7071f
BR
11482003-03-28 Bob Rossi <bob_rossi@cox.net>
1149
1150 * MAINTAINERS (write after approval): Add myself.
1151
5edc9ca6
TR
11522003-03-27 Theodore A. Roth <troth@openavr.org>
1153
1154 * objc-exp.y: Add missing semi-colons.
1155
378bfd1b
AC
11562003-03-27 Andrew Cagney <cagney@redhat.com>
1157
1158 * regcache.c (write_sp): Delete function and references.
1159 * inferior.h (write_sp): Delete declaration.
1160 * valops.c (hand_function_call): Replace write_sp with
1161 TARGET_WRITE_SP.
1162 * sparc-tdep.c (sparc_push_dummy_frame): Ditto.
1163 (sparc_pop_frame): Ditto.
1164
56056df7
AC
11652003-03-27 Andrew Cagney <cagney@redhat.com>
1166
1167 * NEWS: Mention removal of support for hppa*-*-bsd* and
1168 hppa*-*-osf* natives, and hppa*-*-pro* target.
1169 * config/pa/xm-hppah.h: Do not include "pa/xm-pa.h".
1170 * config/pa/xm-pa.h: Obsolete file.
1171 * config/pa/xm-hppab.h: Obsolete file.
1172 * config/pa/nm-hppab.h: Obsolete file.
1173 * config/pa/tm-hppab.h: Obsolete file.
1174 * config/pa/tm-hppao.h: Obsolete file.
1175 * config/pa/nm-hppao.h: Obsolete file.
1176 * config/pa/tm-pro.h: Obsolete file.
1177 * config/pa/hppaosf.mt: Obsolete file.
1178 * config/pa/hppaosf.mh: Obsolete file.
1179 * config/pa/hppapro.mt: Obsolete file.
1180 * config/pa/hppabsd.mt: Obsolete file.
1181 * config/pa/hppabsd.mh: Obsolete file.
1182 * configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*.
1183 * configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and
1184 hppa*-*-osf*.
1185
5873a88d
AC
11862003-03-27 Andrew Cagney <cagney@redhat.com>
1187
1188 * d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of
1189 push_arguments. Don't set push_return_address or write_sp.
1190 (d10v_push_dummy_call): Replace d10v_push_arguments.
1191 (d10v_push_return_address, d10v_write_sp): Delete function,
1192 handled by push_dummy_call.
1193
b81774d8
AC
11942003-03-26 Andrew Cagney <cagney@redhat.com>
1195
1196 * gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS.
1197 (push_dummy_call): New pure multi-arch replacement with gdbarch,
1198 regcache and dummy_addr parameters.
1199 * gdbarch.h, gdbarch.c: Re-generate.
1200 * valops.c (hand_function_call): Use gdbarch_push_dummy_call when
1201 available; assume it will handle stack alignment and return
1202 address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and
1203 legacy_push_arguments.
1204 (legacy_push_arguments): Rename default_push_arguments.
1205 * value.h (legacy_push_arguments): Rename default_push_arguments.
1206 * i386-tdep.c (i386_push_arguments): Call legacy_push_arguments.
1207 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update.
1208 * config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update.
1209 * config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update.
1210 * config/i386/tm-symmetry.h: Update.
1211 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1212 * x86-64-tdep.c (x86_64_init_abi): Update.
1213 * v850-tdep.c (v850_gdbarch_init): Update.
1214 * sparc-tdep.c (sparc_gdbarch_init): Update.
1215 * sh-tdep.c (sh_gdbarch_init): Update.
1216 * s390-tdep.c (s390_gdbarch_init): Update.
1217 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1218 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1219 * mips-tdep.c (mips_gdbarch_init): Update.
1220 * mcore-tdep.c (mcore_gdbarch_init): Update.
1221 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1222 * ia64-tdep.c (ia64_gdbarch_init): Update.
1223 * i386-tdep.c (i386_gdbarch_init): Update.
1224 * hppa-tdep.c (hppa_gdbarch_init): Update.
1225 * h8300-tdep.c (h8300_gdbarch_init): Update.
1226 * frv-tdep.c (frv_gdbarch_init): Update.
1227 * d10v-tdep.c (d10v_gdbarch_init): Update.
1228 * cris-tdep.c (cris_gdbarch_init): Update.
1229 * avr-tdep.c (avr_gdbarch_init): Update.
1230 * arm-tdep.c (arm_gdbarch_init): Update.
1231 * arm-linux-tdep.c (arm_linux_init_abi): Update.
1232 * alpha-tdep.c (alpha_gdbarch_init): Update.
1233
f541410f
DJ
12342003-03-26 Daniel Jacobowitz <drow@mvista.com>
1235
1236 * signals/signals.c (do_target_signal_to_host): Correct realtime
1237 signal range test.
1238
69f567ae
DJ
12392003-03-26 Daniel Jacobowitz <drow@mvista.com>
1240
1241 * breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals)
1242 (struct sal_chain, map_catch_names): Remove.
1243 (catch_exception_command_1): Don't call
1244 handle_gnu_4_16_catch_command.
1245
d5d14a5a
DJ
12462003-03-26 Daniel Jacobowitz <drow@mvista.com>
1247
1248 From Mark Dettinger <dettinge@de.ibm.com>:
1249 * dwarf2cfi.c (read_2u): Increment pointer by two.
1250
bdd73e22
DJ
12512003-03-26 Daniel Jacobowitz <drow@mvista.com>
1252
1253 * signals/signals.c: Fix typos in last change.
1254
960cb555
DJ
12552003-03-26 Daniel Jacobowitz <drow@mvista.com>
1256
1257 * signals/signals.c (REALTIME_LO, REALTIME_HI): Define if
1258 not already defined. Use __SIGRTMIN if available.
1259 (target_signal_from_host): Remove SIGRTMIN block.
1260 (do_target_signal_to_host): Remove SIGRTMIN block; check that
1261 the signal is within the realtime range.
1262
f636b87d
AF
12632003-03-25 Adam Fedor <fedor@gnu.org>
1264
1265 * Makefile.in (infrun.o): Add $(language_h)
1266 * infrun.c (handle_inferior_event): Use skip_language_trampoline
1267 for language specific trampolines.
1268 * language.h (struct language_defn): Add skip_trampoline.
1269 (skip_language_trampoline): Declare.
1270 * language.c (unk_lang_trampoline, skip_language_trampoline):
1271 New functions.
1272 (unknown_language_defn, auto_language_defn, local_language_defn):
1273 Add ukn_lang_trampoline.
1274 * ada-lang.c (ada_language_defn): Add NULL for language
1275 specific skip_trampoline.
1276 * c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c,
1277 scm-lang.c: Likewise.
1278 * objc-lang.c (objc_skip_trampoline): New function.
1279 (objc_language_defn): Add objc_skip_trampoline.
1280
28f617b3 12812003-03-25 Andrew Cagney <cagney@redhat.com>
270c3b1d
AC
1282
1283 * frame.c (get_prev_frame): Delay validating a frame's ID -
1284 non-NULL, didn't go backwards - until an attempt to unwind it to
1285 the previous frame.
1286
f933a9c5
AC
12872003-03-25 Andrew Cagney <cagney@redhat.com>
1288
1289 * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace
1290 EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1.
1291 * gdbarch.h, gdbarch.c: Re-generate.
1292 * config/sparc/tm-sparc.h
1293 (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define.
1294 * sparc-tdep.c (sparc_gdbarch_init): Set
1295 deprecated_extra_stack_alignment_needed.
1296 * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
1297 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear
1298 extra_stack_alignment_needed.
1299 * v850-tdep.c (v850_gdbarch_init): Ditto.
1300 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
1301 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1302 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
1303 * cris-tdep.c (cris_gdbarch_init): Ditto.
1304 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
1305 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1306
4183d812
AC
13072003-03-25 Andrew Cagney <cagney@redhat.com>
1308
1309 * gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace
1310 STORE_STRUCT_RETURN.
1311 * gdbarch.h, gdbarch.c: Regenerate.
1312 * d10v-tdep.c (d10v_store_struct_return): Delete function.
1313 (d10v_push_arguments): Set the struct return register.
1314 (d10v_gdbarch_init): Update.
1315 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1316 * x86-64-tdep.c (x86_64_init_abi): Update.
1317 * vax-tdep.c (vax_gdbarch_init): Update.
1318 * v850-tdep.c (v850_gdbarch_init): Update.
1319 * sparc-tdep.c (sparc_gdbarch_init): Update.
1320 * sh-tdep.c (sh_gdbarch_init): Update.
1321 * s390-tdep.c (s390_gdbarch_init): Update.
1322 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1323 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1324 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1325 * mips-tdep.c (mips_gdbarch_init): Update.
1326 * mcore-tdep.c (mcore_gdbarch_init): Update.
1327 * m68k-tdep.c (m68k_gdbarch_init): Update.
1328 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1329 * ia64-tdep.c (ia64_gdbarch_init): Update.
1330 * i386-tdep.c (i386_gdbarch_init): Update.
1331 * hppa-tdep.c (hppa_gdbarch_init): Update.
1332 * h8300-tdep.c (h8300_gdbarch_init): Update.
1333 * frv-tdep.c (frv_gdbarch_init): Update.
1334 * cris-tdep.c (cris_gdbarch_init): Update.
1335 * avr-tdep.c (avr_gdbarch_init): Update.
1336 * arm-tdep.c (arm_gdbarch_init): Update.
1337 * alpha-tdep.c (alpha_gdbarch_init): Update.
1338
1bf6d5cc
AC
13392003-03-25 Andrew Cagney <cagney@redhat.com>
1340
1341 * gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete.
1342 (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace
1343 CALL_DUMMY_STACK_ADJUST with a predicate variable.
1344 * gdbarch.h, gdbarch.c: Regenerate.
1345 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
1346 call_dummy_stack_adjust_p.
1347 * vax-tdep.c (vax_gdbarch_init): Ditto.
1348 * v850-tdep.c (v850_gdbarch_init): Ditto.
1349 * sh-tdep.c (sh_gdbarch_init): Ditto.
1350 * s390-tdep.c (s390_gdbarch_init): Ditto.
1351 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
1352 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
1353 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1354 * mips-tdep.c (mips_gdbarch_init): Ditto.
1355 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1356 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
1357 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1358 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
1359 * i386-tdep.c (i386_gdbarch_init): Ditto.
1360 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1361 * frv-tdep.c (frv_gdbarch_init): Ditto.
1362 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
1363 * cris-tdep.c (cris_gdbarch_init): Ditto.
1364 * avr-tdep.c (avr_gdbarch_init): Ditto.
1365 * arm-tdep.c (arm_gdbarch_init): Ditto.
1366 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
1367 * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
1368 * config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update.
1369 * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
1370 * sparc-tdep.c (sparc_gdbarch_init): Update. Do not set
1371 call_dummy_stack_adjust_p.
1372 * inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro.
1373 (CALL_DUMMY_STACK_ADJUST): Delete macro.
1374 * sparc-tdep.c (sparc32_push_arguments): Update.
1375 * valops.c (hand_function_call): Update.
1376
71c08af0
CV
13772003-03-25 Corinna Vinschen <vinschen@redhat.com>
1378
1379 * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to
1380 set_gdbarch_char_signed.
1381
30757f90
RE
13822003-03-25 Richard Earnshaw <rearnsha@arm.com>
1383
1384 PR cli/548
1385 * arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler".
1386
03d48a7d
RE
13872003-03-25 Richard Earnshaw <rearnsha@arm.com>
1388
1389 * arm-tdep.c (arm_gdbarch_init): Register the disassembler function.
1390 (_initialize_arm_tdep): Don't set tm_print_insn.
1391
2cf6873c
AF
13922003-03-24 Adam Fedor <fedor@gnu.org>
1393
1394 * Makefile.in (YYOBJ): Add objc-exp.tab.o
1395 * objc-lang.h: Add multiple inclusion protection.
1396 (start_msglist, add_msglist, end_msglist): Additional declarations.
1397
17c0759e
RE
13982003-03-24 Richard Earnshaw <rearnsha@arm.com>
1399
1400 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum
1401 value was renamed to ARM_FLOAT_SOFT_FPA.
1402
618ce49f
AC
14032003-03-23 Andrew Cagney <cagney@redhat.com>
1404
1405 * gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN.
1406 (DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID.
1407 * gdbarch.h, gdbarch.c: Regenerate.
1408 * valops.c (hand_function_call): Update.
1409 * objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
1410 * frame.c (legacy_saved_regs_this_id): Update.
1411 (legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update.
1412 * dummy-frame.h: Update.
1413 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update.
1414 * config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
1415 * config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update.
1416 * config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update.
1417 * config/m68k/tm-sun3.h: Update.
1418 * blockframe.c (inside_main_func, frame_chain_valid): Update.
1419 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1420 * x86-64-tdep.c (x86_64_init_abi): Update.
1421 * vax-tdep.c (vax_gdbarch_init): Update.
1422 * v850-tdep.c (v850_gdbarch_init): Update.
1423 * sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update.
1424 * sh-tdep.c (sh_gdbarch_init): Update.
1425 * s390-tdep.c (s390_gdbarch_init): Update.
1426 * rs6000-tdep.c (rs6000_frame_saved_pc): Update.
1427 (rs6000_gdbarch_init, rs6000_frame_saved_pc): Update.
1428 (frame_get_saved_regs): Update.
1429 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
1430 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1431 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1432 * mips-tdep.c (mips_gdbarch_init): Update.
1433 * mcore-tdep.c (mcore_gdbarch_init): Update.
1434 * m68k-tdep.c (m68k_gdbarch_init): Update.
1435 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1436 * ia64-tdep.c (ia64_gdbarch_init): Update.
1437 * i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update.
1438 * i386-interix-tdep.c (i386_interix_init_abi): Update.
1439 (i386_interix_back_one_frame): Update.
1440 * hppa-tdep.c (hppa_gdbarch_init): Update.
1441 (hppa_init_extra_frame_info): Update.
1442 * h8300-tdep.c (h8300_gdbarch_init): Update.
1443 * frv-tdep.c (frv_gdbarch_init): Update.
1444 * cris-tdep.c (cris_gdbarch_init): Update.
1445 * avr-tdep.c (avr_gdbarch_init): Update.
1446 * arm-tdep.c (arm_gdbarch_init): Update.
1447 * alpha-tdep.c (alpha_gdbarch_init): Update.
1448
fd50bc42
RE
14492003-03-22 Richard Earnshaw <rearnsha@arm.com>
1450
1451 * arm-tdep.h (arm_float_model): Add AUTO and LAST values.
1452 (arm_get_fp_model): Declare.
1453 * arm-tdep.c (fp_model_strings): New string array.
1454 (arm_fp_model, current_fp_model): New variables.
1455 (arm_get_fp_model): New function.
1456 (arm_set_fp): New function.
1457 (set_fp_model_sfunc): New function.
1458 (show_fp_model): New function.
1459 (_initialize_arm_tdep): Add new command to set/show the FPU.
1460 (arm_extract_return_value): Use arm_get_fp_model.
1461 (arm_store_return_value): Likewise.
1462 (arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp
1463 to initialize the floating-point data types.
1464 * arm-linux-tdep.c (arm_linux_init_abi): The default floating point
1465 model is FPA.
1466
26304000
RE
14672003-03-22 Richard Earnshaw <rearnsha@arm.com>
1468
1469 * arm-tdep.c (show_arm_command): Don't print out help. Instead, show
1470 the current setting of each value.
1471 (_initialize_arm_tdep): Delete variable new_cmd and add new vars
1472 new_set and new_show. Use add_setshow_cmd_full and
1473 add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32"
1474 commands and add new version as subcommands of "set/show arm".
1475
afd7eef0
RE
14762003-03-22 Richard Earnshaw <rearnsha@arm.com>
1477
1478 * arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists.
1479 (set_arm_command, show_arm_command): New functions.
1480 (_initialize_arm_tdep): Add them.
1481 (num_disassembly_options): Renamed from num_flavor_options.
1482 (valid_disassembly_styles): Renamed from valid_flavors.
1483 (disassembly_style): Renamed from disassembly_flavor.
1484 (set_disassembly_style_sfunc): Renamed from
1485 set_disassembly_flavor_sfunc.
1486 (set_disassembly_style): Renamed from set_disassembly_flavor.
1487 (arm_othernames): Updated.
1488 (_initialize_arm_tdep): Deprecate "set/show disassembly-flavor"
1489 command. Add "set/show arm disassembly" commands. Deprecate
1490 "othernames" command.
1491
299a7944
RE
14922003-03-22 Richard Earnshaw <rearnsha@arm.com>
1493
1494 * Makefile.in (elf_reloc_macros_h, elf_arm_h): Define.
1495 (arm-tdep.o): Depend on elf_arm_h.
1496
c1dac9e6
RE
14972003-03-22 Richard Earnshaw <rearnsha@arm.com>
1498
1499 * Makefile.in (coff_internal_h): Define.
1500 (arm-tdep.o): Update dependencies.
1501
2702d96c
RE
15022003-03-22 Richard Earnshaw <rearnsha@arm.com>
1503
1504 * arm-tdep.c (prologue_cache): Delete.
1505 (check_prologue_cache, save_prologue_cache): Delete.
1506 (arm_scan_prologue): Don't check or update the prologue_cache.
1507 (arm_gdb_arch_init): Don't initialize it.
1508 (_initialize_arm_tdep): Likewise.
1509
27d5d74b
SC
15102003-03-21 Stephane Carrez <stcarrez@nerim.fr>
1511
1512 * MAINTAINERS (tui): Maintainer of tui code.
1513
1762d96d
CV
15142003-03-21 Corinna Vinschen <vinschen@redhat.com>
1515
1516 * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c.
1517 (i386-cygwin-tdep.o): Add dependencies.
1518 * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN.
1519 * i386-cygwin-tdep.c: New file.
1520 * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN.
1521 * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o.
1522
4c2e2391
AC
15232003-03-20 Andrew Cagney <cagney@redhat.com>
1524
f20d38b7
AC
1525 * infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro.
1526 (handle_inferior_event): Remove code calling
1527 DYNAMIC_TRAMPOLINE_NEXTPC.
1528
0022b738
AC
1529 * Makefile.in (init.c): Don't add $(srcdir) prefix when a file
1530 already has a full path.
1531
864dbc90
AC
1532 * main.c (gdb_main): Return 1.
1533 (captured_main): Call error to report an invalid interpreter.
1534
4c2e2391
AC
1535 * Makefile.in (alpha-osf1-tdep.o): Update dependencies.
1536 * alpha-osf1-tdep.c: Include "gdb_string.h".
1537
5ef7553b
JB
15382003-03-19 J. Brobecker <brobecker@gnat.com>
1539
1540 Continuing work to convert the hppa targets to multiarch partial.
1541
1542 * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch
1543 method, now that hppa_push_dummy_frame has a conformant prototype.
1544 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro
1545 inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation
1546 for the switch to multiarch partial.
1547
7bde8967
KB
15482003-03-19 Kevin Buettner <kevinb@redhat.com>
1549
1550 * mdebugread.c (parse_symbol): For stEnd, we're done counting
1551 when iss is issNull.
1552
b006a9e9
KB
15532003-03-18 Kevin Buettner <kevinb@redhat.com>
1554
1555 * mips-tdep.c (mips_register_name): Fix fencepost error involving
1556 NUM_REGS bounds check.
1557
5e2e9765
KB
15582003-03-18 Kevin Buettner <kevinb@redhat.com>
1559
1560 * Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h).
1561 * mips-tdep.c (gdb_assert.h): Include.
1562 (mips_generic_reg_names, mips_processor_reg_names): Make static.
1563 (mips_register_name): Handle integer registers explicitly. Add
1564 bounds checking.
1565 (mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names)
1566 (mips_lsi33k_reg_names): Don't list integer registers; they're
1567 handled by mips_register_name() now.
1568 * config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise.
1569 * config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise.
1570 * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise.
1571 * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise.
1572 * config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise.
1573
a2867626
AC
15742003-03-18 Andrew Cagney <cagney@redhat.com>
1575
1576 * printcmd.c (print_scalar_formatted): Change VALADDR parameter to
1577 a void pointer.
1578 * gdbtypes.h (print_scalar_formatted): Update declaration.
1579 * expression.h (enum exp_opcode): Remove non-ISO C trailing comma.
1580
06600e06
JB
15812003-03-18 J. Brobecker <brobecker@gnat.com>
1582
1583 * infrun.c (observer.h): Add #include.
1584 (normal_stop): Add call to observer_notify_normal_stop.
1585 * Makefile.in (infrun.o): Add dependency on observer.h.
1586
7daf4f5b
JB
15872003-03-18 J. Brobecker <brobecker@gnat.com>
1588
1589 Continuing work to convert the hppa targets to multiarch partial.
1590 * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function
1591 parameter. Reformat comment.
1592 * config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile.
1593 (DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame()
1594 to match new profile.
1595
3371ccc0
JB
15962003-03-18 J. Brobecker <brobecker@gnat.com>
1597
1598 * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not
1599 appear to be working in any case.
1600
4fbe891e
JB
16012003-03-18 J. Brobecker <brobecker@gnat.com>
1602
1603 * observer.c (observer_test_first_observer): New static variable.
1604 (observer_test_second_observer): Likewise.
1605 (observer_test_third_observer): Likewise.
1606 (observer_test_first_notification_function): New static function.
1607 (observer_test_second_notification_function): Likewise.
1608 (observer_test_third_notification_function): Likewise.
1609
a7ff40e7
JB
16102003-03-17 J. Brobecker <brobecker@gnat.com>
1611
1612 * hppa-tdep.c (gdb_assert.h): Add missing #include.
1613 * somsolib.c (gdb_assert.h): Likewise.
1614 * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h.
1615 (somsolib.o): Likewise.
1616
26ca4152
AC
16172003-03-17 Andrew Cagney <cagney@redhat.com>
1618
1619 * disasm.c (gdb_disassembly): Set di.mach using the architecture's
1620 BFD. Simplify setting of di.endian.
1621
0a613259
AC
16222003-03-17 Andrew Cagney <cagney@redhat.com>
1623
1624 * rs6000-tdep.c (ppc_floating_point_unit_p): New function.
1625 * ppc-tdep.h (ppc_floating_point_unit_p): Declare.
1626
1627 From Elena Zannoni <ezannoni@redhat.com>
1628 * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500
1629 vector and floating-point parameters.
1630 (ppc_sysv_abi_use_struct_convention): Handle e500 struct return
1631 convention.
1632 (ppc_sysv_abi_broken_use_struct_convention): Ditto.
1633
1132738f
FN
16342003-03-17 Fernando Nasser <fnasser@redhat.com>
1635
1636 * MAINTAINERS: Remove my name from several maintainership roles.
1637
6dc42492
AC
16382003-03-17 Andrew Cagney <cagney@redhat.com>
1639
1640 Fix frame off-by-one bug.
1641 * frame-unwind.h (frame_this_id_ftype): Replace
1642 frame_unwind_id_ftype.
1643 (frame_prev_register_ftype): Replace frame_unwind_reg_ftype.
1644 (struct frame_unwind): Replace "id" with "this_id". Replace "reg"
1645 with "prev_register".
1646 * frame-unwind.c (frame_unwind_find_by_pc): Return
1647 legacy_saved_regs_unwind instead of trad_frame_unwind. Update
1648 comment.
1649 * dummy-frame.c (cached_find_dummy_frame): Delete function.
1650 (dummy_frame_this_id): Replace dummy_frame_id_unwind.
1651 (dummy_frame_prev_register): Replace dummy_frame_register_unwind.
1652 (dummy_frame_unwind): Update.
1653 * sentinel-frame.c (sentinel_frame_prev_register): Replace
1654 sentinel_frame_register_unwind.
1655 (sentinel_frame_this_id): Replace sentinel_frame_id_unwind.
1656 (sentinel_frame_unwinder): Update.
1657 * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind.
1658 (struct frame_info): Rename "unwind_cache" to "prologue_cache".
1659 * frame.c (create_sentinel_frame): Update. Initialize
1660 "prologue_cache" instead of "unwind_cache".
1661 (frame_register_unwind): Call this frame's prev_register with the
1662 next frame and this frame's prologue cache.
1663 (get_prev_frame): Simplify. Always call prev frame's this_id with
1664 this frame and prev frame's prologue cache. Document that this
1665 call is shifted one to the left when compared to the
1666 frame_register_unwind call.
1667 (legacy_saved_regs_prev_register): Replace
1668 frame_saved_regs_register_unwind.
1669 (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind.
1670 (legacy_saved_regs_unwinder): Replace trad_frame_unwinder.
1671 (legacy_saved_regs_unwind): Replace trad_frame_unwind.
1672 * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind.
1673 (d10v_frame_unwind): Update.
1674 (d10v_frame_prev_register): Replace d10v_frame_register_unwind.
1675 (d10v_frame_unwind_cache): Replace this "fi" with "next_frame".
1676 (saved_regs_unwinder): Replace this "frame" with "next_frame", and
1677 "saved_regs" with "this_saved_regs".
1678
efd710d6
AC
16792003-03-16 Andrew Cagney <cagney@redhat.com>
1680
1681 * frame.c (frame_pop): Don't call target_store_registers. Fix
1682 problem reported by Mark Kettenis.
1683
4e259f09
MK
16842003-03-16 Mark Kettenis <kettenis@gnu.org>
1685
1686 * i386-tdep.c (i386_register_type): Renamed from
1687 i386_register_virtual_type. Adjust function signature.
1688 (i386_gdbarch_init): Set register_type instead of
1689 deprecated_max_register_raw_size,
1690 deprecated_max_register_virtual_size and register_virtual_type.
1691
055bb976
AC
16922003-03-14 Andrew Cagney <cagney@redhat.com>
1693
1694 * frame.c (get_prev_frame): When a legacy frame, always call
1695 legacy_get_prev_frame. Simplify unwind code using assumption that
1696 the unwinder is new.
1697 (legacy_get_prev_frame): Handle legacy sentinel frame unwind here.
1698 (legacy_frame_p): When no gdbarch_unwind_dummy_id, or
1699 SAVED_DUMMY_FRAME_TOS, assume a legacy frame.
1700
ac2adee5
AC
17012003-03-14 Andrew Cagney <cagney@redhat.com>
1702
1703 * frame.c (get_saved_register): Delete function.
1704 * frame.h (get_saved_register): Delete declaration.
1705 * xstormy16-tdep.c: Update comment.
1706 * regcache.h: Update comments.
1707 * sparc-tdep.c (sparc_init_extra_frame_info): Instead of
1708 get_saved_register and extract_address, use
1709 frame_read_unsigned_register.
1710 (sparc_frame_saved_pc): Ditto.
1711 (sparc_get_saved_register): Instead of get_saved_register, use
1712 frame_register.
1713 (sparc_pop_frame): Ditto.
1714 * findvar.c: Update comments.
1715 (value_of_register): Call frame_register instead of
1716 get_saved_register.
1717 (value_from_register): Ditto.
1718 * config/sparc/tm-sparc.h: Update comment.
1719 * breakpoint.c: Update comment.
1720
129c1cd6
AC
17212003-03-14 Andrew Cagney <cagney@redhat.com>
1722
1723 * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace
1724 GET_SAVED_REGISTER.
1725 * gdbarch.h, gdbarch.c: Re-generate.
1726 * frame.h: Update comments.
1727 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1728 * x86-64-tdep.c (x86_64_init_abi): Update.
1729 * sparc-tdep.c (sparc_gdbarch_init): Update.
1730 * sh-tdep.c (sh_gdbarch_init): Update.
1731 * mips-tdep.c (mips_gdbarch_init): Update.
1732 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1733 * cris-tdep.c (cris_gdbarch_init): Update.
1734 * ia64-tdep.c (ia64_gdbarch_init): Update.
1735 * frame.c (frame_register): Update.
1736 (get_saved_register): Update.
1737 * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update.
1738
749b82f6
AC
17392003-03-13 Andrew Cagney <cagney@redhat.com>
1740
1741 * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME.
1742 * gdbarch.h, gdbarch.c: Regenerate.
1743 * valops.c (hand_function_call): Update comment.
1744 * stack.c (return_command): Update comment.
1745 * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update.
1746 * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update.
1747 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1748 * x86-64-tdep.c (x86_64_init_abi): Update.
1749 * vax-tdep.c (vax_gdbarch_init): Update.
1750 * v850-tdep.c (v850_gdbarch_init): Update.
1751 * sparc-tdep.c (sparc_gdbarch_init): Update.
1752 * sh-tdep.c (sh_gdbarch_init): Update.
1753 * s390-tdep.c (s390_gdbarch_init): Update.
1754 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1755 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1756 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1757 * mips-tdep.c (mips_gdbarch_init): Update.
1758 * mcore-tdep.c (mcore_gdbarch_init): Update.
1759 * m68k-tdep.c (m68k_gdbarch_init): Update.
1760 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1761 * ia64-tdep.c (ia64_gdbarch_init): Update.
1762 * i386-tdep.c (i386_gdbarch_init): Update.
1763 * hppa-tdep.c (hppa_gdbarch_init): Update.
1764 * h8300-tdep.c (h8300_gdbarch_init): Update.
1765 * frv-tdep.c (frv_gdbarch_init): Update.
1766 * cris-tdep.c (cris_gdbarch_init): Update.
1767 * avr-tdep.c (avr_gdbarch_init): Update.
1768 * arm-tdep.c (arm_gdbarch_init): Update.
1769 * alpha-tdep.c (alpha_gdbarch_init): Update.
1770
1594fa56
AC
17712003-03-13 Andrew Cagney <cagney@redhat.com>
1772
1773 * frame.c (legacy_frame_p): New function.
1774 (get_prev_frame): Use legacy_frame_p.
1775 * frame.h (legacy_frame_p): Declare.
1776
7717fda3
V
17772003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com>
1778
1779 * MAINTAINERS (write after approval): Alphabetically
1780 listing corrected.
1781
0c67cbe9
V
17822003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com>
1783
1784 * MAINTAINERS (write after approval): Add myself.
1785
03febf99
AC
17862003-03-12 Andrew Cagney <cagney@redhat.com>
1787
1788 * frame.c (get_prev_frame): Rename the frame parameter to
1789 "this_frame".
1790 (get_next_frame, legacy_get_prev_frame): Ditto.
1791
0a1e1ca1
AC
17922003-03-12 Andrew Cagney <cagney@redhat.com>
1793
1794 * frame.c (get_current_frame): Check target_has_registers before
1795 checking target_has_stack.
1796 * eval.c (evaluate_subexp_standard): Use get_selected_frame,
1797 instead of deprecated_selected_frame.
1798 * findvar.c (value_of_register): Pass "frame", not
1799 deprecated_selected_frame, to value_of_builtin_reg.
1800
a66a9c23
AC
18012003-03-12 Andrew Cagney <cagney@redhat.com>
1802
1803 * regcache.c (regcache_cooked_write_signed): New function.
1804 (regcache_cooked_write_unsigned): New function.
1805 (regcache_cooked_read_unsigned): Fix regnum in range assertion.
1806 (regcache_cooked_read_signed): Fix regnum in range assertion.
1807 * regcache.h (regcache_cooked_write_signed): Declare.
1808 (regcache_cooked_write_unsigned): Declare.
1809
8bedc050
AC
18102003-03-12 Andrew Cagney <cagney@redhat.com>
1811
1812 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
1813 * gdbarch.h, gdbarch.c: Re-generate.
1814 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1815 * x86-64-tdep.h: Update.
1816 * x86-64-tdep.c (x86_64_init_abi): Update.
1817 * v850-tdep.c (v850_gdbarch_init): Update.
1818 * sparc-tdep.c (sparc_gdbarch_init): Update.
1819 * sh-tdep.c (sh_gdbarch_init): Update.
1820 * s390-tdep.c (s390_gdbarch_init): Update.
1821 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1822 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
1823 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1824 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1825 * mips-tdep.c (mips_gdbarch_init): Update.
1826 * mcore-tdep.c (mcore_gdbarch_init): Update.
1827 * m68k-tdep.c (m68k_gdbarch_init): Update.
1828 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1829 * ia64-tdep.c (ia64_gdbarch_init): Update.
1830 * i386-tdep.c (i386_gdbarch_init): Update.
1831 * i386-interix-tdep.c (i386_interix_init_abi): Update.
1832 * hppa-tdep.c (hppa_gdbarch_init): Update.
1833 * h8300-tdep.c (h8300_gdbarch_init): Update.
1834 * frv-tdep.c (frv_gdbarch_init): Update.
1835 * cris-tdep.c (cris_gdbarch_init): Update.
1836 * avr-tdep.c (avr_gdbarch_init): Update.
1837 * arm-tdep.c (arm_gdbarch_init): Update.
1838 * alpha-tdep.c (alpha_gdbarch_init): Update.
1839 * sh-tdep.c (sh_init_extra_frame_info): Update.
1840 (sh64_init_extra_frame_info): Update.
1841 * ns32knbsd-nat.c (frame_num_args): Update.
1842 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
1843 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
1844 (xstormy16_frame_chain_valid): Update.
1845 * vax-tdep.c (vax_saved_pc_after_call): Update.
1846 * v850-tdep.c (v850_frame_chain): Update.
1847 (v850_pop_frame): Update.
1848 (v850_init_extra_frame_info): Update.
1849 * sparc-tdep.c (setup_arbitrary_frame): Update.
1850 * ns32k-tdep.c (umax_frame_num_args): Update.
1851 * s390-tdep.c (s390_pop_frame_regular): Update.
1852 * mn10300-tdep.c (mn10300_frame_chain): Update.
1853 (mn10300_pop_frame_regular): Update.
1854 (mn10300_init_extra_frame_info): Update.
1855 * mips-tdep.c (mips_init_frame_pc_first): Update.
1856 (mips_frame_chain): Update.
1857 (mips_pop_frame): Update.
1858 * mcore-tdep.c (mcore_frame_chain): Update.
1859 (mcore_pop_frame): Update.
1860 (mcore_init_extra_frame_info): Update.
1861 * arch-utils.c (init_frame_pc_default): Update.
1862 * m68k-tdep.c (isi_frame_num_args): Update.
1863 (delta68_frame_num_args): Update.
1864 (news_frame_num_args): Update.
1865 * ia64-tdep.c (ia64_pop_frame_regular): Update.
1866 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
1867 (alpha_frame_chain): Update.
1868 (alpha_pop_frame): Update.
1869 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
1870 (hppa_init_extra_frame_info): Update.
1871 (hppa_frame_chain): Update.
1872 (hppa_frame_chain_valid): Update.
1873 * cris-tdep.c (cris_init_extra_frame_info): Update.
1874 * avr-tdep.c (avr_init_extra_frame_info): Update.
1875 * arm-tdep.c (arm_frame_chain_valid): Update.
1876 (arm_init_extra_frame_info): Update.
1877 (arm_pop_frame): Update.
1878 * frame.c (frame_pc_unwind): Update.
1879 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
1880 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1881 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1882 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
1883 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
1884 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
1885
7a25a7c1
AC
18862003-03-12 Andrew Cagney <cagney@redhat.com>
1887
1888 Eliminate the need for POP_FRAME.
1889 * frame.c (do_frame_unwind_register): New function.
1890 (frame_pop): When no POP_FRAME, pop the frame using register
1891 unwind and a scratch regcache.
1892 (frame_saved_regs_pop): Delete function.
1893 (trad_frame_unwinder): Update.
1894 * d10v-tdep.c (d10v_frame_pop): Delete function.
1895 (d10v_frame_unwind): Update.
1896 * sentinel-frame.c (sentinel_frame_pop): Delete function.
1897 (sentinel_frame_unwinder): Update.
1898 * dummy-frame.c (dummy_frame_pop): Delete function.
1899 (dummy_frame_unwind): Update.
1900 * frame-unwind.h (frame_unwind_pop_ftype): Delete definition.
1901 (struct frame_unwind): Update.
1902
2f38ef89
KB
19032003-03-11 Kevin Buettner <kevinb@redhat.com>
1904
1905 * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to
1906 mips_dwarf_dwarf2_ecoff_reg_to_regnum().
1907 (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum):
1908 Do range checks on register number obtained from debugging info.
1909 (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and
1910 set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of
1911 set_gdbarch_ecoff_reg_to_regnum() to account for new name of
1912 mapping function.
1913 (do_fp_register_row): Fix typo which caused double type to be
1914 used when attempting to unpack a float.
1915
552f4abf
JB
19162003-03-11 J. Brobecker <brobecker@gnat.com>
1917
1918 * breakpoint.c (bpstat_stop_status): Fix a small memory leak.
1919
e0d2ae16
AC
19202003-03-11 Andrew Cagney <cagney@redhat.com>
1921
1922 * frame.c (deprecated_update_frame_pc_hack): Don't assume a next
1923 frame. Problem found by Corinna Vinschen.
1924
ddbfdd06
PM
19252003-03-11 Pierre Muller <muller@ics.u-strasbg.fr>
1926
1927 * doublest.c (floatformat_from_length): Accept also
1928 the real size of 'long double' type.
1929
088b2ddc 19302003-03-10 Daniel Jacobowitz <drow@mvista.com>
31cc81e9 1931
088b2ddc 1932 From Klee Dienes <kdienes@apple.com>:
31cc81e9
DJ
1933 * breakpoint.c (bpstat_copy): Copy the command lines as well
1934 as the old value, to match what is freed in bpstat_clear.
1935
f56f77c1
DC
19362003-03-10 David Carlton <carlton@math.stanford.edu>
1937
1938 * minsyms.c (add_minsym_to_hash_table): Replace
1939 DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME.
1940 (compare_minimal_symbols, compact_minimal_symbols)
1941 (install_minimal_symbols, find_solib_trampoline_target): Ditto.
1942 (lookup_minimal_symbol_text): Use strcmp on linkage names instead
1943 of DEPRECATED_SYMBOL_MATCHES_NAME.
1944 (lookup_minimal_symbol_solib_trampoline): Ditto.
1945
5602984a
AC
19462003-03-10 Andrew Cagney <cagney@redhat.com>
1947
1948 * regcache.h (regcache_cooked_read_ftype): Define.
1949 (regcache_save, regcache_restore): Add a cooked_read parameter.
1950 * regcache.c (regcache_save, regcache_restore): Update.
1951 (do_cooked_read): New function.
1952 (regcache_cpy): Pass do_cooked_read to regcache_save and
1953 regcache_restore.
1954
8bedc050
AC
19552003-03-10 Andrew Cagney <cagney@redhat.com>
1956
1957 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
1958 * gdbarch.h, gdbarch.c: Re-generate.
1959 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1960 * x86-64-tdep.h: Update.
1961 * x86-64-tdep.c (x86_64_init_abi): Update.
1962 * v850-tdep.c (v850_gdbarch_init): Update.
1963 * sparc-tdep.c (sparc_gdbarch_init): Update.
1964 * sh-tdep.c (sh_gdbarch_init): Update.
1965 * s390-tdep.c (s390_gdbarch_init): Update.
1966 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1967 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
1968 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1969 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1970 * mips-tdep.c (mips_gdbarch_init): Update.
1971 * mcore-tdep.c (mcore_gdbarch_init): Update.
1972 * m68k-tdep.c (m68k_gdbarch_init): Update.
1973 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1974 * ia64-tdep.c (ia64_gdbarch_init): Update.
1975 * i386-tdep.c (i386_gdbarch_init): Update.
1976 * i386-interix-tdep.c (i386_interix_init_abi): Update.
1977 * hppa-tdep.c (hppa_gdbarch_init): Update.
1978 * h8300-tdep.c (h8300_gdbarch_init): Update.
1979 * frv-tdep.c (frv_gdbarch_init): Update.
1980 * cris-tdep.c (cris_gdbarch_init): Update.
1981 * avr-tdep.c (avr_gdbarch_init): Update.
1982 * arm-tdep.c (arm_gdbarch_init): Update.
1983 * alpha-tdep.c (alpha_gdbarch_init): Update.
1984 * sh-tdep.c (sh_init_extra_frame_info): Update.
1985 (sh64_init_extra_frame_info): Update.
1986 * ns32knbsd-nat.c (frame_num_args): Update.
1987 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
1988 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
1989 (xstormy16_frame_chain_valid): Update.
1990 * vax-tdep.c (vax_saved_pc_after_call): Update.
1991 * v850-tdep.c (v850_frame_chain): Update.
1992 (v850_pop_frame): Update.
1993 (v850_init_extra_frame_info): Update.
1994 * sparc-tdep.c (setup_arbitrary_frame): Update.
1995 * ns32k-tdep.c (umax_frame_num_args): Update.
1996 * s390-tdep.c (s390_pop_frame_regular): Update.
1997 * mn10300-tdep.c (mn10300_frame_chain): Update.
1998 (mn10300_pop_frame_regular): Update.
1999 (mn10300_init_extra_frame_info): Update.
2000 * mips-tdep.c (mips_init_frame_pc_first): Update.
2001 (mips_frame_chain): Update.
2002 (mips_pop_frame): Update.
2003 * mcore-tdep.c (mcore_frame_chain): Update.
2004 (mcore_pop_frame): Update.
2005 (mcore_init_extra_frame_info): Update.
2006 * arch-utils.c (init_frame_pc_default): Update.
2007 * m68k-tdep.c (isi_frame_num_args): Update.
2008 (delta68_frame_num_args): Update.
2009 (news_frame_num_args): Update.
2010 * ia64-tdep.c (ia64_pop_frame_regular): Update.
2011 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
2012 (alpha_frame_chain): Update.
2013 (alpha_pop_frame): Update.
2014 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
2015 (hppa_init_extra_frame_info): Update.
2016 (hppa_frame_chain): Update.
2017 (hppa_frame_chain_valid): Update.
2018 * cris-tdep.c (cris_init_extra_frame_info): Update.
2019 * avr-tdep.c (avr_init_extra_frame_info): Update.
2020 * arm-tdep.c (arm_frame_chain_valid): Update.
2021 (arm_init_extra_frame_info): Update.
2022 (arm_pop_frame): Update.
2023 * frame.c (frame_pc_unwind): Update.
2024 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
2025 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
2026 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
2027 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
2028 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
2029 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
2030
12cc2063
AC
20312003-03-10 Andrew Cagney <cagney@redhat.com>
2032
2033 * gdbarch.sh (gdbarch_unwind_pc): New method.
2034 * gdbarch.h, gdbarch.c: Regenerate.
2035 * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc,
2036 but use read_pc and FRAME_SAVED_PC as fall backs.
2037 (frame_saved_regs_pc_unwind): Delete function.
2038 (trad_frame_unwinder): Update.
2039 * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration.
2040 (struct frame_unwind): Update.
2041 * dummy-frame.c (dummy_frame_pc_unwind): Delete function.
2042 (dummy_frame_unwind): Update.
2043 * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function.
2044 (sentinel_frame_unwinder): Update.
2045 * d10v-tdep.c (d10v_frame_pc_unwind): Delete function.
2046 (d10v_frame_unwind): Update.
2047 (d10v_unwind_pc): New function.
2048 (d10v_gdbarch_init): Set unwind_pc.
2049
ef840a37
AC
20502003-03-10 Andrew Cagney <cagney@redhat.com>
2051
a2ce2e56
AC
2052 * gdbarch.h: Re-generate.
2053
ef840a37
AC
2054 * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the
2055 PC.
2056 (d10v_frame_pop): Unwind the PC, and not the LR, when restoring
2057 the PC register.
2058
08f3424b
MK
20592003-03-08 Mark Kettenis <kettenis@gnu.org>
2060
2061 * gdbarch.sh (save_dummy_frame_tos): Add comment.
2062
1248ede2
AC
20632003-03-08 Andrew Cagney <cagney@redhat.com>
2064
2065 * cli-out.c: Update copyright.
2066 (cli_out_data): Define typedef. Use instead of ui_out_data.
2067
f49bacc8
AC
20682003-03-08 Andrew Cagney <cagney@redhat.com>
2069
2070 * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to
2071 the result.
2072
9b05f993
AC
20732003-03-07 Andrew Cagney <cagney@redhat.com>
2074
2075 * gdbarch.sh: Don't generate two macro definitions when an
2076 undefined macro taking no arguments.
2077 * gdbarch.h: Regenerate.
2078
166f4c7b
ML
20792002-03-07 Michal Ludvig <mludvig@suse.cz>
2080
2081 * x86-64-tdep.c (x86_64_save_dummy_frame_tos)
2082 (x86_64_unwind_dummy_id): New functions.
2083 (x86_64_init_abi): Register these two new functions.
2084
6d686a84
ML
20852003-03-07 Michal Ludvig <mludvig@suse.cz>
2086
2087 * x86-64-tdep.c (x86_64_function_has_prologue): New function.
2088 (x86_64_skip_prologue): Move prologue detection to
2089 separate function.
2090 * x86-64-tdep.h (x86_64_function_has_prologue): New prototype.
2091
6314f104
AC
20922003-03-05 Andrew Cagney <cagney@redhat.com>
2093
2094 * d10v-tdep.c (d10v_unwind_dummy_id): New function.
2095 (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos.
2096 * frame.c (get_prev_frame): Restructure the frame ID unwind code
2097 to use unwind_dummy_id when a dummy frame.
2098 * gdbarch.sh (unwind_dummy_id): New multi-arch method with
2099 predicate.
2100 * gdbarch.h, gdbarch.c: Regneerate.
2101
ceea5145
AC
21022003-03-05 Andrew Cagney <cagney@redhat.com>
2103
2104 * d10v-tdep.c (struct d10v_unwind_cache): Add field "base".
2105 (d10v_frame_unwind_cache): Rewrite code computing the base and SP.
2106 Do not use d10v_read_sp or d10v_read_fp when obtaining register
2107 values.
2108
0d843116
AC
21092003-03-05 Andrew Cagney <cagney@redhat.com>
2110
2111 * d10v-tdep.c (struct frame_extra_info): Delete unused structure.
2112 (struct d10v_unwind_cache): Delete field "frameless". Replace
2113 "next_addr" with "sp_offset". Add "r11_offset".
2114 (d10v_frame_unwind_cache): Update.
2115 (prologue_find_regs): Update. When "mv r11, sp", save the
2116 "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that
2117 RN was saved in r11_offset.
2118
b2579786
AC
21192003-03-05 Andrew Cagney <cagney@redhat.com>
2120
2121 * frame.c (deprecated_update_frame_pc_hack): Also update the the
2122 cached PC value in the next frame.
2123
218e5956
AC
21242003-03-05 Andrew Cagney <cagney@redhat.com>
2125
2126 * frame.h (struct frame_info): Replace "id_unwind_cache_p" and
2127 "id_unwind_cache" with "id".
2128 (frame_id_unwind): Delete declaration.
2129 * frame.c (frame_id_unwind): Delete function.
2130 (get_prev_frame): Call the frame id unwind method directly. Store
2131 the returned next frame's ID value in NEXT_FRAME. Note that there
2132 is a problem with the wrong unwind ID being called with the wrong
2133 unwind cache.
2134
ed363b1b
DJ
21352003-03-05 Daniel Jacobowitz <drow@mvista.com>
2136
2137 * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS.
2138
fe1f4a5e
DJ
21392003-03-05 James Ingham <jingham@apple.com>
2140 Daniel Jacobowitz <drow@mvista.com>
2141
2142 * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h".
2143 (auto_cp_abi): New variable.
2144 (current_cp_abi, num_cp_abis): Make static.
2145 (CP_ABI_MAX): Define.
2146 (cp_abis): Turn into an array.
2147 (value_virtual_fn_field): Fix formatting.
2148 (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now
2149 takes a pointer.
2150 (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd)
2151 (list_cp_abis, _initialize_cp_abi): New functions.
2152 * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove
2153 declarations for cp_abis, num_cp_abis, current_cp_abi, and
2154 switch_to_cp_abi. Update prototype for register_cp_abi.
2155 * Makefile.in (cp-abi.o): Update dependencies.
2156 * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default
2157 instead of switch_to_cp_abi.
2158 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to
2159 register_cp_abi.
2160 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to
2161 register_cp_abi.
2162 * hpacc-abi.c (_initialize_hpacc_abi): Likewise.
2163
e4adbba9
DJ
21642003-03-05 Daniel Jacobowitz <drow@mvista.com>
2165
2166 * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition.
2167 * dwarf2loc.c: Include "regcache.h".
2168 (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use
2169 register_size.
2170 * Makefile.in (dwarf2loc.o): Update dependencies.
2171
91ccbfc1
TR
21722003-03-04 Theodore A. Roth <troth@openavr.org>
2173
2174 * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the
2175 number of io registers reported by remote target is not a multiple of
2176 step.
2177
3d4e8fd2
DC
21782003-03-04 David Carlton <carlton@math.stanford.edu>
2179
2180 * symtab.c (lookup_partial_symbol): Add linkage_name argument.
2181 (lookup_symbol_aux_psymtabs): Update call to
2182 lookup_partial_symbol.
2183 (lookup_transparent_type, find_main_psymtab)
2184 (make_symbol_overload_list): Ditto.
2185
ed42d87b
KH
21862003-03-04 Kazu Hirata <kazu@cs.umass.edu>
2187
2188 * MAINTAINERS (Write after approval): Update my email address.
2189
a0ed5532
AC
21902003-03-03 Andrew Cagney <cagney@redhat.com>
2191
2192 Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional.
2193 * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with
2194 predicate. Replace MAX_REGISTER_RAW_SIZE.
2195 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for
2196 MAX_REGISTER_VIRTUAL_SIZE.
2197 * regcache.c (legacy_max_register_raw_size): New function.
2198 (legacy_max_register_virtual_size): New function.
2199 * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define.
2200 (MAX_REGISTER_RAW_SIZE): Define.
2201 (legacy_max_register_raw_size): Declare.
2202 (legacy_max_register_virtual_size): Declare.
2203 * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
2204 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update.
2205 * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
2206 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
2207 * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
2208 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
2209 * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
2210 * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
2211 * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
2212 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
2213 * vax-tdep.c (vax_gdbarch_init): Update.
2214 * v850-tdep.c (v850_gdbarch_init): Update.
2215 * sparc-tdep.c (sparc_gdbarch_init): Update.
2216 * sh-tdep.c (sh_gdbarch_init): Update.
2217 * s390-tdep.c (s390_gdbarch_init): Update.
2218 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
2219 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
2220 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
2221 * mips-tdep.c (mips_gdbarch_init): Update.
2222 * mcore-tdep.c (mcore_gdbarch_init): Update.
2223 * m68k-tdep.c (m68k_gdbarch_init): Update.
2224 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
2225 * ia64-tdep.c (ia64_gdbarch_init): Update.
2226 * i386-tdep.c (i386_gdbarch_init): Update.
2227 * hppa-tdep.c (hppa_gdbarch_init): Update.
2228 * h8300-tdep.c (h8300_gdbarch_init): Update.
2229 * frv-tdep.c (frv_gdbarch_init): Update.
2230 * cris-tdep.c (cris_gdbarch_init): Update.
2231 * avr-tdep.c (avr_gdbarch_init): Update.
2232 * arm-tdep.c (arm_gdbarch_init): Update.
2233 * alpha-tdep.c (alpha_gdbarch_init): Update.
2234 * d10v-tdep.c (d10v_gdbarch_init): Do not set
2235 max_register_raw_size or max_register_virtual_size.
2236
8e437497
DC
22372003-03-03 David Carlton <carlton@math.stanford.edu>
2238
2239 * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from
2240 SYMBOL_MATCHES_NAME, add comment.
2241 (SYMBOL_MATCHES_NATURAL_NAME): New.
2242 * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace
2243 SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME.
2244 (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto.
2245 * symtab.c (lookup_partial_symbol): Use
2246 SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete
2247 unhelpful comment.
2248 (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not
2249 SYMBOL_MATCHES_NAME.
2250 Fix for PR c++/33.
2251
25120b0d
DC
22522003-03-03 David Carlton <carlton@math.stanford.edu>
2253
2254 * symtab.h (SYMBOL_MATCHES_REGEXP): Delete.
2255 * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP
2256 by regexp matching against SYMBOL_NATURAL_NAME.
2257
78a11fb4
DC
22582003-03-03 David Carlton <carlton@math.stanford.edu>
2259
2260 * linespec.c (find_method): Extract code into collect_methods.
2261 (collect_methods): New.
2262
645dd519
MK
22632003-03-02 Mark Kettenis <kettenis@gnu.org>
2264
b4700d91
MK
2265 * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and
2266 get_frame_base.
2267
645dd519
MK
2268 * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of
2269 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
2270
0aa7e1aa
SC
22712003-03-02 Stephane Carrez <stcarrez@nerim.fr>
2272
2273 * arch-utils.c (generic_register_byte): Fix to use the loop index
2274 and not regnum when summing the size of all registers up to regnum.
2275
f30ee0bc
AC
22762003-03-01 Andrew Cagney <cagney@redhat.com>
2277
2278 * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename
2279 FRAME_INIT_SAVED_REGS.
2280 * gdbarch.h, gdbarch.c: Regenerate.
2281 * stack.c (frame_info): Update.
2282 * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update.
2283 (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update.
2284 (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update.
2285 * ns32k-tdep.c (ns32k_pop_frame): Update.
2286 * mips-tdep.c (mips_pop_frame): Update.
2287 * m68hc11-tdep.c (m68hc11_pop_frame): Update.
2288 * ia64-tdep.c (ia64_frame_chain): Update.
2289 (ia64_frame_saved_pc, ia64_get_saved_register): Update.
2290 (ia64_frameless_function_invocation): Update.
2291 (ia64_init_extra_frame_info): Update.
2292 (ia64_pop_frame_regular): Update.
2293 * frame.h (struct frame_info): Update comment.
2294 (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro.
2295 * frame.c (frame_saved_regs_register_unwind): Update.
2296 (frame_saved_regs_register_unwind): Update.
2297 (deprecated_generic_get_saved_register): Update.
2298 * cris-tdep.c: Update comment.
2299 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS):
2300 Rename macro.
2301 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
2302 * x86-64-tdep.c (x86_64_init_abi): Update.
2303 * vax-tdep.c (vax_gdbarch_init): Update.
2304 * v850-tdep.c (v850_gdbarch_init): Update.
2305 * sparc-tdep.c (sparc_gdbarch_init): Update.
2306 * sh-tdep.c (sh_gdbarch_init): Update.
2307 * s390-tdep.c (s390_gdbarch_init): Update.
2308 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
2309 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
2310 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
2311 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
2312 * mips-tdep.c (mips_gdbarch_init): Update.
2313 * mcore-tdep.c (mcore_gdbarch_init): Update.
2314 * m68k-tdep.c (m68k_gdbarch_init): Update.
2315 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
2316 * ia64-tdep.c (ia64_gdbarch_init): Update.
2317 * i386-tdep.c (i386_gdbarch_init): Update.
2318 * frv-tdep.c (frv_gdbarch_init): Update.
2319 * avr-tdep.c (avr_gdbarch_init): Update.
2320 * arm-tdep.c (arm_gdbarch_init): Update.
2321 * alpha-tdep.c (alpha_gdbarch_init): Update.
2322
42fa7c0f
AC
23232003-03-01 Andrew Cagney <cagney@redhat.com>
2324
2325 * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to
2326 option enum and switch. When no windows, set the interpreter to
2327 INTERP_CONSOLE.
2328
49c7e338
AC
23292003-03-01 Andrew Cagney <cagney@redhat.com>
2330
2331 * main.c (captured_main): Replace magic option characters with an
2332 enum.
2333
e9582e71
AC
23342003-03-01 Andrew Cagney <cagney@redhat.com>
2335
2336 * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename
2337 INIT_EXTRA_FRAME_INFO.
2338 * gdbarch.h, gdbarch.c: Regenerate.
2339 * arm-tdep.c: Update comments.
2340 * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto.
2341 * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto.
2342 * frame.h, avr-tdep.c: Ditto.
2343 * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO.
2344 (create_new_frame, legacy_get_prev_frame): Ditto.
2345 * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
2346 * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
2347 * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize
2348 deprecated_init_extra_frame_info instead of init_extra_frame_info.
2349 * x86-64-tdep.c (x86_64_init_abi): Ditto.
2350 * v850-tdep.c (v850_gdbarch_init): Ditto.
2351 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
2352 * sh-tdep.c (sh_gdbarch_init): Ditto.
2353 * s390-tdep.c (s390_gdbarch_init): Ditto.
2354 * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto.
2355 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
2356 * mips-tdep.c (mips_gdbarch_init): Ditto.
2357 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
2358 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
2359 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
2360 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
2361 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
2362 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
2363 * frv-tdep.c (frv_gdbarch_init): Ditto.
2364 * cris-tdep.c (cris_gdbarch_init): Ditto.
2365 * avr-tdep.c (avr_gdbarch_init): Ditto.
2366 * arm-tdep.c (arm_gdbarch_init): Ditto.
2367 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
2368 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
2369
35cac7cf
AC
23702003-03-01 Andrew Cagney <cagney@redhat.com>
2371
2372 * gdbarch.sh (register_type): New function with predicate.
2373 (REGISTER_VIRTUAL_TYPE): Change to function with predicate.
2374 * gdbarch.h, gdbarch.c: Re-generate.
2375 * arch-utils.c (generic_register_byte): Use generic_register_size.
2376 (generic_register_size): When available, use
2377 gdbarch_register_type.
2378 * regcache.c (init_regcache_descr): When available, initialize the
2379 register type array using gdbarch_register_type. If the
2380 architecture supplies gdbarch_register_type, do not use the legacy
2381 regcache layout.
2382 * d10v-tdep.c (d10v_register_type): Replace
2383 d10v_register_virtual_type.
2384 (d10v_gdbarch_init): Set register_type instead of
2385 register_virtual_type.
2386
7b83296f
AC
23872003-03-01 Andrew Cagney <cagney@redhat.com>
2388
2389 * Makefile.in (ax-gdb.o): Update dependencies.
2390 * ax-gdb.c: Include "regcache.h".
2391 (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE.
2392 * findvar.c (value_of_register): Ditto.
2393 * infcmd.c (default_print_registers_info): Ditto.
2394
eadc1c87
MK
23952003-03-01 Mark Kettenis <kettenis@gnu.org>
2396
2397 * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of
2398 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
2399
14143612
MK
24002003-03-01 Mark Kettenis <kettenis@gnu.org>
2401
2402 * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead
2403 of STREQ.
2404
a55cc764
DJ
24052003-02-28 Daniel Jacobowitz <drow@mvista.com>
2406
2407 * Makefile.in (dwarf2loc.o): Update dependencies.
2408 * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG.
2409 * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static.
2410 * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes.
2411 * dwarf2loc.c: Include "ax.h" and "ax-gdb.h".
2412 (locexpr_tracepoint_var_ref): New function.
2413 (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref.
2414
08a617da
AC
24152003-02-28 Andrew Cagney <cagney@redhat.com>
2416
2417 * regcache.c (register_size): New function.
2418 * regcache.h (register_size): Declare
2419 * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use
2420 max_register_size instead of MAX_REGISTER_RAW_SIZE.
2421
4224873a
DC
24222003-02-28 David Carlton <carlton@math.stanford.edu>
2423
2424 * linespec.c (decode_compound): Extract code into find_method.
2425 (find_method): New.
2426
ccdc5d7f
JB
24272003-02-28 J. Brobecker <brobecker@gnat.com>
2428
2429 * Makefile.in: Add rules to build and link in observer.o.
2430
974e8ced
JB
24312003-02-27 J. Brobecker <brobecker@gnat.com>
2432
2433 * observer.c: Minor comments edits.
2434
7a28f973
JB
24352003-02-27 J. Brobecker <brobecker@gnat.com>
2436
2437 * observer.h, observer.c: New file.
2438
27cddce2
AC
24392003-02-27 Andrew Cagney <cagney@redhat.com>
2440
2441 * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd.
2442
b94a41a1
SC
24432003-02-27 Stephane Carrez <stcarrez@nerim.fr>
2444
2445 * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines.
2446 (M6812_OP_STS_EXT): Likewise.
2447 (m6811_prologue): Use the above to recognize prologue.
2448 (m6812_prologue): Likewise.
2449
c8be8951
DC
24502003-02-27 David Carlton <carlton@math.stanford.edu>
2451
2452 * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not
2453 SYMBOL_PRINT_NAME.
2454 (compare_psymbols): Ditto.
2455 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
2456
d05bb1fc
MS
24572003-02-27 Michael Snyder <msnyder@redhat.com>
2458
4e845cd3
MS
2459 * f-lang.c (build_fortran_types): New function.
2460 (_initialize_f_language): Gdbarch-register built-in fortran types.
d05bb1fc
MS
2461 * doublest.c (extract_floating): Fix warning text.
2462
f3824013
AC
24632003-02-27 Andrew Cagney <cagney@redhat.com>
2464
2465 * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with
2466 predicate. Replaces PUSH_DUMMY_FRAME.
2467 * gdbarch.h, gdbarch.c: Regnerate.
2468 * valops.c (hand_function_call): Update. Call
2469 generic_push_dummy_frame directly.
2470 * vax-tdep.c (vax_gdbarch_init): Update.
2471 * sparc-tdep.c (sparc_gdbarch_init): Update.
2472 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
2473 * m68k-tdep.c (m68k_gdbarch_init): Update.
2474 * hppa-tdep.c (hppa_gdbarch_init): Update.
2475 * alpha-tdep.c (alpha_gdbarch_init): Update.
2476 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
2477 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
2478 * inferior.h (PUSH_DUMMY_FRAME): Delete definition.
2479 * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set
2480 push_dummy_frame to generic_push_dummy_frame.
2481 * v850-tdep.c (v850_gdbarch_init): Ditto.
2482 * sh-tdep.c (sh_gdbarch_init): Ditto.
2483 * s390-tdep.c (s390_gdbarch_init): Ditto.
2484 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
2485 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
2486 * mips-tdep.c (mips_gdbarch_init): Ditto.
2487 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
2488 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
2489 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
2490 * i386-tdep.c (i386_gdbarch_init): Ditto.
2491 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
2492 * frv-tdep.c (frv_gdbarch_init): Ditto.
2493 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
2494 * cris-tdep.c (cris_gdbarch_init): Ditto.
2495 * avr-tdep.c (avr_gdbarch_init): Ditto.
2496 * arm-tdep.c (arm_gdbarch_init): Ditto.
2497
ad188201
KB
24982003-02-26 Kevin Buettner <kevinb@redhat.com>
2499
2500 * mips-tdep.c (show_mips_abi): New function.
2501 (_initialize_mips_tdep): Use show_mips_abi() to implement the
2502 command ``show mips abi''.
2503
6b37567a
JJ
25042003-02-26 Jeff Johnston <jjohnstn@redhat.com>
2505
2506 From Elena Zannoni <ezannoni@redhat.com>
2507 * dbxread.c (process_one_symbol): Only record line 0 if one or
2508 more sline entries have been seen for the function.
2509
d3e0a5bf
MC
25102003-02-26 Michael Chastain <mec@shout.net>
2511
2512 * configure: Regenerate with autoconf 000227.
2513
18972eea
MC
25142003-02-26 Michael Chastain <mec@shout.net>
2515
2516 Close PR build/660.
2517 * PROBLEMS (i[3456]86-*-linux*): Note explicit error message
2518 for old libc5/glibc.
2519 * gdb_thread_db.h: Die if not HAVE_UINTPTR_T.
2520
0bbde931
KW
25212003-02-26 Kris Warkentin <kewarken@qnx.com>
2522
2523 * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO.
2524 * osabi.c (gdb_osabi_names): Add "QNX Neutrino".
2525
27ca5dad
MC
25262003-02-26 Michael Chastain <mec@shout.net>
2527
2528 * configure.in: New variable HAVE_UINTPTR_T.
2529 * configure, config.in: Regenerated.
2530
6f88d630
DJ
25312003-02-26 Daniel Jacobowitz <drow@mvista.com>
2532
2533 Fix PR build/1097.
2534 * utils.c (gdb_realpath): Move closing brace outwards one #endif.
2535
b14185ce
AC
25362003-02-25 Andrew Cagney <cagney@redhat.com>
2537
2538 * frame.c (get_prev_frame): Add comment on check for
2539 inside_entry_func. Only check for inside_entry_file when not a
2540 dummy and not a sentinel. Check that the new frame is not inner
2541 to the old frame.
2542
ac2bd0a9
AC
25432003-02-25 Andrew Cagney <cagney@redhat.com>
2544
2545 * frame.c (frame_debug): New variable.
2546 (_initialize_frame): Add "set/show debug frame" command.
2547 (get_prev_frame): When frame_debug, print reason why unwind
2548 failed.
2549
b18a0fd2
MC
25502003-02-25 Michael Chastain <mec@shout.net>
2551
2552 * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later
2553 to avoid uintptr_t definition problems.
2554
22abf04a
DC
25552003-02-25 David Carlton <carlton@math.stanford.edu>
2556
2557 * symtab.h (SYMBOL_NATURAL_NAME): New macro.
2558 (SYMBOL_LINKAGE_NAME): Ditto.
2559 (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and
2560 SYMBOL_LINKAGE_NAME.
2561 (struct general_symbol_info): Expand comment.
2562 (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME.
2563 (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME.
2564 (SYMBOL_MATCHES_REGEXP): Ditto.
2565 * symtab.c (symbol_natural_name): New function.
2566 * objfiles.h: Replace all uses of SYMBOL_NAME by
2567 DEPRECATED_SYMBOL_NAME.
2568 * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto.
2569 * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto.
2570 * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto.
2571 * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto.
2572 * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto.
2573 * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto.
2574 * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto.
2575 * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto.
2576 * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto.
2577 * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto.
2578 * ada-exp.y: Ditto.
2579 * ada-exp.y: Update copyright.
2580 * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto.
2581 * cp-valprint.c: Ditto.
2582
1a5848f6
JJ
25832003-02-25 Jeff Johnston <jjohnstn@redhat.com>
2584
2585 * infptrace.c (detach): Do not flag error if ptrace detach fails
2586 and errno is set to ESRCH.
2587
7343d46a
AC
25882003-02-24 Andrew Cagney <cagney@redhat.com>
2589
2590 * infptrace.c (udot_info): Change type of udot_off to long. Use
2591 paddr when printing udot_off's value.
2592
49fa1dc2
DC
25932003-02-24 David Carlton <carlton@math.stanford.edu>
2594
2595 * symtab.c (make_symbol_overload_list): Only read in partial
2596 symtabs containing a matching partial symbol.
2597
0fe19209
DC
25982003-02-24 David Carlton <carlton@math.stanford.edu>
2599
2600 * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to
2601 do the comparison, not strcmp.
2602 * symfile.c (compare_psymbols): Ditto.
2603 * defs.h: Declare strcmp_iw_ordered.
2604 * utils.c (strcmp_iw_ordered): New function.
2605
8e3ee7b5
JB
26062003-02-24 Jim Blandy <jimb@redhat.com>
2607
2608 * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme
2609 support, shared libs): Remove my name from here, to better reflect
2610 reality.
2611
7df1a324
KW
26122003-02-24 Kris Warkentin <kewarken@qnx.com>
2613
2614 * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define.
2615 (target_ops): Add to_have_continuable_watchpoint.
2616 * target.c (update_current_target): Add INHERIT line for
2617 to_have_continuable_watchpoint.
2618 * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines.
2619 * config/i386/nm-i386.h, config/i386/nm-i386sco5.h,
2620 config/i386/nm-i386sol2.h, config/s390/nm-linux.h,
2621 config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1.
2622
d1c76907
EZ
26232003-02-24 Elena Zannoni <ezannoni@redhat.com>
2624
2625 * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop
2626 maintainership.
2627
2610b0bf
KW
26282003-02-24 Kris Warkentin <kewarken@qnx.com>
2629
f46169db
KW
2630 * solib.c (solib_open): Call target defined search function after
2631 failing with solib-search-path.
2632 * solist.h (target_so_ops): Add find_and_open_solib function hook and
2633 create define TARGET_SO_FIND_AND_OPEN_SOLIB.
2610b0bf 2634
9a3c34fe
KW
26352003-02-24 Kris Warkentin <kewarken@qnx.com>
2636
f46169db 2637 * MAINTAINERS: Add myself to Write After section.
9a3c34fe 2638
2417dd25
SC
26392003-02-23 Stephane Carrez <stcarrez@nerim.fr>
2640
2641 * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide.
2642
b631436b
SC
26432003-02-22 Stephane Carrez <stcarrez@nerim.fr>
2644
2645 * m68hc11-tdep.c (m68hc11_init_reggroups): New function.
2646 (m68hc11_add_reggroups): New function.
2647 (m68hc11_register_reggroup_p): New to register hard/soft reggroups.
2648 (m68hc11_gdbarch_init): Install the reggroups.
2649 (_initialize_m68hc11_tdep): Initialize them.
2650
0aa8c1e4
JW
26512003-02-21 James E Wilson <wilson@tuliptree.org>
2652
2653 * MAINTAINERS: Update my email address.
2654
50ceaba5
DC
26552003-02-21 David Carlton <carlton@math.stanford.edu>
2656
2657 * arm-tdep.c (arm_gdbarch_init): Add break after default label.
2658
4c2df51b
DJ
26592003-02-21 Daniel Jacobowitz <drow@mvista.com>
2660
2661 Based on a patch from Daniel Berlin (dberlin@dberlin.org).
2662 * symtab.h: Add opaque declarations of struct axs_value and
2663 struct agent_expr.
2664 (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG.
2665 (struct location_funcs): New type.
2666 (struct symbol): Add "loc" to aux_value.
2667 (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros.
2668 * dwarf2read.c: Include "dwarf2expr.h".
2669 (dwarf2_symbol_mark_computed): New function.
2670 (read_func_scope): Use it.
2671 (var_decode_location): New function.
2672 (new_symbol): Use it.
2673 * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files.
2674
2675 * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c.
2676 (dwarf2expr_h, dwarf2loc_h): New variables.
2677 (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o.
2678 (dwarf2expr.o, dwarf2loc.o): New rules.
2679 (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h).
2680 * buildsym.c (finish_block): Handle LOC_COMPUTED and
2681 LOC_COMPUTED_ARG.
2682 * findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
2683 * m2-exp.y (yylex): Likewise.
2684 * printcmd.c (address_info, print_frame_args): Likewise.
2685 * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise.
2686 * symmisc.c (print_symbol, print_partial_symbols): Likewise.
2687 * ada-lang.c (ada_resolve_subexp, symtab_for_sym)
2688 (ada_add_block_symbols, fill_in_ada_prototype): Likewise.
2689 * symtab.c (lookup_block_symbol): Likewise.
2690
5784d15e
AF
26912003-02-20 Adam Fedor <fedor@gnu.org>
2692
2693 * symtab.h: Remove objc_specific struct
2694 (SYMBOL_OBJC_DEMANGLED_NAME): Remove.
2695 * symtab.c (symbol_init_language_specific, symbol_demangled_name):
2696 Have language_objc use cplus_specific struct.
2697
d4cad8db
TT
26982003-02-20 Tom Tromey <tromey@redhat.com>
2699
2700 * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not
2701 TYPE_NAME, when printing a String value. PR java/1075.
2702
2f9a90b4
AF
27032003-02-20 Adam Fedor <fedor@gnu.org>
2704
d38074a8 2705 * objc-lang.h (find_methods): Remove declaration.
2f9a90b4
AF
2706 * objc-lang.c (find_methods): Make static.
2707
6f17862b
CF
27082003-02-20 Christopher Faylor <cgf@redhat.com>
2709
2710 * win32-nat.c (get_image_name): Check return value from
2711 ReadProcessMemory.
2712 (child_xfer_memory): Ditto.
2713
715d1656
AO
27142003-02-20 Alexandre Oliva <aoliva@redhat.com>
2715
2716 * configure.in (TARGET_SYSTEM_ROOT): Set default to
2717 ${exec_prefix}/${target_alias}/sys-root. Match explicit
2718 '${exec_prefix}' (in addition to the expansion thereof) as
2719 relocatable.
2720 * configure: Rebuilt.
2721
b1262a02
DC
27222003-02-20 David Carlton <carlton@math.stanford.edu>
2723
2724 * symtab.c (search_symbols): Revert the search_symbols part of my
2725 2002-12-23 patch. Add comment.
2726
7134143f
DJ
27272002-02-20 Daniel Jacobowitz <drow@mvista.com>
2728
2729 * coffread.c (coff_symfile_read): Clean up minimal symbols earlier.
2730 * dbxread.c (elfstab_build_psymtabs): Don't call
2731 install_minimal_symbols.
2732 (stabsect_build_psymtabs): Likewise.
2733 * elfread.c (elf_symfile_read): Call install_minimal_symbols
2734 earlier.
2735 * somread.c (som_symfile_read): Call install_minimal_symbols
2736 and do_cleanups earlier.
2737 * nlmread.c (nlm_symfile_read): Likewise.
2738 * mdebugread.c (elfmdebug_build_psymtabs): Call
2739 install_minimal_symbols and make appropriate cleanups.
2740
cf466558
KB
27412003-02-20 Kevin Buettner <kevinb@redhat.com>
2742
2743 * solib.c (reload_shared_libraries): New function.
2744 (_initialize_solib): Add callbacks for ``set solib-search-path''
2745 and ``set solib-absolute-prefix''.
2746
de5ad195
DC
27472003-02-20 David Carlton <carlton@math.stanford.edu>
2748
2749 * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME;
2750 expand comment.
2751 * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace
2752 SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME.
2753 * ada-typeprint.c (ada_typedef_print): Ditto.
2754 * ax-gdb.c (gen_var_ref): Ditto.
2755 * breakpoint.c (print_one_breakpoint): Ditto.
2756 * buildsym.c (finish_block): Ditto.
2757 * c-valprint.c (c_val_print): Ditto.
2758 * expprint.c (print_subexp): Ditto.
2759 * findvar.c (locate_var_value): Ditto.
2760 * infcmd.c (jump_command): Ditto.
2761 * linespec.c (decode_line_2, decode_compound): Ditto.
2762 * maint.c (maintenance_translate_address): Ditto.
2763 * objc-lang.c (compare_selectors, compare_classes): Ditto.
2764 * printcmd.c (build_address_symbolic, sym_info, print_frame_args):
2765 Ditto.
2766 * p-valprint.c (pascal_val_print): Ditto.
2767 * stabsread.c (define_symbol): Ditto.
2768 * stack.c (print_frame, frame_info, print_block_frame_locals)
2769 (print_frame_arg_vars, return_command): Ditto.
2770 * symfile.c (compare_symbols, compare_psymbols): Ditto.
2771 * symmisc.c (print_symbol): Ditto.
2772 * symtab.c (lookup_partial_symbol, lookup_block_symbol)
2773 (compare_search_syms, print_symbol_info, print_msymbol_info)
2774 (rbreak_command): Ditto.
2775 * tracepoint.c (tracepoints_info): Ditto.
2776 * typeprint.c (typedef_print): Ditto.
2777 * valops.c (value_of_variable, hand_function_call): Ditto.
2778 * cli/cli-cmds.c (edit_command, list_command): Ditto.
2779 * ada-typeprint.c: Update Copyright.
2780 * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto.
2781 * tracepoint.c, cli/cli-cmds.c: Ditto.
2782
f796e4be
KB
27832003-02-20 Kevin Buettner <kevinb@redhat.com>
2784
2785 * frame.c (generic_unwind_get_saved_register): Make non-static.
2786 * frame.h (generic_unwind_get_saved_register): Declare.
2787 * mips-tdep.c (read_next_frame_reg): Fetch register from
2788 current regcache when frame is NULL.
2789 (mips_init_extra_frame_info): Pass NULL explicitly for parameter
2790 that must be NULL.
2791 (mips_get_saved_register): Call generic_unwind_get_saved_register()
2792 instead of frame_register_unwind().
2793
836cc9f4
AC
27942003-02-20 Andrew Cagney <ac131313@redhat.com>
2795
2796 * remote-sim.c (gdbsim_insert_breakpoint)
2797 (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS
2798 code.
2799
501eef12
AC
28002003-02-20 Andrew Cagney <ac131313@redhat.com>
2801
2802 * remote.c (_initialize_remote): Add commands "set/show remote
2803 hardware-watchpoint-limit" and "set/show remote
2804 hardware-breakpoint-limit".
2805 (remote_hw_watchpoint_limit): Initialize to -1.
2806 (remote_hw_breakpoint_limit): Ditto.
2807 (remote_check_watch_resources): Treat a limit of -1 as unlimited.
2808
1b6bc7e0
CF
28092003-02-19 Raoul Gough <RaoulGough@yahoo.co.uk>
2810
2811 * coff-pe-read.c: New file - support reading of minimal symbols from a
2812 portable executable using the export table.
2813 * coff-pe-read.h: New file.
2814 * coffread.c: Include coff-pe-read.h.
2815 (coff_symtab_read): Call read_pe_exported_syms iff no recognized
2816 debugging symbols found.
2817 * Makefile.in (SFILES): Add coff-pe-read.o.
2818 (coff_pe_read_h): Define.
2819 (COMMON_OBS): Add coff-pe-read.o.
2820 (coffread.o): Add coff_pe_read_h dependency.
2821 (coff-pe-read.o): New target.
2822
fe898f56
DC
28232003-02-19 David Carlton <carlton@math.stanford.edu>
2824
2825 * Makefile.in (SFILES): Add block.c.
2826 (block_h): New.
2827 (COMMON_OBS): Add block.o.
2828 (block.o): New.
2829 (x86-64-tdep.o): Add $(block_h).
2830 (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o)
2831 (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o)
2832 (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o)
2833 (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o)
2834 (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o)
2835 (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o)
2836 (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto.
2837 * value.h: Add opaque declaration for struct block.
2838 * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto.
2839 * ada-lang.h: Ditto.
2840 * x86-64-tdep.c: #include "block.h"
2841 * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto.
2842 * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto.
2843 * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto.
2844 * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto.
2845 * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto.
2846 * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto.
2847 * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto.
2848 * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto.
2849 * blockframe.c (blockvector_for_pc_sect): Move to "block.c".
2850 (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto.
2851 * symtab.c (block_function): Ditto.
2852 (contained_in): Ditto.
2853 * frame.h: Move block_for_pc and block_for_pc_sect declarations to
2854 block.h. Add opaque declaration for struct block.
2855 * symtab.h: Move block_function and contained_in declarations to
2856 block.h. Add opaque declarations for struct block, struct
2857 blockvector.
2858 (struct block): Move to block.h.
2859 (struct blockvector): Ditto.
2860 (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK)
2861 (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM)
2862 (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE)
2863 (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS)
2864 (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):
2865 Ditto.
2866 * block.c: New file.
2867 * block.h: New file.
2868
173345b5
TR
28692003-02-19 Theodore A. Roth <troth@openavr.org>
2870
2871 * avr-tdep.c (avr_extract_return_value): Remove function.
2872 (avr_store_return_value): Remove function.
2873 (avr_extract_struct_value_address): Remove function.
2874 (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls.
2875
338ef23d
AC
28762003-02-19 Andrew Cagney <ac131313@redhat.com>
2877
2878 * rs6000-tdep.c: Include "gdb_assert.h".
2879 (registers_e500): Add "acc" and "spefscr".
2880 (PPC_GPRS_PSEUDO_REGS): Remove trailing comma.
2881 (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum,
2882 ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum
2883 really is "r0".
2884 (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson).
2885
5412f5f3
KS
28862003-02-18 Keith Seitz <keiths@redhat.com>
2887
2888 * Makefile.in: Add gdbtk-interps.c.
2889
881324eb
KB
28902003-02-18 Kevin Buettner <kevinb@redhat.com>
2891
2892 * sparc-tdep.c (sparc_frame_chain): Adjust return value.
2893 * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare.
2894
6a2f5abf
AC
28952003-02-18 Andrew Cagney <cagney@redhat.com>
2896
2897 * symtab.h (struct objfile): Add opaque declaration.
2898
54c7009d
EZ
28992003-02-18 Elena Zannoni <ezannoni@redhat.com>
2900
2901 From Jim Ingham <jingham@apple.com>:
2902 * dbxread.c (process_one_symbol): Use last_function_start rather
2903 than function_start_offset to find the real beginning of the
2904 current function. The latter is just the text section offset on
2905 some systems, the former is always the real function start.
2906
7ee6d7eb
AC
29072003-02-17 Andrew Cagney <cagney@redhat.com>
2908
2909 * configure.in: Revert ${target} != ${host}.
2910
2846da9b
AC
29112003-02-17 Andrew Cagney <ac131313@redhat.com>
2912
2913 * configure.in (Makefile): Use the test ${target} != ${host},
2914 instead of the absence of the "nm.h" file, to determine of the
2915 configuration non-native.
2916 * configure: Regenerate.
2917
3b27aeea
EZ
29182003-02-14 Elena Zannoni <ezannoni@redhat.com>
2919
2920 From Brian Ford <ford@vss.fsi.com>
2921
2922 * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly
2923 conditionalize tui_active test.
2924 (lookup_cmd_1): Ditto.
2925
b0b1c2c0
MK
29262003-02-14 Mark Kettenis <kettenis@gnu.org>
2927
2928 * configure.in: Add check for _etext.
2929 * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't
2930 available.
2931 * config.in, configure: regenerated.
2932
8f05cde5
DJ
29332003-02-14 Daniel Jacobowitz <drow@mvista.com>
2934
2935 * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base.
2936
021e7609
AC
29372003-02-14 Andrew Cagney <ac131313@redhat.com>
2938
2939 * main.c (tui_version): Delete variable.
2940 (captured_main): When --tui, set interpreter_p to "tui" instead of
2941 enabling tui_version.
2942 * printcmd.c (display_command) [TUI]: Test tui_active instead of
2943 tui_version.
2944 * cli/cli-decode.c (lookup_cmd_composition): Ditto.
2945 * cli/cli-cmds.c (disassemble_command): Ditto.
2946 * defs.h (tui_version): Delete declaration.
2947 * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c".
2948 (tui-interp.o): Add rules.
2949 (SUBDIR_TUI_OBS): Add "tui-interp.o".
2950
e325dcec
CF
29512003-02-14 Christopher Faylor <cgf@redhat.com>
2952
36ffb041 2953 * win32-nat.c (register_loaded_dll): Correctly set address range for
e325dcec
CF
2954 just-loaded dll.
2955
c4f90d87
JM
29562003-02-12 Jason Molenda (jmolenda@apple.com)
2957
2958 * symmisc.c (print_objfile_statistics): Include information about
2959 the number of psymtabs and symtabs in each object file.
2960
e46e5ccd
KS
29612003-02-13 Keith R Seitz <keiths@redhat.com>
2962
2963 * main.h (struct captured_main_args): Add interpreter_p.
2964 * main.c (captured_main): Initialize interpreter_p from context.
2965 * gdb.c (main): Set interpreter_p argument.
2966 * Makefile.in (gdb.o): Add dependency for interps.h.
2967
fe97fe9c
AC
29682003-02-12 Andrew Cagney <ac131313@redhat.com>
2969
2970 * event-top.c (cli_command_loop): Delete declaration.
2971 (_initialize_event_loop): Delete function setting event_loop_hook.
2972 * event-top.h (cli_command_loop): Declare. Update copyright.
2973 (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H.
2974 * interps.c (current_interp_command_loop): When event_loop_p, call
2975 cli_command_loop.
2976
1cdac4ef
AC
29772003-02-12 Andrew Cagney <ac131313@redhat.com>
2978
2979 * interps.h (interp_command_loop_ftype): Change return type to
2980 void.
2981
48037ead
ML
29822003-02-12 Michal Ludvig <mludvig@suse.cz>
2983
2984 * x86-64-tdep.c (x86_64_extract_return_value)
2985 (x86_64_store_return_value): Use regcache instead of regbuf.
2986 (x86_64_gdbarch_init): Change related set_gdbarch_* functions.
2987 * x86-64-linux-nat.c (fill_gregset): Use regcache.
2988
033afc63
AC
29892003-02-11 Andrew Cagney <ac131313@redhat.com>
2990
2991 * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS.
2992 * aclocal.m4: Regenerate.
2993 * configure: Regenerate.
2994
2995 * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of
2996 TCL_LD_SEARCH_FLAGS.
2997
40d02bca
ML
29982003-02-10 Michal Ludvig <mludvig@suse.cz>
2999
3000 * dwarf2cfi.c: Reindented.
3001
11308a41
AC
30022003-02-09 Andrew Cagney <ac131313@redhat.com>
3003
3004 * interps.c (clear_interpreter_hooks): Convert function definition
3005 to ISO C.
3006
e1c1c0f6
DC
30072003-02-07 David Carlton <carlton@math.stanford.edu>
3008
3009 * gdb_mbuild.sh: Delete extra shift after parsing '-f'.
3010
ab5d3da6
KB
30112003-02-07 Kevin Buettner <kevinb@redhat.com>
3012
3013 * gdbtypes.h (struct main_type): Move ``length'' field from here...
3014 (struct type): ...to here.
3015 (TYPE_LENGTH): Adjust to reflect different location of ``length''
3016 field.
3017 * gdbtypes.c (make_qualified_type): Set length on newly created type.
3018 (replace_type): Set length on all type variants for a given type.
3019
b8a92b82
AC
30202003-02-07 Andrew Cagney <ac131313@redhat.com>
3021
3022 * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of
3023 <sys/stat.h>.
3024 * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies.
3025
5cb316ef
AC
30262003-02-06 Andrew Cagney <ac131313@redhat.com>
3027
2555fe1a
AC
3028 * Makefile.in (symm-nat.o): Update dependencies.
3029 (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto.
3030 (lynx-nat.o, ia64-linux-nat.): Ditto.
3031 * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include
3032 "gdb_wait.h" instead of <wait.h> or <sys/wait.h>.
3033 * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto.
3034
44270758
AC
3035 * Makefile.in (inflow_h): Define.
3036 (procfs.o, inflow.o, procfs.o): Update dependencies.
3037 * inftarg.c (child_stop): Delete extern declaration of
3038 inferior_process_group. Include "inflow.h".
3039 * procfs.c (procfs_stop): Ditto. Include "inflow.h".
3040 * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ...
3041 * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file.
3042 (our_process_group, inferior_process_group): Extern declarations.
3043
df8f7274
AC
3044 * procfs.c: Include "gdb_assert.h".
3045
5cb316ef
AC
3046 * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>.
3047 * cp-valprint.c (cp_print_value_fields): Eliminate STREQN.
3048 * jv-typeprint.c (java_type_print_base): Ditto.
3049 * typeprint.c (typedef_print): Eliminate STREQ.
3050 * cli/cli-script.c (define_command, define_command): Ditto.
3051 * main.c (captured_main): Ditto.
3052 * values.c (lookup_internalvar): Ditto.
3053 * utils.c (safe_strerror, parse_escape): Eliminate assignment
3054 within `if' conditional.
3055 * linespec.c (decode_line_2): Ditto.
3056 * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto.
3057 (bfd_openw_with_cleanup): Ditto.
3058
2a28ccea
MK
30592003-02-07 Mark Kettenis <kettenis@gnu.org>
3060
3061 * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to
3062 legacy_extract_return_value and store_return_value to
3063 legacy_return_value.
3064
786b8124
CF
30652003-02-06 Raoul Gough <RaoulGough@yahoo.co.uk>
3066
3067 * win32-nat.c (get_relocated_section_addrs): New function. Find
3068 section load addresses for symbol handling in relocated DLLs.
3069 (solib_symbols_add): Open a bfd and call get_relocated_section_addrs.
3070
b871e4ec
FF
30712003-02-05 Fred Fish <fnf@intrinsity.com>
3072
3073 * remote-e7000.c (e7000_drain_command): Fix precedence problem with
3074 '=' and '!='.
3075 * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem
3076 with '&' and '=='.
3077 (angel_RDI_info): Ditto.
3078 * infttrace.c (threads_continue_all_but_one): Fix precedence problem
3079 with '&' and '!='.
3080 (threads_continue_all_with_signals): Ditto.
3081
4389a95a
AC
30822003-02-05 Jim Ingham <jingham@apple.com>
3083 Keith Seitz <keiths@redhat.com>
3084 Elena Zannoni <ezannoni@redhat.com>
3085 Andrew Cagney <ac131313@redhat.com>
3086
3087 * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
3088 (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
3089 (SUBDIR_MI_OBS): Add "mi-interp.o".
3090 (SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
3091 (SFILES): Add "interps.c".
3092 (COMMON_OBS): Add "interps.o".
3093 (interps_h, mi_main_h): Define.
3094 (interps.o, cli-interp.o, mi-interp.o): Add dependencies.
3095 (mi-main.o, main.o, event-top.o): Update dependencies.
3096 * cli/cli-interp.c: New file.
3097 * interps.h, interps.c: New files.
3098 * top.c: (gdb_init): Don't install the default interpreter, handed
3099 by captured_main.
3100 * main.c: Include "interps.h".
3101 (interpreter_p): Note that it should malloc'ed.
3102 (captured_command_loop): Call current_interp_command_loop.
3103 (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
3104 xfree and xstrdup when updating interpreter_p. Install the
3105 default interpreter. Add hack to stop mi1's copyright notice
3106 being encoded.
3107 * event-top.h (gdb_setup_readline): Declare.
3108 (gdb_disable_readline): Declare.
3109 * event-top.c: Include "interps.h".
3110 (display_gdb_prompt): Call current_interp_display_prompt_p.
3111 (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
3112 gdb_stdlog, and gdb_stdtarg.
3113 (_initialize_event_loop): Don't call gdb_setup_readline.
3114 * cli-out.c (cli_out_set_stream): New function.
3115 * cli-out.h (cli_out_set_stream): Declare.
3116
ff3b5810
MK
31172003-02-06 Mark Kettenis <kettenis@gnu.org>
3118
3119 * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*,
3120 i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all
3121 handled fine by i[3456]86-*sco* and i[3456]86-sysv*.
3122 * config/i386/i386sco5.mt, config/i386/i386v4.mt,
3123 config/i386/i386v42mp.mt: Removed.
3124
5b729aa5
MK
31252003-02-05 Mark Kettenis <kettenis@gnu.org>
3126
3127 * configure.tgt (*-*-solaris*): Set gdb_osabi to
3128 GDB_OSABI_SOLARIS.
3129
8cc15142
MC
31302003-02-05 Michael Chastain <mec@shout.net>
3131
3132 * PROBLEMS (i[3456]86-*-linux*): Warn about binutils
3133 2.12.1 and earlier versions.
3134
5aa5d4b9
AC
31352003-02-05 Andrew Cagney <ac131313@redhat.com>
3136
3137 Remove orphaned hosts, targets and files.
3138 * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete.
3139 * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete.
3140 * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete.
3141 * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete.
3142 * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete.
3143 * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete.
3144 * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete.
3145 * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete.
3146 * config/sparc/tm-sp64sim.h: Delete.
3147 * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-*
3148 hosts.
3149 * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and
3150 mips*-dec-mach3* targets.
3151
b68767c1
MC
31522003-02-04 Michael Chastain <mec@shout.net>
3153
3154 * NEWS: Fix typo: sepcifying -> specifying.
3155
5ae7ca1d
MC
31562003-02-04 Michael Chastain <mec@shout.net>
3157
3158 * dwarfread.c: Add documentation on the state of dwarf-1,
3159 looking towards obsoletion.
3160
d08a4280
MC
31612003-02-03 Michael Chastain <mec@shout.net>
3162
3163 * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc,
3164 gdb/testsuite/gdb.c++/pr-1023.exp.
3165
e9be73e4
AC
31662003-02-04 Andrew Cagney <ac131313@redhat.com>
3167
3168 * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR.
3169 * TODO: Delete reference to IS_TRAPPED_INTERNALVAR.
3170
3171 * utils.c (init_page_info): Delete reference to MPW in comments.
3172 * main.c (captured_main): Delete #ifdef MPW.
3173
05d57f6f
AC
31742003-02-04 Andrew Cagney <ac131313@redhat.com>
3175
3176 * NEWS: Note that the m32r-*-elf* is obsolete.
3177 * monitor.c (monitor_expect): Obsolete reference to m32r.
3178 * configure.tgt: Mark m32r-*-elf* as obsolete.
3179 * MAINTAINERS: Mark m32k as obsolete.
3180 * m32r-rom.c: Obsolete file.
3181 * config/m32r/m32r.mt: Obsolete file.
3182 * config/m32r/tm-m32r.h: Obsolete file.
3183 * m32r-stub.c: Obsolete file.
3184 * m32r-tdep.c: Obsolete file.
3185
8b0e5691
AC
31862003-02-04 Andrew Cagney <ac131313@redhat.com>
3187
3188 * NEWS: Mention that the z8k-zilog-none is obsolete.
3189 * MAINTAINERS: Mark z8k as obsolete.
3190 * configure.tgt: Obsolete the z8k-*-coff* target.
3191 * config/z8k/z8k.mt: Obsolete file.
3192 * config/z8k/tm-z8k.h: Obsolete file.
3193 * z8k-tdep.c: Obsolete file.
3194
67f16606
AC
31952003-02-04 Andrew Cagney <ac131313@redhat.com>
3196
3197 * NEWS: Mention that the mn10200-elf is obsolete.
3198 * configure.tgt: Obsolete mn10200-*-* target.
3199 * breakpoint.c (update_breakpoints_after_exec): Update comment to
3200 mention that the mn10200 is obsolete.
3201 * breakpoint.h: Ditto.
3202 * MAINTAINERS: Mark the mn10200-elf as obsolete.
3203 * config/mn10200/mn10200.mt: Obsolete file.
3204 * config/mn10200/tm-mn10200.h: Obsolete file.
3205 * mn10200-tdep.c: Obsolete file.
3206
fd2299bd
AC
32072003-02-04 Andrew Cagney <ac131313@redhat.com>
3208
3209 * MAINTAINERS: Mark h8500 as obsolete.
3210 * configure.tgt (h8500-*-*): Mark h8500 code as obsolete.
3211 * findvar.c (value_from_register): Ditto.
3212 * h8500-tdep.c: Mark file as obsolete.
3213 * config/h8500/h8500.mt: Ditto.
3214 * config/h8500/tm-h8500.h: Ditto.
3215 * NEWS: Mention that h8500 is obsolete.
3216
eb9a305d
DC
32172003-02-04 David Carlton <carlton@math.stanford.edu>
3218
3219 * objfiles.c (allocate_objfile): Always set name. Add comment at
3220 start of function.
3221 * jv-lang.c (get_dynamics_objfile): Add comment.
3222
406fc7fb
DC
32232003-02-04 David Carlton <carlton@math.stanford.edu>
3224
3225 * symtab.h (SYMBOL_LINKAGE_NAME): Delete.
3226 * printcmd.c (build_address_symbolic): Replace uses of
3227 SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME,
3228 SYMBOL_NAME, and asm_demangle.
3229 Update copyright.
3230
93d91629
DC
32312003-02-04 David Carlton <carlton@math.stanford.edu>
3232
3233 * linespec.c (decode_compound): Extract code into
3234 lookup_prefix_sym.
3235 (lookup_prefix_sym): New function.
3236
1c5cb38e
DC
32372003-02-04 David Carlton <carlton@math.stanford.edu>
3238
3239 * gdbtypes.h: Delete INTEGER_COERCION_BADNESS,
3240 FLOAT_COERCION_BADNESS.
3241 * gdbtypes.c (rank_one_type): Replace all uses of
3242 INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS.
3243
0cf824c9
JB
32442003-02-04 Jim Blandy <jimb@redhat.com>
3245
3246 * dwarf2read.c (dwarf2_locate_sections): When we find a macro info
3247 section, let dwarf_macinfo_section point to it, not
3248 dwarf_loc_section.
3249
a2d356b0
DJ
32502003-02-04 Daniel Jacobowitz <drow@mvista.com>
3251
3252 Pointed out by Anton Blanchard <anton@samba.org>.
3253 * ppc-linux-tdep.c (insn_is_sigreturn): New function.
3254 (ppc_linux_at_sigtramp_return_path): Use it.
3255
2de7ced7
DJ
32562003-02-04 Daniel Jacobowitz <drow@mvista.com>
3257
3258 * defs.h (streq): Add prototype.
3259 * utils.c (streq): New function.
3260
3261 * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of
3262 SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME.
3263 * mdebugread.c (new_symbol): Likewise.
3264 * stabsread.c (define_symbol): Likewise.
3265 * coffread.c (process_coff_symbol): Likewise.
3266 * dwarfread.c (new_symbol): Likewise.
3267
3268 * minsyms.c (prim_record_minimal_symbol_and_info): Use
3269 SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language
3270 here.
3271 (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call
3272 SYMBOL_INIT_DEMANGLED_NAME.
3273 * objfiles.c: Include "hashtab.h".
3274 (allocate_objfile): Call htab_set_functions_ex for the
3275 demangled_names_hash.
3276 (free_objfile): Call htab_delete for the demangled_names_hash.
3277 * objfiles.h (struct htab): Add declaration.
3278 (struct objfile): Add demangled_names_hash.
3279 * symfile.c: Include "hashtab.h".
3280 (reread_symbols): Call htab_delete for the demangled_names_hash.
3281 (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting
3282 SYMBOL_NAME in the bcache.
3283 * symtab.c: Include "hashtab.h". Update comments.
3284 (create_demangled_names_hash, symbol_set_names): New functions.
3285 (symbol_find_demangled_name): New function, broken out from
3286 symbol_init_demangled_names.
3287 (symbol_init_demangled_names): Use it.
3288 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses.
3289 (SYMBOL_SET_NAMES): New macro.
3290 (symbol_set_names): Add prototype.
3291
15831452
JB
32922003-02-03 Jim Blandy <jimb@redhat.com>
3293
3294 Use a single, consistent representation for an empty minimal
3295 symbol table in an objfile.
3296 * objfiles.c (terminate_minimal_symbol_table): New function.
3297 (allocate_objfile): Call it.
3298 * objfiles.h (terminate_minimal_symbol_table): New declaration.
3299 (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is
3300 non-NULL.
3301 * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether
3302 objfile has minimal symbols, compare minimal_symbol_count to zero,
3303 instead of comparing msymbols with NULL.
3304 * objfiles.c (have_minimal_symbols): Same.
3305 * solib-sunos.c (solib_add_common_symbols): Call
3306 terminate_minimal_symbol_table.
3307 * symfile.c (reread_symbols): Same.
3308
ffc65945
KB
33092003-02-03 Kevin Buettner <kevinb@redhat.com>
3310
3311 * s390-tdep.c (s390_address_class_type_flags)
3312 (s390_address_class_type_flags_to_name)
3313 (s390_address_class_name_to_type_flags): New functions.
3314 (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME,
3315 ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS.
3316
f211c6d4
MS
33172003-02-03 Michael Snyder <msnyder@redhat.com>
3318
3319 * arm-tdep.c: Fix spell-o in comment.
3320
659b0389
ML
33212003-02-03 Michal Ludvig <mludvig@suse.cz>
3322
3323 * dwarf2cfi.c (pointer_encoding): Added new parameter.
3324 * dwarf2cfi.c, dwarf2read.c: Changed all warnings and
3325 error messages to contain BFD filename.
3326
3b31d625
EZ
33272003-02-02 Elena Zannoni <ezannoni@redhat.com>
3328
997b089a 3329 Fix PR gdb/742 gdb/743 gdb/877
3b31d625
EZ
3330 * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end.
3331 (do_mixed_source_and_assembly): Use
3332 make_cleanup_ui_out_tuple_begin_end and
3333 make_cleanup_ui_out_tuple_begin_end.
3334 (do_mixed_source_and_assembly): Ditto.
3335 * thread.c (do_captured_list_thread_ids): Ditto.
3336 * ui-out.h (ui_out_table_begin, ui_out_list_begin,
3337 ui_out_tuple_begin, ui_out_table_end, ui_out_list_end,
3338 ui_out_tuple_end): Delete prototypes.
3339 * ui-out.c (ui_out_list_begin, ui_out_tuple_begin,
3340 ui_out_list_end, ui_out_tuple_end): Delete.
3341
3342 From Kevin Buettner <kevinb@redhat.com>:
3343 * ui-out.h (make_cleanup_ui_out_table_begin_end): New function.
3344 * ui-out.c (make_cleanup_ui_out_table_begin_end)
3345 (do_cleanup_table_end): New functions.
3346 * breakpoint.c (print_it_typical, print_one_breakpoint, mention):
3347 Use cleanups to invoke_ui_out_tuple_end().
3348 (breakpoint_1): Use cleanup to invoke ui_out_table_end().
3349 * cli/cli-setshow.c (cmd_show_list): Use
3350 make_cleanup_ui_out_tuple_begin_end.
3351
5b181d62
AC
33522003-02-02 Andrew Cagney <ac131313@redhat.com>
3353
3354 * frame.c (frame_unwind_register): New function.
3355 (frame_unwind_unsigned_register): Use.
3356 (frame_unwind_signed_register): Use.
3357 (frame_read_register): New function.
3358 * frame.h (frame_unwind_register): Declare.
3359 (frame_read_register): Declare.
3360
3361 * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write
3362 and frame_unwind_register instead of read_memory, write_register
3363 and deprecated_write_register_bytes.
3364
5f601589
AC
33652003-02-02 Andrew Cagney <ac131313@redhat.com>
3366
3367 * frame.h: Note that namelen can be negative.
3368 * frame.c (frame_map_name_to_regnum): When LEN is negative, use
3369 NAME's length.
3370
3371 * NEWS: Mention that the d10v's `regs' command is deprecated.
3372 * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info.
3373 (d10v_print_registers_info): New function.
3374 (show_regs): Call d10v_print_registers_info.
3375 (_initialize_d10v_tdep): Mark "show regs" command as deprecated.
3376
6a3fe0a4
MK
33772003-02-02 Mark Kettenis <kettenis@gnu.org>
3378
3379 * stack.c (print_frame_info): Restore call to annotate_frame_begin
3380 lost in the previous patch.
3381
075559bc
AC
33822003-02-01 Andrew Cagney <ac131313@redhat.com>
3383
3384 From 2002-11-09 Jason Molenda (jason-cl@molenda.com)
3385 * stack.c (print_frame_info_base): Output complete FRAME tuple
3386 for synthesized frames.
3387
6789195b
AC
33882003-02-02 Andrew Cagney <ac131313@redhat.com>
3389
3390 * mips-nat.c (zerobuf): Delete.
3391 (fetch_inferior_registers): Alloc local zerobuf.
3392 (fetch_core_registers): Alloc local zerobuf.
3393 * d10v-tdep.c (show_regs): Don't allocate a dynamic array using
3394 MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE.
3395 * thread-db.c (thread_db_store_registers): Ditto.
3396 * sh-tdep.c (sh_do_register): Ditto.
3397 * rom68k-rom.c (rom68k_supply_one_register): Ditto.
3398 * remote-sim.c (gdbsim_store_register): Ditto.
3399 * remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
3400 * remote-e7000.c (fetch_regs_from_dump): Ditto.
3401 * monitor.c (monitor_supply_register): Ditto.
3402 * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto.
3403 * mips-nat.c (fetch_inferior_registers): Ditto.
3404 * m68klinux-nat.c (fetch_register): Ditto.
3405 * lynx-nat.c (fetch_inferior_registers): Ditto.
3406 (fetch_inferior_registers): Ditto.
3407 * irix4-nat.c (supply_gregset, supply_fpregset): Ditto.
3408 * hpux-thread.c (hpux_thread_fetch_registers): Ditto.
3409 (hpux_thread_store_registers): Ditto.
3410 * hppah-nat.c (fetch_register): Ditto.
3411 * hppab-nat.c (fetch_register): Ditto.
3412 * hppa-tdep.c (pa_register_look_aside): Ditto.
3413 (pa_print_fp_reg, pa_strcat_fp_reg): Ditto.
3414 * dve3900-rom.c (fetch_bitmapped_register): Ditto.
3415
e669114a
AC
34162003-02-01 Andrew Cagney <ac131313@redhat.com>
3417
3418 * gdbarch.sh: Explictly specify all method levels. When a
3419 variable with an empty level, provide a non-multi-arch default.
3420 (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty.
3421 * gdbarch.h: Re-generate.
3422 * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined.
3423 * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1
3424
9a043c1d
AC
34252003-02-01 Andrew Cagney <ac131313@redhat.com>
3426
3427 * defs.h (host_pointer_to_address): Delete declaration.
3428 (address_to_host_pointer): Delete declaration.
3429 * utils.c (host_pointer_to_address): Delete function.
3430 (address_to_host_pointer): Delete function.
3431 * procfs.c (procfs_address_to_host_pointer): New function.
3432 * procfs.c (proc_set_watchpoint): Use.
3433 (procfs_can_use_hw_breakpoint): Update comments.
3434 * somsolib.c (hpux_address_to_host_pointer_hack): New function.
3435 (som_solib_add): Use.
3436 * hppa-tdep.c (hppa_pointer_to_address_hack): New function.
3437 * hppa-tdep.c (unwind_command): Use.
3438
7ca9f392
AC
34392003-02-01 Andrew Cagney <ac131313@redhat.com>
3440
94bbfd30
AC
3441 * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and
3442 strlen d_name.
3443
7ca9f392
AC
3444 * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS,
3445 ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code.
3446 (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code.
3447 * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro.
3448 (define_symbol): Update.
3449 * symfile.c (generic_load): Remove references to nindy.
3450 * symtab.c: Remove references to nindy.
3451
31a85ea2
AC
34522003-02-01 Andrew Cagney <ac131313@redhat.com>
3453
3454 * infcmd.c (print_float_info): Delete code conditional on
3455 FLOAT_INFO.
3456 * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright.
3457 * config/m68k/nm-apollo68b.h: Ditto.
3458 * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright.
3459 * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto.
3460 * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto.
3461
f6e85fc8
MK
34622003-02-01 Mark Kettenis <kettenis@gnu.org>
3463
6015b6a0
MK
3464 * config/i386/tm-i386os9k.h: Removed.
3465
f7a30bdf
MK
3466 * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v.
3467 Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since
3468 they're identical to i[3456]86-*-sysv* now.
3469 * config/i386/i386v32.mh: Removed.
3470 * config/i386/xm-i386v32.h: Removed.
3471 * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro.
3472
28d52111
MK
3473 * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed.
3474
4d3f6bce
MK
3475 * config/i386/i386dgux.mh: Removed.
3476 * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4.
3477
f6e85fc8
MK
3478 * configure.in: Fix typo.
3479 * configure: Regenerated.
3480
53955967
DC
34812003-01-31 David Carlton <carlton@math.stanford.edu>
3482
3483 * dwarf2read.c (dwarf2_locate_sections): Set
3484 dwarf_ranges_section.
3485
b1364885
AC
34862003-01-31 Andrew Cagney <ac131313@redhat.com>
3487
8dbb1c65
AC
3488 * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts.
3489 * utils.c: Update comments documenting legitimate uses of PTR.
3490
8731e58e
AC
3491 * utils.c: Re-indent.
3492
b1364885
AC
3493 * config/djgpp/fnchange.lst: Delete nindy files.
3494 * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files.
3495 * nindy-share/nindy.c, nindy-share/env.h: Delete files.
3496 * nindy-share/coff.h, nindy-share/block_io.h: Delete files.
3497 * nindy-share/b.out.h, nindy-share/VERSION: Delete files.
3498 * nindy-share/README, nindy-share/Onindy.c: Delete files.
3499 * nindy-tdep.c, nindy-share/Makefile: Delete files.
3500 * Makefile.in (init.c): Remove nindy references.
3501 (saber_gdb): Delete rule.
3502 (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c,
3503 nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c,
3504 and a68v-nat.c.
3505 (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules.
3506 (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules.
3507 (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h,
3508 nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and
3509 nindy-share/stop.h.
3510 * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files.
3511 * saber.suppress: Delete file.
3512
086df311
DJ
35132003-01-31 Daniel Jacobowitz <drow@mvista.com>
3514
3515 * dbxread.c (stabs_data): New static variable.
3516 (fill_symbuf): Support an in-memory buffer for stabs data.
3517 (stabs_seek): New function.
3518 (dbx_psymtab_to_symtab): Relocate the stabs data if necessary.
3519 (read_ofile_symtab): Use stabs_seek.
3520 (elfstab_build_psymtabs): Take an asection* instead of
3521 an offset and size. Relocate the stabs data if necessary.
3522 Save the section* for dbx_psymtab_to_symtab.
3523 * dwarf2read.c: Add section variables for each debug section.
3524 (dwarf2_locate_sections): Fill them in.
3525 (dwarf2_read_section): Take an asection* argument.
3526 Relocate the section contents if necessary.
3527 (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers.
3528 * dwarf2cfi.c (parse_frame_info): Take a section argument and pass
3529 it to dwarf2_read_section.
3530 (dwarf2_build_frame_info): Update callers.
3531 * elfread.c (elf_symfile_read): Update call to
3532 elfstab_build_psymtabs.
3533 * gdb-stabs.h (struct dbx_symfile_info): Add stab_section.
3534 (DBX_STAB_SECTION): New macro.
3535 * stabsread.h (elfstab_build_psymtabs): Update prototype.
3536 * symfile.c (symfile_dummy_outputs): New function.
3537 (symfile_relocate_debug_section): New function.
3538 * symfile.h (symfile_relocate_debug_section): Add prototype.
3539
87d1b352
RH
35402003-01-31 Richard Henderson <rth@redhat.com>
3541
3542 * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...
3543 (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM.
3544 (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM.
3545 * alpha-tdep.c (alpha_register_name): Add "unique".
3546 * alpha-tdep.h (ALPHA_NUM_REGS): Increment.
3547 (ALPHA_UNIQUE_REGNUM): New.
3548 * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New.
3549
c48861fb
AC
35502003-01-31 Andrew Cagney <ac131313@redhat.com>
3551
3552 * README: Remove reference to Ericsson 1800 monitor.
3553 * Makefile.in (remote-es.o): Delete rule.
3554 (ALLDEPFILES): Delete remote-es.c.
3555 * remote-es.c: Delete file.
3556 * config/m68k/es1800.mt: Delete file.
3557 * config/djgpp/fnchange.lst: Update.
3558 * configure.tgt: Delete m68*-ericsson-* target.
3559
d764a824
AF
35602003-01-31 Adam Fedor <fedor@gnu.org>
3561
3562 * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc.
3563 Remove duplicate/shadowing variable of same name.
3564
fe36c4f4
JB
35652003-01-30 Jim Blandy <jimb@redhat.com>
3566
3567 * symfile.c (find_separate_debug_file): Assert that the objfile's
3568 directory name we compute ends with a slash, and then assume that
3569 that's so everywhere we use it.
3570
cb741690
DJ
35712003-01-30 Daniel Jacobowitz <drow@mvista.com>
3572
3573 * valops.c (value_assign): Flush frame cache after stores to memory
3574 also.
3575
96ee5227
AC
35762003-01-30 Andrew Cagney <ac131313@redhat.com>
3577
3578 * Makefile.in (mon960-rom.o): Delete rule.
3579 * mon960-rom.c: Delete file.
3580
7f6104a9
AC
35812003-01-30 Andrew Cagney <ac131313@redhat.com>
3582
3583 * d10v-tdep.c: Include "frame-unwind.h".
3584 (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate
3585 list.
3586 (next_addr, uses_frame): Delete.
3587 (struct d10v_unwind_cache): Define.
3588 (prologue_find_regs): Add struct d10v_unwind_cache info parameter.
3589 Use info instead of next_addr and uses_frame globals.
3590 (d10v_frame_init_saved_regs): Delete function.
3591 (d10v_init_extra_frame_info): Delete function.
3592 (d10v_gdbarch_init): Do not initialize init_extra_frame_info,
3593 frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid,
3594 init_frame_pc or frame_saved_pc.
3595 (d10v_pop_frame): Delete function.
3596 (do_d10v_pop_frame): Delete function.
3597 (d10v_frame_chain): Delete function.
3598 (d10v_frame_chain_valid): Delete function.
3599 (d10v_frame_pc_unwind): New function.
3600 (d10v_frame_id_unwind): New function.
3601 (saved_regs_unwinder): New function.
3602 (d10v_frame_register_unwind): New function.
3603 (d10v_frame_pop): New function.
3604 (d10v_frame_unwind): New variable.
3605 (d10v_frame_p): New function.
3606 (d10v_frame_saved_pc): Delete function.
3607 * Makefile.in (d10v-tdep.o): Update dependencies.
3608
cad2e848
JB
36092003-01-30 J. Brobecker <brobecker@gnat.com>
3610
3611 * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef
3612 causing some regressions due to a change in the default value
3613 for this macro.
3614
af34e669
DJ
36152003-01-29 Richard Henderson <rth@redhat.com>
3616 Elena Zannoni <ezannoni@redhat.com>
3617 Daniel Jacobowitz <drow@mvista.com>
3618
3619 Fix PR gdb/961.
3620 * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New
3621 variables.
3622 (RANGES_SECTION): New.
3623 (dwarf_ranges_buffer): New variable.
3624 (struct comp_unit_head): Add member "die".
3625 (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size.
3626 (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New.
3627 (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size.
3628 (dwarf2_locate_sections): Likewise.
3629 (dwarf2_build_psymtabs): Read .debug_ranges.
3630 (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out.
3631 (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die.
3632 (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers.
3633 Look for DW_AT_ranges and return the bounding box.
3634
baa93fa6
CF
36352003-01-29 Brian Ford <ford@vss.fsi.com>
3636
3637 * win32-nat.c (cygwin_pid): Removed as unused.
3638 (child_attach): Try fall back to Cygwin pid.
3639
c63f977f
JB
36402003-01-29 Jim Blandy <jimb@redhat.com>
3641
3642 * objfiles.h (struct objfile): Doc fix.
3643
d62d1979
AC
36442003-01-29 Andrew Cagney <ac131313@redhat.com>
3645
3646 * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P.
3647 (legacy_get_prev_frame): Assert FRAME_CHAIN_P.
3648 (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame.
3649 (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P.
3650 * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate.
3651 (FRAME_SAVED_PC): Change to a function with predicate.
3652 * gdbarch.h, gdbarch.c: Re-generate.
3653
1ae18a04
AC
36542003-01-28 Andrew Cagney <ac131313@redhat.com>
3655
52287340
AC
3656 * hppah-nat.c (child_pid_to_exec_file): Don't use boolean.
3657
1ae18a04
AC
3658 * complaints.c (complain): Delete function.
3659 * complaints.h (struct deprecated_complaint): Delete definition.
3660 (complain): Delete declaration.
3661
f2c16bd6
KB
36622003-01-28 Kevin Buettner <kevinb@redhat.com>
3663
3664 * mips-tdep.c (mips_init_extra_frame_info): Return early for
3665 dummy frames.
3666
a94dd1fd
AC
36672003-01-27 Andrew Cagney <ac131313@redhat.com>
3668
3669 * sentinel-frame.h, sentinel-frame.c: New files.
3670 * Makefile.in (frame.o): Update dependencies.
3671 (SFILES): Add sentinel-frame.c.
3672 (sentinel_frame_h): Define.
3673 (COMMON_OBS): Add sentinel-frame.o.
3674 (sentinel-frame.o): Specify dependencies.
3675 * frame.c: Include "sentinel-frame.h".
3676 (frame_register_unwind): Rewrite assuming that there is always a a
3677 ->next frame.
3678 (frame_register, generic_unwind_get_saved_register): Ditto.
3679 (frame_read_unsigned_register, frame_read_signed_register): Ditto.
3680 (create_sentinel_frame, unwind_to_current_frame): New functions.
3681 (get_current_frame): Rewrite using create_sentinel_frame and
3682 unwind_to_current_frame. When possible, always create a frame.
3683 (create_new_frame): Set next to the sentinel frame.
3684 (get_next_frame): Rewrite. Don't go below the level 0 frame.
3685 (deprecated_update_frame_pc_hack): Update the next frame's PC and
3686 ID cache when necessary.
3687 (frame_saved_regs_id_unwind): Use frame_relative_level.
3688 (deprecated_generic_get_saved_register): Use frame_relative_level,
3689 get_frame_saved_regs, get_frame_pc, get_frame_base and
3690 get_next_frame.
3691 (frame_saved_regs_register_unwind): Use get_frame_saved_regs and
3692 frame_register.
3693
5378adc4
DJ
36942003-01-27 Daniel Jacobowitz <drow@mvista.com>
3695
3696 * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments.
3697
51ee2ddc
DJ
36982003-01-27 Daniel Jacobowitz <drow@mvista.com>
3699
3700 * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
3701 (maintenance_set_profile_cmd): Use error () instead of warning ().
3702
d9feb4e7
DJ
37032003-01-27 Daniel Jacobowitz <drow@mvista.com>
3704
3705 * configure.in: Check that -pg works if using --enable-profiling.
3706 Check for monstartup and _mcleanup regardless of --enable-profiling.
3707 * maint.c: Check for monstartup and _mcleanup before using them.
3708 * config.in: Regenerated.
3709 * configure: Regenerated.
3710
2d188dd3
NC
37112003-01-24 Nick Clifton <nickc@redhat.com>
3712
3713 * Add sh2e support:
3714
3715 2002-04-02 Elena Zannoni <ezannoni@redhat.com>
3716
3717 * gdb/sh-tdep.c (sh_sh2e_register_name): New.
3718 (sh2e_show_regs): New.
3719 (sh_gdbarch_init): Handle bfd_mach_sh2e.
3720 * config/sh/tm-sh.h: Added sh2e to comments.
3721
cb3c37b2
JB
37222003-01-23 Jim Blandy <jimb@redhat.com>
3723
3724 * symfile.c (syms_from_objfile): Don't print the "(no debugging
3725 symbols found)" message here; we haven't checked for a separate
3726 debug info file yet, so we don't know yet.
3727 (symbol_file_add_with_addrs_or_offsets): Print it here, after
3728 we've looked everywhere. Also, there's no need to print a special
3729 message when we're loading the separate debug info file: the one
3730 symbol_file_add prints is fine.
3731
5b5d99cf
JB
37322003-01-23 Alexander Larsson <alexl@redhat.com>
3733 Jim Blandy <jimb@redhat.com>
3734
3735 Add support for executables whose debug info has been separated
3736 out into a separate file, leaving only a link behind.
3737 * objfiles.h (struct objfile): New fields: separate_debug_objfile
3738 and separate_debug_objfile_backlink.
3739 (put_objfile_before): New declaration.
3740 * symfile.c: #include "filenames.h".
3741 (symbol_file_add_with_addrs_or_offsets): If this objfile has its
3742 debug info in a separate file, read that, too. Save the addrs
3743 argument, so we can use it again to read the separated debug info;
3744 syms_from_objfile modifies the table we pass it.
3745 (reread_symbols): After re-reading an objfile, call
3746 reread_separate_symbols to refresh its separate debug info
3747 objfile, if it has one.
3748 (reread_separate_symbols, find_separate_debug_file,
3749 get_debug_link_info, separate_debug_file_exists): New functions.
3750 (debug_file_directory): New global var.
3751 (_initialize_symfile): Initialize debug_file_directory, and
3752 provide the new `set debug-file-directory' command to let the user
3753 change it.
3754 * objfiles.c (free_objfile): If this objfile has its debug info in
3755 a separate objfile, free that one too. If this is itself a
3756 separate debug info objfile, clear our parent's backlink.
3757 (put_objfile_before): New function.
3758 * utils.c (gnu_debuglink_crc32): New function.
3759 * defs.h (gnu_debuglink_crc32): New declaration.
3760 * Makefile.in (symfile.o): Note dependency on "filenames.h".
3761 * configure.in: Handle --with-separate-debug-dir config option.
3762 * acinclude.m4 (AC_DEFINE_DIR): New macro.
3763 * acconfig.h (DEBUGDIR): New macro.
3764 * configure, aclocal.m4, config.in: Regenerated.
3765
7e8580c1
JB
37662003-01-22 Jim Blandy <jimb@redhat.com>
3767
7904e09f
JB
3768 * symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
3769 like the old symbol_file_add, but taking new arguments: you can
3770 now pass in either a `struct section_addr_info' list to say where
3771 each section is loaded, or a `struct section_offsets' table. Pass
3772 these new arguments through to syms_from_objfile as appropriate.
3773 (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets,
3774 with the appropriate quiescent values for the new arguments.
3775
7e8580c1
JB
3776 * symfile.c: #include "gdb_assert.h".
3777 (syms_from_objfile): Add the ability to pass in a section offset
3778 table directly, as an alternative to the section_addr_info table.
3779 Document arguments better.
3780 (symbol_file_add): Pass extra arguments to syms_from_objfile.
3781 * symfile.h (syms_from_objfile): Update declaration.
3782 * rs6000-nat.c (objfile_symbol_add): Pass new arguments to
3783 syms_from_objfile.
3784 * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
3785
d28f9cdf
DJ
37862003-01-22 Daniel Jacobowitz <drow@mvista.com>
3787
3788 Original patch by Tom Tromey <tromey@cygnus.com> and
3789 Jason Molenda <jmolenda@apple.com>.
3790 * Makefile.in (PROFILE_CFLAGS): Substitute from configure.
3791 (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS.
3792 * NEWS: Mention profiling.
3793 * configure.in (--enable-gdbtk): Fix typo.
3794 (--enable-profiling): New. Set PROFILE_CFLAGS.
3795 * maint.c (maintenance_set_profile_cmd): Remove NOTYET.
3796 Fill in function.
3797 (profiling_state): New variable.
3798 (mcleanup_wrapper): New function.
3799 (_initialize_maint): Remove NOTYET, fix call to
3800 add_setshow_boolean_cmd for "maint set profile".
3801 * configure: Regenerated.
3802
df21e465
MH
38032003-01-21 Martin M. Hunt <hunt@redhat.com>
3804
3805 * Makefile.in (install-gdbtk): Install PNG images too.
3806
73c1f219
AC
38072003-01-21 Andrew Cagney <ac131313@redhat.com>
3808
3809 * exec.c (text_start): Delete global variable.
3810 (exec_file_attach): Make text_start local to the function.
3811 * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros.
3812 * valops.c (hand_function_call): Delete code that handles
3813 BEFORE_TEXT_END and AFTER_TEXT_END.
3814 * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead
3815 of CALL_DUMMY_LOCATION.
3816 * gdbarch.c: Regenerate.
3817 * inferior.h (deprecated_pc_in_call_dummy_before_text_end)
3818 (deprecated_pc_in_call_dummy_after_text_end): Delete declaration.
3819 * blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
3820 (deprecated_pc_in_call_dummy_after_text_end): Delete functions.
3821 (text_end): Delete extern declaration.
3822
eb4f72c5
AC
38232003-01-21 Andrew Cagney <ac131313@redhat.com>
3824
3825 * frame.h (FRAME_OBSTACK_ZALLOC): Define.
3826 * blockframe.c (backtrace_below_main): Move to "frame.c".
3827 (frame_chain_valid): Delete check for backtrace_below_main.
3828 (_initialize_blockframe): Delete initialization, move ``set
3829 backtrace-below-main'' command to "frame.c".
3830 (do_flush_frames_sfunc): Delete function.
3831 * frame.c: Include "command.h" and "gdbcmd.h".
3832 (frame_type_from_pc): New function.
3833 (create_new_frame): Use frame_type_from_pc.
3834 (legacy_get_prev_frame): New function.
3835 (get_prev_frame): Rewrite. When an old style frame, call
3836 legacy_get_prev_frame. Otherwize, unwind the PC first.
3837 (_initialize_frame): Add ``set backtrace-below-main'' command.
3838 * Makefile.in (frame.o): Update dependencies.
3839
778ce8cc
AC
38402003-01-19 Andrew Cagney <ac131313@redhat.com>
3841
3842 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename
3843 DEPRECATED_REGISTERS_INFO.
3844
01c193c8
AC
38452003-01-19 Andrew Cagney <ac131313@redhat.com>
3846
3847 * MAINTAINERS: Replace `Blanket Write Privs' with `Global
3848 Maintainers'. Update `Various Maintainers'.
3849
dedc2a2b
AC
38502003-01-19 Andrew Cagney <ac131313@redhat.com>
3851
3852 * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
3853 * gdbarch.sh (POP_FRAME): Change to function with predicate.
3854 Suppress actual parameters when `-'.
3855 * gdbarch.h, gdbarch.c: Regenerate.
3856
b7261c70
AC
38572003-01-19 Andrew Cagney <ac131313@redhat.com>
3858
3859 * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore
3860 code handling dummy frames.
3861
dbe9fe58
AC
38622003-01-19 Andrew Cagney <ac131313@redhat.com>
3863
3864 * frame-unwind.h (frame_unwind_pop_ftype): Declare.
3865 (struct frame_unwind): Add field pop.
3866 * frame.h (frame_pop): Declare.
3867 * frame.c (frame_saved_regs_pop): New function.
3868 (trad_frame_unwinder): Add frame_saved_regs_pop.
3869 (frame_pop): New function.
3870 * dummy-frame.c (dummy_frame_pop): New function.
3871 (discard_innermost_dummy): New function.
3872 (generic_pop_dummy_frame): Use discard_innermost_dummy.
3873 (dummy_frame_unwind): Add dummy_frame_pop.
3874 * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
3875 * valops.c (hand_function_call): Ditto.
3876 * stack.c (return_command): Ditto.
3877
570b8f7c
AC
38782003-01-18 Andrew Cagney <ac131313@redhat.com>
3879
3880 * cris-tdep.c: Fix function declaration indentation.
3881 * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
3882 * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
3883 * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
3884 * symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
3885 * xcoffread.c, config/pa/tm-hppa.h: Ditto.
3886 * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
3887
38882003-01-18 Michael Chastain <mec@shout.net>
eaec4d85
MC
3889
3890 * README (Unpacking and Installation -- quick overview):
3891 Warn against ".../gdb-5.3/gdb/configure".
3892
494cca16
AC
38932003-01-18 Andrew Cagney <ac131313@redhat.com>
3894
3895 * dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
3896 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
3897 (struct frame_unwind): Declare opaque.
3898 (dummy_frame_p): Declare function.
3899 * dummy-frame.c (dummy_frame_id_unwind): Make static.
3900 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
3901 * dummy-frame.c: Include "frame-unwind.h".
3902 (dummy_frame_p): New function.
3903 (dummy_frame_unwind): New variable.
3904 * frame.c: Include "frame-unwind.h".
3905 (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
3906 to use the new unwind field.
3907 (set_unwind_by_pc): Delete function.
3908 (create_new_frame, get_prev_frame): Set unwind field using
3909 frame_unwind_find_by_pc.
3910 (trad_frame_unwind, trad_frame_unwinder): New variables.
3911 * frame.h (trad_frame_unwind): Declare variable.
3912 (frame_id_unwind_ftype): Delete declaration.
3913 (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
3914 (struct frame_unwind): Declare opaque.
3915 (struct frame_info): Replace the fields id_unwind, pc_unwind and
3916 register_unwind with a single unwind pointer.
3917 * frame-unwind.h, frame-unwind.c: New files.
3918 * Makefile.in (SFILES): Add frame-unwind.c.
3919 (frame_unwind_h): Define.
3920 (COMMON_OBS): Add frame-unwind.o.
3921 (frame-unwind.o): Specify dependencies.
3922 (frame.o, dummy-frame.o): Update dependencies.
3923
4efb68b1
AC
39242003-01-18 Andrew Cagney <ac131313@redhat.com>
3925
3926 * ada-valprint.c: Eliminate PTR.
3927 * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
3928 * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
3929 * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
3930 * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
3931 * remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
3932 * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
3933 * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
3934
a84d24ee
AC
39352003-01-17 Andrew Cagney <ac131313@redhat.com>
3936
762f08a3
AC
3937 * main.c (captured_main): Don't use PTR.
3938 * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp.
3939 * gdbtypes.c (lookup_primitive_typename): Ditto.
3940 (lookup_struct_elt_type): Ditto.
3941 * f-valprint.c (info_common_command): Ditto.
3942 (list_all_visible_commons): Ditto.
3943 * jv-typeprint.c (java_type_print_base): Ditto.
3944
a84d24ee
AC
3945 * config/djgpp/fnchange.lst: Rename mi1-var-block.exp,
3946 mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp.
3947 Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename
3948 i386-interix-nat.c and i386-interix-tdep.c. Rename
3949 m68klinux-nat.c and m68klinux-tdep.c. Rename
3950 config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename
3951 bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename
3952 gdb/objc-exp.tab.c and gdb/ada-exp.tab.c
3953 * main.c (captured_main): Use xfree, not free.
3954
c170fb60
AC
39552003-01-16 Andrew Cagney <ac131313@redhat.com>
3956
3957 * frame.h (frame_id_unwind_ftype): Change type so that the frame's
3958 ID back using a parameter.
3959 * frame.c (frame_id_unwind): Update call.
3960 (frame_saved_regs_id_unwind): Update.
3961 * dummy-frame.c (dummy_frame_id_unwind): Update function.
3962 * dummy-frame.h (struct frame_id): Add opaque declaration.
3963 (dummy_frame_id_unwind): Update declaration.
3964
867f3898
AC
39652003-01-15 Andrew Cagney <ac131313@redhat.com>
3966
3967 * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.
3968
40622be8 39692003-01-15 Stephen P. Smith <ischis2@cox.net>
de3a8c23 3970
40622be8 3971 * MAINTAINERS (Stephen P. Smith): Updated email address.
de3a8c23 3972
ae66c1fc
EZ
39732003-01-14 Elena Zannoni <ezannoni@redhat.com>
3974
997b089a 3975 Fix PR gdb/898
ae66c1fc
EZ
3976 * breakpoint.c (until_break_command): Add new argument. Use it to
3977 decide whether to stop only at the current frame or not.
3978 * breakpoint.h (until_break_command): Update prototype.
3979 * infcmd.c (until_command): Add new argument to until_break_command
3980 call.
3981 (advance_command): New function.
3982 (_initialize_infcmd): Update help string for 'until' command.
3983 Add new 'advance' command.
3984
a04257e6
DC
39852003-01-14 David Carlton <carlton@math.stanford.edu>
3986
3987 * linespec.c (decode_line_1): Normalize comments.
3988 (set_flags): Ditto.
3989 (locate_first_half): Ditto.
3990 (decode_compound): Ditto.
3991 (symtab_from_filename): Ditto.
3992 (decode_all_digits): Ditto.
3993 (decode_dollar): Ditto.
3994 (find_methods): Ditto.
3995 (find_toplevel_char): Ditto.
3996
1bac305b
AC
39972003-01-13 Andrew Cagney <ac131313@redhat.com>
3998
3999 * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright.
4000 * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright.
4001 * elfread.c, eval.c, expprint.c, expression.h: Update copyright.
4002 * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright.
4003 * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright.
4004 * language.c, language.h, m32r-tdep.c: Update copyright.
4005 * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright.
4006 * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright.
4007 * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright.
4008 * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright.
4009 * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright.
4010 * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright.
4011
25caa7a8
EZ
40122003-01-13 Elena Zannoni <ezannoni@redhat.com>
4013
4014 * stabsread.h (process_later, resolve_cfront_continuation):
4015 Obsolete.
4016 Update copyright years.
4017 * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront.
4018 Update copyright year.
4019 * dbxread.c(struct cont_elem): Obsolete.
4020 (process_later, process_now): Obsolete functions.
4021 (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support.
4022 Update copyright year.
4023 * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros.
4024 (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions.
4025 * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront.
4026 (parse_partial_symbols): Obsolete cfront support.
4027 * stabsread.c
4028 (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete
4029 macros.
4030 (get_substring, get_cfront_method_physname, msg_unknown_complaint,
4031 read_cfront_baseclasses, read_cfront_member_functions,
4032 resolve_cfront_continuation,read_cfront_static_fields,
4033 copy_cfront_struct_fields): Obsolete functions.
4034 (define_symbol, read_one_struct_field): Obsolete cfront support.
4035 * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support.
4036 Update Copyright year.
4037
7789c6f5
EZ
40382003-01-13 Elena Zannoni <ezannoni@redhat.com>
4039
4040 * stack.c (print_frame_info, print_stack_frame_base_stub,
4041 print_stack_frame_base, show_and_print_stack_frame_stub,
4042 show_and_print_stack_frame, print_only_stack_frame_stub,
4043 print_only_stack_frame): Delete functions.
4044 (print_stack_frame_stub): Call print_frame_info instead of
4045 print_frame_info_base.
4046 (print_frame_info_base): Rename to print_frame_info.
4047 (backtrace_command_1): Call print_frame_info, instead of
4048 print_frame_info_base.
4049 (current_frame_command): Call print_stack_frame, instead of
4050 print_only_stack_frame.
4051 (frame_command): Call print_stack_frame, instead of
4052 show_and_print_stack_frame.
4053 (up_command): Ditto.
4054 (down_command): Ditto.
4055 * frame.h (print_only_stack_frame): Delete prototype.
4056 * infrun.c (normal_stop): Call print_stack_frame, instead of
4057 show_and_print_stack_frame.
4058 * thread.c (info_threads_command): Call print_stack_frame, instead
4059 of print_only_stack_frame.
4060
3f5a3016
AC
40612003-01-13 Andrew Cagney <ac131313@redhat.com>
4062
d99ba314
AC
4063 * README (Graphical interface to GDB): Update URL. Point at
4064 gdb/links/.
4065
3f5a3016
AC
4066 * gdb_indent.sh: Update to version 2.2.9. Warn when not exact
4067 version match.
4068
083ae935
DJ
40692003-01-13 Daniel Jacobowitz <drow@mvista.com>
4070
4071 * symtab.c (find_pc_sect_line): Don't consider end-of-function
4072 lines.
4073
5365276c
DJ
40742003-01-13 Daniel Jacobowitz <drow@mvista.com>
4075
4076 * thread-db.c (attach_thread): Prototype.
4077 (struct private_thread_info): Remove lwpid. Add thread handle (th),
4078 thread information (ti), and valid flags (th_valid, ti_valid).
4079 (attach_thread): Move target_pid_to_str call to after the thread
4080 is added to GDB's list. Initialize the cache.
4081 (thread_get_info_callback, thread_db_map_id2thr)
4082 (thread_db_get_info): New functions.
4083 (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers)
4084 (thread_db_store_registers, thread_db_thread_alive)
4085 (thread_db_get_thread_local_address): Use them.
4086 (thread_db_pid_to_str): Likewise. Return "Missing" instead
4087 of calling error() for threads in unknown state.
4088
4089 (clear_lwpid_callback): New function.
4090 (thread_db_resume): Use it to clear the cache.
4091
9fc30b6b
DJ
40922003-01-13 Daniel Jacobowitz <drow@mvista.com>
4093
4094 * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
4095 (resume_callback): Remove dead code.
4096
8f871025
AC
40972003-01-13 Andrew Cagney <ac131313@redhat.com>
4098
4099 * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
4100 predicate.
4101 * gdbarch.h, gdbarch.c: Regenerate.
4102 * stack.c (frame_info): Only initialize the saved registers when
4103 FRAME_INIT_SAVED_REGS_P.
4104 * frame.c (frame_saved_regs_register_unwind): Assert
4105 FRAME_INIT_SAVED_REGS_P.
4106 (deprecated_generic_get_saved_register): Ditto.
4107
3f565f1e
DJ
41082003-01-13 Daniel Jacobowitz <drow@mvista.com>
4109
4110 * source.c (openp): Squelch warning about "filename".
4111
072b1022
DJ
41122003-01-13 Daniel Jacobowitz <drow@mvista.com>
4113
4114 * source.c (openp): If the file does not exist don't necessarily
4115 search the path.
4116
973ccf8b
DJ
41172003-01-13 Daniel Jacobowitz <drow@mvista.com>
4118
4119 Fix PR gdb/872.
4120 * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN.
4121 (integer_types_same_name_p): New function.
4122 (rank_one_type): Use it.
4123 * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN.
4124
030292b7
DJ
41252003-01-13 Daniel Jacobowitz <drow@mvista.com>
4126
4127 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
4128 variables.
4129 (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE).
4130 * configure.in: Add --with-sysroot.
4131 * configure: Regenerated.
4132 * main.c (gdb_sysroot): New variable.
4133 (captured_main): Initialize gdb_sysroot.
4134 * defs.h (gdb_sysroot): New extern declaration.
4135 * solib.c (_initialize_solib): Initialize solib_absolute_prefix.
4136
afb5d334
MC
41372003-01-12 Michael Chastain <mec@shout.net>
4138
4139 * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
4140
751ceeb4
MC
41412003-01-12 Michael Chastain <mec@shout.net>
4142
4143 * top.c (print_gdb_version): Bump copyright year to 2003.
4144
94cd26f8
DC
41452003-01-12 David Carlton <carlton@bactrian.org>
4146
4147 * linespec.c (symtab_from_filename): Rename variable 's' to
4148 'file_symtab'.
4149
1ce79225
AC
41502003-01-12 Andrew Cagney <ac131313@redhat.com>
4151
4152 * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
4153 dummy frame.
4154 (d10v_frame_saved_pc, d10v_frame_chain): Ditto.
4155
fa1fd571
AC
41562003-01-12 Andrew Cagney <ac131313@redhat.com>
4157
4158 * d10v-tdep.c: Include "gdb_assert.h".
4159 (d10v_store_return_value): Rewrite to match current interface.
4160 (d10v_extract_struct_value_address): Ditto.
4161 (d10v_extract_return_value): Ditto.
4162 (d10v_gdbarch_init): Set store_restore_value,
4163 extract_struct_value_address and extract_return_value.
4164
68b8d23e
JB
41652003-01-12 J. Brobecker <brobecker@gnat.com>
4166
4167 * hpread.c (set_namestring): New procedure replacing the
4168 SET_NAMESTRING macro.
4169 (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
4170 by calls to set_namestring.
4171
41722003-01-11 J. Brobecker <brobecker@gnat.com>
1fb309ea
JB
4173
4174 * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
4175 a compilation warning.
4176 (hpread_process_one_debug_symbol): Likewise.
4177
88d262ca
DC
41782003-01-10 David Carlton <carlton@math.stanford.edu>
4179
4180 * linespec.c (decode_line_1): Rename variable 's' to
4181 'file_symtab'.
4182 (decode_all_digits): Rename argument 's' to 'file_symtab'.
4183 (decode_dollar): Ditto.
4184 (decode_variable): Ditto.
4185 (symbol_found): Ditto.
4186
86669319
MC
41872003-01-09 Michael Chastain <mec@shout.net>
4188
4189 * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
4190
616a9dc4
CV
41912003-01-07 Corinna Vinschen <vinschen@redhat.com>
4192
4193 * win32-nat.c (set_process_privilege): New function.
4194 (child_attach): Call set_process_privilege() to enable the
4195 SE_DEBUG_NAME user privilege if available in process token.
4196
3269bcfa
JB
41972003-01-10 J. Brobecker <brobecker@gnat.com>
4198
4199 * hpread.c (hpread_process_one_debug_symbol): Fix a small
4200 compilation error in the previous revision.
4201
2b0ee454
DC
42022003-01-09 David Carlton <carlton@math.stanford.edu>
4203
4204 * linespec.c: Update copyright.
4205
b3ba1b44
DJ
42062003-01-09 Daniel Jacobowitz <drow@mvista.com>
4207
4208 * lin-lwp.c (child_wait): Ignore exit statuses for processes other
4209 than inferior_ptid.
4210 (lin_lwp_wait): Ignore exit statuses for unknown LWPs.
4211
4ef3f3be
AC
42122003-01-09 Andrew Cagney <ac131313@redhat.com>
4213
479ab5a0
AC
4214 * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
4215 Update comments.
4216 * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
4217 (frame_saved_regs_zalloc): Update.
4218 (frame_saved_regs_register_unwind): Update.
4219 (create_new_frame): Update.
4220 (get_prev_frame): Update.
4221 (frame_extra_info_zalloc): Update.
4222 (deprecated_get_frame_saved_regs): Update.
4223 * dwarf2cfi.c (cfi_init_extra_frame_info): Update.
4224 * cris-tdep.c: Update comment.
4225
bde58177
AC
4226 * somsolib.h: Fix function indentation.
4227 * disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
4228 * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
4229 * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
4230 * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
4231 * somsolib.c, inftarg.c: Remove assignment in if conditional.
4232
4ef3f3be
AC
4233 * infrun.c (follow_fork): Use ISO C definition.
4234 * expprint.c (print_subexp): Use xfree instead of free.
4235 * charset.c: Include "gdb_string.h" instead of <string.h>.
4236 (register_iconv_charsets): Use ISO C definition.
4237 (host_charset, target_charset): Ditto.
4238 * Makefile.in (charset.o): Update dependencies.
4239 (mi-cmd-env.o): Update dependencies.
4240
1c615f7a
AC
42412003-01-08 Andrew Cagney <cagney@redhat.com>
4242
4243 * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
4244 get_frame_base.
4245
c9a1dc08
AC
42462003-01-08 Andrew Cagney <ac131313@redhat.com>
4247
4248 * gdb_mbuild.sh: Add --keep option. When specified, keep the
4249 build directories. Save edited gdb output in Mbuild.log. If a
4250 build fails, remove any final GDB executable.
4251
dbad9d94
AC
42522003-01-08 Andrew Cagney <ac131313@redhat.com>
4253
4254 * gdb_mbuild.sh: Edit the output of `maint print architecture'
4255 replacing hex constants with function names and stripping leading
4256 file name directory prefixes.
4257
8d357cca
AC
42582003-01-08 Andrew Cagney <cagney@redhat.com>
4259
4260 * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
4261 get_frame_base.
4262
bca02a8a
DC
42632003-01-08 David Carlton <carlton@math.stanford.edu>
4264
4265 * linespec.c (decode_line_1): Move code into decode_variable.
4266 (decode_variable): New function.
4267
7f8ab3a0
AC
42682003-01-08 Andrew Cagney <ac131313@redhat.com>
4269
4270 * mn10300-tdep.c (analyze_dummy_frame): Fix typo.
4271
7b5849cc
AC
42722003-01-08 Andrew Cagney <cagney@redhat.com>
4273
4274 * cris-tdep.c (cris_frame_init_saved_regs): Use
4275 get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
4276 saved_regs buffer.
4277 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
4278 (sh64_nofp_frame_init_saved_regs): Ditto.
4279 (sh_fp_frame_init_saved_regs): Ditto.
4280 * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
4281 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
4282 * mcore-tdep.c (analyze_dummy_frame): Ditto.
4283 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
4284
72a5efb3
DJ
42852003-01-08 Daniel Jacobowitz <drow@mvista.com>
4286
4287 * minsyms.c (lookup_minimal_symbol): Update comment.
4288 (lookup_minimal_symbol_text): Update comment. Use the hash table.
4289 (lookup_minimal_symbol_solib_trampoline): Likewise.
4290
11c02a10
AC
42912003-01-08 Andrew Cagney <cagney@redhat.com>
4292
aab3ea25
AC
4293 * d10v-tdep.c (d10v_init_extra_frame_info): Use
4294 frame_relative_level.
4295
da50a4b7
AC
4296 * alpha-tdep.c: Use get_frame_extra_info.
4297 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
4298 * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
4299 * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
4300 * sparc-tdep.c, xstormy16-tdep.c: Ditto.
4301
11c02a10
AC
4302 * alpha-tdep.c: Use get_next_frame.
4303 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
4304 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
4305 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
4306 * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
4307 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
4308 * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
4309 * xstormy16-tdep.c: Ditto.
4310
1e2330ba
AC
43112003-01-07 Andrew Cagney <cagney@redhat.com>
4312
4313 * alpha-tdep.c: Use get_frame_base.
4314 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
4315 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
4316 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
4317 * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
4318 * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
4319 * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
4320 * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
4321 * config/sparc/tm-sparc.h: Ditto.
4322
2d75187b
AC
43232003-01-07 Andrew Cagney <cagney@redhat.com>
4324
4325 * frame.c (deprecated_get_frame_context): New function.
4326 (deprecated_set_frame_context): New function.
4327 * frame.h (deprecated_get_frame_context): Declare.
4328 (deprecated_set_frame_context): Declare.
4329 * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
4330 (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
4331
483d36b2
AC
43322003-01-07 Andrew Cagney <cagney@redhat.com>
4333
4334 * frame.c (deprecated_set_frame_next_hack): New function.
4335 (deprecated_set_frame_prev_hack): New function.
4336 * frame.h (deprecated_set_frame_next_hack): Declare.
4337 (deprecated_set_frame_prev_hack): Declare.
4338 * mcore-tdep.c (analyze_dummy_frame): Use
4339 deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
4340 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
4341
14e91ac5
DC
43422003-01-07 David Carlton <carlton@math.stanford.edu>
4343
4344 * linespec.c (decode_line_1): Move code into decode_dollar.
4345 (decode_dollar): New function.
4346
b0c6b05c
AC
43472003-01-07 Andrew Cagney <cagney@redhat.com>
4348
4349 * arm-tdep.c (arm_init_extra_frame_info): Use
4350 deprecated_update_frame_base_hack.
4351 * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto.
4352 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
4353 (fix_frame_pointer): Ditto.
4354 (mn10300_analyze_prologue): Ditto.
4355
a00a19e9
AC
43562003-01-07 Andrew Cagney <cagney@redhat.com>
4357
4358 * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
4359 extra_info using frame_extra_info_zalloc.
4360 * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
4361 * sh-tdep.c (sh_init_extra_frame_info): Ditto.
4362 (sh64_init_extra_frame_info): Ditto.
4363 * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
4364 * s390-tdep.c (s390_init_extra_frame_info): Ditto.
4365 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
4366 * mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
4367 * frv-tdep.c (frv_init_extra_frame_info): Ditto.
4368 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
4369 * ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
4370 * h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
4371 * d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
4372 * cris-tdep.c (cris_init_extra_frame_info): Ditto.
4373 * arm-tdep.c (arm_init_extra_frame_info): Ditto.
4374 * alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
4375
4376 * mn10300-tdep.c (analyze_dummy_frame): Use
4377 deprecated_set_frame_extra_info_hack.
4378 * mcore-tdep.c (analyze_dummy_frame): Ditto.
4379
1fb4c65b
JB
43802003-01-07 J. Brobecker <brobecker@gnat.com>
4381
4382 * mdebugread.c (parse_symbol): Skip stProc entries which storage
4383 class is not scText. These do not define "real" procedures.
4384 (parse_partial_symbols): Likewise.
4385
9fe7d6bf
MS
43862003-01-06 Michael Snyder <msnyder@redhat.com>
4387
4388 * lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
4389
f6c609c4
AC
43902003-01-06 Andrew Cagney <ac131313@redhat.com>
4391
4392 * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
4393 * frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
4394 * arm-tdep.c (arm_frame_chain): Allocate caller_fi using
4395 deprecated_frame_xmalloc_with_cleanup.
4396 * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
4397 deprecated_frame_xmalloc.
4398 * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
4399 * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
4400
d995ff4b
AC
44012003-01-06 Andrew Cagney <cagney@redhat.com>
4402
84dc46cb
AC
4403 * x86-64-linux-tdep.c: Include "osabi.h".
4404 * Makefile.in (x86-64-linux-tdep.o): Update dependencies.
4405
d995ff4b
AC
4406 * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
4407
66140c26
AC
44082003-01-06 Andrew Cagney <cagney@redhat.com>
4409
4410 * MAINTAINERS (Target Instruction Set Architectures): Update
4411 arm-elf. Can be built with -Werror, has been multiarched.
4412
4413 * value.h (unpack_long): Make buffer parameter constant.
4414 (unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
4415 * scm-lang.h (scm_parse): Ditto.
4416 * defs.h (extract_typed_address, extract_address): Ditto.
4417 (extract_long_unsigned_integer): Ditto.
4418 * inferior.h (unsigned_pointer_to_address): Ditto.
4419 (signed_pointer_to_address): Ditto.
4420 * gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
4421 * gdbarch.h, gdbarch.c: Regenerate.
4422 * findvar.c (extract_long_unsigned_integer): Update.
4423 (extract_address): Update.
4424 (extract_typed_address): Update.
4425 (unsigned_pointer_to_address): Update.
4426 * values.c (unpack_long): Update.
4427 (unpack_double): Update.
4428 (unpack_pointer): Update.
4429 (unpack_field_as_long): Update.
4430 * d10v-tdep.c (d10v_pointer_to_address): Update.
4431 * avr-tdep.c (avr_pointer_to_address): Update.
4432 * scm-lang.c (scm_unpack): Update.
4433 * findvar.c (signed_pointer_to_address): Update.
4434
b089b3da
ML
44352003-01-06 Michal Ludvig <mludvig@suse.cz>
4436
4437 * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore
4438 since it is in i386-tdep.c.
4439
aff87235
JB
44402003-01-06 J. Brobecker <brobecker@gnat.com>
4441
4442 * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
4443 failure introduced in the previous change.
4444
34f5e845
MC
44452003-01-05 Michael Chastain <mec@shout.net>
4446
4447 * README: Remove references to deleted remote-*.c files:
4448 remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
4449 remote-nrom.c, remote-os9k.c, remote-udi.c.
4450
28bcfd30
MK
44512003-01-05 Mark Kettenis <kettenis@gnu.org>
4452
4453 * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
4454 * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
4455 i386_get_longjmp_target.
4456
15a5b3ee
AC
44572003-01-05 Andrew Cagney <ac131313@redhat.com>
4458
4459 * arm-tdep.c (prologue_cache): Change to a pointer.
4460 (_initialize_arm_tdep): Allocate prologue_cache.
4461 (check_prologue_cache): Update.
4462 (save_prologue_cache): Update.
4463 (arm_gdbarch_init): Update.
4464
c263362b
DJ
44652003-01-04 Daniel Jacobowitz <drow@mvista.com>
4466
4467 * stabsread.c (update_method_name_from_physname): Call complaint()
4468 instead of error.
4469
51603483
DJ
44702003-01-04 Daniel Jacobowitz <drow@mvista.com>
4471
4472 * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
4473 * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
4474 * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
4475
4476 * blockframe.c: Include "gdbcmd.h" and "command.h".
4477 (backtrace_below_main): New variable.
4478 (file_frame_chain_valid, func_frame_chain_valid)
4479 (nonnull_frame_chain_valid, generic_file_frame_chain_valid)
4480 (generic_func_frame_chain_valid): Remove functions.
4481 (frame_chain_valid, do_flush_frames_sfunc): New functions.
4482 (_initialize_blockframe): New function.
4483 * Makefile.in (blockframe.o): Update dependencies.
4484 * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
4485 comment. Call frame_chain_valid ().
4486 * frame.h: Remove old prototypes. Add prototype for
4487 frame_chain_valid and update comments to match.
4488 * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
4489 Remove old comment.
4490 * gdbarch.h: Regenerated.
4491 * gdbarch.c: Regenerated.
4492
4493 * alpha-tdep.c (alpha_gdbarch_init): Don't call
4494 set_gdbarch_frame_chain_valid.
4495 * avr-tdep.c (avr_gdbarch_init): Likewise.
4496 * cris-tdep.c (cris_gdbarch_init): Likewise.
4497 * frv-tdep.c (frv_gdbarch_init): Likewise.
4498 * h8300-tdep.c (h8300_gdbarch_init): Likewise.
4499 * i386-tdep.c (i386_svr4_init_abi): Likewise.
4500 (i386_nw_init_abi): Likewise.
4501 (i386_gdbarch_init): Likewise.
4502 * ia64-tdep.c (ia64_gdbarch_init): Likewise.
4503 * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
4504 * m68k-tdep.c (m68k_gdbarch_init): Likewise.
4505 * mcore-tdep.c (mcore_gdbarch_init): Likewise.
4506 * mips-tdep.c (mips_gdbarch_init): Likewise.
4507 * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
4508 * ns32k-tdep.c (ns32k_gdbarch_init): Likewise.
4509 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise.
4510 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
4511 * s390-tdep.c (s390_gdbarch_init): Likewise.
4512 * sh-tdep.c (sh_gdbarch_init): Likewise.
4513 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
4514 * v850-tdep.c (v850_gdbarch_init): Likewise.
4515 * vax-tdep.c (vax_gdbarch_init): Likewise.
4516 * x86-64-tdep.c (x86_64_init_abi): Likewise.
4517
4518 * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define.
4519 * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise.
4520 * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise.
4521 * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise.
4522 * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise.
4523 * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise.
4524 * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise.
4525 * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise.
4526
b00a8037
DJ
45272002-01-04 Daniel Jacobowitz <drow@mvista.com>
4528
4529 * Makefile.in (acconfig_h): Remove incorrect macro.
4530 (config_h): Define.
4531 (osabi.o): Update dependencies.
4532 * configure.tgt: Set gdb_osabi based on target triplet.
4533 * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
4534 * configure: Regenerated.
4535 * config.in: Regenerated.
4536 * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
4537 (GDB_OSABI_DEFAULT): Define if not already defined.
4538 (user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
4539 (set_osabi_string): New variables.
4540 (gdbarch_register_osabi): Add new OS ABI to
4541 gdb_osabi_available_names.
4542 (gdbarch_lookup_osabi): Honor specified and default OS ABIs.
4543 (set_osabi, show_osabi): New functions.
4544 (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
4545
4be87837
DJ
45462003-01-04 Daniel Jacobowitz <drow@mvista.com>
4547
4548 * arch-utils.c (gdbarch_info_init): Set osabi to
4549 GDB_OSABI_UNINITIALIZED.
4550 * gdbarch.sh: Add osabi to struct gdbarch and to struct
4551 gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi
4552 in gdbarch_list_lookup_by_info and in gdbarch_update_p.
4553 * gdbarch.c: Regenerated.
4554 * gdbarch.h: Regenerated.
4555 * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
4556 there's no BFD.
4557 (gdbarch_init_osabi): Remove osabi argument; use info.osabi.
4558 * osabi.h (enum gdb_osabi): Move to defs.h.
4559 (gdbarch_init_osabi): Update prototype.
4560 * defs.h (enum gdb_osabi): Moved here.
4561 * Makefile.in: Update dependencies.
4562
4563 * alpha-tdep.h: Don't include "osabi.h".
4564 (struct gdbarch_tdep): Remove osabi member.
4565 * alpha-tdep.c: Include "osabi.h".
4566 (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4567 iterate over arches. Update call to gdbarch_init_osabi.
4568 (alpha_dump_tdep): Don't dump osabi.
4569 * alpha-linux-tdep.c: Include "osabi.h".
4570 * alpha-osf1-tdep.c: Include "osabi.h".
4571 * alphafbsd-tdep.c: Include "osabi.h".
4572 * alphanbsd-tdep.c: Include "osabi.h".
4573
4574 * arm-tdep.h: Don't include "osabi.h".
4575 (struct gdbarch_tdep): Remove osabi member.
4576 * arm-tdep.c: Include "osabi.h".
4577 (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4578 iterate over arches. Update call to gdbarch_init_osabi.
4579 (arm_dump_tdep): Don't dump osabi.
4580 * arm-linux-tdep.c: Include "osabi.h".
4581 * armnbsd-tdep.c: Include "osabi.h".
4582
4583 * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi.
4584 Update call to gdbarch_init_osabi.
4585
4586 * i386-tdep.h: Don't include "osabi.h".
4587 (struct gdbarch_tdep): Remove osabi member.
4588 * i386-tdep.c: Include "osabi.h".
4589 (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4590 iterate over arches. Update call to gdbarch_init_osabi.
4591 (i386_dump_tdep): Don't dump osabi.
4592 * i386-linux-tdep.c: Include "osabi.h".
4593 * i386-sol2-tdep.c: Include "osabi.h".
4594 * i386bsd-tdep.c: Include "osabi.h".
4595 * i386gnu-tdep.c: Include "osabi.h".
4596 * i386ly-tdep.c: Include "osabi.h".
4597 * i386nbsd-tdep.c: Include "osabi.h".
4598 * i386obsd-tdep.c: Include "osabi.h".
4599
4600 * mips-tdep.c (struct gdbarch_tdep): Remove osabi member.
4601 (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4602 check osabi when iterating over arches. Update call to
4603 gdbarch_init_osabi.
4604 (mips_dump_tdep): Don't dump osabi.
4605
4606 * ns32k-tdep.h: Don't include "osabi.h".
4607 (struct gdbarch_tdep): Remove.
4608 * ns32k-tdep.c (ns32k_gdbarch_init): Don't call
4609 gdbarch_lookup_osabi. Don't iterate over arches. Don't
4610 allocate tdep. Update call to gdbarch_init_osabi.
4611 (ns32k_dump_tdep): Remove.
4612 (_initialize_ns32k_tdep): Update call to gdbarch_register.
4613 * ns32knbsd-tdep.c: Include "osabi.h".
4614
4615 * ppc-tdep.h: Don't include "osabi.h".
4616 (struct gdbarch_tdep): Remove osabi member.
4617 * rs6000-tdep.c: Include "osabi.h".
4618 (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check
4619 osabi when iterating over arches. Update call to
4620 gdbarch_init_osabi.
4621 (rs6000_dump_tdep): Don't dump osabi.
4622 * ppc-linux-tdep.c: Include "osabi.h".
4623 * ppcnbsd-tdep.c: Include "osabi.h".
4624
4625 * sh-tdep.h: Don't include "osabi.h".
4626 (struct gdbarch_tdep): Remove osabi member.
4627 * sh-tdep.c: Include "osabi.h".
4628 (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4629 iterate over arches. Update call to gdbarch_init_osabi.
4630 (sh_dump_tdep): Don't dump osabi.
4631 * shnbsd-tdep.c: Include "osabi.h".
4632
4633 * sparc-tdep.c: Include "osabi.h".
4634 (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4635 iterate over arches. Update call to gdbarch_init_osabi.
4636 (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the
4637 tdep structure.
4638
4639 * vax-tdep.h: Don't include "osabi.h".
4640 (struct gdbarch_tdep): Remove.
4641 * vax-tdep.c: Include "osabi.h".
4642 (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4643 iterate over arches. Don't allocate tdep. Update call
4644 to gdbarch_init_osabi.
4645 (vax_dump_tdep): Remove.
4646 (_initialize_vax_tdep): Update call to gdbarch_register.
4647
a881cf8e
DJ
46482003-01-04 Daniel Jacobowitz <drow@mvista.com>
4649
4650 * breakpoint.c (insert_breakpoints): Skip disabled breakpoints
4651 entirely.
4652 (breakpoint_re_set_one): Don't fetch the value for a disabled
4653 watchpoint.
4654
1e698235
DJ
46552003-01-04 Daniel Jacobowitz <drow@mvista.com>
4656
4657 * buildsym.h (processing_hp_compilation): Remove obsolete variable.
4658 * gdbarch.sh Remove include of "value.h" in gdbarch.h.
4659 (COERCE_FLOAT_TO_DOUBLE): Remove.
4660 * gdbarch.c: Regenerate.
4661 * gdbarch.h: Regenerate.
4662 * Makefile.in: Remove value_h from gdbarch_h.
4663 * valops.c (coerce_float_to_double): New variable.
4664 (default_coerce_float_to_double): Remove.
4665 (standard_coerce_float_to_double): Remove.
4666 (value_arg_coerce): Use coerce_float_to_double.
4667 (_initialize_valops): Add "set coerce-float-to-double".
4668 * value.h (default_coerce_float_to_double): Remove prototype.
4669 (standard_coerce_float_to_double): Remove prototype.
4670
4671 * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
4672 prototyped.
4673 * mdebugread.c (parse_symbol): Likewise.
4674 * stabsread.c (define_symbol): Mark all functions as prototyped.
4675
4676 * hppa-tdep.c (hppa_coerce_float_to_double): Remove.
4677 * alpha-tdep.c (alpha_gdbarch_init): Remove call to
4678 set_gdbarch_coerce_float_to_double.
4679 * arm-tdep.c (arm_gdbarch_init): Likewise.
4680 * frv-tdep.c (frv_gdbarch_init): Likewise.
4681 * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
4682 * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
4683 * mips-tdep.c (mips_gdbarch_init): Likewise.
4684 (mips_coerce_float_to_double): Remove.
4685 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
4686 (rs6000_coerce_float_to_double): Remove.
4687 * s390-tdep.c (s390_gdbarch_init): Likewise.
4688 * sh-tdep.c (sh_gdbarch_init): Likewise.
4689 (sh_coerce_float_to_double): Remove.
4690 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
4691 (sparc_coerce_float_to_double): Remove.
4692 * v850-tdep.c (v850_gdbarch_init): Likewise.
4693 * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
4694 * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
4695 * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
4696 (hppa_coerce_float_to_double): Remove prototype.
4697 * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
4698
f436a26a
DJ
46992003-01-04 Daniel Jacobowitz <drow@mvista.com>
4700
4701 * regformats/reg-m68k.dat: Remove fpcode and fpflags.
4702
248f8055
DJ
47032003-01-04 Daniel Jacobowitz <drow@mvista.com>
4704
4705 Suggested by Stewart Brown <sb24@avaya.com>:
4706 * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
4707 in recursive calls. Handle TYPE_CODE_TYPEDEF.
4708 (c_type_print_varspec_suffix): Likewise.
4709
72cfdc76
MK
47102003-01-04 Mark Kettenis <kettenis@gnu.org>
4711
bfd260bb
MK
4712 * configure.in: Don't set and AC_SUBST SUBDIRS.
4713 * configure: Regenerated.
4714
72cfdc76
MK
4715 * configure.in: Remove code dealing with shared libraries.
4716 * Makefile.in: Remove HLDFLAGS and HLDENV.
4717 * configure: Regenerated.
4718
c8b8a898
AC
47192003-01-04 Andrew Cagney <ac131313@redhat.com>
4720
4721 * frame.c (deprecated_frame_xmalloc): New function.
4722 (deprecated_set_frame_saved_regs_hack): New function.
4723 (deprecated_set_frame_extra_info_hack): New function.
4724 * frame.h (deprecated_frame_xmalloc): Declare.
4725 (deprecated_set_frame_saved_regs_hack): Declare.
4726 (deprecated_set_frame_extra_info_hack): Declare.
4727
14abd0fb
MK
47282003-01-04 Mark Kettenis <kettenis@gnu.org>
4729
8ee53726
MK
4730 * configure.in: Move code that provides the --enable-gdbtk option
4731 right after the code that handles the --enable-tui option, and
4732 polish it somewhat.
4733 * configure: Regenerated.
4734
14abd0fb
MK
4735 * configure.in: Call AC_GNU_SOURCE. Check for pread64 using
4736 AC_CHECK_FUNCS and remove the old check for pread64.
4737 * acinclude.m4 (AC_GNU_SOURCE): New macro.
4738 * acconfig.h (_GNU_SOURCE): Add.
4739 (HAVE_PREAD64): Remove.
4740 * configure, aclocal.m4, config.in: Regenerated.
4741
b2fb4676
AC
47422003-01-03 Andrew Cagney <ac131313@redhat.com>
4743
4744 * alpha-tdep.c: Use get_frame_saved_regs.
4745 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
4746 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
4747 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
4748 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
4749 * vax-tdep.c, xstormy16-tdep.c: Ditto.
4750
8dcde887
MK
47512003-01-03 Mark Kettenis <kettenis@gnu.org>
4752
4753 * configure.in: Remove all use of the SUBDIRS variable; add
4754 directories using the AC_CONFIG_SUBDIRS macro instead. Polish
4755 code providing the --enable-multi-ice option, and move it right in
4756 front of the code that checks whether gdbserver is supported.
4757 Polish that too.
4758 * configure: Regenerated.
4759 * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
4760 @SUBDIRS@.
4761
8ccd593b
AC
47622003-01-03 Andrew Cagney <cagney@redhat.com>
4763
4764 * alpha-tdep.c: Use deprecated_update_frame_base_hack.
4765 * avr-tdep.c, cris-tdep.c: Ditto.
4766 * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
4767 * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
4768
91151a06
MK
47692003-01-03 Mark Kettenis <kettenis@gnu.org>
4770
4771 * configure.in: Remove --enable-netrom option.
4772 * configure: Regenerated.
4773
8fe84d01
MK
47742003-01-03 Mark Kettenis <kettenis@gnu.org>
4775
4776 * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
4777 declaration for `struct re_pattern_buffer' instead.
4778 * Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
4779
f0394be6
JB
47802003-01-03 J. Brobecker <brobecker@gnat.com>
4781
4782 * mdebugread.c (parse_symbol): Count until the stEnd matching
4783 the structure name.
4784
27e9bf90
MK
47852003-01-02 Mark Kettenis <kettenis@gnu.org>
4786
93d331ba
MK
4787 * configure.in: Remove --with-cpu option.
4788 subscripts. Remove evil changequotes here.
4789 * acconfig.h (TARGET_CPU_DEFAULT): Remove.
4790 * config.in, configure: Regenerated.
4791
27e9bf90
MK
4792 * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
4793 * configure.in: Cleanup section that sources GDB and BFD configure
4794 subscripts. Remove evil changequotes here.
4795 * config.in, configure: Regenerated.
4796
50abf9e5
AC
47972003-01-02 Andrew Cagney <ac131313@redhat.com>
4798
4799 * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
4800 frame accessor methods.
4801 * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
4802 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
4803 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
4804 * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
4805 * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
4806 * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
4807 * z8k-tdep.c: Ditto.
4808
287c1a40
MK
48092003-01-02 Mark Kettenis <kettenis@gnu.org>
4810
f5dbc56d
MK
4811 * configure.in: Remove UI_OUT configuration code.
4812 * ada-lang.c: Update assuming UI_OUT is always true.
4813 * Makefile.in (UIOUT_CFLAGS): Remove.
4814 * configure: Regenerated.
4815 * TODO: Remove blurb about elimination of -DUI_OUT.
4816
627af7ea
MK
4817 * configure.in: Move code that provides the --enable-gdbcli,
4818 --enable-gdbmi options right before the code that handles the
4819 --enable-tui option. Polish a bit.
4820 * configure: Regenerated.
4821
06825bd1
MK
4822 * configure.in: Rewrite check for GNU regex and the
4823 --without-included regex option, and move it into the "Checks for
4824 library functions" section. This makes us use the system regex
4825 again by default on systems with version 2 of the GNU C library.
4826 This was apparently broken.
4827 * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
4828 * acconfig.h (USE_INCLUDED_REGEX): Remove.
4829 * config.in, configure: Regenerated.
4830
287c1a40
MK
4831 * configure.in: Move code that provides the --enable-tui option
4832 before the "Checks for libraries" section. Polish the code
4833 somewhat and set need_curses to yes if we build the TUI. Rewrite
4834 code that looks for a library providing termcap functionality to
4835 match more closely what's done in the Readline library, and move
4836 it into to the "Checks for libraries" section.
4837 * configure: Regenerated.
4838 * Makefile.in (TERMCAP): Remove variable.
4839 * config/i386/go32.mh (TERMCAP): Remove variable.
4840
684e56bf
AC
48412003-01-02 Andrew Cagney <ac131313@redhat.com>
4842
4843 * MAINTAINERS: Mention gdb_mbuild.sh.
4844 * gdb_mbuild.sh: Rewrite.
4845
e1ea1d75
MK
48462003-01-02 Mark Kettenis <kettenis@gnu.org>
4847
4848 * configure.in: Fix typo in last change.
4849 * config.in, configure: Regenerated.
4850
1b831c93
AC
48512003-01-02 Andrew Cagney <ac131313@redhat.com>
4852
4853 * valarith.c (value_binop): Delete obsolete code and comments.
4854 * configure.host: Ditto.
4855 * buildsym.h (make_blockvector): Ditto.
4856 * buildsym.c (make_blockvector): Ditto.
4857 * defs.h (enum language): Ditto.
4858 (chill_demangle): Ditto.
4859 * elfread.c (elf_symtab_read): Ditto.
4860 * dwarfread.c (CHILL_PRODUCER): Ditto.
4861 (set_cu_language): Ditto.
4862 (handle_producer): Ditto.
4863 * expprint.c (print_subexp): Ditto.
4864 * gdbtypes.c (chill_varying_type): Ditto.
4865 * gdbtypes.h (builtin_type_chill_bool): Ditto.
4866 (builtin_type_chill_char, builtin_type_chill_long): Ditto.
4867 (builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
4868 (chill_varying_type): Ditto.
4869 * language.h (_LANG_chill): Ditto.
4870 * language.c (binop_result_type, integral_type): Ditto.
4871 (character_type, string_type, structured_type): Ditto.
4872 (lang_bool_type, binop_type_check): Ditto.
4873 * stabsread.h (os9k_stabs): Ditto.
4874 * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
4875 (define_symbol, read_type, read_struct_fields): Ditto.
4876 (read_array_type, read_enum_type, read_huge_number): Ditto.
4877 (read_range_type, start_stabs): Ditto.
4878 * symfile.c (init_filename_language_table): Ditto.
4879 (add_psymbol_with_dem_name_to_list): Ditto.
4880 * symtab.c (symbol_init_language_specific): Ditto.
4881 (symbol_init_demangled_name, symbol_demangled_name): Ditto.
4882 * symtab.h (struct general_symbol_info): Ditto.
4883 (SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
4884 * typeprint.c (typedef_print): Ditto.
4885 * utils.c (fprintf_symbol_filtered): Ditto.
4886 * valops.c (value_cast, search_struct_field, value_slice): Delete
4887 obsolete code.
4888 (varying_to_slice): Delete function.
4889 * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
4890 (varying_to_slice): Delete declaration.
4891 * MAINTAINERS: Update.
4892
8bb2c122
MK
48932003-01-02 Mark Kettenis <kettenis@gnu.org>
4894
97bf5e38
MK
4895 * configure.in: Reorganize "Checks for library functions section"
4896 a bit. Remove check for `btowc' and `isascii' functions.
4897 * configure: Regenerated.
4898
5ee754fc
MK
4899 * acconfig.h (_MSE_INT_H): Remove.
4900 * configure.in: Create "Checks for header files" section, and move
4901 appropriate tests there. Don't check for objlist.h, wchar.h,
4902 wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h>
4903 misdetection fix. Also add "Checks for types", "Checks for
4904 compiler characteristics" and "Checks for library functions"
4905 sections.
4906 * config.in, configure: Regenerated.
4907
8bb2c122
MK
4908 * configure.in: Create "Checks for programs" section, and move
4909 appropriate tests there.
4910
9a156167
MK
49112003-01-01 Mark Kettenis <kettenis@gnu.org>
4912
4913 * configure.in: Create "Checks for libraries" section, and move
4914 appropriate tests there. Cleanup check for wctype in libw. Use
4915 AC_SEARCH_LIBS to see whether we need libsocket.
4916 * configure: Regenerated.
4917
a80e2bcb 4918For older changes see ChangeLog-2002
c906108c
SS
4919\f
4920Local Variables:
4921mode: change-log
4922left-margin: 8
4923fill-column: 74
4924version-control: never
4925End:
This page took 1.280482 seconds and 4 git commands to generate.