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