2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
84367a3e
MK
12004-08-04 Mark Kettenis <kettenis@gnu.org>
2
9c8e3411
MK
3 * i386obsd-tdep.c (i386obsd_sigtramp_p): Adjust for changed signal
4 trampoline in OpenBSD 3.5-current.
5
b87bc0d8
MK
6 * i387-tdep.c (i387_supply_fsave): Provide summy values for the
7 SSE registers.
8
84367a3e
MK
9 * Makefile.in: Remove embedded page breaks.
10
a44bddec
JB
112004-08-04 Jim Blandy <jimb@redhat.com>
12
7ab3286f
JB
13 * regcache.c (regcache_raw_read): Assert that, after calling
14 target_fetch_registers, the register we're reading is cached.
15
a44bddec
JB
16 * ppc-linux-nat.c (fetch_register): Replace 'gdb_assert (0)' with
17 a call to 'internal_error', with a more helpful error message.
18 * rs6000-tdep.c (e500_pseudo_register_read,
870d65d5 19 e500_pseudo_register_write, rs6000_store_return_value): Same.
a44bddec 20
35124113
AC
212004-08-04 Andrew Cagney <cagney@gnu.org>
22
23 * Makefile.in: Update dependencies.
24
9f643768
JB
252004-08-04 Jim Blandy <jimb@redhat.com>
26
6ced10dd
JB
27 Change the layout of the PowerPC E500 raw register cache to allow
28 the lower 32-bit halves of the GPRS to be their own raw registers,
29 not pseudoregisters.
30 * ppc-tdep.h (struct gdbarch_tdep): Remove ppc_gprs_pseudo_p flag;
31 add ppc_ev0_upper_regnum flag.
32 * rs6000-tdep.c: #include "reggroups.h".
33 (spe_register_p): Recognize the ev upper half registers as SPE
34 registers.
35 (init_sim_regno_table): Build gdb->sim mappings for the upper-half
36 registers.
37 (e500_move_ev_register): New function.
38 (e500_pseudo_register_read, e500_pseudo_register_write): The 'ev'
39 vector registers are the pseudo-registers now, formed by splicing
40 together the gprs and the upper-half registers.
41 (e500_register_reggroup_p): New function.
42 (P): Macro deleted.
43 (P8, A4): New macro.
44 (PPC_EV_REGS, PPC_GPRS_PSEUDO_REGS): Macros deleted.
45 (PPC_SPE_GP_REGS, PPC_SPE_UPPER_GP_REGS, PPC_EV_PSEUDO_REGS): New
46 macros.
47 (registers_e500): Rearrange register set so that the raw register
48 set contains 32-bit GPRs and upper-half registers, and the SPE
49 vector registers become pseudo-registers.
50 (rs6000_gdbarch_init): Don't initialize tdep->ppc_gprs_pseudo_p;
51 it has been deleted. Initialize ppc_ev0_upper_regnum. Many other
52 register numbers are now the same for the E500 as they are for
53 other PowerPC variants. Register e500_register_reggroup_p as the
54 register group function for the E500.
55 * Makefile.in (rs6000-tdep.o): Update dependencies.
56
57 Adapt PPC E500 native support to the new raw regcache layout.
58 * ppc-linux-nat.c (struct gdb_evrregset_t): Doc fixes.
59 (read_spliced_spe_reg, write_spliced_spe_reg): Deleted.
60 (fetch_spe_register, store_spe_register): Handle fetching/storing
61 all the SPE registers at once, if regno == -1. These now take
62 over the job of fetch_spe_registers and store_spe_registers.
63 (fetch_spe_registers, store_spe_registers): Deleted.
64 (fetch_ppc_registers, store_ppc_registers): Fetch/store gprs
65 unconditionally; they're always raw. Fetch/store SPE upper half
66 registers, if present, instead of ev registers.
67 (fetch_register, store_register): Remove sanity checks: gprs are
68 never pseudo-registers now, so we never need to even mention any
69 registers that are ever pseudoregisters.
70
9f643768
JB
71 Use a fixed register numbering when communicating with the PowerPC
72 simulator.
73 * ppc-tdep.h (struct gdbarch_tdep): New member: 'sim_regno'.
74 * rs6000-tdep.c: #include "sim-regno.h" and "gdb/sim-ppc.h".
75 (set_sim_regno, init_sim_regno_table, rs6000_register_sim_regno):
76 New functions.
77 (rs6000_gdbarch_init): Register rs6000_register_sim_regno. Call
78 init_sim_regno_table.
79 * Makefile.in (gdb_sim_ppc_h): New variable.
80 (rs6000-tdep.o): Update dependencies.
81
1e2279c8
AC
822004-08-02 Andrew Cagney <cagney@gnu.org>
83
1d94326f
AC
84 * cris-tdep.c (cris_register_size): Restore function, still used
85 locally.
86
331ae7ed
AC
87 * gdbarch.sh (deprecated_target_read_fp)
88 (deprecated_frame_locals_address, deprecated_frame_args_address)
89 (deprecated_frame_chain_valid, deprecated_frame_chain)
90 (deprecated_init_extra_frame_info, deprecated_pop_frame)
91 (deprecated_frame_init_saved_regs, deprecated_get_saved_register)
92 (deprecated_do_registers_info, deprecated_init_frame_pc): Delete.
93 * gdbarch.h, gdbarch.c: Re-generate.
94 * regcache.c (deprecated_read_fp): Do not call
95 DEPRECATED_TARGET_READ_FP_P.
96 * infcmd.c (default_print_registers_info): Do not call
97 DEPRECATED_DO_REGISTERS_INFO.
98 * frame-base.c (default_frame_locals_address): Do not call
99 DEPRECATED_FRAME_LOCALS_ADDRESS.
100 (default_frame_args_address): Do not call
101 DEPRECATED_FRAME_ARGS_ADDRESS.
102
1e2279c8
AC
103 * gdbarch.sh (deprecated_register_raw_size)
104 (deprecated_register_virtual_size:int): Delete.
105 * gdbarch.h, gdbarch.c: Re-generate.
106 * cris-tdep.c (cris_register_size): Delete.
107 (cris_gdbarch_init): Update.
108 * alpha-tdep.c (alpha_register_raw_size)
109 (alpha_register_virtual_size): Delete.
110 (alpha_gdbarch_init): Update.
111
a90c06b4
AC
112 * gdbarch.sh (deprecated_register_virtual_type)
113 (deprecated_save_dummy_frame_tos, deprecated_push_return_address)
114 (deprecated_dummy_write_sp): Delete.
115 * gdbarch.h, gdbarch.c: Re-generate.
116
f42accbe
AC
117 * gdbarch.sh (deprecated_register_bytes): Delete.
118 * gdbarch.h, gdbarch.c: Re-generate.
119 * regcache.c (deprecated_register_bytes): New function.
120 * regcache.h (deprecated_register_bytes): Declare.
121 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
122 * v850-tdep.c (v850_gdbarch_init): Update.
123 * sh64-tdep.c (sh64_gdbarch_init): Update.
124 * ns32k-tdep.c (ns32k_gdbarch_init_32082): Update.
125 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
126 * mcore-tdep.c (mcore_gdbarch_init): Update.
127 * cris-tdep.c (cris_gdbarch_init): Update.
128 * arm-tdep.c (arm_gdbarch_init): Update.
129 * remote.c (init_remote_state): Update.
130 * remote-vx.c (vx_prepare_to_store): Update.
131 * remote-sds.c (sds_fetch_registers, sds_prepare_to_store): Update.
132 * irix5-nat.c (fetch_core_registers): Update.
133 * cris-tdep.c (cris_register_bytes_ok): Update.
134 * config/nm-gnu.h (CHILD_PREPARE_TO_STORE): Update.
135
45c9dd44
AC
136 * mips-tdep.c (mips_gdbarch_init, mips_insn16_frame_cache)
137 (mips_insn16_frame_this_id, mips_insn16_frame_prev_register)
138 (mips_insn16_frame_unwind, mips_insn16_frame_sniffer)
139 (mips_insn16_frame_base_address, mips_insn16_frame_base)
140 (mips_insn16_frame_base_sniffer, mips_insn32_frame_cache)
141 (mips_insn32_frame_this_id, mips_insn32_frame_prev_register)
142 (mips_insn32_frame_unwind, mips_insn32_frame_sniffer)
143 (mips_insn32_frame_base_address, mips_insn32_frame_base)
144 (mips_insn32_frame_base_sniffer): Replace mips16 / mips32 prefix
145 with mips_insn16 and mips_insn32.
146
3acba339
AC
147 Replace DEPRECATED_REGISTER_RAW_SIZE with register_size.
148 * rs6000-tdep.c (rs6000_push_dummy_call)
149 (rs6000_extract_return_value): Use register_size.
150 * xstormy16-tdep.c (xstormy16_get_saved_register)
151 (xstormy16_extract_return_value): Ditto.
152 * valops.c (value_assign): Ditto.
153 * v850ice.c (v850ice_fetch_registers, v850ice_store_registers):
154 * v850-tdep.c (v850_extract_return_value): Ditto.
155 * tracepoint.c (collect_symbol): Ditto.
156 * target.c (debug_print_register): Ditto.
157 * stack.c (frame_info): Ditto.
158 * rs6000-nat.c (ARCH64, fetch_register, store_register): Ditto.
159 * rom68k-rom.c (rom68k_supply_one_register): Ditto.
160 * remote.c (struct packet_reg, remote_wait, remote_async_wait)
161 (store_register_using_P): Ditto.
162 * remote-vxmips.c (vx_read_register, vx_write_register): Ditto.
163 * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register): Ditto.
164 * remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
165 * remote-e7000.c (fetch_regs_from_dump, sub2_from_pc): Ditto.
166 * regcache.c (deprecated_read_register_bytes)
167 (deprecated_write_register_bytes, read_register)
168 (write_register): Ditto.
169 * ppc-linux-nat.c (fetch_altivec_register, fetch_register)
170 (supply_vrregset, store_altivec_register, fill_vrregset): Ditto.
171 * monitor.c (monitor_supply_register, monitor_fetch_register)
172 (monitor_store_register): Ditto.
173 * mn10300-tdep.c (mn10300_pop_frame_regular)
174 (mn10300_print_register): Ditto.
175 * mipsv4-nat.c (fill_fpregset): Ditto.
176 * mips-linux-tdep.c (supply_32bit_reg, fill_fpregset)
177 (mips64_fill_fpregset): Ditto.
178 * mi/mi-main.c (register_changed_p, get_register)
179 (mi_cmd_data_write_register_values): Ditto.
180 * lynx-nat.c (fetch_inferior_registers, store_inferior_registers):
181 * irix5-nat.c (fill_gregset, fetch_core_registers):
182 * infrun.c (write_inferior_status_register): Ditto.
183 * infptrace.c (fetch_register, store_register): Ditto.
184 * infcmd.c (default_print_registers_info): Ditto.
185 * ia64-linux-nat.c (COPY_REG, fill_fpregset): Ditto.
186 * ia64-aix-nat.c (COPY_REG, fill_gregset): Ditto.
187 * i386gnu-nat.c (gnu_store_registers, fill): Ditto.
188 * hpux-thread.c (hpux_thread_fetch_registers)
189 (hpux_thread_store_registers): Ditto.
190 * hppah-nat.c (store_inferior_registers, fetch_register):
191 * findvar.c (value_from_register): Ditto.
192 * dve3900-rom.c (fetch_bitmapped_register):
193 * cris-tdep.c (cris_gdbarch_init): Ditto.
194 * alpha-tdep.h: Ditto.
195 * aix-thread.c (pd_enable, fill_sprs64, fill_sprs32): Ditto.
196
01e1877c
AC
197 * regcache.h: Delete DEPRECATED_REGISTER_VIRTUAL_SIZE and
198 DEPRECATED_REGISTER_RAW_SIZE from comments.
199 * regcache.c (init_regcache_descr, regcache_dump): Do not check or
200 use DEPRECATED_REGISTER_VIRTUAL_SIZE and
201 DEPRECATED_REGISTER_RAW_SIZE.
202 * findvar.c (value_of_register): Simplify by assuming that the
203 registers raw and virtual sizes are identical.
204 * regcache.h: Delete DEPRECATED_REGISTER_VIRTUAL_TYPE in
205 comment.
206 * arch-utils.c (generic_register_size): Simplify by assuming
207 register_type.
208
73f458fb
AC
209 * regcache.c (legacy_read_register_gen, real_register)
210 (legacy_write_register_gen): Delete, not used.
211
336a3131
AC
212 * regcache.c (struct regcache_descr): Delete legacy_p.
213 (init_legacy_regcache_descr): Delete function.
214 (init_regcache_descr): Delete call to init_legacy_regcache_descr.
215 Do not use deprecated register functions.
216 (regcache_raw_read, deprecated_write_register_gen):
217 (deprecated_read_register_gen, regcache_raw_write): Delete code
218 predicated on legacy_p.
219 (register_size): Delete check against register raw size.
220
c1d546cd
AC
221 * cris-tdep.c (cris_register_type): Replace
222 cris_register_virtual_type.
223 (cris_gdbarch_init): Update, set register_type.
224
48c2c0a6
AC
225 * gdbarch.sh (deprecated_frameless_function_invocation): Delete.
226 * gdbarch.h, gdbarch.c: Re-generate.
227 * arm-tdep.c (arm_frameless_function_invocation): Delete.
228 (arm_gdbarch_init) Do not set frameless function invocation.
229 * frame.h (legacy_frameless_look_for_prologue): Delete declaration.
230 * blockframe.c (legacy_frameless_look_for_prologue): Delete function.
231 * frv-tdep.c (frv_frameless_function_invocation): Delete.
232 (frv_gdbarch_init): Do not set frameless function invocation.
233 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
234 * sh-tdep.c (sh_gdbarch_init): Ditto.
235 * m32r-tdep.c (m32r_gdbarch_init): Ditto.
236 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
237 * avr-tdep.c (avr_gdbarch_init): Ditto.
238
474093a6
AC
239 * blockframe.c (legacy_frame_chain_valid): Delete function.
240
3c109c8b
AC
241 * dummy-frame.c (struct dummy_frame): Delete call_lo, call_hi, top
242 and pc. Update comments.
243 (pc_in_dummy_frame): Delete function.
244 (deprecated_pc_in_call_dummy): Inline old pc_in_dummy_frame code,
245 use the "id".
246 (dummy_frame_push, dummy_frame_sniffer): Instead of call_lo,
247 call_hi, top and pc, use the id.
248 (fprint_dummy_frames): Do not print call_lo, call_hi, top and pc.
249
96860204
AC
250 * dummy-frame.c: Include "gdb_string.h".
251 (generic_save_call_dummy_addr, generic_push_dummy_frame)
252 (generic_save_dummy_frame_tos): Delete.
253 (dummy_frame_push): New function, replaces above.
254 * dummy-frame.h: Update copyright.
255 (dummy_frame_push): Declare.
256 * frame.h (generic_save_dummy_frame_tos, generic_push_dummy_frame)
257 (generic_save_call_dummy_addr): Delete declarations.
258 * infcall.c: Include "dummy-frame.h".
259 (call_function_by_hand): Add locals caller_regcache,
260 caller_regcache_cleanup and dummy_id. Replace push_dummy_frame
261 with call to frame_save_as_regcache plus cleanup. Delete calls to
262 generic_save_call_dummy_addr and generic_save_dummy_frame_tos.
263 Move clear_proceed_status to just before the resume, add call to
264 dummy_frame_push (discard cleanup).
265 * Makefile.in (infcall.o): Add $(dummy_frame_h).
266 (dummy-frame.o): Add $(gdb_string_h).
267
d67ec5db
AC
2682004-08-01 Andrew Cagney <cagney@gnu.org>
269
270 * dummy-frame.h (dummy_frame_unwind): Replace dummy_frame_sniffer.
271 * frame-unwind.c (frame_unwind_init): Use dummy_frame_unwind.
272 * dummy-frame.c (find_dummy_frame): Delete.
273 (struct dummy_frame_cache, dummy_frame_sniffer)
274 (dummy_frame_prev_register, dummy_frame_this_id)
275 (dummy_frame_unwinder, dummy_frame_unwind): Re-implement dummy
276 frame unwinder using a dummy_frame_cache.
277
a81dcb05
AC
2782004-08-01 Andrew Cagney <cagney@gnu.org>
279
280 * frame.h (frame_save_as_regcache): Declare.
281 * frame.c (frame_save_as_regcache): New function.
282 (do_frame_read_register): Replace do_frame_unwind_register.
283 (frame_pop): Use frame_save_as_regcache.
284 * dummy-frame.c (generic_push_dummy_frame): Use
285 frame_save_as_regcache.
286
aa495d11
JB
2872004-08-01 Joel Brobecker <brobecker@gnat.com>
288
289 * dwarf2read.c (dwarf_decode_lines): Do not consider the current
290 file as included until we record the first line in the linetable.
291
ff65ac78
AC
2922004-08-01 Andrew Cagney <cagney@gnu.org>
293
294 * frame.h (deprecated_pop_dummy_frame)
295 (deprecated_read_register_dummy)
296 (deprecated_generic_find_dummy_frame): Delete.
297 * dummy-frame.c (deprecated_generic_find_dummy_frame)
298 (deprecated_read_register_dummy)
299 (deprecated_find_dummy_frame_regcache)
300 (discard_innermost_dummy)
301 (deprecated_pop_dummy_frame): Delete.
302 (dummy_frame_this_id): Simplify.
303 (struct dummy_frame): Delete "fp" and "sp".
304 (find_dummy_frame): Simplify.
305 (generic_push_dummy_frame): Do not set "fp" or "sp".
306 (fprint_dummy_frames): Do not print "fp" and "sp"
307
37bdc87e
MK
3082004-08-01 Mark Kettenis <kettenis@gnu.org>
309
310 * i386-tdep.c (I386_MAX_INSN_LEN): New define.
311 (struct i386_insn): New structure.
312 (i386_match_insn): New function.
313 (i386_frame_setup_skip_insns): New variable.
314 (i386_analyze_frame_setup): Change to use i386_match_insn and the
315 array i386_frame_setup_insns of instructions that should be
316 skipped inside the frame setup sequence.
317
8241eaa6
AC
3182004-08-01 Andrew Cagney <cagney@gnu.org>
319
5bc602c7
AC
320 * frame.h (deprecated_frame_xmalloc_with_cleanup)
321 (frame_saved_regs_zalloc, frame_extra_info_zalloc)
322 (get_frame_extra_info, deprecated_get_frame_saved_regs): Delete.
323 * stack.c (frame_info): Delete references to
324 DEPRECATED_FRAME_INIT_SAVED_REGS and
325 deprecated_get_frame_saved_regs.
326 * frame.c (struct frame_info): Delete saved_regs and extra_info.
327 (frame_pc_unwind): Do not use DEPRECATED_FRAME_SAVED_PC.
328 (frame_register): Do not use DEPRECATED_GET_SAVED_REGISTER.
329 (frame_unwind_register_signed)
330 (frame_unwind_register_unsigned)
331 (frame_unwind_unsigned_register): Use register_size.
332 (create_new_frame): Do not use DEPRECATED_INIT_EXTRA_FRAME_INFO.
333 (deprecated_frame_xmalloc_with_cleanup)
334 (frame_saved_regs_zalloc, frame_extra_info_zalloc)
335 (get_frame_extra_info, deprecated_get_frame_saved_regs): Delete.
336
03d363a1
AC
337 * sh-tdep.c (sh_gdbarch_init): Disable call to sh64_gdbarch_init.
338 * config/sh/nbsd.mt (TDEPFILES): Remove sh64-tdep.o.
339 * config/sh/linux.mt (TDEPFILES): Remove sh64-tdep.o.
340 * config/sh/embed.mt (TDEPFILES): Remove sh64-tdep.o.
341
8241eaa6
AC
342 * infcall.c (call_function_by_hand): Do not use
343 DEPRECATED_PUSH_RETURN_ADDRESS, DEPRECATED_DUMMY_WRITE_SP,
344 DEPRECATED_SAVE_DUMMY_FRAME_TOS, DEPRECATED_TARGET_READ_FP,
345 DEPRECATED_FP_REGNUM, DEPRECATED_STORE_STRUCT_RETURN, and
346 DEPRECATED_STACK_ALIGN.
347
f00df8b7
AC
3482004-07-30 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
349
350 Committed by Andrew Cagney.
351 * arm-tdep.c: Remove references to add_setshow_cmd_full for apcs32 .
352
eec63939
AC
3532004-08-01 Andrew Cagney <cagney@gnu.org>
354
355 * mips-tdep.c (mips16_frame_cache)
356 (mips16_frame_this_id, mips16_frame_prev_register)
357 (mips16_frame_unwind, mips16_frame_sniffer)
358 (mips16_frame_base_address, mips16_frame_base)
359 (mips16_frame_base_sniffer, mips32_frame_cache)
360 (mips32_frame_this_id, mips32_frame_prev_register)
361 (mips32_frame_unwind, mips32_frame_sniffer)
362 (mips32_frame_base_address, mips32_frame_base)
363 (mips32_frame_base_sniffer): Clone the mdebug unwinder into
364 separate heuristic mips16 and mips32 unwinders.
365 (mips_stub_frame_cache, mips_stub_frame_this_id)
366 (mips_stub_frame_prev_register)
367 (mips_stub_frame_unwind, mips_stub_frame_sniffer)
368 (mips_stub_frame_base_address, mips_stub_frame_base)
369 (mips_stub_frame_base_sniffer): Add a simple stub unwinder.
370 (mips_mdebug_frame_base_sniffer, mips_mdebug_frame_sniffer): Only
371 match true mdebug frames.
372 (non_heuristic_proc_desc): Add forward declaration.
373
e66299b3
AC
3742004-08-01 Andrew Cagney <cagney@gnu.org>
375
83cbbf3e
AC
376 * config/mips/tm-irix6.h: Delete file.
377 * config/mips/tm-irix5.h: Delete file.
378 * config/mips/irix5.mt (TM_FILE): Set to tm-mips.h
379 * config/mips/irix6.mt (TM_FILE): Set to tm-mips.h
380
22d41b37
AC
381 * config/ia64/tm-linux.h (IA64_GNULINUX_TARGET): Delete.
382 * config/alpha/nm-osf2.h (PROCFS_SIGPEND_OFFSET): Delete.
383 * config/nm-gnu.h (NO_CORE_OPS): Delete.
384 * config/pa/nm-hppah.h (MAY_SWITCH_FROM_INFERIOR_PID): Delete.
385 * config/i386/nm-i386v4.h (LOSING_POLL): Delete.
386 * config/alpha/nm-osf2.h (LOSING_POLL): Delete.
387 * config/tm-nto.h (RAW_SIGNAL_LO, RAW_SIGNAL_HI): Delete.
388 * config/m68k/tm-vx68.h (VX_SIZE_FPREGS): Delete.
389 * config/nm-linux.h (USE_THREAD_STEP_NEEDED): Delete.
390 * config/pa/nm-hppah.h (USE_THREAD_STEP_NEEDED): Delete.
391 * config/tm-nto.h (TARGET_SIGNAL_RAW_TABLE) Delete.
392 (TARGET_SIGNAL_RAW_VALUES): Delete.
393 * config/pa/nm-hppah.h (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT):
394 Delete.
395 * config/frv/tm-frv.h (TARGET_HW_BREAK_LIMIT)
396 (TARGET_HW_WATCH_LIMIT): Delete.
397 * Makefile.in (minimon_h, HFILES_NO_SRCDIR): Remove minimon.h.
398 * minimon.h: Delete file.
399
e66299b3
AC
400 * trad-frame.c (trad_frame_get_this_base)
401 (trad_frame_set_this_base, trad_frame_set_reg_realreg): New
402 functions.
403 * trad-frame.h (trad_frame_set_this_base)
404 (trad_frame_get_this_base, trad_frame_set_reg_realreg): Declare.
405
1f67027d
AC
4062004-07-31 Andrew Cagney <cagney@gnu.org>
407
408 * trad-frame.c (trad_frame_get_prev_register): Rename
409 trad_frame_get_prev_register.
410 * vax-tdep.c (vax_frame_prev_register): Update.
411 * trad-frame.h: Update.
412 * trad-frame.c (trad_frame_get_register): Update.
413 * sparcobsd-tdep.c (sparc32obsd_frame_prev_register): Update.
414 * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_prev_register):
415 Update.
416 * sparc64obsd-tdep.c (sparc64obsd_frame_prev_register): Update.
417 * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_frame_prev_register):
418 Update.
419 * sparc64fbsd-tdep.c (sparc64fbsd_sigtramp_frame_prev_register):
420 Update.
421 * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_prev_register):
422 Update.
423 * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_prev_register):
424 Update.
425 * sparc-linux-tdep.c (sparc32_linux_sigtramp_frame_prev_register):
426 Update.
427 * s390-tdep.c (s390_frame_prev_register)
428 (s390_stub_frame_prev_register)
429 (s390_sigtramp_frame_prev_register): Update.
430 * rs6000-tdep.c (rs6000_frame_prev_register): Update.
431 * ppc-linux-tdep.c (ppc_linux_sigtramp_prev_register): Update.
432 * mips-tdep.c (mips_mdebug_frame_prev_register): Update.
433 * m88k-tdep.c (m88k_frame_prev_register)
434 * m68hc11-tdep.c (m68hc11_frame_prev_register)
435 * m32r-tdep.c (m32r_frame_prev_register): Update.
436 * hppa-tdep.c (hppa_frame_prev_register_helper)
437 * frv-tdep.c (frv_frame_prev_register): Update.
438 * d10v-tdep.c (d10v_frame_prev_register): Update.
439 * cris-tdep.c (cris_frame_prev_register): Update.
440 * avr-tdep.c (avr_frame_prev_register): Update.
441 * arm-tdep.c (arm_prologue_prev_register)
442 (arm_sigtramp_prev_register): Update.
443
c1bf6f65
AC
4442004-07-31 Andrew Cagney <cagney@gnu.org>
445
446 * frame.h (legacy_saved_regs_unwind)
447 (legacy_frame_chain_valid, legacy_frame_p)
448 (enum frame_type): Delete UNKNOWN_FRAME.
01fbbd97
AC
449 * dummy-frame.c (dummy_frame_this_id): Simplify.
450 * frame-unwind.c (frame_unwind_find_by_frame): Simplify.
c1bf6f65
AC
451 * frame.c (struct frame_info): Delete the field "type".
452 (legacy_saved_regs_prev_register, legacy_get_prev_frame)
453 (legacy_saved_regs_this_id, legacy_saved_regs_unwinder)
454 (legacy_saved_regs_unwind, legacy_frame_p)
455 (frame_type_from_pc): Delete.
456 (get_frame_id, frame_pop, frame_register_unwind, get_prev_frame_1)
457 (fprint_frame, create_new_frame, fprint_frame_type): Simplify.
458
dc856692
MK
4592004-07-31 Mark Kettenis <kettenis@gnu.org>
460
5a5effe1
MK
461 * sparc64obsd-tdep.c (sparc64obsd_pc_in_sigtramp): Fix
462 indentation.
463
d4fd50a6
MK
464 * mips-nat.c: Remove file.
465 * Makefile.in (ALLDEPFILES): Remove mips-nat.c
466 (mips-nat.o): Remove dependency.
467
2689df5a
MK
468 * infptrace.c: Update copyright year.
469 (fetch_register): Pass NULL in regcache_raw_supply call instead of
470 explicitly setting the buffer to all zeroes.
471
dc856692
MK
472 * sparc64obsd-tdep.c (sparc64obsd_sigreturn_offset): New variable.
473 (sparc64obsd_pc_in_sigtramp): Reorganize to avoid goto.
474
763910e0
AC
4752004-07-30 Andrew Cagney <cagney@gnu.org>
476
477 * GDB 6.2 released from gdb_6_2-branch.
478
0b66e38c
EZ
4792004-07-30 Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr>
480
481 * defs.h (OPF_TRY_CWD_FIRST, OPF_SEARCH_IN_PATH): New macros.
482
483 * exec.c (exec_file_attach):
484 * nto-tdep.c (nto_find_and_open_solib):
485 * pa64solib.c (pa64_solib_sizeof_symbol_table):
486 * solib.c (solib_open):
487 * somsolib.c (som_solib_sizeof_symbol_table):
488 * source.c (is_regular_file, openp, open_source_file):
489 * symfile.c (symfile_bfd_open):
490 * wince.c (upload_to_device): Differentiate between the search for
491 binary and source files.
492
be7d7357
AC
4932004-07-30 Andrew Cagney <cagney@gnu.org>
494
495 * complaints.c (_initialize_complaints): Pass NULL to
496 add_setshow_zinteger_cmd for help_doc.
497 * cli/cli-decode.c (add_setshow_cmd_full): Handle a NULL help_doc.
498
ddc9cd0f
AC
4992004-07-30 Andrew Cagney <cagney@gnu.org>
500
501 Fix PR i18n/761.
502 * Makefile.in (.SUFFIXES): Add po .gmo, and .pox.
503 (.PHONY): Add all-po install-po, uninstall-po, clean-po,
504 $(PACKAGE).pot and update-po.
505 (all-po, .po.gmo, .po.pox, install-po, $(PACKAGE).pot)
506 (po/$(PACKAGE).pot, clean-po, uninstall-po, install-po)
507 (update-po): New rules.
508 (localedir): Define using autoconf.
509 (diststuff): Add $(PACKAGE).pot and $(CATALOGS)
510 (GDB_CFLAGS): Define LOCALEDIR using $(localedir).
511 (XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): Define.
512 * configure.in: Generate CATALOGS and LINGUAS from contents of
513 src/gdb/po/ directory. Set @localedir@ in Makefile.in.
514 * configure: Re-generate.
515 * po/gdbtext: New file
516
e92f3704
JG
5172004-07-30 Jerome Guitton <guitton@gnat.com>
518
519 * MAINTAINERS: Reorder Write After Approval list in alphabetical
520 order.
521
b0f35d58
DL
5222004-07-30 David Lecomber <dsl@sources.redhat.com>
523
524 * dwarf2read.c (read_file_scope): Set producer if attribute
525 present.
526 (struct dwarf2_cu): Added new member producer.
527
ce7d4522
JG
5282004-07-30 Jerome Guitton <guitton@gnat.com>
529
530 * inflow.c (kill_command): release file handles in BFD.
531 * exec.c (exec_file_attach): Ditto.
532 * symfile.c (symbol_file_add_with_addrs_or_offsets): Ditto.
533
05ee07c7
AC
5342004-07-29 Andrew Cagney <cagney@gnu.org>
535
536 * PROBLEMS (mips-irix): Note that it is broken.
537
62eceb47
AC
5382004-07-29 Andrew Cagney <cagney@gnu.org>
539
e57b8d41
AC
540 * config/mips/xm-irix5.h (REGISTER_U_ADDR): Move from here ...
541 * config/mips/nm-irix5.h (REGISTER_U_ADDR): ... to here.
542
d334389b
AC
543 * config/xm-nbsd.h: Delete file.
544 * config/arm/xm-nbsd.h: Delete file.
545 * config/i386/xm-nbsd.h: Delete file.
546 * config/ns32k/xm-nbsd.h: Delete file.
547 * config/ns32k/nbsdaout.mh (XM_FILE): Delete.
548 * config/i386/nbsdelf.mh (XM_FILE): Delete.
549 * config/i386/nbsdaout.mh (XM_FILE): Delete.
550 * config/arm/nbsdelf.mh (XM_FILE): Delete.
551 * config/arm/nbsdaout.mh (XM_FILE): Delete.
552
e910f676
AC
553 * config/i386/xm-i386v.h (KERNEL_U_ADDR): Move from here ...
554 * config/i386/nm-i386v42mp.h (KERNEL_U_ADDR): ... to here, ...
555 * config/i386/nm-i386v4.h (KERNEL_U_ADDR): ... here, ...
556 * config/i386/nm-i386v.h (KERNEL_U_ADDR): ... and here.
557 * config/vax/xm-vax.h (KERNEL_U_ADDR): Move from here ...
558 * config/vax/nm-vax.h (KERNEL_U_ADDR): ... to here.
559
6fa856b9
AC
560 * config/powerpc/xm-linux.h: Delete empty file.
561 * config/powerpc/ppc64-linux.mh (XM_FILE): Delete.
562 * config/powerpc/linux.mh (XM_FILE): Delete.
563 * config/m68k/xm-linux.h: Delete empty file.
564 * config/m68k/linux.mh (XM_FILE): Delete.
565 * config/ia64/xm-linux.h: Delete empty file.
566 * config/ia64/linux.mh (XM_FILE): Delete.
567 * config/arm/xm-linux.h: Delete empty file.
568 * config/arm/linux.mh (XM_FILE): Delete.
569
471ae5ae
AC
570 * config/powerpc/xm-linux.h (KERNEL_U_ADDR): Move from here ...
571 * config/powerpc/nm-linux.h (KERNEL_U_ADDR): ... to here.
572 * config/m68k/xm-linux.h (KERNEL_U_ADDR): Move from here ...
573 * config/m68k/nm-linux.h (KERNEL_U_ADDR): ... to here.
574 * config/ia64/xm-linux.h (KERNEL_U_ADDR): Move from here ...
575 * config/ia64/nm-linux.h (KERNEL_U_ADDR): ... to here.
576 * config/arm/xm-linux.h (KERNEL_U_ADDR): Move from here ...
577 * config/arm/nm-linux.h (KERNEL_U_ADDR): ... to here.
578
62eceb47
AC
579 * config/m68k/xm-m68k.h: Delete file.
580 * config/m68k/xm-linux.h: Do not include "m68k/xm-m68k.h". Update
581 copyright.
582 (HOST_LONG_DOUBLE_FORMAT): Delete macro.
583 * config/pa/xm-linux.h: Delete empty file.
584 * config/pa/linux.mh (XM_FILE): Delete.
585 * config/i386/xm-i386.h: Delete empty file.
586 * config/i386/xm-nbsd.h, config/i386/xm-go32.h: Do not include
587 "i386/xm-i386.h".
588 * config/i386/obsdaout.mh (XM_FILE): Delete.
589 * config/i386/obsd64.mh (XM_FILE): Delete.
590 * config/i386/fbsd64.mh (XM_FILE): Delete.
591 * config/i386/nto.mh (XM_FILE): Delete.
592 * config/i386/obsd.mh (XM_FILE): Delete.
593 * config/i386/linux64.mh (XM_FILE): Delete.
594 * config/i386/linux.mh (XM_FILE): Delete.
595 * config/i386/i386sol2.mh (XM_FILE): Delete.
596 * config/i386/i386gnu.mh (XM_FILE): Delete.
597 * config/i386/fbsd.mh (XM_FILE): Delete.
598 * config/i386/nbsd64.mh (XM_FILE): Delete.
599
c35f4ffc
AC
6002004-07-29 Andrew Cagney <cagney@gnu.org>
601
602 * config/pa/xm-linux.h: Do not include "floatformat.h".
603 (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
604 (HOST_LONG_DOUBLE_FORMAT): Delete macros.
605 * config/i386/xm-i386.h: Do not include "floatformat.h".
606 (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
607 (HOST_LONG_DOUBLE_FORMAT): Delete macros.
608 * doublest.c (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
609 (HOST_LONG_DOUBLE_FORMAT): Delete macros. Use
610 GDB_HOST_FLOAT_FORMAT, GDB_HOST_DOUBLE_FORMAT and
611 GDB_HOST_LONG_DOUBLE_FORMAT instead.
612 * configure.in (GDB_HOST_FLOAT_FORMAT, GDB_HOST_DOUBLE_FORMAT)
613 (GDB_HOST_LONG_DOUBLE_FORMAT): Define.
614 * configure, config.in: Regenerate.
615 * configure.host (gdb_host_float_format, gdb_host_double_format)
616 (gdb_host_long_double_format): Set according to the host.
617
624a44a3
AC
6182004-07-29 Andrew Cagney <cagney@gnu.org>
619
620 * Makefile.in (CONFIG_CLEAN): Delete duplicate definition.
621
0dea2468
AC
6222004-07-28 Andrew Cagney <cagney@gnu.org>
623
624 * PROBLEMS: Mention threads/1650.
625 * NEWS: Mention the NPTL fix.
626
b3f42336
AC
6272004-07-28 Andrew Cagney <cagney@gnu.org>
628
629 * cli/cli-decode.c (add_setshow_cmd): Delete function.
630 (add_setshow_cmd_full): Make static.
631 * command.h (add_setshow_cmd, add_setshow_cmd_full): Delete.
632 (add_setshow_filename_cmd, add_setshow_string_cmd): Declare.
633 * cli/cli-decode.c (add_setshow_filename_cmd)
634 (add_setshow_string_cmd): New functions.
635 * nto-tdep.c (_initialize_nto_tdep): Update. Fix parameters.
636 * mips-tdep.c (_initialize_mips_tdep): Update.
637 * m32r-rom.c (_initialize_m32r_rom): Update. Update copyright.
638 * cli/cli-logging.c (_initialize_cli_logging): Update.
639 * complaints.c (_initialize_complaints): Update.
640 * remote.c (_initialize_remote): Update.
641
3b64bf98
AC
6422004-07-28 Andrew Cagney <cagney@gnu.org>
643
644 * cli/cli-decode.c (add_setshow_zinteger_cmd)
645 (add_setshow_cmd, add_setshow_auto_boolean_cmd)
646 (add_setshow_boolean_cmd, add_setshow_cmd_full): Add help_doc and
647 print parameters. Make string parameters constant.
648 * command.h: Update. Update copyright.
649 * remote.c (add_packet_config_cmd, _initialize_remote): Ditto.
650 * observer.c (_initialize_observer): Ditto.
651 * frame.c (_initialize_frame): Ditto.
652 * complaints.c (_initialize_complaints): Ditto.
653 * maint.c (_initialize_maint_cmds): Ditto.
654 * target.c (initialize_targets): Ditto.
655 * cli/cli-logging.c (_initialize_cli_logging): Ditto.
656 * infcall.c (_initialize_infcall): Ditto.
657 * arm-tdep.c (_initialize_arm_tdep): Ditto.
658 * m32r-rom.c (_initialize_m32r_rom): Ditto.
659 * remote-rdi.c (_initialize_remote_rdi): Ditto.
660 * d10v-tdep.c (_initialize_d10v_tdep): Ditto.
661 * mips-tdep.c (_initialize_mips_tdep): Ditto.
662
e9667a65
AC
6632004-07-28 Andrew Cagney <cagney@gnu.org>
664
54a5b07d
AC
665 * gdbtypes.c (lookup_primitive_typename): Delete function.
666 * gdbtypes.h (lookup_primitive_typename): Delete declaration.
667 * ada-lex.l: Use language_lookup_primitive_type_by_name.
668 * gdbtypes.c (lookup_typename): Ditto.
669 * f-exp.y (yylex): Ditto.
670 * c-exp.y (yylex): Ditto, eliminate assignment in "if".
671
e9667a65
AC
672 * scm-lang.c (c_builtin_types): Delete extern declaration.
673 (scm_language_defn): Replace
674 string_char_type and primitive_type_vector with
675 la_language_arch_info.
676 * jv-lang.c (java_language_defn): Replace
677 string_char_type and primitive_type_vector with
678 la_language_arch_info.
679 * config/i386/i386sco4.mh (NATDEPFILES): Remove reference to
680 c_builtin_types in comment.
681 * c-lang.h (struct language_arch_info): Declare opaque.
682 (c_language_arch_info): Declare.
683 (c_builtin_types): Delete declaration.
684 * c-lang.c (c_language_arch_info): Set string_char_type to
685 builtin_char, not builtin_true_char. Make global.
686 (c_builtin_types): Delete array.
687 (asm_language_defn, minimal_language_defn): Replace
688 string_char_type and primitive_type_vector with
689 la_language_arch_info.
690
685419e2
AC
6912004-07-28 Andrew Cagney <cagney@gnu.org>
692
693 * gdbtypes.h (struct builtin_type): Rename true_char to
694 builtin_true_char.
695 * gdbtypes.c (gdbtypes_post_init): Update.
696 * c-lang.c (arch_info): New function.
697 (enum c_primitive_types): New enum.
698 (c_language_defn): Instead of string_char_type and
699 primitive_type_vector set la_language_arch_info.
700
5a44ea29
AC
7012004-07-28 Andrew Cagney <cagney@gnu.org>
702
703 * language.h (struct language_arch_info): Fix typo
704 s/primative/primitive/.
705 * gdbtypes.c (lookup_primitive_typename): Ditto.
706 * language.c (language_lookup_primitive_type_by_name)
707 (unknown_language_arch_info): Ditto.
708
f290d38e
AC
7092004-07-27 Andrew Cagney <cagney@gnu.org>
710
711 * defs.h (enum language): Add nr_languages.
712 * language.h (struct language_arch_info): Define.
713 (struct language_defn): Add la_language_arch_info.
714 (language_lookup_primative_type_by_name): Declare.
715 (language_string_char_type): Declare.
716 * language.c (_initialize_language, language_gdbarch_post_init)
717 (struct language_gdbarch, language_gdbarch_data): Implement
718 per-architecture language information.
719 (unknown_language_arch_info, language_string_char_type)
720 (language_lookup_primative_type_by_name): New functions.
721 (unknown_language_defn, auto_language_defn)
722 (local_language_defn): Set la_language_arch_info to
723 unknown_language_arch_info.
724 (unknown_builtin_types): Delete.
725 * gdbtypes.c (lookup_primitive_typename): Use
726 language_lookup_primative_type_by_name.
727 (create_string_type): Use language_string_char_type.
728 * values.c (value_from_string): Use language_string_char_type.
729 * scm-lang.c (scm_language_defn): Add NULL la_language_arch_info.
730 * p-lang.c (pascal_language_defn): Ditto.
731 * m2-lang.c (m2_language_defn): Ditto.
732 * jv-lang.c (java_language_defn): Ditto.
733 * objc-lang.c (objc_language_defn): Ditto.
734 * f-lang.c (f_language_defn): Ditto.
735 * c-lang.c (c_language_defn, cplus_language_defn)
736 (asm_language_defn, minimal_language_defn): Ditto.
737
000177f0
AC
7382004-07-27 Andrew Cagney <cagney@gnu.org>
739
740 * gdbtypes.h (struct builtin_type): Declare.
741 (builtin_type): Declare.
742 * d10v-tdep.c (d10v_register_type): Use builtin_type.
743 * gdbtypes.c (_initialize_gdbtypes): Register gdbtypes_post_init.
744 (gdbtypes_post_init): New function.
745 (builtin_type): New function.
746
e22f895c
KI
7472004-07-27 Kei Sakamoto <sakamoto.kei@renesas.com>
748
749 * remote-m32r-sdi.c: Fix breakpoint bug.
750 (send_cmd, send_one_arg_cmd, send_two_arg_cmd, send_three_arg_cmd,
751 recv_char_data, recv_long_data): New functions to replace communication
752 sequences.
753
536517dd
MC
7542004-07-26 Michael Chastain <mec.gnu@mindspring.com>
755
756 Document PR threads/1650.
757 * PROBLEMS (Threads): Document problem with many threads
758
a0a44d18
AC
7592004-07-26 Andrew Cagney <cagney@gnu.org>
760
761 * gdb-mi.el: Move from here ...
762 * mi/gdb-mi.el: ... to here.
763
7ac4ac06
AC
7642004-07-26 Andrew Cagney <cagney@gnu.org>
765
766 Problem reported by Ashley Pittman <ashley@quadrics.com>.
767 * main.c (captured_main): When in batch mode always detach.
768
a1b461bf
AC
7692004-07-26 Andrew Cagney <cagney@gnu.org>
770
771 * MAINTAINERS: Mark the xstormy16, sh64, ns32k, mn10300, mcore,
772 and h8300 as broken.
773 * NEWS: END-OF-LIFE frame compatibility module.
774 * PROBLEMS: For "Stack backtraces", remove powerpc, hppa and mips
775 specific comments.
776
cb1a6d5f
AC
7772004-07-26 Andrew Cagney <cagney@gnu.org>
778
779 * cli/cli-decode.c (deprecated_add_show_from_set): Deprecate.
780 * xcoffsolib.c (_initialize_xcoffsolib): Update.
781 * wince.c (_initialize_wince): Update.
782 * win32-nat.c (_initialize_win32_nat): Update.
783 * varobj.c (_initialize_varobj): Update.
784 * valops.c (_initialize_valops): Update.
785 * utils.c (initialize_utils, initialize_utils): Update.
786 * tui/tui-win.c (_initialize_tui_win): Update.
787 * top.c (init_main): Update.
788 * symfile.c (_initialize_symfile): Update.
789 * source.c (_initialize_source): Update.
790 * somsolib.c (_initialize_som_solib): Update.
791 * solib.c (_initialize_solib): Update.
792 * solib-frv.c (_initialize_frv_solib): Update.
793 * serial.c (_initialize_serial): Update.
794 * ser-go32.c (_initialize_ser_dos, _initialize_ser_dos): Update.
795 * remote.c (_initialize_remote, _initialize_remote): Update.
796 * remote-vx.c (_initialize_vx): Update.
797 * remote-utils.c (_initialize_sr_support): Update.
798 * remote-sds.c (_initialize_remote_sds): Update.
799 * remote-mips.c (_initialize_remote_mips): Update.
800 * remote-e7000.c (_initialize_remote_e7000): Update.
801 * proc-api.c (_initialize_proc_api): Update.
802 * printcmd.c: Update.
803 * parse.c (_initialize_parse): Update.
804 * pa64solib.c (_initialize_pa64_solib): Update.
805 * p-valprint.c (_initialize_pascal_valprint): Update.
806 * monitor.c (_initialize_remote_monitors): Update.
807 * mips-tdep.c (_initialize_mips_tdep): Update.
808 * mcore-tdep.c (_initialize_mcore_tdep): Update.
809 * maint.c (_initialize_maint_cmds): Update.
810 * lin-lwp.c (_initialize_lin_lwp): Update.
811 * language.c (_initialize_language): Update.
812 * kod.c (_initialize_kod): Update.
813 * infrun.c (set_schedlock_func, _initialize_infrun): Update.
814 * i386-tdep.c (_initialize_i386_tdep): Update.
815 * gdbtypes.c (build_gdbtypes, _initialize_gdbtypes): Update.
816 * gdbarch.sh: Update.
817 * gdbarch.c: Re-generate.
818 * gdb-events.sh: Update.
819 * gdb-events.c: Re-generate.
820 * frame.c (_initialize_frame): Update.
821 * exec.c: Update.
822 * demangle.c (_initialize_demangler): Update.
823 * dcache.c (_initialize_dcache): Update.
824 * cris-tdep.c (_initialize_cris_tdep, cris_version_update): Update.
825 * cp-valprint.c (_initialize_cp_valprint): Update.
826 * corefile.c (_initialize_core): Update.
827 * command.h: Update.
828 * cli/cli-decode.h: Update.
829 * cli/cli-cmds.c (init_cli_cmds): Update.
830 * charset.c (_initialize_charset): Update.
831 * breakpoint.c (_initialize_breakpoint): Update.
832 * arm-tdep.c (_initialize_arm_tdep_initialize_arm_tdep): Update.
833 * alpha-tdep.c (_initialize_alpha_tdep): Update.
834 * aix-thread.c (_initialize_aix_thread): Update.
835
b4632131
MK
8362004-07-24 Mark Kettenis <kettenis@gnu.org>
837
838 Partial fix for PR backtrace/1718.
839 * i386-tdep.c (i386_analyze_frame_setup): Handle more instructions
840 that GCC migrates into the prolugue. Don't handle any
841 instructions that clobber %ebx.
842
822c9732
AC
8432004-07-23 Andrew Cagney <cagney@gnu.org>
844
845 Use regcache_raw_collect instead of regcache_collect.
846 * regcache.h (regcache_collect): Delete declaration.
847 * regcache.c (regcache_colect): Delete function.
848 * win32-nat.c (do_child_store_inferior_registers): Update.
849 * sol-thread.c (sol_thread_store_registers): Update.
850 * shnbsd-tdep.c (shnbsd_fill_reg): Update.
851 * rs6000-nat.c (store_register): Update.
852 * remote.c (store_register_using_P, remote_store_registers): Update.
853 * ppcnbsd-tdep.c (ppcnbsd_fill_reg): Update.
854 * ppc-linux-nat.c (store_altivec_register, store_spe_register)
855 (fill_vrregset, store_spe_registers, fill_gregset)
856 (fill_gregset): Update.
857 * nto-procfs.c (procfs_store_registers): Update.
858 * mipsnbsd-tdep.c (mipsnbsd_fill_reg): Update.
859 * mips-linux-tdep.c (fill_gregset, mips64_fill_gregset): Update.
860 * m68klinux-nat.c (store_register, fill_gregset): Update.
861 * m68k-tdep.c (fill_gregset): Update.
862 * infptrace.c (store_register): Update.
863 * i386-nto-tdep.c (i386nto_regset_fill): Update.
864 * i386-linux-nat.c (store_register, fill_gregset): Update.
865 * hppa-linux-nat.c (fill_gregset): Update.
866 * go32-nat.c (store_register): Update.
867 * armnbsd-nat.c (store_register, store_regs, store_fp_register)
868 (store_fp_regs): Update.
869 * arm-linux-nat.c (store_nwfpe_single, store_nwfpe_double)
870 (store_nwfpe_extended, store_fpregister, store_fpregs)
871 (store_register, store_regs, fill_gregset, fill_fpregset): Update.
872 * alpha-tdep.c (alpha_fill_int_regs, alpha_fill_fp_regs): Update.
873 * aix-thread.c (fill_gprs64, fill_fprs, fill_sprs64, fill_sprs32)
874 (store_regs_user_thread, store_regs_kernel_thread): Update.
875
32b05c07
MK
8762004-07-24 Mark Kettenis <kettenis@gnu.org>
877
878 * dwarf2-frame.c (struct dwarf2_cie): Delete `addr_size' member.
879 (decode_frame_entry_1): Use DW_EH_PE_absptr as default for CIE
880 encoding.
881 (dwarf2_build_frame_info): Adjust for removal of `addr_size'
882 member of `struct comp_unit'.
883
8567c30f
AC
8842004-07-23 Andrew Cagney <cagney@gnu.org>
885
886 * infrun.c (handle_inferior_event): Separate the STEP_OVER_ALL and
887 DEPRECATED_IGNORE_HELPER_CALL cases, only #ifdef the latter.
888
f6da8dd8
MH
8892004-07-23 Martin Hunt <hunt@redhat.com>
890 Kevin Buettner <kevinb@redhat.com>
891
892 * dwarf2-frame.c (execute_cfa_program): Fix typo in which the
893 alignment was being added to the offset instead of multiplied.
894
bd921882
MK
8952004-07-23 Mark Kettenis <kettenis@gnu.org>
896
24f033e8
MK
897 * sparc64obsd-tdep.c (sparc64obsd_pc_in_sigtramp): Adjust for
898 changed signal trampoline in OpenBSD 3.5-current.
899
90f3cecd
MK
900 * sparc64nbsd-nat.c: Include "regcache.h", <sys/types.h>,
901 <machine/pcb.h> and "bsd-kvm.h".
902 (sparc64nbsd_supply_pcb): New function.
903 (_initialize_sparc64nbsd_nat): Renamed from
904 _initialize_sparcnbsd_nat. Enable libkvm interface.
905 * Makefile.in (sparc64nbsd-nat.o): Update dependencies.
906 * config/sparc/nbsd64.mh (NATDEPFILES): Add bsd-kvm.o
907 (LOADLIBES): New variable.
908
a4954a62
MK
909 * config/sparc/obsd64.mt (TDEPFILES): Add sparcobsd-tdep.o.
910
bd921882
MK
911 * sparcnbsd-nat.c (sparc32nbsd_supply_pcb): Fix typo in comment.
912
23a6d369
AC
9132004-07-21 Andrew Cagney <cagney@gnu.org>
914
915 Use regcache_raw_supply instead of supply_register.
916 * regcache.h (supply_register): Delete declaration.
917 * regcache.c (supply_register): Delete function.
918 * wince.c (do_child_fetch_inferior_registers): Update.
919 * win32-nat.c (do_child_fetch_inferior_registers)
920 (fetch_elf_core_registers): Update.
921 * v850ice.c (v850ice_fetch_registers): Update.
922 * thread-db.c (thread_db_store_registers): Update.
923 * sol-thread.c (sol_thread_store_registers): Update.
924 * shnbsd-tdep.c (shnbsd_supply_reg): Update.
925 * rs6000-nat.c (fetch_register): Update.
926 * rom68k-rom.c (rom68k_supply_one_register): Update.
927 * remote.c (remote_wait, remote_async_wait): Update.
928 * remote-st.c (get_hex_regs): Update.
929 * remote-sim.c (gdbsim_fetch_register): Update.
930 * remote-sds.c (sds_fetch_registers): Update.
931 * remote-rdp.c (remote_rdp_fetch_register): Update.
932 * remote-rdi.c (arm_rdi_fetch_registers): Update.
933 * remote-mips.c (mips_wait, mips_fetch_registers): Update.
934 * remote-m32r-sdi.c (m32r_fetch_register): Update.
935 * remote-hms.c (init_hms_cmds): Update.
936 * remote-est.c (init_est_cmds): Update.
937 * remote-e7000.c (get_hex_regs, fetch_regs_from_dump)
938 (e7000_fetch_registers, sub2_from_pc, e7000_wait): Update.
939 * ppcnbsd-tdep.c (ppcnbsd_supply_reg, ppcnbsd_supply_fpreg): Update.
940 * ppc-linux-nat.c (fetch_altivec_register, fetch_spe_register)
941 (fetch_register, supply_vrregset, supply_vrregset)
942 (fetch_spe_registers): Update.
943 * ppc-bdm.c (bdm_ppc_fetch_registers): Update.
944 * monitor.c (monitor_supply_register): Update.
945 * mipsv4-nat.c (supply_gregset, supply_fpregset): Update.
946 * mipsnbsd-tdep.c (mipsnbsd_supply_reg)
947 (mipsnbsd_supply_fpreg): Update.
948 * mips-nat.c (fetch_inferior_registers)
949 (fetch_core_registers): Update.
950 * mips-linux-tdep.c (supply_32bit_reg, supply_gregset)
951 (supply_fpregset, mips64_supply_gregset)
952 (mips64_supply_fpregset): Update.
953 * m68klinux-nat.c (fetch_register, supply_gregset)
954 (supply_fpregset): Update.
955 * m68k-tdep.c (supply_gregset, supply_fpregset): Update.
956 * m32r-rom.c (init_m32r_cmds, init_mon2000_cmds): Update.
957 * lynx-nat.c (fetch_inferior_registers, fetch_core_registers): Update.
958 * irix5-nat.c (supply_gregset, supply_fpregset): Update.
959 * infptrace.c (fetch_register): Update.
960 * ia64-linux-nat.c (supply_gregset, supply_fpregset): Update.
961 * ia64-aix-nat.c (supply_gregset, supply_fpregset): Update.
962 * i386gnu-nat.c (fetch_fpregs, supply_gregset)
963 (gnu_fetch_registers, gnu_store_registers): Update.
964 * i386-nto-tdep.c (i386nto_supply_gregset): Update.
965 * i386-linux-nat.c (fetch_register, supply_gregset)
966 (dummy_sse_values): Update.
967 * hpux-thread.c (hpux_thread_fetch_registers): Update.
968 * hppah-nat.c (fetch_register): Update.
969 * hppa-linux-nat.c (fetch_register, supply_gregset)
970 (supply_fpregset): Update.
971 * go32-nat.c (fetch_register): Update.
972 * dve3900-rom.c (fetch_bitmapped_register)
973 (_initialize_r3900_rom): Update.
974 * cris-tdep.c (supply_gregset): Update.
975 * abug-rom.c (init_abug_cmds): Update.
976 * core-aout.c (fetch_core_registers): Update.
977 * armnbsd-nat.c (supply_gregset, supply_fparegset)
978 (fetch_register, fetch_fp_register): Update.
979 * arm-linux-nat.c (fetch_nwfpe_single, fetch_nwfpe_none)
980 (fetch_nwfpe_extended, fetch_fpregister, fetch_fpregs)
981 (fetch_register, fetch_regs, supply_gregset, supply_fpregset): Update.
982 * alphanbsd-tdep.c (fetch_core_registers): Update.
983 * alpha-tdep.c (alpha_supply_int_regs, alpha_supply_fp_regs): Update.
984 * alpha-nat.c (fetch_osf_core_registers)
985 (fetch_osf_core_registers, fetch_osf_core_registers): Update.
986 * aix-thread.c (supply_gprs64, supply_reg32, supply_fprs)
987 (supply_sprs64, supply_sprs32, fetch_regs_kernel_thread): Update.
988
73cc75f3
AC
9892004-07-21 Andrew Cagney <cagney@gnu.org>
990
991 * PROBLEMS: Mention breakpoints/1702.
992 * NEWS: For signal trampolines, cite s390 GNU/Linux as a system
993 that is known to work.
994
a53c66de
AC
9952004-07-21 Andrew Cagney <cagney@gnu.org>
996
997 * config/mips/tm-mips.h (DEPRECATED_IGNORE_HELPER_CALL): Deprecate.
998 * mips-tdep.c (mips_dump_tdep, mips_ignore_helper): Update.
999 * infrun.c (DEPRECATED_IGNORE_HELPER_CALL): Delete macro.
1000 (handle_inferior_event): Wrap call to deprecated
1001 IGNORE_HELPER_CALL in #ifdef.
1002 * config/mips/tm-nbsd.h: Update.
1003
708ff411
JB
10042004-07-20 Jim Blandy <jimb@redhat.com>
1005
412b3060
JB
1006 * rs6000-tdep.c (rs6000_gdbarch_init): The register set used for
1007 bfd_mach_ppc has no segment registers.
1008
13ac140c
JB
1009 Include PowerPC SPR numbers for special-purpose registers.
1010 * rs6000-tdep.c (struct reg): Add new member, 'spr_num'.
1011 (R, R4, R8, R16, F, P, R32, R64, R0): Include value for
1012 new member in initializer.
1013 (S, S4, SN4, S64): New macros for defining special-purpose
1014 registers.
1015 (PPC_UISA_SPRS, PPC_UISA_NOFP_SPRS, PPC_OEA_SPRS, registers_power,
1016 registers_403, registers_403GC, registers_505, registers_860,
1017 registers_601, registers_602, registers_603, registers_604,
1018 registers_750, registers_e500): Use them.
1019
708ff411
JB
1020 * rs6000-tdep.c (rs6000_gdbarch_init): Delete variable 'power';
1021 replace references with expression used to initialize variable.
1022
1f602b35
AC
10232004-07-20 Andrew Cagney <cagney@gnu.org>
1024
1025 * breakpoint.c (deprecated_read_memory_nobpt): Rename
1026 read_memory_nobpt.
1027 * sparc-linux-tdep.c (sparc_linux_sigtramp_start): Update.
1028 * s390-tdep.c (s390_readinstruction, s390_in_function_epilogue_p)
1029 (s390_sigtramp_frame_sniffer): Update.
1030 * mn10300-tdep.c (mn10300_analyze_prologue): Update.
1031 * mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset): Update.
1032 * mips-tdep.c (mips_fetch_instruction, mips16_fetch_instruction)
1033 (mips32_fetch_instruction): Update.
1034 * mcore-tdep.c (get_insn): Update.
1035 * m68klinux-tdep.c (m68k_linux_pc_in_sigtramp): Update.
1036 * i386nbsd-tdep.c (i386nbsd_sigtramp_offset): Update.
1037 * i386ly-tdep.c (i386lynx_saved_pc_after_call): Update.
1038 * i386-linux-tdep.c (i386_linux_sigtramp_start)
1039 (i386_linux_rt_sigtramp_start): Update.
1040 * i386-linux-nat.c (child_resume): Update.
1041 * hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Update.
1042 * hppa-linux-tdep.c (insns_match_pattern): Update.
1043 * gdbcore.h: Update.
1044 * frv-tdep.c (frv_gdbarch_adjust_breakpoint_address): Update.
1045 * frame.c (safe_frame_unwind_memory): Update.
1046 * amd64-linux-tdep.c (amd64_linux_sigtramp_start): Update.
1047 * alphanbsd-tdep.c (alphanbsd_sigtramp_offset): Update.
1048 * alpha-tdep.c (alpha_read_insn): Update.
1049
2cd8546d
AC
10502004-07-20 Andrew Cagney <cagney@gnu.org>
1051
1052 * tramp-frame.h (struct tramp_frame): Change "insn" to a struct
1053 containing both bytes and mask. Add "frame_type".
1054 * tramp-frame.c (tramp_frame_start): Update.
1055 (tramp_frame_prepend_unwinder): Update.
1056 * mips-linux-tdep.c (mips_linux_o32_sigframe)
1057 (mips_linux_o32_rt_sigframe, mips_linux_n32_rt_sigframe)
1058 (mips_linux_n64_rt_sigframe): Update. Make "static const".
1059 * ppcnbsd-tdep.c (tramp_frame ppcnbsd_sigtramp): Update.
1060
f928dd62
EZ
10612004-07-19 Eli Zaretskii <eliz@gnu.org>
1062
1063 * config/djgpp/fnchange.lst: Add remapping for bfd/elf32-cr*.c,
1064 bfd/elf32-sh-symbian.c, bfd/elf32-sh64-com.c,
1065 sim/testsuite/sim/mips/hilo-hazard-[123].s, and
1066 sim/testsuite/sim/mips/fpu64-ps-sb1.s.
1067
d5c560f7
AC
10682004-07-17 Andrew Cagney <cagney@gnu.org>
1069
860660cb
AC
1070 * NEWS, PROBLEMS: Update for 6.2.
1071
8c266f54
AC
1072 * README: Update to 6.2.
1073
a552edd9
AC
1074 * utils.c (xvasprintf): Call xstrvprintf.
1075
c4a172b5
AC
1076 * parse.c: Update copyright.
1077 (null_post_parser): Eliminate ARGSUSED.
1078
da745b36
AC
1079 * ppc-linux-nat.c (store_spe_registers): Eliminate K&R C.
1080 * tui/tui-win.c (tui_get_cmd_list): Ditto.
1081 * symfile-mem.c (_initialize_symfile_mem): Ditto.
1082
9cbc6ef0
AC
1083 * ppc-linux-tdep.c (ppc_linux_init_abi): Add [sic] to Linux.
1084 * ppc-linux-nat.c: Use "Linux kernel".
1085 * hppa-linux-tdep.c: Use GNU/Linux.
1086 * hppa-linux-nat.c: Use GNU/Linux.
1087 * dwarfread.c: Add [sic] to use of Linux.
1088
1b89295f
AC
1089 * hppa-linux-nat.c: Do not include <string.h>.
1090 (supply_fpregset): Remove "register" attribute.
1091
d5c560f7
AC
1092 * solib-frv.c (fetch_loadmap): Use xfree, not free.
1093
7ddd7709
MK
10942004-07-17 Mark Kettenis <kettenis@gnu.org>
1095
b1d19a62
MK
1096 * configure.in: Define _MSE_INT_H on Solaris 9 too.
1097 * configure, config.in: Regenerated.
1098
7ddd7709
MK
1099 * vaxbsd-nat.c: Include <sys/types.h>, <machine/pcb.h> and
1100 "bsd-kvm.h".
1101 (vaxbsd_supply_pcb): New function.
1102 (_initialize_vaxbsd_nat): New prototype and function.
1103 * config/vax/nbsdaout.mh (NATDEPFILES): Add bsd-kvm.o, solib.o and
1104 solib-sunos.o.
1105 (LOADLIBES): New variable.
1106 * config/vax/nbsdelf.mh (NATDEPFILES): Add bsd-kvm.o.
1107 (LOADLIBES): New variable.
1108 * config/vax/obsd.mh (NATDEPFILES): Add bsd-kvm.o.
1109 (LOADLIBES): New variable.
1110 * Makefile.in (vaxbsd-nat.o): Update dependencies.
1111
2c07db7a
AC
11122004-07-16 Andrew Cagney <cagney@gnu.org>
1113
1114 * defs.h (event_loop_p): Replace variable declaration with macro,
1115 always 1.
1116 * main.c (captured_main): Delete options "-async" and "-noasync".
1117 (event_loop_p): Delete variable.
1118 * NEWS: Mention that "-async" and "-noasync" were removed.
1119
717eb1cf
AC
11202004-07-16 Andrew Cagney <cagney@gnu.org>
1121
1122 * remote-m32r-sdi.c: Re-indent.
1123
c101bc14
JB
11242004-07-16 Jim Blandy <jimb@redhat.com>
1125
5109a438
JB
1126 * ppc-tdep.h (ppc_spr_asr): Add missing OEA SPR.
1127 (ppc_spr_mi_dbcam, ppc_spr_mi_dbram0, ppc_spr_mi_dbram1)
1128 (ppc_spr_md_cam, ppc_spr_md_ram0, ppc_spr_md_ram1): Add
1129 missing MPC823 SPRs.
1130 (ppc_spr_m_twb): Renamed from ppc_spr_md_twb; the old name was
1131 incorrect. (This was corrected in GDB's register name tables on
1132 2004-07-14.)
1133
c101bc14
JB
1134 * rs6000-tdep.c (registers_602): Correct register name: "esassr"
1135 should be "esasrr" ("ESA Save and Restore Register").
1136
7ce450bd
AC
11372004-07-16 Andrew Cagney <cagney@gnu.org>
1138
1139 * infrun.c (insert_step_resume_breakpoint): Delete gdb_assert
1140 calls, no longer applicable. Update comments and rename parameter
1141 "step_frame" to "return_frame".
1142
ca73dd9d
AC
11432004-07-16 Andrew Cagney <cagney@gnu.org>
1144
1145 * frame.c (fprint_field): New function.
1146 (fprint_frame_id): Use fprint_field.
1147
31941f6d
JB
11482004-07-15 Joel Brobecker <brobecker@gnat.com>
1149
1150 * ada-lang.c (ada_language_defn): Remove commented out code.
1151
f86a7158
JB
11522004-07-15 Jim Blandy <jimb@redhat.com>
1153
1154 * ppc-tdep.h (struct gdbarch_tdep): New member: ppc_sr0_regnum.
1155 * rs6000-tdep.c (rs6000_gdbarch_init): Initialize it.
1156
c24791ec
JB
11572004-07-14 Jim Blandy <jimb@redhat.com>
1158
29bb1356
JB
1159 * rs6000-tdep.c (COMMON_UISA_NOFP_REGS): Delete; unused.
1160
cc98b5cc
JB
1161 * ppc-tdep.h (ppc_num_vrs): New enum constant.
1162
8f088af7
JB
1163 * ppc-tdep.h (ppc_num_srs): New enum constant.
1164
0ea0ec5f
JB
1165 * ppc-tdep.h (ppc_spr_mq, ppc_spr_xer, ppc_spr_rtcu, ppc_spr_rtcl)
1166 (ppc_spr_lr, ppc_spr_ctr, ppc_spr_cnt, ppc_spr_dsisr, ppc_spr_dar)
1167 (ppc_spr_dec, ppc_spr_sdr1, ppc_spr_srr0, ppc_spr_srr1)
1168 (ppc_spr_eie, ppc_spr_eid, ppc_spr_nri, ppc_spr_sp, ppc_spr_cmpa)
1169 (ppc_spr_cmpb, ppc_spr_cmpc, ppc_spr_cmpd, ppc_spr_icr)
1170 (ppc_spr_der, ppc_spr_counta, ppc_spr_countb, ppc_spr_cmpe)
1171 (ppc_spr_cmpf, ppc_spr_cmpg, ppc_spr_cmph, ppc_spr_lctrl1)
1172 (ppc_spr_lctrl2, ppc_spr_ictrl, ppc_spr_bar, ppc_spr_vrsave)
1173 (ppc_spr_sprg0, ppc_spr_sprg1, ppc_spr_sprg2, ppc_spr_sprg3)
1174 (ppc_spr_ear, ppc_spr_tbl, ppc_spr_tbu, ppc_spr_pvr)
1175 (ppc_spr_spefscr, ppc_spr_ibat0u, ppc_spr_ibat0l, ppc_spr_ibat1u)
1176 (ppc_spr_ibat1l, ppc_spr_ibat2u, ppc_spr_ibat2l, ppc_spr_ibat3u)
1177 (ppc_spr_ibat3l, ppc_spr_dbat0u, ppc_spr_dbat0l, ppc_spr_dbat1u)
1178 (ppc_spr_dbat1l, ppc_spr_dbat2u, ppc_spr_dbat2l, ppc_spr_dbat3u)
1179 (ppc_spr_dbat3l, ppc_spr_ic_cst, ppc_spr_ic_adr, ppc_spr_ic_dat)
1180 (ppc_spr_dc_cst, ppc_spr_dc_adr, ppc_spr_dc_dat, ppc_spr_dpdr)
1181 (ppc_spr_dpir, ppc_spr_immr, ppc_spr_mi_ctr, ppc_spr_mi_ap)
1182 (ppc_spr_mi_epn, ppc_spr_mi_twc, ppc_spr_mi_rpn, ppc_spr_mi_cam)
1183 (ppc_spr_mi_ram0, ppc_spr_mi_ram1, ppc_spr_md_ctr, ppc_spr_m_casid)
1184 (ppc_spr_md_ap, ppc_spr_md_epn, ppc_spr_md_twb, ppc_spr_md_twc)
1185 (ppc_spr_md_rpn, ppc_spr_m_tw, ppc_spr_md_dbcam, ppc_spr_md_dbram0)
1186 (ppc_spr_md_dbram1, ppc_spr_ummcr0, ppc_spr_upmc1, ppc_spr_upmc2)
1187 (ppc_spr_usia, ppc_spr_ummcr1, ppc_spr_upmc3, ppc_spr_upmc4)
1188 (ppc_spr_zpr, ppc_spr_pid, ppc_spr_mmcr0, ppc_spr_pmc1)
1189 (ppc_spr_sgr, ppc_spr_pmc2, ppc_spr_dcwr, ppc_spr_sia)
1190 (ppc_spr_mmcr1, ppc_spr_pmc3, ppc_spr_pmc4, ppc_spr_sda)
1191 (ppc_spr_tbhu, ppc_spr_tblu, ppc_spr_dmiss, ppc_spr_dcmp)
1192 (ppc_spr_hash1, ppc_spr_hash2, ppc_spr_icdbdr, ppc_spr_imiss)
1193 (ppc_spr_esr, ppc_spr_icmp, ppc_spr_dear, ppc_spr_rpa)
1194 (ppc_spr_evpr, ppc_spr_cdbcr, ppc_spr_tsr, ppc_spr_602_tcr)
1195 (ppc_spr_403_tcr, ppc_spr_ibr, ppc_spr_pit, ppc_spr_esasrr)
1196 (ppc_spr_tbhi, ppc_spr_tblo, ppc_spr_srr2, ppc_spr_sebr)
1197 (ppc_spr_srr3, ppc_spr_ser, ppc_spr_hid0, ppc_spr_dbsr)
1198 (ppc_spr_hid1, ppc_spr_iabr, ppc_spr_dbcr, ppc_spr_iac1)
1199 (ppc_spr_dabr, ppc_spr_iac2, ppc_spr_dac1, ppc_spr_dac2)
1200 (ppc_spr_l2cr, ppc_spr_dccr, ppc_spr_ictc, ppc_spr_iccr)
1201 (ppc_spr_thrm1, ppc_spr_pbl1, ppc_spr_thrm2, ppc_spr_pbu1)
1202 (ppc_spr_thrm3, ppc_spr_pbl2, ppc_spr_fpecr, ppc_spr_lt)
1203 (ppc_spr_pir, ppc_spr_pbu2): New enum constants for PowerPC
1204 special-purpose register numbers.
1205
c24791ec
JB
1206 * rs6000-tdep.c (registers_860): Correct register name. (No PPC
1207 manual mentions 'md_twb', but many mention 'm_twb', and at that
1208 point in the register list.)
1209
d833db3b
AC
12102004-07-14 Andrew Cagney <cagney@gnu.org>
1211
1212 * utils.c (internal_warning_problem): Fix typo, "internal-warning"
1213 instead of "internal-error".
1214
080228b2
JB
12152004-07-10 Joel Brobecker <brobecker@gnat.com>
1216
1217 * hppa-hpux-tdep.c: Fix a compilation failure due to a comment
1218 that was inserted inside a comment.
1219
c268433a
RC
12202004-07-10 Randolph Chung <tausq@debian.org>
1221
1222 * hppa-hpux-tdep.c (hppa_hpux_som_find_global_pointer): New
1223 function.
1224 (hppa_hpux_push_dummy_code): New function.
1225 (hppa_hpux_init_abi): Set push_dummy_code and call_dummy_location.
1226 Set find_global_pointer method.
1227
71009278
MK
12282004-07-10 Mark Kettenis <kettenis@gnu.org>
1229
1230 * NEWS: Mention BSD libkvm interface.
1231
b2fa5097
MS
12322004-07-10 Michael Snyder <msnyder@redhat.com>
1233
1234 * symfile.c (generic_load): Comment typo.
1235 * stack.c (get_selected_block): Ditto.
1236 * regcache.c (regcache_cooked_read): Ditto.
1237 * monitor.c (monitor_debug): Ditto.
1238 * mips-tdep.c (mips_read_pc): Ditto.
1239 * i386-linux-nat.c (ps_get_thread_area): Ditto.
1240 * gdb_mbuild.sh: Ditto.
1241 * gdbarch.sh: Ditto.
1242 * gdbarch.h: Ditto.
1243
c3e5cd34
PH
12442004-07-09 Paul N. Hilfinger <Hilfinger@gnat.com>
1245
8a2225b2
PH
1246 * ada-tasks.c: Remove file.
1247
c3e5cd34
PH
1248 Remove ARI problems:
1249
1250 * ada-exp.y (write_var_from_sym): Reformat to put operator at
1251 beginning of line.
1252
1253 * ada-lang.c (MAX_OF_SIZE): Rename max_of_size.
1254 Add comment.
1255 Add comment concerning MAX_OF_TYPE and MIN_OF_TYPE.
1256 (MIN_OF_SIZE): Rename min_of_size. Add comment.
1257 (UMAX_OF_SIZE): Renmae umax_of_size. Add comment.
1258 (UMIN_OF_SIZE): Remove.
1259 (max_of_type): New function to replace orphan macro in gdbtypes.h
1260 (min_of_type): Ditto.
1261 (discrete_type_high_bound): Use max_of_type.
1262 (discrete_type_low_bound): Use min_of_type.
1263 (possible_user_operator_p): Move operator to beginning of line.
1264 (ada_is_variant_part): Ditto.
1265 (ensure_lval): Rewrite to avoid deprecated operations.
1266 (ada_finish_decode_line_1): Use gdbarch_convert_from_func_ptr_addr
1267 rather than adding DEPRECATED_FUNCTION_START_OFFSET.
1268 (ada_enum_name): Remove assignments in 'if' statements.
1269 (build_ada_types): Add gdbarch parameter.
1270 (_initialize_ada_language): Replace deprecated_register_gdbarch_swap
1271 with gdbarch_data_register_post_init.
1272 Use add_setshow_uinteger_cmd rather than add_set_cmd and
1273 add_show_from_set.
1274
1275 * ada-valprint.c (inspect_it): Remove declaration.
1276 (repeat_count_threshold): Remove declaration.
1277 (ada_print_floating): Remove assignments in 'if' statements.
1278 (print_str): Move operator to beginning of line.
1279
61ce229a
JB
12802004-07-08 Jim Blandy <jimb@redhat.com>
1281
1282 * rs6000-tdep.c (registers_powerpc_nofp): Unused; deleted.
1283
09bcec80
BR
12842004-07-08 Bob Rossi <bob@brasko.net>
1285
1286 * symtab.c (lookup_symtab): check return value of symtab_to_fullname
1287
31c27f77
JJ
12882004-07-06 Jeff Johnston <jjohnstn@redhat.com>
1289
1290 * language.h (struct_language_defn): Add new function pointer:
1291 la_class_name_from_physname. Also add new prototype for
1292 language_class_name_from_physname.
1293 * language.c (language_class_name_from_physname): New function.
1294 (unk_lang_class_name): Ditto.
1295 (unknown_language_defn, auto_language_defn): Change
1296 to add unk_lang_class_name function pointer for
1297 la_class_name_from_physname.
1298 (local_language_defn): Ditto.
1299 * dwarf2read.c (guess_structure_name): Change to call
1300 language_class_name_from_physname.
1301 (determine_class_name): Ditto.
1302 * cp-support.c (class_name_from_physname): Renamed.
1303 (cp_class_name_from_physname): New name of function.
1304 * cp-support.h: Ditto.
1305 * c-lang.c (c_language_defn): Change to add NULL
1306 for class_name_from_physname function pointer.
1307 (cplus_language_defn): Change to add cp_class_name_from_physname.
1308 * jv-lang.c (java_class_name_physname): New function.
1309 (java_find_last_component): New static routine.
1310 (java_language_defn): Add java_class_name_from_physname pointer.
1311 * ada-lang.c (ada_language_defn): Change to add NULL
1312 for class_name_from_physname function pointer.
1313 * f-lang.c (f_language_defn): Ditto.
1314 * m2-lang.c (m2_language_defn): Ditto.
1315 * objc-lang.c (objc_language_defn): Ditto.
1316 * p-lang.c (pascal_language_defn): Ditto.
1317 * scm-lang.c (scm_language_defn): Ditto.
1318
ee28ca0f
AC
13192004-07-06 Andrew Cagney <cagney@gnu.org>
1320
1321 Patch from Bart Robinson.
1322 * corelow.c (core_open): Add variable "flags", or in O_LARGEFILE.
1323 (O_LARGEFILE): Define to 0, if not defined.
1324
fdb1bf9d
MK
13252004-07-03 Mark Kettenis <kettenis@gnu.org>
1326
cb162ff6
MK
1327 * m68kbsd-nat.c: Include "gdbcore.h", <sys/types.h>,
1328 <machine/pcb.h> and "bsd-kvm.h".
1329 (PCB_REGS_FP, PCB_REGS_SP): Define if not already defined.
1330 (m68kbsd_supply_pcb): New function.
1331 (_initialize_m68kbsd_nat): New prototype and function.
1332 * Makefile.in (m68kbsd-nat.o): Update dependencies.
1333 * config/m68k/nbsdelf.mh (NATDEPFILES): Add bsd-kvm.o.
1334 (LOADLIBES): New variable.
1335 * config/m68k/obsd.mh (NATDEPFILES): Add bsd-kvm.o.
1336 (LOADLIBES): New variable.
1337
fdb1bf9d
MK
1338 * bsd-kvm.c (bsd_kvm_cmdlist): Remove unecessary initialization.
1339
963c4174
MK
13402004-07-03 Mark Kettenis <kettenis@gnu.org>
1341
1342 * bsd-kvm.c: Include "cli/cli-cmds.h", "command.h", "value.h" and
1343 <sys/proc.h>.
1344 (bsd_kvm_cmdlist): New variable.
1345 (bsd_kvm_cmd, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): New functions.
1346 (bsd_kvm_add_target): Register "kvm" command prefix, "kvm pcb"
1347 command and "kvm proc" command.
1348 * Makefile.in (bsd-kvm.o): Update dependencies.
1349
533f1d8f
MK
13502004-07-02 Mark Kettenis <kettenis@gnu.org>
1351
1352 * osabi.c: Update copyright year.
1353 (generic_elf_osabi_sniffer): Tweak comment. Look for OS-specific
1354 notes if EI_OSABI is set to ELFOSABI_HPUX.
1355
6780dcde
MS
13562004-07-01 Michael Snyder <msnyder@redhat.com>
1357
1358 * win32-nat.c (core_dll_symbols_add): Re-indent a small section
1359 that seems to have gotten whacked out of line.
1360
67bebe79
MK
13612004-07-01 Mark Kettenis <kettenis@gnu.org>
1362
1363 * dbxread.c (process_one_symbol) [PCC_SOL_BROKEN]: Remove dead
1364 code.
1365
0b5d8877
PH
13662004-07-01 Paul N. Hilfinger <Hilfinger@gnat.com>
1367
1368 * ada-lang.c (decode_packed_array): Minor change to comment.
1369 (ada_value_slice_ptr): New function.
1370 (ada_value_slice): New function.
1371 (ada_evaluate_subexp): Remove XVS-suffix code from subscripting
1372 test. Don't know why it is there.
1373 Change slice code to use ada_value_slice_ptr and ada_value_slice, and
1374 to avoid dereferencing huge arrays from which one is slicing.
1375 (empty_array): Correct to return an array rather than
1376 a subrange value.
1377 * ada-valprint.c (print_optional_low_bound): Don't print lower bound
1378 on empty arrays (let'em use 'FIRST instead).
1379
19c1ef65
PH
13802004-07-01 Paul N. Hilfinger <Hilfinger@gnat.com>
1381
1382 Address complaints from gdb_ari.sh:
1383
1384 * ada-exp.y: Include gdb_string.h rather than string.h.
1385 (convert_char_literal): Reformat declaration.
1386 * ada-lang.h: Include opaque struct declaration for struct frame_info.
1387 * ada-lex.l: Change use of free to xfree (the macro would do so
1388 anyway, but this is harmless).
1389 Include gdb_string.h rather than string.h.
1390 * ada-valprint.c (ada_val_print_stub): Change PTR => void*.
1391
1392 * ada-lang.c (parse): Remove K&Rism in parameter list.
1393 (is_name_suffix): Correct Linux => GNU/Linux in comment.
1394
d81cbc94
MK
13952004-06-30 Mark Kettenis <kettenis@gnu.org>
1396
1397 * dbxread.c (process_one_symbol) [SUN_FIXED_LBRAC_BUG]: Remove
1398 dead code.
1399
07681759
MK
14002004-06-30 Mark Kettenis <kettenis@gnu.org>
1401
1402 * alphabsd-nat.c: Update copyright year.
1403 (getregs_supplies): Use ALPHA_PC_REGNUM instead of PC_REGNUM.
1404
f7948b5f
JB
14052004-06-29 Joel Brobecker <brobecker@gnat.com>
1406
6e0cdd28 1407 * i386-cygwin-tdep.c (i386_cygwin_skip_trampoline_code): New function.
f7948b5f
JB
1408 (i386_cygwin_in_solib_call_trampoline): New function.
1409 (i386_cygwin_init_abi): Initialize the in_solib_call_trampoline
1410 and skip_trampoline_code gdbarch methods.
1411
8f113c9a
JB
14122004-06-29 Jim Blandy <jimb@redhat.com>
1413
1414 * Makefile.in (gdb_callback_h): Renamed from callback_h to the
1415 name actually used in the dependency lists.
1416
97dc871c
RC
14172004-06-29 Randolph Chung <tausq@debian.org>
1418
1419 * NEWS (New native configurations): Mention GNU/Linux/hppa.
1420
47216e51
CV
14212004-06-29 Corinna Vinschen <vinschen@redhat.com>
1422
1423 * win32-nat.c (child_pid_to_exec_file): New function.
6780dcde 1424 (init_child_ops): Add child_pid_to_exec_file as to_pid_to_exec_file
47216e51
CV
1425 functionality.
1426
e623b504
AC
14272004-06-28 Andrew Cagney <cagney@gnu.org>
1428
1429 * defs.h (xstrvprintf): Declare.
1430 * utils.c (xstrvprintf): New function.
1431 (internal_vproblem, xstrprintf, xasprintf)
1432 (vfprintf_maybe_filtered, vfprintf_unfiltered): Use xstrvprintf.
1433 * serial.c (serial_printf): Ditto.
1434 * complaints.c (vcomplaint): Ditto.
1435
79acc9b3
CV
14362004-06-29 Corinna Vinschen <vinschen@redhat.com>
1437
1438 * infcmd.c (attach_command): Move call to target_terminal_inferior
1439 behind loading symbol table.
1440
1daf35d9
AC
14412004-06-28 Andrew Cagney <cagney@gnu.org>
1442
1443 * rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Revert 2004-06-24
1444 change - add back extern deprecated_ui_loop_hook declaration.
1445
b435e160
AC
14462004-06-28 Andrew Cagney <cagney@gnu.org>
1447
1448 * xcoffsolib.c (xcoff_solib_address): Replace xasprintf with
1449 xstrprintf.
1450 * varobj.c (varobj_gen_name, create_child, c_name_of_child)
1451 (c_value_of_variable): Ditto.
1452 * utils.c (internal_vproblem): Ditto.
1453 * solib-aix5.c (build_so_list_from_mapfile): Ditto.
1454 * remote.c (add_packet_config_cmd): Ditto.
1455 * remote-rdp.c (rdp_set_command_line): Ditto.
1456 * regcache.c (regcache_dump): Ditto.
1457 * frv-tdep.c (new_variant, new_variant): Ditto.
1458 * fbsd-proc.c (child_pid_to_exec_file): Ditto.
1459 (fbsd_find_memory_regions): Ditto.
1460 * breakpoint.c (create_thread_event_breakpoint)
1461 (create_breakpoints): Ditto.
1462 * aix-thread.c (aix_thread_pid_to_str): Ditto.
1463 * ada-lang.c (is_package_name): Ditto. Also delete xmalloc call.
1464
06d5cf63
JB
14652004-06-28 Joel Brobecker <brobecker@gnat.com>
1466
1467 * ada-lang.c: Re-indent file, with some massaging to help indent
1468 a bit when the result is otherwise really too ugly.
1469
35809fad
UW
14702004-06-27 Ulrich Weigand <uweigand@de.ibm.com>
1471
1472 * frame.h (struct frame_id): Change bit field type of stack_addr_p,
1473 code_addr_p and special_addr_p to 'unsigned int'.
1474
40e20472
MK
14752004-06-27 Mark Kettenis <kettenis@gnu.org>
1476
1477 * i386v4-nat.c: Update copyright year and tweak comment.
1478 (regmap): Remove trailing comma.
1479 (supply_gregset): Rename local variable i to regnum. Call
1480 regcache_raw_supply instead of supply_register.
1481 (fill_gregset): Rename argument regno to regnum. Call
1482 regcache_raw_collect instead of regcache_collect.
1483
12b0b6de
UW
14842004-06-27 Ulrich Weigand <uweigand@de.ibm.com>
1485
1486 * frame.h (struct frame_id): New fields stack_addr_p, code_addr_p
1487 and special_addr_p.
1488 (frame_id_build, frame_id_build_special): Update comments.
1489 (frame_id_build_wild): New prototype.
1490 * frame.c (frame_id_build, frame_id_build_special): Fill in new
1491 struct frame_id fields.
1492 (frame_id_build_wild): New function.
1493 (frame_id_eq, frame_id_inner): Use new struct frame_id fields.
1494
47b42a3e
MK
14952004-06-27 Mark Kettenis <kettenis@gnu.org>
1496
1497 * config/djgpp/fnchange.lst: Add entries for hppabsd-nat.c and
1498 hppabsd-tdep.c.
1499
1265e4aa
JB
15002004-06-27 Joel Brobecker <brobecker@gnat.com>
1501
1502 * ada-lang.c: Minor reformatting to conform to GNU coding standards.
1503
76a01679
JB
15042004-06-27 Joel Brobecker <brobecker@gnat.com>
1505
1506 * ada-lang.c: Re-indent file.
1507
7aca490a
JB
15082004-06-27 Joel Brobecker <brobecker@gnat.com>
1509
1510 * ada-lang.c (symtab_symbol_info): Remove unused declaration.
1511 (no_symtab_msg): Likewise.
1512
5e987968
AS
15132004-06-27 Andreas Schwab <schwab@suse.de>
1514
1515 * source.c: Fix whitespace.
1516
315c4276
MK
15172004-06-27 Mark Kettenis <kettenis@gnu.org>
1518
d15be926
MK
1519 * configure.in: Include <sys/param.h> for td_pcb test.
1520 * configure: Regenerated.
1521
9062529b
MK
1522 * i386nbsd-nat.c: New file.
1523 * Makefile.in (ALLDEPFILES): Add i386nbsd-nat.c, i386nbsd-tdep.c,
1524 i386obsd-nat.c and i386obsd-tdep.c.
1525 (i386nbsd-nat.o): New dependency.
1526 * config/i386/obsd.mh (NATDEPFILES): Add i386nbsd-nat.o and
1527 bsd-kvm.o.
1528 (LOADLIBES): New variable.
1529 * config/i386/nbsdelf.mh (NATDEPFILES): Add i386nbsd-nat.o and
1530 bsd-kvm.o.
1531 (LOADLIBES): New variable.
1532
8010310e
MK
1533 * config/i386/fbsd64.mh (NATDEPFILES): Add bsd-kvm.o.
1534 (LOADLIBES): New variable.
1535
efe1d7b9
MK
1536 * bsd-kvm.c (bsd_kvm_fetch_registers): Directly return after
1537 fetching from BSD_KVM_PADDR. Correctly lookup address for
1538 "_thread0".
1539
315c4276
MK
1540 * amd64fbsd-nat.c: Include <sys/types.h, <machine/pcb.h> and
1541 "bsd-kvm.h".
1542 (amd64fbsd_supply_pcb): New funcion.
1543 (_initialize_amd64fbsd_nat): Enable libkvm interface.
1544
399cfac6
DL
15452004-06-27 <david@streamline-computing.com>
1546
1547 Partial fix for PR cli/1056.
1548 * valarith.c: Check for zero in division and remainder
1549 evaluation.
1550
6235f9c8
MK
15512004-06-27 Mark Kettenis <kettenis@gnu.org>
1552
1553 * i387-tdep.c: Remove excessive whitespace.
1554
2726dafc
AC
15552004-06-26 Andrew Cagney <cagney@gnu.org>
1556
1557 * gdb-events.sh (deprecated_set_gdb_event_hooks): Deprecated.
1558 * gdb-events.h, gdb-events.c: Re-generate.
1559 * tui/tui-hooks.c (tui_install_hooks): Update.
1560 (tui_remove_hooks): Update.
1561 * mi/mi-cmd-break.c (mi_cmd_break_insert): Update.
1562
0e56aeaf
MK
15632004-06-26 Mark Kettenis <kettenis@gnu.org>
1564
cb461069
MK
1565 * amd64fbsd-nat.c: Don't include <sys/procfs.h> and "gregset.h".
1566 (gregset_t, fpregset_t): Remove typedefs.
1567 (REG_OFFSET): Rename argument.
1568 (amd64bsd_r_reg_offset): Rename from reg_offset.
1569 (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset):
1570 Remove functions.
1571 (_initialize_amd64fbsd_nat): Use amd64fbsd64_r_reg_offset instead
1572 of reg_offset.
1573 * Makefile.in (amd64fbsd-nat.o): Update dependencies.
1574
ecba89de
MK
1575 * amd64-nat.c (amd64_supply_native_gregset): Fix comment.
1576
4cd80476
MK
1577 * vax-tdep.c: Tweak comment.
1578
0e56aeaf
MK
1579 Add OpenBSD/hppa support.
1580 * NEWS (New native configurations): Mention OpenBSD/hppa.
1581 * hppabsd-nat.c, hppabsd-tdep.c, config/pa/obsd.mh,
1582 config/pa/obsd.mt, config/pa/nm-obsd.h, config/pa/tm-bsd.h: New
1583 files.
1584 * Makefile.in (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c.
1585 (hppabsd-nat.o, hppabsd-tdep.c): New dependencies.
1586 * configure.host: Add hppa*-*-openbsd*.
1587 * configure.tgt: Add hppa*-*-openbsd*.
1588
98bbd631
AC
15892004-06-25 Andrew Cagney <cagney@gnu.org>
1590
1591 * defs.h (deprecated_ui_loop_hook): Deprecated.
1592 * wince.c (child_wait): Update.
1593 * win32-nat.c (child_wait): Update.
1594 * v850ice.c (v850ice_wait): Update.
1595 * top.c (deprecated_ui_loop_hook): Update.
1596 * serial.h: Update.
1597 * ser-unix.c (do_hardwire_readchar, do_hardwire_readchar)
1598 (do_unix_readchar): Update.
1599 * ser-tcp.c (net_open): Update.
1600 * remote-sim.c (gdb_os_poll_quit): Update.
1601 * rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Update.
1602
769d7dc4
AC
16032004-06-24 Andrew Cagney <cagney@gnu.org>
1604
1605 * defs.h (deprecated_pre_add_symbol_hook)
1606 (deprecated_post_add_symbol_hook): Deprecated.
1607 * symfile.c (symbol_file_add_with_addrs_or_offsets)
1608 (symbol_file_add_with_addrs_or_offsets): Update references.
1609
11c949aa
AC
16102004-06-24 Andrew Cagney <cagney@gnu.org>
1611
1612 * defs.h (post_add_symbol_hook, pre_add_symbol_hook)
1613 (ui_loop_hook, selected_frame_level_changed_hook): Declare.
1614 * wince.c (ui_loop_hook): Delete extern declaration.
1615 * win32-nat.c (ui_loop_hook): Delete extern declaration..
1616 * v850ice.c (ui_loop_hook): Delete extern declaration..
1617 * ser-unix.c (ui_loop_hook): Delete extern declaration..
1618 * ser-tcp.c (ui_loop_hook): Delete extern declaration..
1619 * remote-sim.c (ui_loop_hook): Delete extern declaration..
1620 * rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Delete extern.
1621 ui_loop_hook declaration.
1622
eedc19af
AC
16232004-06-24 Andrew Cagney <cagney@gnu.org>
1624
1625 * objfiles.h (struct entry_info): Delete entry_func_lowpc and
1626 entry_func_highpc fields.
1627 * objfiles.c (init_entry_point_info): Do not clear
1628 entry_func_lowpc and entry_func_highpc.
1629 (objfile_relocate): Do not relocate entry_func_lowpc and
1630 entry_func_highpc.
1631 * dwarfread.c (read_func_scope): Do not set entry_func_lowpc and
1632 entry_func_highpc.
1633 * dwarf2read.c (read_func_scope): Do not set entry_func_lowpc and
1634 entry_func_highpc.
1635 * blockframe.c (legacy_frame_chain_valid): Replace tests against
1636 entry_func_lowpc and entry_func_highpc with call to
1637 inside_entry_func.
1638
d47079be
MK
16392004-06-24 Mark Kettenis <kettenis@gnu.org>
1640
1641 * sparc64-tdep.c (sparc64_store_arguments): Fix passing
1642 quad-precision floating point arguments in registers.
1643
2107e348
MK
16442004-06-24 Mark Kettenis <kettenis@gnu.org>
1645
1646 From Michael Mueller <m.mueller99@kay-mueller.de>:
1647 * sparc64-tdep.c (sparc64_frame_base_address): Take BIAS into
1648 account.
1649
46587c42
JJ
16502004-06-22 Jeff Johnston <jjohnstn@redhat.com>
1651
1652 * infrun.c (handle_inferior_event): Initialize stopped_by_watchpoint
1653 to -1.
1654 * breakpoint.c (bpstat_stop_status): Move check for ignoring
1655 untriggered watchpoints to a separate if clause. Update function
1656 comment regarding STOPPED_BY_WATCHPOINT argument.
1657
226f5cf4
JB
16582004-06-22 Jim Blandy <jimb@redhat.com>
1659
1660 * gdbarch.sh: Doc fix.
1661
f10683bb
MH
16622004-06-21 Martin Hunt <hunt@redhat.com>
1663 Kevin Buettner <kevinb@redhat.com>
1664
1665 * config/mips/tm-mips.h (SP_REGNUM): Delete define.
1666 * mips-tdep.h (MIPS_SP_REGNUM): Define.
1667 * mips-tdep.c (mips_gdbarch_init): Set SP_REGNUM via call
1668 to set_gdbarch_sp_regnum(). Use cooked register number.
1669 (SP_REGNUM): Replace all occurrences with MIPS_SP_REGNUM.
1670
412d5987
AC
16712004-06-21 Andrew Cagney <cagney@gnu.org>
1672
1673 * gdbarch.sh: When the macro field is empty, do not generate a
1674 macro definition. When the macro field is "=", generate the macro
1675 name from the upper-case function name.
1676 (NUM_REGS, NUM_PSEUDO_REGS, SP_REGNUM, PC_REGNUM, PS_REGNUM)
1677 (FP0_REGNUM, STAB_REG_TO_REGNUM, ECOFF_REG_TO_REGNUM)
1678 (DWARF_REG_TO_REGNUM, SDB_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM)
1679 (REGISTER_NAME, DEPRECATED_REGISTER_VIRTUAL_TYPE)
1680 (DEPRECATED_REGISTER_BYTES, DEPRECATED_REGISTER_BYTE)
1681 (DEPRECATED_REGISTER_RAW_SIZE, DEPRECATED_REGISTER_VIRTUAL_SIZE)
1682 (DEPRECATED_SAVE_DUMMY_FRAME_TOS, DEPRECATED_FP_REGNUM)
1683 (DEPRECATED_TARGET_READ_FP, DEPRECATED_PUSH_ARGUMENTS)
1684 (DEPRECATED_PUSH_RETURN_ADDRESS, DEPRECATED_DUMMY_WRITE_SP)
1685 (DEPRECATED_REGISTER_SIZE, CALL_DUMMY_LOCATION)
1686 (DEPRECATED_DO_REGISTERS_INFO, REGISTER_SIM_REGNO)
1687 (REGISTER_BYTES_OK, CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER)
1688 (GET_LONGJMP_TARGET, DEPRECATED_INIT_FRAME_PC)
1689 (BELIEVE_PCC_PROMOTION, DEPRECATED_GET_SAVED_REGISTER)
1690 (CONVERT_REGISTER_P, REGISTER_TO_VALUE, VALUE_TO_REGISTER)
1691 (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER, INTEGER_TO_ADDRESS)
1692 (DEPRECATED_POP_FRAME, DEPRECATED_STORE_STRUCT_RETURN)
1693 (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE)
1694 (DEPRECATED_EXTRACT_RETURN_VALUE, DEPRECATED_STORE_RETURN_VALUE)
1695 (DEPRECATED_USE_STRUCT_CONVENTION)
1696 (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS)
1697 (DEPRECATED_FRAME_INIT_SAVED_REGS)
1698 (DEPRECATED_INIT_EXTRA_FRAME_INFO, SKIP_PROLOGUE, INNER_THAN)
1699 (BREAKPOINT_FROM_PC, MEMORY_INSERT_BREAKPOINT)
1700 (MEMORY_REMOVE_BREAKPOINT, DECR_PC_AFTER_BREAK)
1701 (DEPRECATED_FUNCTION_START_OFFSET, FRAME_ARGS_SKIP)
1702 (DEPRECATED_FRAMELESS_FUNCTION_INVOCATION, DEPRECATED_FRAME_CHAIN)
1703 (DEPRECATED_FRAME_CHAIN_VALID, DEPRECATED_FRAME_SAVED_PC)
1704 (DEPRECATED_FRAME_ARGS_ADDRESS, DEPRECATED_FRAME_LOCALS_ADDRESS)
1705 (DEPRECATED_SAVED_PC_AFTER_CALL, FRAME_NUM_ARGS)
1706 (DEPRECATED_STACK_ALIGN, DEPRECATED_REG_STRUCT_HAS_ADDR)
1707 (FRAME_RED_ZONE_SIZE, ADDR_BITS_REMOVE, SMASH_TEXT_ADDRESS)
1708 (SOFTWARE_SINGLE_STEP, SKIP_TRAMPOLINE_CODE)
1709 (IN_SOLIB_CALL_TRAMPOLINE, IN_SOLIB_RETURN_TRAMPOLINE)
1710 (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL)
1711 (NAME_OF_MALLOC, CANNOT_STEP_BREAKPOINT)
1712 (HAVE_NONSTEPPABLE_WATCHPOINT, ADDRESS_CLASS_TYPE_FLAGS)
1713 (FETCH_POINTER_ARGUMENT): Replace the macro name with "=".
1714
68908a3e
AC
17152004-06-21 Andrew Cagney <cagney@gnu.org>
1716
48f7351b
AC
1717 * gdbarch.sh: For gdbarch_dump, print the "function" rather than
1718 macro name, and the function rather than macro value. Only wrap
1719 macro print statements in #ifdef. Move format logic to where it
1720 is needed.
1721 * gdbarch.c: Re-generate.
1722
283354d8
AC
1723 * gdbarch.sh (read): Delete "print_p" and "description", add
1724 "garbage_at_eol". Check for non-empty garbage at end-of-line.
1725 Delete references to print_p.
1726 (TARGET_ARCHITECTURE): Delete print predicate.
1727 * gdbarch.c: Re-generate.
1728
68908a3e
AC
1729 * gdbarch.sh: Check that multi-arch methods do not provide a
1730 macro.
1731 (register_type, unwind_dummy_id, push_dummy_call, push_dummy_code)
1732 (print_registers_info, print_float_info, print_vector_info)
1733 (adjust_breakpoint_address, remote_translate_xfer_address)
1734 (construct_inferior_arguments, skip_solib_resolver, unwind_pc)
1735 (address_class_type_flags_to_name, unwind_sp): Remove the macro
1736 name from the multi-arch definition.
1737
a2428dbe
AC
17382004-06-20 Andrew Cagney <cagney@gnu.org>
1739
1740 * gdbarch.sh: Sort by the function, instead of macro name.
1741 * gdbarch.c: Re-generate.
1742
750eb019
AC
17432004-06-20 Andrew Cagney <cagney@gnu.org>
1744
66d659b1
AC
1745 * gdbarch.sh: Use the function, instead of macro name in
1746 errors and the log file.
1747 (return_value): Remove stray ":" in spec.
1748
750eb019
AC
1749 * gdbarch.sh (RETURN_VALUE): Default to legacy_return_value.
1750 * gdbarch.h, gdbarch.c: Re-generate.
1751 * Makefile.in (arch-utils.o): Update dependencies.
1752 * values.c (using_struct_return): Move code calling
1753 USE_STRUCT_CONVENTION to legacy_return_value, simplify.
1754 * stack.c (return_command): Move code calling STORE_RETURN_VALUE
1755 to legacy_return_value, simplify.
1756 * infcmd.c (print_return_value): Move code calling
1757 DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS and EXTRACT_RETURN_VALUE
1758 to legacy_return_value, simplify.
1759 * infcall.c (call_function_by_hand): Move code calling
1760 EXTRACT_RETURN_VALUE to legacy_return_value, simplify.
1761 * arch-utils.c: Update copyright. Include "gdbcore.h".
1762 (legacy_return_value): New function.
1763 * arch-utils.h: Update copyright.
1764 (legacy_return_value): Declare.
1765
b5622e8d
AC
17662004-06-20 Andrew Cagney <cagney@gnu.org>
1767
1768 * gdbarch.sh (DEPRECATED_USE_STRUCT_CONVENTION): Deprecated.
1769 * gdbarch.h, gdbarch.c: Re-generate.
1770 * values.c (using_struct_return): Update call.
1771 * mcore-tdep.c: Update comment.
1772 * infcall.c (call_function_by_hand): Update comment.
1773 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1774 * arch-utils.h (always_use_struct_convention): Update.
1775 * v850-tdep.c (v850_gdbarch_init): Update.
1776 * sh64-tdep.c (sh64_gdbarch_init): Update.
1777 * sh-tdep.c (sh_gdbarch_init): Update.
1778 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1779 * mips-tdep.c (mips_gdbarch_init): Update.
1780 * mcore-tdep.c (mcore_gdbarch_init): Update.
1781 * m32r-tdep.c (m32r_gdbarch_init): Update.
1782 * ia64-tdep.c (ia64_gdbarch_init): Update.
1783 * h8300-tdep.c (h8300_gdbarch_init): Update.
1784 * frv-tdep.c (frv_gdbarch_init): Update.
1785 * cris-tdep.c (cris_gdbarch_init): Update.
1786 * arm-tdep.c (arm_gdbarch_init): Update.
1787 * alpha-tdep.c (alpha_gdbarch_init): Update.
1788
5191de37
MC
17892004-06-18 Michael Chastain <mec.gnu@mindspring.com>
1790
1791 * PROBLEMS: Add more specific information, and a work-around,
1792 for PR gdb/1458.
1793
782263ab
AC
17942004-06-18 Andrew Cagney <cagney@gnu.org>
1795
1796 * gdbarch.sh (DEPRECATED_FUNCTION_START_OFFSET): Deprecated.
1797 * gdbarch.h, gdbarch.c: Re-generate.
1798 * ada-lang.c (ada_finish_decode_line_1): Update.
1799 * infrun.c (handle_inferior_event): Update.
1800 * infcall.c (find_function_addr): Update.
1801 * linespec.c (minsym_found): Update.
1802 * symtab.c (find_function_start_sal, skip_prologue_using_sal):
1803 Update.
1804 * blockframe.c (legacy_frameless_look_for_prologue): Update.
1805 * cli/cli-cmds.c (disassemble_command): Update.
1806 * vax-tdep.c (vax_gdbarch_init): Update.
1807
2f305df1
MK
18082004-06-18 Mark Kettenis <kettenis@gnu.org>
1809
1810 * i386-tdep.c (i386_collect_fpregset): Fix comment.
1811
e5fe55f7
AC
18122004-06-17 Andrew Cagney <cagney@gnu.org>
1813
1814 GDB 6.1.1 released from the GDB 6.1 branch.
1815 * NEWS: Merge in 6.1.1 NEWS from 6.1 branch.
1816 * PROBLEMS: Ditto.
1817
473b7be6
DJ
18182004-06-16 Daniel Jacobowitz <dan@debian.org>
1819
1820 PR gdb/1658
1821 * dwarf2read.c (dwarf_decode_lines): Read the length of the extended
1822 operation as a uleb128. Found by Michael Coulter.
1823
96d887e8
PH
18242004-06-16 Paul N. Hilfinger <Hilfinger@gnat.com>
1825
1826 * ada-tasks.c: Rename build_task_list to ada_build_task_list, and
1827 make it non-static.
1828 * ada-lang.h (task_control_block): declaration moved from ada-task.c
1829 to ada-lang.h; this is needed to be able to implement the kill command
1830 in multi-task mode.
1831 (task_ptid): Ditto.
1832 (task_entry): Ditto.
1833 (task_list): Ditto.
1834 (ada_build_task_list): Ditto.
1835
1836 * ada-lang.c: Conditionalize routines and data structures related
1837 to breakpoints, exceptions, completion, and symbol caching on
1838 GNAT_GDB, since these are not yet used in the submitted public sources.
1839 (ada_main_name): Editorial: Move definition out of exception-related
1840 code.
1841
31eef181
AC
18422004-06-15 Andrew Cagney <cagney@gnu.org>
1843
1844 * mips-tdep.c (non_heuristic_proc_desc): Delete call to
1845 deprecated_pc_in_call_dummy.
1846
2c500098
AM
18472004-06-15 Alan Modra <amodra@bigpond.net.au>
1848
1849 * dsrec.c (load_srec, make_srec): Use bfd_get_section_size instead of
1850 bfd_get_section_size_before_reloc or _raw_size.
1851 * dwarf2-frame.c (dwarf2_build_frame_info): Likewise.
1852 * dwarf2read.c (dwarf2_locate_sections): Likewise.
1853 (dwarf2_read_section): Likewise.
1854 * elfread.c (elf_locate_sections): Likewise.
1855 * gcore.c (derive_heap_segment): Likewise.
1856 * mipsread.c (read_alphacoff_dynamic_symtab): Likewise.
1857 * remote-e7000.c (e7000_load): Likewise.
1858 * remote-m32r-sdi.c (m32r_load): Likewise.
1859 * remote-mips.c (mips_load_srec): Likewise.
1860 (pmon_load_fast): Likewise.
1861 * remote.c (compare_sections_command): Likewise.
1862 * symfile.c (add_section_size_callback): Likewise.
1863 (load_section_callback): Likewise.
1864 (pc_in_unmapped_range): Likewise.
1865 (pc_in_mapped_range): Likewise.
1866 (sections_overlap): Likewise.
1867 (list_overlays_command): Likewise.
1868 (simple_overlay_update_1): Likewise.
1869 (simple_overlay_update): Likewise.
1870 * tracepoint.c (remote_set_transparent_ranges): Likewise.
1871 * win32-nat.c (core_section_load_dll_symbols): Likewise.
1872
90f943f1
RC
18732004-06-14 Randolph Chung <tausq@debian.org>
1874
1875 * Makefile.in (hppa-hpux-tdep.o): Update dependency.
1876 * hppa-hpux-tdep.c (hp_cxx_exception_support_initialized): Make
1877 static.
1878 (hppa_hpux_inferior_created): New function.
1879 (hppa_hpux_init_abi): Register observer.
1880 * symfile.c (hp_cxx_exception_support_initialized)
1881 (RESET_HP_UX_GLOBALS): Remove HPUXHPPA specific hacks.
1882 (symbol_file_add_main_1, symbol_file_clear): Likewise.
1883
700c15aa
RC
18842004-06-14 Randolph Chung <tausq@debian.org>
1885
3973a7d3
AC
1886 * MAINTAINERS (Write After Approval): Alphabetize my entry
1887 correctly.
700c15aa 1888
cea4838c
AC
18892004-06-14 Andrew Cagney <cagney@gnu.org>
1890
1891 * MAINTAINERS (testsuite): List Michael Chastain as the lead
1892 testsuite maintainer.
1893
97092415
AC
18942004-06-13 Andrew Cagney <cagney@gnu.org>
1895
e8c3165b
AC
1896 * infcmd.c (print_return_value): Fix logic, allow
1897 DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS when struct_return.
1898
bceabdd8
AC
1899 * gdbarch.sh: For predicates, do not check GDB_MULTI_ARCH when
1900 defining any macros.
1901 * gdbarch.h: Re-generate.
1902
57010b1c
AC
1903 * gdbarch.sh: Delete "level" attribute. Only check for a macro
1904 redefinition when multi-arch greater than GDB_MULTI_ARCH_PARTIAL.
1905 * gdbarch.h: Re-generate.
1906
bc87dfa0
AC
1907 * values.c (generic_use_struct_convention): Don't check gcc_p.
1908
15ac804d
AC
1909 * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE)
1910 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Delete.
1911 * gdbarch.h, gdbarch.c: Regenerate.
1912 * ns32k-tdep.h (NS32K_MAX_REGISTER_RAW_SIZE)
1913 (NS32K_MAX_REGISTER_VIRTUAL_SIZE): Delete macros.
1914 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
1915 deprecated_max_register_raw_size and
1916 deprecated_max_register_virtual_size.
1917 * v850-tdep.c (v850_gdbarch_init): Ditto.
1918 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
1919 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1920 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1921 * cris-tdep.c (cris_gdbarch_init): Ditto.
1922
97092415
AC
1923 * gdbarch.sh (RETURN_VALUE_ON_STACK): Delete method.
1924 * gdbarch.h, gdbarch.c: Re-generate.
1925 * m68hc11-tdep.c (m68hc11_return_value_on_stack): Delete function.
1926 (m68hc11_use_struct_convention): Delete function.
1927 (m68hc11_extract_struct_value_address): Delete function.
1928 (m68hc11_return_value): New function.
1929 (m68hc11_gdbarch_init): Instead of store_return_value,
1930 extract_return_value, return_value_on_stack,
1931 deprecated_extract_struct_value_address and use_struct_convention,
1932 set return_value.
1933 * values.c (using_struct_return): Do not call
1934 RETURN_VALUE_ON_STACK.
1935 * arch-utils.h (generic_return_value_on_stack_not): Delete
1936 declaration.
1937 * arch-utils.c (generic_return_value_on_stack_not): Delete
1938 function.
1939
44e5158b
AC
19402004-06-12 Andrew Cagney <cagney@gnu.org>
1941
1942 * values.c (register_value_being_returned): Delete function.
1943 * infcmd.c (legacy_return_value): Delete function.
1944 * infcall.c (call_function_by_hand): Inline
1945 "register_value_being_returned", simplify.
1946 * values.c (using_struct_return): Update comment, refer to
1947 print_return_value instead of register_value_being_returned.
1948 * infcmd.c (print_return_value): Inline calls to
1949 register_value_being_returned and legacy_return_value. Simplify.
1950
b887c273
RC
19512004-06-11 Randolph Chung <tausq@debian.org>
1952
1953 * somread.c (som_symtab_read): Exclude gcc local symbols.
1954
1b2bfbb9
RC
19552004-06-11 Randolph Chung <tausq@debian.org>
1956
3973a7d3
AC
1957 * infrun.c (handle_inferior_event): Handle the case when a
1958 trampoline ends up in the runtime resolver, and if the trampoline
1959 has no name. Rearrange the code so that all the trampoline
1960 processing happens before other step-out-of-range handling.
1b2bfbb9 1961
a9d61c86
MH
19622004-06-11 Martin Hunt <hunt@redhat.com>
1963
1964 * mips-tdep.c (mips_gdbarch_init): Recognize vr4120
1965 has no fpu.
1966
2c87cf5a
AC
19672004-06-10 Andrew Cagney <cagney@gnu.org>
1968
1969 * blockframe.c (legacy_inside_entry_func): Delete.
1970 (legacy_frame_chain_valid): Inline call to
1971 legacy_inside_entry_func, simplify.
1972
0b67b468 19732004-06-10 Bob Rossi <bob@brasko.net>
57c22c6c
BR
1974
1975 * dbxread.c (read_dbx_symtab): Set pst->dirname when known.
3973a7d3
AC
1976 * dwarf2read.c (partial_die_info): Add dirname field.
1977 (dwarf2_build_psymtabs_hard): Set pst->dirname when known.
1978 (read_partial_die): Save away DW_AT_comp_dir.
1979 * defs.h (symtab_to_filename): Removed.
1980 * source.c (find_and_open_source): Added.
57c22c6c 1981 (open_source_file): Just calls find_and_open_source.
3973a7d3
AC
1982 (symtab_to_filename): Removed.
1983 (symtab_to_fullname, psymtab_to_fullname): Added.
57c22c6c
BR
1984 * source.h (psymtab_to_fullname,symtab_to_fullname): Added.
1985 * symtab.c (lookup_symtab): Call symtab_to_fullname instead of
1986 symtab_to_filename.
1987 * symtab.h (partial_symtab): Add dirname field.
1988 * mi/mi-cmd-file.c (FILENAME,FULLNAME): Added.
3973a7d3
AC
1989 (mi_cmd_file_list_exec_source_file): Call new function
1990 symtab_to_fullname to find fullname.
57c22c6c 1991 (mi_cmd_file_list_exec_source_files): Added.
3973a7d3 1992 * mi/mi-cmds.c (mi_cmd_mi_cmds): Add -file-list-exec-source-files.
57c22c6c
BR
1993 * mi/mi-cmds.h (mi_cmd_file_list_exec_source_files): Added.
1994
9a1dd1ad
AC
19952004-06-10 Andrew Cagney <cagney@gnu.org>
1996
239ae8c7
AC
1997 * avr-tdep.c (avr_gdbarch_init): Do not set use_struct_convention
1998 to generic_use_struct_convention, the default value.
1999
fc720350
AC
2000 * mn10300-tdep.c (mn10300_type_align): Call internal_error instead
2001 of abort.
2002
9a1dd1ad
AC
2003 * ns32k-tdep.c (ns32k_push_arguments): New function.
2004 (ns32k_gdbarch_init): Set deprecated_push_arguments.
2005 * infcall.c (call_function_by_hand): Call error instead of
2006 legacy_push_arguments.
2007 * value.h (legacy_push_arguments): Delete declaration.
2008 * valops.c (legacy_push_arguments): Delete function.
2009 (value_push): Delete function.
2010
fea25152
BF
20112004-06-10 Brian Ford <ford@vss.fsi.com>
2012
2013 * coffread.c (coff_symfile_read): Prevent mixed debugging formats
2014 from corrupting/reinitializing the psymtab. Support DWARF 2 frame
2015 info.
2016 * dbxread.c (elfstab_build_psymtabs): Remove bogus comment.
2017
30a4a8e0
AC
20182004-06-10 Andrew Cagney <cagney@gnu.org>
2019
2020 * gdbarch.sh (DEPRECATED_PC_IN_CALL_DUMMY): Delete.
2021 * gdbarch.h, gdbarch.c: Re-generate.
2022 * frame.h (deprecated_pc_in_call_dummy): Delete "sp" and "fp"
2023 parameters.
2024 * dummy-frame.c (deprecated_pc_in_call_dummy): Update.
2025 * arm-tdep.c (arm_pc_is_thumb_dummy): Call
2026 deprecated_pc_in_call_dummy instead of
2027 DEPRECATED_PC_IN_CALL_DUMMY.
2028 (arm_skip_prologue): Ditto.
2029 * xstormy16-tdep.c (xstormy16_pop_frame, xstormy16_scan_prologue)
2030 (xstormy16_frame_saved_pc, xstormy16_frame_chain): Ditto.
2031 * v850-tdep.c (v850_find_callers_reg, v850_frame_chain)
2032 (v850_pop_frame, v850_frame_saved_pc, v850_frame_init_saved_regs):
2033 Ditto.
2034 * sh64-tdep.c (sh64_frame_chain, sh64_get_saved_pr)
2035 (sh64_init_extra_frame_info, sh64_get_saved_register)
2036 (sh64_pop_frame): Ditto.
2037 * mips-tdep.c (non_heuristic_proc_desc): Ditto.
2038 * mcore-tdep.c (mcore_find_callers_reg, mcore_frame_saved_pc)
2039 (mcore_pop_frame, mcore_init_extra_frame_info): Ditto.
2040 * h8300-tdep.c (h8300_frame_chain, h8300_frame_saved_pc)
2041 (h8300_pop_frame): Ditto.
2042 * blockframe.c (legacy_inside_entry_func)
2043 (legacy_frame_chain_valid): Ditto.
2044 * frame.c (frame_type_from_pc, legacy_get_prev_frame): Update call
2045 to deprecated_pc_in_call_dummy.
2046
81cfbe54
AC
20472004-06-09 Andrew Cagney <cagney@gnu.org>
2048
a1f4a1b6
AC
2049 * gdbarch.sh (REGISTER_TO_VALUE, VALUE_TO_REGISTER): Do not
2050 provide a default value.
2051 (CONVERT_REGISTER_P): Default to generic_convert_register_p.
2052 * gdbarch.h, gdbarch.c: Re-generate.
2053 * arch-utils.c (generic_convert_register_p): Rename
2054 legacy_convert_register_p
2055 (legacy_register_to_value, legacy_value_to_register): Delete
2056 functions.
2057 * arch-utils.h (generic_convert_register_p): Rename
2058 legacy_convert_register_p.
2059 (legacy_register_to_value, legacy_value_to_register): Delete
2060 declarations.
2061
9730f241
AC
2062 * gdbarch.sh (DEPRECATED_REGISTER_CONVERT_TO_RAW)
2063 (DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL)
2064 (DEPRECATED_REGISTER_CONVERTIBLE): Delete.
2065 * gdbarch.h, gdbarch.c: Re-generate.
2066 * infcmd.c (default_print_registers_info): Simplify.
2067 * findvar.c (value_of_register): Simplify.
2068 * mi/mi-main.c (get_register): Simplify.
2069 * arch-utils.c (legacy_convert_register_p): Always return 0.
2070 (legacy_register_to_value, legacy_value_to_register): Always call
2071 internal_error.
2072
8a1bf479
AC
2073 * infptrace.c (child_xfer_memory) [CLEAR_INSN_CACHE]: Delete
2074 #ifdef CLEAR_INSN_CACHE code.
2075 * target.c (generic_mourn_inferior) [CLEAR_DEFERRED_STORES]:
2076 Delete #ifdef CLEAR_DEFERRED_STORES code.
2077
4b38d6f1
AC
2078 * solib-svr4.c [HANDLE_SVR4_EXEC_EMULATORS]: Delete #ifdef code.
2079
2d62ecc7
AC
2080 * config/ia64/tm-linux.h (TARGET_ELF64): Delete macro, Update
2081 copyright.
2082 * config/ia64/tm-aix.h (TARGET_ELF64): Ditto.
2083
be4f7469
AC
2084 * config/mips/mipsv4.mh: Delete file.
2085
81cfbe54
AC
2086 * config/pa/tm-hppa64.h (HPREAD_ADJUST_STACK_ADDRESS): Delete
2087 unreferenced macro.
2088 (hpread_adjust_stack_address): Delete declaration.
2089
d966f0cb
AC
20902004-06-08 Andrew Cagney <cagney@gnu.org>
2091
2092 * infptrace.c [ATTACH_DETACH]: Remove #ifdef wrappers.
2093 (attach, detach): When neither PT_ATTACH / PT_DETACH nor
2094 PTRACE_ATTACH / PTRACE_DETACH available call error.
2095 (PT_ATTACH, PT_DETACH): Move definition to attach / detach.
2096 * infttrace.c (update_thread_state_after_attach, attach, detach):
2097 Remove #ifdef wrappers.
2098 * inftarg.c (child_attach, child_detach): Remove #ifdef wrappers.
2099 * gnu-nat.c [ATTACH_DETACH]: Remove #ifdef wrappers.
2100 * config/nm-bsd.h (ATTACH_DETACH): Delete.
2101 * config/nm-sysv4.h (ATTACH_DETACH): Delete.
2102 * config/nm-nbsd.h (ATTACH_DETACH): Delete.
2103 * config/nm-linux.h (ATTACH_DETACH): Delete.
2104 * config/rs6000/nm-rs6000.h (ATTACH_DETACH): Delete.
2105 * config/pa/nm-hppah.h (ATTACH_DETACH): Delete.
2106 * config/i386/nm-i386sco5.h (ATTACH_DETACH): Delete.
2107 * config/i386/nm-i386sco4.h (ATTACH_DETACH): Delete.
2108 * config/i386/nm-i386gnu.h (ATTACH_DETACH): Delete.
2109
d91670b9
CV
21102004-06-08 Corinna Vinschen <vinschen@redhat.com>
2111
2112 * configure.in: Set $configdir to the right OS specific value.
2113 Use value when setting $tcldir and $tkdir.
2114 * configure: Regenerate.
2115
28ba0b33
PB
21162004-06-06 Paul Brook <paul@codesourcery.com>
2117
2118 * gdb/dwarf2-frame.c (decode_frame_entry_1): Decode version 3 CIE
2119 records.
2120
f26caa11
PH
21212004-06-08 Paul N. Hilfinger <Hilfinger@gnat.com>
2122
2123 * ada-lang.c (lookup_symbol_in_language): New function to allow
2124 re-use of another language's symbol lookup code. (Placed here
2125 temporarily while Ada support is being integrated into the public
2126 tree).
2127 (restore_language): New auxiliary function for
2128 lookup_symbol_in_language.
2129 * ada-lang.h (lookup_symbol_in_language): Declare (Placed here
2130 temporarily while Ada support is being integrated into the public
2131 tree).
2132
d560a54b
AO
21332004-06-08 Alexandre Oliva <aoliva@redhat.com>
2134
e75d110c
AO
2135 * Makefile.in (check//%): New.
2136
d560a54b
AO
2137 * mn10300-tdep.c (mn10300_extract_return_value): Rewrite.
2138 (mn10300_store_return_value): Rewrite.
2139 (mn10300_type_align): New.
2140 (mn10300_use_struct_convention): Rewrite.
2141 (mn10300_return_value): New, using all of the above.
2142 (mn10300_pop_frame_regular): Add saved_regs_size.
2143 (mn10300_gdbarch_init): Remove deprecated rewritten entry points.
2144
a72fbdb7
AO
2145 * mn10300-tdep.c (mn10300_analyze_prologue): Don't compute saved
2146 regs if PC is on movm.
2147
01904826
JB
21482004-06-07 Jim Blandy <jimb@redhat.com>
2149
2150 Add native Linux support for the PowerPC E500.
2151 * ppc-tdep.h (struct gdbarch_tdep): New member: 'ppc_gprs_pseudo_p'.
2152 * rs6000-tdep.c (rs6000_gdbarch_init): Initialize it to false on
2153 all architectures except the E500.
2154 * ppc-linux-nat.c: (PTRACE_GETEVRREGS, PTRACE_SETEVRREGS): New
2155 #definitions.
2156 (struct gdb_evrregset_t): New type.
2157 (have_ptrace_getsetevrregs): New variable.
2158 (get_spe_registers, read_spliced_spe_reg, fetch_spe_register,
2159 fetch_spe_registers): New functions.
2160 (fetch_register): Call fetch_spe_register as appropriate.
2161 Assert that we're only passed raw register numbers.
2162 (fetch_ppc_registers): Call fetch_spe_registers as appropriate.
2163 Don't fetch gprs if they're pseudoregisters.
2164 (set_spe_registers, write_spliced_spe_reg, store_spe_register,
2165 store_spe_registers): New functions.
2166 (store_register): Call store_spe_register as appropriate.
2167 Assert that we're only passed raw register numbers.
2168 (store_ppc_registers): Call store_spe_registers as appropriate.
2169 Don't store gprs if they're pseudoregisters.
2170
f90ef764
JJ
21712004-06-07 Jeff Johnston <jjohnstn@redhat.com>
2172
2173 * thread-db.c (thread_get_info_callback): Fill in the thread_info
2174 struct if one exists, even if we are dealing with a zombie thread.
2175
45b75230
AC
21762004-06-07 Andrew Cagney <cagney@gnu.org>
2177
2178 * target.h (PC_REQUIRES_RUN_BEFORE_USE): Delete definition.
2179 * config/pa/tm-hppa.h (DEPRECATED_PC_REQUIRES_RUN_BEFORE_USE):
2180 Rename PC_REQUIRES_RUN_BEFORE_USE.
2181 * breakpoint.c (breakpoint_sals_to_pc): Update. Wrap reference in
2182 #ifdef.
2183
1658da49
RC
21842004-06-07 Randolph Chung <tausq@debian.org>
2185
2186 * hppa-tdep.c (hppa_frame_cache): Handle the cases when we start
2187 unwinding after sp has been saved to the stack but before the end
2188 of the prologue, and after the fp has been modified but before it has
2189 been saved to the stack.
2190 (hppa_frame_base_address, hppa_frame_base, hppa_frame_base_sniffer):
2191 Remove superfluous definitions.
2192 (hppa_gdbarch_init): Remove superfluous frame base sniffer.
2193
9a727a3c
RC
21942004-06-07 Guy Martin <gmsoft@gentoo.org>
2195
2196 Committed by Randolph Chung.
2197 * hppa-linux-nat.c: Include the correct version of the header file
2198 depending on the kernel version.
2199
9e500012
RC
22002004-06-06 Randolph Chung <tausq@debian.org>
2201
2202 * infrun.c (trap_expected_after_continue): Remove HP_OS_BUG workaround.
2203 (proceed, init_wait_for_inferior, handle_inferior_event): Likewise.
2204
3388d7ff
RC
22052004-06-06 Randolph Chung <tausq@debian.org>
2206
2207 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline)
2208 (hppa_hpux_skip_trampoline_code): Don't cache symbol values.
2209 * hppa-linux-tdep.c (hppa_linux_in_dyncall): Likewise.
2210 * hppa-tdep.c (hppa_symbol_address): New function definition.
2211 * hppa-tdep.h (hppa_symbol_address): New function declaration.
2212
d49771ef
RC
22132004-06-06 Randolph Chung <tausq@debian.org>
2214
2215 * hppa-tdep.h (struct value): Forward declaration.
2216 (gdbarch_tdep): Define tdep find_global_pointer method.
2217 * hppa-tdep.c (hppa32_push_dummy_call): Find the global pointer
2218 associated with the function we are trying to call, and write it
2219 to the gp register.
2220 (hppa32_convert_from_funct_ptr_addr): New function.
2221 (hppa_find_global_pointer): New function.
2222 (hppa_gdbarch_init): Set default find_global_pointer method; set
2223 convert_from_func_ptr_addr method.
2224 * hppa-linux-tdep.c (hppa_linux_find_global_pointer): New function.
2225 (hppa_linux_init_abi): Set find_global_pointer method.
2226 * Makefile.in (hppa-linux-tdep.o): Add value.h dependency.
2227
7d9b040b
RC
22282004-06-06 Randolph Chung <tausq@debian.org>
2229
2230 * gdbarch.sh (PUSH_DUMMY_CALL): Change CORE_ADDR func_addr argument
2231 to struct value *function.
2232 * gdbarch.c: Regenerate.
2233 * gdbarch.h: Likewise.
2234 * infcall.c (call_function_by_hand): Pass entire function value
2235 to push_dummy_call.
2236
2237 * Makefile.in (alpha-tdep.o, frv-tdep.o, ia64-tdep.o, mips-tdep.o)
2238 (ppc-sysv-tdep.o, rs6000-tdep.o): Update dependencies.
2239 * alpha-tdep.c (alpha_push_dummy_call): Update call signature.
2240 * amd64-tdep.c (amd64_push_dummy_call): Likewise.
2241 * arm-tdep.c (arm_push_dummy_call): Likewise.
2242 * avr-tdep.c (avr_push_dummy_call): Likewise.
2243 * cris-tdep.c (cris_push_dummy_call): Likewise.
2244 * d10v-tdep.c (d10v_push_dummy_call): Likewise.
2245 * frv-tdep.c (frv_push_dummy_call): Likewise.
2246 * h8300-tdep.c (h8300_push_dummy_call): Likewise.
2247 * hppa-tdep.c (hppa32_push_dummy_call)
2248 (hppa64_push_dummy_call): Likewise.
2249 * i386-tdep.c (i386_push_dummy_call): Likewise.
2250 * ia64-tdep.c (ia64_push_dummy_call): Likewise.
2251 * m32r-tdep.c (m32r_push_dummy_call): Likewise.
2252 * m68hc11-tdep.c (m68hc11_push_dummy_call): Likewise.
2253 * m68k-tdep.c (m68k_push_dummy_call): Likewise.
2254 * m88k-tdep.c (m88k_push_dummy_call): Likewise.
2255 * mips-tdep.c (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call)
2256 (mips_o32_push_dummy_call, mips_o64_push_dummy_call): Likewise.
2257 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call)
2258 (ppc64_sysv_abi_push_dummy_call): Likewise.
2259 * ppc-tdep.h (ppc_sysv_abi_push_dummy_call)
2260 (ppc64_sysv_abi_push_dummy_call): Likewise.
2261 * rs6000-tdep.c (rs6000_push_dummy_call): Likewise.
2262 * s390-tdep.c (s390_push_dummy_call): Likewise.
2263 * sh-tdep.c (sh_push_dummy_call_fpu)
2264 (sh_push_dummy_call_nofpu): Likewise.
2265 * sparc-tdep.c (sparc32_push_dummy_call): Likewise.
2266 * sparc64-tdep.c (sparc64_push_dummy_call): Likewise.
2267 * vax-tdep.c (vax_push_dummy_call): Likewise.
2268
4a19ea35
JB
22692004-06-04 Jim Blandy <jimb@redhat.com>
2270
8327ccee
JB
2271 * ppc-linux-nat.c (fetch_register): Don't forget to pass the
2272 gdbarch argument to register_size.
2273
a3c001ce
JB
2274 * rs6000-tdep.c (rs6000_store_return_value): Use
2275 regcache_cooked_write_part instead of
2276 deprecated_write_register_bytes.
2277 (rs6000_gdbarch_init): Register it for gdbarch_store_return_value,
2278 not gdbarch_deprecated_store_return_value.
2279
4a19ea35
JB
2280 * ppc-linux-nat.c (store_register, fetch_register): Remove
2281 incorrect assertions. Simplify and generalize handling of
2282 transfers whose sizes are not multiples of, or less than, sizeof
2283 (PTRACE_XFER_TYPE).
2284
b9b5d7ea
JJ
22852004-06-04 Jeff Johnston <jjohnstn@redhat.com>
2286
2287 * infrun.c (handle_inferior_event): Don't treat an invalid ptid
2288 as a new thread event.
720c7d64 2289 * thread-db.c (thread_get_info_callback): If the thread is a
b9b5d7ea 2290 zombie, return TD_THR_ZOMBIE.
720c7d64 2291 (thread_from_lwp): If thread_get_info_callback returns
b9b5d7ea
JJ
2292 TD_THR_ZOMBIE, check if the thread is still on the thread list
2293 and return a -1 ptid if not found.
2294 (thread_db_wait): If thread_from_lwp returns a -1 ptid, then
2295 change the status to TARGET_WAITKIND_SPURIOUS.
2296
c8a3b559
CV
22972004-06-03 Corinna Vinschen <vinschen@redhat.com>
2298
2299 * sh-tdep.c (sh3e_sh4_store_return_value): Correctly store
2300 double values in little endian mode.
2301
20605361
AC
23022004-06-02 Albert Chin-A-Young <china@thewrittenword.com>
2303
2304 Committed by Andrew Cagney.
2305 * gdb/dictionary.c, gdb/gdbtypes.h: Remove trailing comma
2306 after last enum constant to avoid error from IBM C
2307 compiler.
2308
bc97b3ba
JB
23092004-06-02 Jim Blandy <jimb@redhat.com>
2310
2311 * ppc-linux-nat.c (store_register, fetch_register): Rename 'mess'
2312 to 'message', and make it local to the lone block that uses it.
2313
1da28ab0
JB
2314 * ppc-linux-nat.c (store_register): Remove unused local 'offset'.
2315
4c4b4cd2
PH
23162004-06-02 Paul N. Hilfinger <hilfinger@gnat.com>
2317
8a2225b2
PH
2318 * ada-exp.y: Update copyright notice.
2319 Include block.h.
2320
2321 Replace REGNAME, LAST, INTERNAL_VARIABLE with
2322 SPECIAL_VARIABLE and unify the treatment of these cases.
2323
2324 (write_attribute_call0): Remove.
2325 (write_attribute_call1): Remove.
2326 (write_attribute_calln): Remove.
2327 (save_qualifier): Add missing semicolon.
2328
2329 (simple_exp,exp): Decomment (i.e., reactivate) code that was
2330 temporarily disabled to allow compilation with FSF head version.
2331
2332 (simple_exp syntax): Remove use of OP_ADA_ATTRIBUTE and
2333 use individual operators (OP_*) for all attributes.
2334 (exp syntax): Use write_int.
2335 Handle STRING literals with OP_STRING.
2336 (variable syntax): Add limit parameter to calls to
2337 write_object_renaming.
2338
2339 (temp_parse_space): New definition to hold entities that need
2340 only live until the next call to ada_parse.
2341 (string_to_operator): Rename fields of ada_opname_table entries.
2342
2343 (write_var_from_sym): Record block.
2344 (write_var_from_name): Minor reformatting.
2345 Make sure saved name is properly encoded in the case of multiple
2346 matches, and set its language to Ada.
2347 Update comment.
2348 Modify to indicate unresolved name as symbol in the UNRESOLVED
2349 namespace, allocated in temp_parse_space.
2350 (write_int): New function.
2351
2352 (write_object_renaming): Add max_depth parameter to limit
2353 chains of object renamings.
2354 Handle case where root of renaming expression is itself a renaming.
2355 Use temp_parse_space for temporary name buffer.
2356 Handle renamings to dereferenced pointers (___XEXA suffices).
2357
2358 (ada_parse, yyerror, string_to_operator,
2359 write_var_from_sym, write_var_from_name, write_attribute_call0,
2360 write_attribute_call1, write_attribute_calln,
2361 write_object_renaming): Protoize.
2362
2363 (_initialize_ada_exp): New function.
2364
2365 * ada-lang.c: Update copyright notice.
2366 General terminology change to conform to GNAT compiler usage:
2367 mangle => encode, demangle => decode
2368 Include gdb_obstack.h.
2369 Include gdb_regex.h
2370 Include frame.h
2371 Include hashtab.h
2372 Include completer.h
2373 Include gdb_stat.h
2374 Include block.h
2375 Include infcall.h
2376
2377 (ADA_RETAIN_DOTS): Make sure this is defined.
2378 (TRUNCATION_TOWARDS_ZERO): Define.
2379 (struct string_vector): Define.
2380 (unresolved_names): Remove definition.
2381 (xnew_string_vector): New function.
2382 (string_vector_append): New function.
2383 (extract_string): Make static.
2384 (ada_unqualified_name): New function.
2385 (add_angle_brackets): New function.
2386 (function_name_from_pc): New function.
2387 (place_on_stack): Rename to ensure_lval.
2388
2389 (ensure_lval): Renamed from place_on_stack.
2390 Make identity on lvals.
2391 Update comment.
2392 (is_nonfunction): New interface.
2393 Only symbols in LOC_CONST class can be enumerals.
2394 (fill_in_ada_prototype): Remove; now independent of language.
2395 (add_defn_to_vec): Add obstack and symtab arguments.
2396 Use obstack to hold collected definitions.
2397 (num_defns_collected): New function.
2398 (defns_collected): New function.
2399 (ada_resolve_subexp): Rename to resolve_subexp.
2400 (resolve_subexp): Renamed from ada_resolve_subexp.
2401 (ada_op_name): Return non-const result.
2402 (ada_decoded_op_name): Renamed from ada_op_name, now used for
2403 other purposes.
2404
2405 (to_fixed_array_type): Add declaration.
2406 (coerce_unspec_val_to_type): Remove offset parameter.
2407 (find_sal_from_funcs_and_line): New interface.
2408 (find_line_in_linetable): Ditto.
2409
2410 (all_sals_for_line): Rename to ada_sals_for_line and make
2411 global.
2412 Add new parameter. When set, do not ask the user to choose the
2413 instance, but use the first one found instead.
2414 Use given line number in returned sals.
2415 Fix comment.
2416 Skip the prologue if funfirstline is set.
2417 Correct for memory leak when 0 lines found.
2418
2419 (value_pos_atr): Use pos_atr.
2420 (pos_atr): New function.
2421 (standard_lookup): Add block parameter.
2422
2423 (makeTimeStart): Remove declaration and uses.
2424 (makeTimeStop): Remove declaration and uses.
2425
2426 (ada_completer_word_break_characters): Allow for VMS.
2427 (ADA_MAIN_PROGRAM_SYMBOL_NAME): Make into constant.
2428 (raise_sym_name): New constant.
2429 (raise_unhandled_sym_name): New constant.
2430 (raise_assert_sym_name): New constant.
2431 (process_raise_exception_name): New constant.
2432 (longest_exception_template): New constant.
2433 (warning_limit): New variable to limit warnings during expression
2434 evaluation.
2435 (warnings_issued): New variable to keep track of warnings issued.
2436 (known_runtime_file_name_patterns): New constant.
2437 (known_auxiliary_function_name_patterns): New constant.
2438 (symbol_list_obstack): New variable.
2439
2440 (field_name_match,is_suffix,is_suppressed_name,ada_encode,
2441 ada_decode,ada_match_name,encoded_ordered_before,equiv_types,
2442 lesseq_defined_than,is_nondebugging_type,is_name_suffix,wild_match,
2443 find_sal_from_funcs_and_line, ada_breakpoint_rewrite,
2444 ada_is_tagged_type, ada_is_parent_field, ada_is_wrapper_field,
2445 ada_variant_discrim_name, field_alignment, dynamic_template_type,
2446 ada_is_character_type, ada_is_aligner_type, ada_is_vax_floating_type):
2447 Replace use of deprecated STREQ and STREQN macros by calls to strncmp
2448 and strcmp.
2449
2450 (ada_get_field_index): New function.
2451 (lim_warning): New function.
2452 (ada_translate_error_message): New function.
2453 (MAX_OF_SIZE): New function.
2454 (MIN_OF_SIZE): New function.
2455 (UMAX_OF_SIZE): New function.
2456 (UMIN_OF_SIZE): New function.
2457 (discrete_type_high_bound): New function.
2458 (discrete_type_low_bound): New function.
2459 (base_type): New function.
2460 (do_command): Remove.
2461
2462 (ada_update_initial_language): Use language_ada, not language_unknown.
2463 (ada_encode): Renamed from ada_mangle.
2464 Obey ADA_RETAIN_DOTS.
2465 (ada_decode): Renamed from ada_demangle.
2466 Update coding conventions.
2467 (decoded_names_store): New hash table.
2468 (ada_decode_symbol): New function.
2469 (ada_la_decode): New function.
2470
2471 (modify_general_field): Correct computations of offset and bit
2472 position.
2473 (desc_base_type): Handle ref types, too.
2474 (ada_is_direct_array_type): New function.
2475
2476 (ada_is_simple_array): Rename to ada_is_simple_array_type.
2477 (ada_is_array_descriptor): Rename to ada_is_array_descriptor_type.
2478 (ada_is_bogus_array_descriptor,ada_type_of_array,
2479 ada_coerce_to_simple_array_ptr,ada_coerce_to_simple_array,
2480 ada_type_match,convert_actual,ada_evaluate_subexp): Use renamed
2481 ada_is_array_descriptor_type.
2482
2483 (ada_coerce_to_simple_array_type): Fix incorrect value freeing.
2484 (ada_is_packed_array_type): Handle pointers or
2485 references to packed arrays as well.
2486 (packed_array_type): Uncomment use of TYPE_FLAG_FIXED_INSTANCE.
2487 (decode_packed_array_type): Search for the packed array type
2488 symbol in the currently selected block and associated
2489 superblocks too.
2490 Use lookup_symbol again.
2491
2492 (decode_packed_array): Handle pointers and references.
2493 Update call to coerce_unspec_val_to_type.
2494 (decode_packed_array_type,value_subscript_packed): Limit warnings.
2495 (ada_value_primitive_packed_val): Improve comment.
2496
2497 (ada_index_type): Substitute int type for "undefined".
2498 (ada_index_type,ada_array_bound_from_type,ada_array_bound,
2499 ada_array_langth, ada_is_string_type): Use renamed
2500 ada_is_simple_array_type.
2501 (empty_array): New function.
2502
2503 (ada_resolve): Rename to resolve.
2504 (resolve): Make static.
2505 Call renamed resolve_subexp.
2506 Update comment.
2507 (ada_resolve_subexp): Rename to resolve_subexp.
2508 (resolve_subexp): Update comment.
2509 Decomment disabled code.
2510 Add LOC_COMPUTED* cases.
2511 Modify to use temporary struct symbols (marked as being in
2512 UNDEF_NAMESPACE) to indicate unresolved names, instead of
2513 OP_UNRESOLVED_VALUE.
2514 Remove OP_ATTRIBUTE; use individual opcodes for attributes.
2515 Add OP_STRING case.
2516 Remove OP_ARRAY.
2517 Use SYMBOL_PRINT_NAME instead of ada_demangle.
2518 Use new ada_lookup_symbol_list interface.
2519 Use new ada_resolve_function interface.
2520 Remove OP_TYPE case.
2521
2522 (ada_args_match): Idiot proof against null actuals.
2523 Use intermediate variables to clarify.
2524 (ada_resolve_function): Update comment and interface.
2525 (mangled_ordered_before): Rename to encoded_ordered_before and
2526 update comment.
2527 (sort_choices): Update comment and interface.
2528 Use SYMBOL_LINKAGE_NAME in place of SYMBOL_NAME.
2529 (user_select_syms): New interface.
2530 Use new sort_choices interface.
2531 Use SYMBOL_PRINT_NAME rather than SYMBOL_SOURCE_NAME.
2532 (possible_user_operator_p): Idiot-proof against null values.
2533 (ada_simple_renamed_entity): Don't make cleanup; rely on
2534 caller to free result string.
2535 Remove const from return type.
2536 (make_array_descriptor): Rename uses of place_on_stack to
2537 ensure_lval.
2538 Make sure that arrays are on stack.
2539
2540 (HASH_SIZE): Define.
2541 (struct cache_entry): Define.
2542 (cache_space): Define.
2543 (cache): Define.
2544 (clear_ada_sym_cache): New function.
2545 (find_entry): New function.
2546 (lookup_cached_symbol): New function.
2547 (defn_vector_size): Define.
2548 (cache_symbol): New function.
2549 (defn_symbols): Remove.
2550
2551 (standard_lookup): Use lookup_symbol_in_language to get effect of
2552 C lookup.
2553 Cache results.
2554
2555 (symbol_completion_match): New function.
2556 (symbol_completion_add): New function.
2557 (ada_make_symbol_completion_list): New function.
2558
2559 (ada_lookup_partial_symbol,ada_lookup_simple_minsym,
2560 add_symbols_from_enclosing_procs,remove_extra_symbols): Replace
2561 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
2562 (symtab_for_sym): Handle LOC_COMPUTED, LOC_COMPUTED_ARG.
2563
2564 (ada_lookup_simple_minsym): New function.
2565 (ada_lookup_minimal_symbol): Use ada_lookup_simple_minsym.
2566
2567 (add_symbols_from_enclosing_procs): New interface.
2568 Conditionalize more helpfully.
2569 Don't bother if program isn't running.
2570 Use new interface to get_frame_block.
2571 Limit number of levels searched with MAX_LEXICAL_LEVELS, just in case.
2572
2573 (remove_extra_symbols): New interface.
2574 (xget_renaming_scope): New function.
2575 (is_package_name): New function.
2576 (renaming_is_visible): New function.
2577 (remove_out_of_scope_renamings): New function.
2578
2579 (ada_lookup_symbol_list): New interface.
2580 Properly reinitialize the symbol list obstack.
2581 Don't call add_symbols_from_enclosing_procs if we start from a
2582 static or global block.
2583 Use new interfaces to ada_add_block_symbols, add_defn_to_vec,
2584 add_symbols_from_enclosing_procs.
2585 Add symtab data to cached entries.
2586 Handle symbols prefixed with
2587 "standard__" specially; strip prefix and don't look in local symbols.
2588 Do not include out of scope renaming symbols in list of
2589 symbols returned.
2590 Add const to block parameter.
2591 Move check for non-local, non-global symbols earlier.
2592 Remove timing stuff.
2593 (ada_lookup_symbol): New interface.
2594 Find symtab as well.
2595 (ada_lookup_symbol_nonlocal): New function.
2596
2597 (is_name_suffix): Enhance suffix detection to recognize
2598 an optional "__[:digit:]+" before any "\.[:digit:]+" suffix.
2599 (is_dot_digits_suffix): New function.
2600 (wild_match): Ignore ".[:digit:]*" suffixes during matches.
2601
2602 (ada_add_block_symbols): New interface. Use obstack to return results
2603 in a vector of struct ada_symbol_infos. Add symtab argument.
2604 Use new interface to add_defn_to_vec.
2605 Remove calls to fill_in_ada_prototype.
2606 Use BLOCK_BUCKETS, BLOCK_BUCKET.
2607
2608 (ada_finish_decode_line_1): Add const qualification to local to fix
2609 warning.
2610 Start looking in static block for functions to avoid attempts
2611 to search frame chain for up-level variables.
2612 Adapt to new ada_sals_for_line interface.
2613 Use new interfaces to ada_lookup_symbol_list and user_select_syms.
2614 Handle quoting of the function name inside the spec string.
2615 Skip prologue when funfirstline is set and update the
2616 function documentation to that effect.
2617
2618 (debug_print_lines, debug_print_block, debug_print_blocks,
2619 debug_print_symtab): Remove.
2620
2621 (ada_main_name): New function.
2622 (ada_exception_breakpoint_type): New function.
2623 (is_known_support_routine): New function.
2624 (ada_find_printable_frame): Renamed from find_printable_frame and made
2625 global.
2626 Remove level parameter.
2627 Use new interface to select_frame.
2628
2629 (begin_command): Remove.
2630 (ada_adjust_exception_stop): New function.
2631 (ada_print_exception_stop): New function.
2632 (exception_name_from_cond): New function.
2633 (ada_report_exception_break): Replace disabled code with
2634 conditionalization on GNAT_GDB.
2635 Get the exception name from the condition string.
2636 Remove and move functionality into new functions
2637 ada_print_exception_breakpoint_task and
2638 ada_print_exception_breakpoint_nontask.
2639 (error_breakpoint_runtime_sym_not_found): New function.
2640 (is_runtime_sym_defined): New function.
2641 (ada_breakpoint_rewrite): Uncomment suppressed code.
2642 Use symbolic error-message and runtime-symbol names.
2643 Surround runtime symbol names in quotes.
2644 Allow non-specific breakpoints on exceptions and assertions before
2645 program starts.
2646
2647 (ada_is_tagged_type): Add parameter.
2648 (ada_is_tag_type): New function.
2649 (ada_tag_type): Use new ada_lookup_struct_elt_type interface.
2650 (ada_variant_discrim_type): Ditto.
2651 (value_tag_from_contents_and_address): New function.
2652 (type_from_tag): New function.
2653 (struct tag_args): New structure used to communicate with
2654 ada_tag_name_1.
2655 (ada_tag_name_1): New function.
2656 (ada_tag_name): New function.
2657
2658 (ada_scan_number): Update comment.
2659 (find_struct_field): New function.
2660 (ada_search_struct_field): Make static.
2661 (ada_value_struct_elt): New version that returns references when
2662 given pointers or references to structs.
2663 (ada_lookup_struct_elt_type): Add 'refok' parameter.
2664 (ada_which_variant_applies): Use new ada_lookup_struct_elt_type
2665 interface.
2666 (ada_value_ind): Use new ada_to_fixed_value interface.
2667 (ada_coerce_ref): Ditto.
2668 (field_offset): Remove.
2669
2670 (ada_find_any_symbol): New function, extracted from ada_find_any_type.
2671 (ada_find_renaming_symbol): New function.
2672 (ada_prefer_type): Prefer named types over unnamed ones.
2673 (variant_field_index): New function.
2674 (contains_variant_part): Removed: subsumed by variant_field_index.
2675 (ada_template_to_fixed_record_type): New function, mostly from
2676 template_to_fixed_record_type.
2677 (template_to_fixed_record_type):
2678 Do not scan the type fields beyond the last one; prevents a
2679 potential SEGV.
2680 Handle case where variant field is listed BEFORE discriminant it
2681 depends on.
2682 Fix calculation of record length when bit length is
2683 not evenly divisible by char length.
2684 Move code to ada_template_to_fixed_record_type and call it.
2685
2686 (template_to_static_fixed_type): Revise comment.
2687 Modify to work on ordinary record types as well as templates,
2688 so as to handle fields that use ___XVE or ___XVU encodings.
2689 (to_record_with_fixed_variant_part): Fill out comment.
2690 Initialize C++ stuff in right type.
2691 Allow case where DVAL is null.
2692 Handle case where variant field is not last.
2693 Fix typo concerning record length.
2694 (to_fixed_record_type): Decomment disabled code.
2695 (to_fixed_record_type): Use variant_field_index instead of
2696 contains_variant_part.
2697 (to_fixed_variant_branch_type): Ditto.
2698 (to_fixed_array_type): Decomment disabled code.
2699 (ada_to_fixed_type): Convert tagged types to the specific type.
2700 Deactivate the size-check for array types in order to avoid
2701 some false size alarms.
2702 (to_static_fixed_type): Decomment disabled code.
2703 Modify to call template_to_static_fixed_type
2704 on ordinary structs, not just ___XVE- and ___XVU-encoded fields.
2705 (ada_to_fixed_value_create): Renamed version of old ada_to_fixed_value.
2706 Remove valaddr argument, as it is never really used.
2707 (ada_to_fixed_value): Change interface to act on single struct value*
2708 operand.
2709 (adjust_pc_past_prologue): New function.
2710 (ada_attribute_name): Modify to take enum exp_opcode argument.
2711
2712 (ada_enum_name): Recognize new homonym-distinguishing convention.
2713 Adjust local variable's type to remove compiler warning.
2714 Fix a small problem in the part that unqualifies the enumeration name.
2715 (ada_value_binop): New function.
2716 (ada_value_equal): New function.
2717
2718 (ada_evaluate_subexp): Use new ada_lookup_struct_elt_type interface.
2719 Don't give error message when not doing normal evaluation
2720 and a tagged type doesn't seem to contain a structure member.
2721 Give error message for packed arrays.
2722 For indexing arrays, handle pointers to packed arrays correctly.
2723 Handle case of 'first and 'last attributes of bare integral type
2724 without encoded subtype info.
2725 Remove some unnecessary casts.
2726 Fix uninitialized value of type in computing 'first, 'last, or 'length
2727 of array object.
2728 Add BINOP_EQUAL and BINOP_NOTEQUAL cases.
2729 Remove binop_user_defined_p tests and value_x_binop and value_x_unop
2730 calls.
2731 Attributes are now exp_opcode values.
2732 Correct treatment of 'modulus.
2733 Better error message for taking 'length of wrong kind of type;
2734 improve comment.
2735 Change EVAL_NORMAL to noside for consistency.
2736 Use ada_value_binop for DIV, MOD, REM.
2737 Make special case out of array of length 0, since an argument
2738 of 0 upsets some platforms' malloc.
2739 Use OP_STRING instead of OP_ARRAY.
2740 For slice, add check that we have an array type before extracting
2741 a slice out of it. Avoids a SEGV.
2742 When evaluating an array slice, if the array type is a reference to
2743 an aligner type, then replace the aligner type by the actual type.
2744 Decomment disabled code.
2745 Remove some dead code.
2746 Use temporary struct symbols (marked as being in UNDEF_NAMESPACE)
2747 to indicate unresolved names, instead of OP_UNRESOLVED_VALUE.
2748 Rename BINOP_MBR to BINOP_IN_BOUNDS, TERNOP_MBR to TERNOP_IN_RANGE,
2749 and UNOP_MBR to UNOP_IN_RANGE.
2750 If an array type has a parallel ___XVE type, then use it.
2751 Turn arrays into pointers for lvalue arrays.
2752 Change TERNOP_SLICE code to work even when bounds are unknown, ignoring
2753 bounds error and handle 0-length slices.
2754 Use lim_warning.
2755 When selecting fields, apply ada_to_fixed_value (because the fields
2756 might have ___XVU or ___XVE encodings even if not dynamic.)
2757 Use ada_to_fixed_value_create and new ada_to_fixed_value interface.
2758 (ada_is_system_address_type): New function.
2759
2760 (get_var_value): Use new interface to ada_lookup_symbol_list.
2761 (get_int_var_value): New interface.
2762 (to_fixed_range_type): Allow unknown bound, with warning.
2763 (ada_is_modular_type): Decomment disabled code.
2764 (ADA_OPERATORS): New definition.
2765 (ada_operator_length): New function.
2766 (ada_expr_op_name): New function.
2767 (ada_forward_operator_length): New function.
2768 (ada_dump_subexp_body): New function.
2769 (ada_print_subexp): New function.
2770 (ada_exp_descriptor): New constant.
2771 (ada_op_print_tab): Add 'size. Remove FIXMEs.
2772 (ada_language_defn): Add ada_exp_descriptor entry.
2773 Change ada_parse => parse.
2774 Add post-parser entry.
2775 Use ada-specific non-local symbol lookup.
2776 Don't use C-style arrays.
2777 String lower-bound is 1.
2778 Decomment disabled code.
2779 (parse): New function.
2780 New fields ada_translate_error_message, ada_lookup_symbol,
2781 ada_lookup_minimal_symbol.
2782
2783 * ada-lang.h: Update copyright dates.
2784 Replace the mangle/demangle terminology throughout by the
2785 more appropriate encode/decode one.
2786 Include breakpoint.h.
2787 Forward declare struct partial_symbol, struct block.
2788 (ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS): Define.
2789 (EXTRACT_ADDRESS): Remove.
2790 (EXTRACT_INT): Remove.
2791 (ADA_KNOWN_AUXILIARY_FUNCTION_NAME_PATTERNS): Define.
2792 (MAX_ENCLOSING_FRAME_LEVELS): Define.
2793 (MAX_RENAMING_CHAIN_LENGTH): Define.
2794 (struct ada_opname_map): mangled => decoded, demangled=>encoded.
2795
2796 (enum task_states): Remove.
2797 ada_task_states: Remove.
2798 (fat_string): Remove.
2799 (struct entry_call): Remove.
2800 (struct task_fields): Remove.
2801 (struct task_entry): Remove.
2802
2803 (struct ada_symbol_info): Define.
2804 (enum ada_attribute): Remove.
2805 (enum ada_operator): Define.
2806
2807 (ada_get_field_index): Declare.
2808 (ada_coerce_to_simple_array): Rename to ada_coerce_to_simple_array_ptr.
2809 (ada_is_simple_array): Rename to ada_is_simple_array_type.
2810 (ada_is_array_descriptor): Rename to ada_is_array_descriptor_type.
2811 (ada_lookup_symbol_list): New interface.
2812 (ada_decode_symbol): Declare.
2813 (ada_decode): Declare.
2814 (ada_lookup_symbol): New interface.
2815 (ada_update_initial_language): Declare.
2816 (ada_lookup_simple_minsym): Declare.
2817 (user_select_syms): New interface.
2818 (ada_sals_for_line): Declare.
2819 (ada_is_tagged_type): New interface.
2820 (ada_tag_name): Declare.
2821 (ada_lookup_struct_elt_type): Remove declaration.
2822 (ada_search_struct_field): Remove declaration.
2823 (ada_attribute_name): New interface.
2824 (ada_is_system_address_type): Declare.
2825 (ada_to_fixed_value): Remove declaration.
2826 (ada_template_to_fixed_record_type_1): Declare.
2827 (get_int_var_value): New interface.
2828 (ada_find_any_symbol): Declare.
2829 (ada_find_renaming_symbol): Declare.
2830 (ada_mangle): Rename to ada_encode.
2831 (ada_simple_renamed_entity): Remove const.
2832 (ada_main_name): Declare.
2833 (get_current_task): Rename to ada_get_current_task.
2834 (get_entry_number): Remove declaration.
2835 (ada_report_exception_break): Remove declaration.
2836 (ada_print_exception_breakpoint_nontask): Declare.
2837 (ada_print_exception_breakpoint_task): Declare.
2838 (ada_find_printable_frame): Declare.
2839
2840 * ada-lex.l: Update copyright notices.
2841 Use xmalloc and xfree instead of malloc and free.
2842 Use new interface to name_lookup.
2843 Use new interface to
2844 ada_mangle=>ada_encode.
2845 Redo handling of '$...' variable to parallel current treatment
2846 in c-exp.y.
2847 (resize_tempbuf, canonicalizeNumeral, is_digit_in_base,
2848 digit_to_int, strtoulst, processInt, processReal, processId,
2849 block_lookup, name_lookup, find_dot_all, subseqMatch, processAttribute,
2850 yywrap): Protoize.
2851
2852 (processInt): Use cast to remove harmless warning.
2853 (processReal): Modify to get rid of compiler warning on scan formats.
2854
2855 (processId): Replace xmalloc with obstack_alloc for name and remove
2856 call to ada_name_string_cleanup.
2857 Remove obsolete disabled code.
2858 (name_lookup): Ditto.
2859 New interface.
2860 Use obsavestring on temp_parse_space instead of savestring
2861 on name, and remove call to ada_name_string_cleanup.
2862 Free string returned from ada_simple_renamed_entity.
2863 Use new interface to ada_lookup_symbol_list.
2864 Decomment disabled code.
2865 Treat LOC_COMPUTED and LOC_COMPUTED_ARG symbols as variables,
2866 not types.
2867 When a type name lookup succeeds as a result of
2868 lookup_primitive_typename, check for regular type entry that has not
2869 yet been read in.
2870 Limit length of chain of renamed symbols we are willing to follow.
2871 Do not break names beginning with "standard__" into segments.
2872 (block_lookup): Use new interface to ada_lookup_symbol_list.
2873
2874 * ada-typeprint.c: Update copyright notice.
2875 (demangled_type_name): Rename to decoded_type_name.
2876 (ada_typedef_print): Use SYMBOL_PRINT_NAME.
2877 (print_range_bound): Correct handling of negative
2878 bounds that make the index type looked unsigned under STABS.
2879 (print_dynamic_range_bound): Use new interface to get_int_var_value.
2880 (print_range_type_named): Use the builtin int type if no type
2881 corresponding to the given type name could be found.
2882 (print_array_type): ada_is_simple_array => ada_is_simple_array_type.
2883 Add some bullet-proofing.
2884 (print_variant_clauses): Allow for variant branches with ___XVU
2885 encodings that are not dynamic fields.
2886 Use new interface to ada_is_tagged_type.
2887 (print_record_type): Allow for fields with ___XVE encodings that
2888 are not dynamic fields.
2889 Use new interface to ada_is_tagged_type.
2890 (ada_print_type): ada_is_array_descriptor =>
2891 ada_is_array_descriptor_type.
2892
2893 * ada-valprint.c: Update copyright notice.
2894 Include gdb_string.h
2895 Include infcall.h
2896 (ui_memcpy): New function.
2897 (ada_print_floating): New function.
2898 (ada_print_str): Order arguments correctly.
2899 Correct handling of empty arrays and arrays of 0-length items.
2900 ada_is_array_descriptor => ada_is_array_descriptor_type
2901 Print values of type System.Address in hexadecimal format.
2902 Use ada_print_floating to print floating-point numbers in Ada format.
2903 Print class tag values with type names.
2904 No longer print the address of reference values. Avoids
2905 a potential confusion.
2906 (ada_value_print): Stop printing the object type for reference
2907 values, but preserve that behavior for access types. Avoids
2908 a potential confusion.
2909 Simplify one conditional expression, as the first part is now
2910 necessarily true.
2911 ada_is_array_descriptor => ada_is_array_descriptor_type
2912 Add check for arrays for null records, and print them by hand.
4c4b4cd2 2913
f65f91b5
JB
29142004-06-01 Jim Blandy <jimb@redhat.com>
2915
2916 * ppc-tdep.h: Delete unused 'regoff' member.
2917 * rs6000-tdep.c (rs6000_gdbarch_init): Don't initialize it.
2918
d4687fa0
MC
29192004-06-01 Michael Chastain <mec.gnu@mindspring.com>
2920
2921 Fix PR symtab/1661.
2922 * hpread.c (hpread_pxdb_needed): Call memset after alloca.
2923 (hpread_read_struct_type): Likewise.
2924
de169ec9
AC
29252004-06-01 Andrew Cagney <cagney@gnu.org>
2926
c6902d46
AC
2927 * mi/mi-cmd-env.c (env_execute_cli_command): Use xstrprintf
2928 instead of xasprintf.
2929 * mi/mi-main.c (mi_error_last_message, mi_cmd_exec_interrupt)
2930 (mi_cmd_thread_select, mi_cmd_thread_list_ids)
2931 (mi_cmd_data_list_register_names)
2932 (mi_cmd_data_list_changed_registers)
2933 (mi_cmd_data_list_register_values)
2934 (get_register, mi_cmd_data_write_register_values)
2935 (mi_cmd_data_write_register_values)
2936 (mi_cmd_data_assign, mi_cmd_data_evaluate_expression)
2937 (mi_cmd_target_download, mi_cmd_target_select)
2938 (mi_cmd_data_read_memory, mi_cmd_data_write_memory)
2939 (mi_execute_cli_command, mi_execute_async_cli_command)
2940 (mi_execute_async_cli_command): Ditto.
2941 * mi/mi-interp.c (mi_cmd_interpreter_exec) Ditto.
2942 * mi/mi-cmd-var.c (mi_cmd_var_create): Ditto.
2943
6085fc2d
AC
2944 * mi/mi-cmds.h (mi_error_last_message): Delete declaration.
2945 * mi/mi-interp.c (mi_cmd_interpreter_exec): Call
2946 error_last_message instead of mi_error_last_message.
2947 * mi/mi-main.c (mi_error_last_message): Delete function.
2948
de169ec9
AC
2949 * mi/mi-main.c (mi_cmd_data_read_memory): Add missing return for
2950 "invalid number of columns" error. Delete redundant "out of
2951 memory" check.
2952
1fc7d519
MK
29532004-05-31 Mark Kettenis <kettenis@gnu.org>
2954
6cfb2041
MK
2955 * i386bsd-nat.c: Don't include <sys/procfs.h>.
2956 (gregset_t, fpregset_t): Remove typedefs.
2957 (CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): Remove macros.
2958 (REG_OFFSET): Rename argument.
2959 (i386bsd_r_reg_offset): Rename from reg_offset.
2960 (REG_ADDR): Remove macro.
2961 (cannot_fetch_register, supply_gregset, fill_gregset): Remove
2962 functions.
2963 (i386bsd_supply_gregset, i386bsd_collect_gregset): New functions.
2964 (fetch_inferior_registers): Use `struct reg' and `struct fpreg'
2965 instead of gregset_t and fpregset_t. Use i386bsd_supply_gregset
2966 instead of supply_gregset.
2967 (store_inferior_registers): Use `struct reg' and `struct fpreg'
2968 instead of gregset_t and fpregset_t. Use i386bsd_collect_gregset
2969 instead of fill_gregset.
2970 (register_u_addr): Use i386_r_reg_offset instead of REG_ADDR.
2971
1fc7d519
MK
2972 * i386bsd-nat.c: Don't include "gregset.h".
2973 (supply_gregset, fill_gregset): Make static.
2974 (supply_fpregset, fill_fpregset): Remove.
2975 * Makefile.in (i386bsd-nat.o): Update dependencies.
2976
2c34abbe
MK
29772004-05-30 Mark Kettenis <kettenis@gnu.org>
2978
448724fb
MK
2979 * fbsd-proc.c: Include "regcache.h", "regset.h" and
2980 "gdb_assert.h". Con't include "gregset.h".
2981 (fbsd_make_corefile_notes): Use regset-based core file support
2982 instead off fill_gregset and fill_fpregset.
2983 * Makefile.in (fbsd-proc.o): Update dependencies.
2984
5ca8ca7c
MK
2985 * m88k-tdep.c (m88k_analyze_prologue): Fix handling of branch
2986 instructions.
2987 (m88k_frame_prev_register): Simplify code a bit.
2988
593adc23
MK
2989 * amd64-tdep.c (amd64_supply_fpregset): Adjust comment.
2990 (amd64_collect_fpregset): New function.
2991 (amd64_regset_from_core_section): Use amd64_collect_fpregset.
2992
8d1b517b
MK
2993 * hppa-tdep.h (hppa_regnum): Add HPPA_R31_REGNUM.
2994
7fdafb5a
MK
2995 * i386-tdep.c (i386_supply_gregset): Adjust comment.
2996 (i386_collect_gregset): New function.
2997 (i386_supply_fpregset): Adjust comment.
2998 (i386_collect_fpregset): New function.
2999 (i386_regset_from_core_section): Use i386_collect_gregset and
3000 i386_collect_fpregset.
3001
8693c419
MK
3002 * hppa-tdep.c (hppa_frame_prev_register_helper): Reimplement to
3003 handle VALUEP being null.
3004
2c34abbe
MK
3005 * regset.h (collect_regset_ftype): Unconstify fourth argument.
3006
45d134d8
MK
30072004-05-29 Mark Kettenis <kettenis@gnu.org>
3008
1698f4e7
MK
3009 * MAINTAINERS: Undelete m88k. Add myself as maintainer.
3010
45d134d8
MK
3011 * amd64obsd-tdep.c (amd64obsd_sigtramp_p): Adjust for new
3012 assembler in OpenBSD 3.5-current.
3013 (amd64obsd_sigcontext_addr): Likewise.
3014
691d145a
JB
30152004-05-28 Jim Blandy <jimb@redhat.com>
3016
3017 * rs6000-tdep.c: Use the modern gdbarch methods for handling the
3018 register set, so our regcache isn't declared "legacy" and our E500
3019 pseudoregister read and write functions aren't ignored.
3020 (rs6000_register_byte, rs6000_register_raw_size,
3021 rs6000_register_virtual_type, rs6000_register_convertible,
3022 rs6000_register_convert_to_virtual,
3023 rs6000_register_convert_to_raw): Deleted.
3024 (rs6000_register_type, rs6000_convert_register_p,
3025 rs6000_register_to_value, rs6000_value_to_register): New
3026 functions.
3027 (rs6000_gdbarch_init): Don't register
3028 gdbarch_deprecated_register_size,
3029 gdbarch_deprecated_register_bytes,
3030 gdbarch_deprecated_register_byte,
3031 gdbarch_deprecated_register_raw_size,
3032 gdbarch_deprecated_register_virtual_type,
3033 gdbarch_deprecated_register_convertible,
3034 gdbarch_deprecated_register_convert_to_virtual, or
3035 gdbarch_deprecated_register_convert_to_raw methods. Instead,
3036 register gdbarch_register_type, gdbarch_convert_register_p,
3037 gdbarch_register_to_value, and gdbarch_value_to_register methods.
3038
18ed0c4e
JB
30392004-05-26 Jim Blandy <jimb@redhat.com>
3040
3041 * rs6000-tdep.c (rs6000_dwarf2_stab_reg_to_regnum): Deleted.
3042 (rs6000_stab_reg_to_regnum, rs6000_dwarf2_reg_to_regnum): New
3043 functions, updated to match the register numberings used in GCC.
3044 (rs6000_gdbarch_init): Register rs6000_stab_reg_to_regnum and
3045 rs6000_dwarf2_reg_to_regnum as register number conversions
3046 functions for STABS and Dwarf2.
3047
779af9e3
RC
30482004-05-26 Randolph Chung <tausq@debian.org>
3049
3050 * infttrace.h (target_waitkind): Forward declare type instead of pulling
3051 in header file.
3052
c23968a2
JB
30532004-05-25 Joel Brobecker <brobecker@gnat.com>
3054
3055 * NEWS: Document new "start" command.
3056
3a7d1c27
RC
30572004-05-25 Randolph Chung <tausq@debian.org>
3058
3059 * hppa-linux-tdep.c (hppa_linux_init_abi): sizeof(long double) == 8 on
3060 hppa-linux.
3061
43613416
RC
30622004-05-25 Randolph Chung <tausq@debian.org>
3063
3064 * hppa-hpux-tdep.c (offsetof): Define.
3065 (hppa_hpux_pc_in_sigtramp, hppa32_hpux_frame_saved_pc_in_sigtramp)
3066 (hppa32_hpux_frame_base_before_sigtramp)
3067 (hppa32_hpux_frame_find_saved_regs_in_sigtramp)
3068 (hppa64_hpux_frame_saved_pc_in_sigtramp)
3069 (hppa64_hpux_frame_base_before_sigtramp)
3070 (hppa64_hpux_frame_find_saved_regs_in_sigtramp): Remove unused
3071 functions.
3072 (struct hppa_hpux_sigtramp_unwind_cache, hppa_hpux_tramp_reg)
3073 (hppa_hpux_sigtramp_frame_unwind_cache)
3074 (hppa_hpux_sigtramp_frame_this_id)
3075 (hppa_hpux_sigtramp_frame_prev_register)
3076 (hppa_hpux_sigtramp_frame_unwind)
3077 (hppa_hpux_sigtramp_unwind_sniffer): New signal trampoline unwinder.
3078 (hppa_hpux_init_abi): Register sigtramp unwinder.
3079 * Makefile.in (hppa-hpux-tdep.o): Update dependencies.
3080
6d1be3f1
RC
30812004-05-25 Randolph Chung <tausq@debian.org>
3082
3083 * hppa-tdep.c (hppa_fallback_frame_cache): Handle stack adjustment,
3084 and multiple stack unwinds.
3085 (hppa_stub_unwind_sniffer): Handle unwind from pc == 0.
3086
97c34f65
AC
30872004-05-25 Andrew Cagney <cagney@gnu.org>
3088
3089 * symfile.h (symbol_file_add_from_memory): Delete declaration.
3090 * symfile-mem.h: Delete file.
3091 * symfile-mem.c: Do not include "symfile-mem.h".
3092 (symbol_file_add_from_memory): Make static. Use "struct bfd" and
3093 "struct bfd_section". When an error do not bother returning NULL.
3094 (add_symbol_file_from_memory_command): Use "struct bfd" and
3095 "struct bfd_section".
3096 * Makefile.in (symfile_mem_h): Delete.
3097 (symfile-mem.o): Update dependencies.
3098
e23cbd82
NR
30992004-05-25 Nick Roberts <nickrob@gnu.org>
3100
3101 * gdb-mi.el: New file.
3102
20d2ca3e
AC
31032004-05-25 Andrew Cagney <cagney@gnu.org>
3104
3105 * inftarg.c: Include "observer.h".
3106 (child_attach, child_create_inferior): Notify inferior_created.
3107 * corelow.c: Include "observer.h".
3108 (core_open): Notify inferior_created.
3109 * Makefile.in (inftarg.o, corelow.o): Update dependencies.
3110
c27cda74
AC
31112004-05-25 Andrew Cagney <cagney@gnu.org>
3112
3113 * target.h (struct target_ops): Add from_tty to
3114 to_create_inferior.
3115 (target_create_inferior, find_default_create_inferior): Update.
3116 * infcmd.c (run_command): Update.
3117 * wince.c (child_create_inferior): Update.
3118 * win32-nat.c (child_create_inferior): Update.
3119 * uw-thread.c (uw_thread_create_inferior): Update.
3120 * thread-db.c (thread_db_create_inferior): Update.
3121 * target.c (debug_to_create_inferior)
3122 (find_default_create_inferior): Update.
3123 (maybe_kill_then_create_inferior): Update.
3124 * sol-thread.c (sol_thread_create_inferior): Update.
3125 * remote.c (extended_remote_async_create_inferior)
3126 (extended_remote_create_inferior): Update.
3127 * remote-vx.c (vx_create_inferior): Update.
3128 * remote-st.c (st2000_create_inferior): Update.
3129 * remote-sim.c (gdbsim_create_inferior): Update.
3130 * remote-sds.c (sds_create_inferior): Update.
3131 * remote-rdp.c (remote_rdp_create_inferior): Update.
3132 * remote-rdi.c (arm_rdi_create_inferior): Update.
3133 * remote-m32r-sdi.c (m32r_create_inferior): Update.
3134 * remote-e7000.c (e7000_create_inferior): Update.
3135 * procfs.c (procfs_create_inferior): Update.
3136 * ocd.c (ocd_create_inferior): Update.
3137 * ocd.h (ocd_create_inferior): Update.
3138 * nto-procfs.c (procfs_create_inferior): Update.
3139 * monitor.c (monitor_create_inferior): Update.
3140 * lin-lwp.c (lin_lwp_create_inferior): Update.
3141 * inftarg.c (child_create_inferior): Update.
3142 * hpux-thread.c (hpux_thread_create_inferior): Update.
3143 * gnu-nat.c (gnu_create_inferior): Update.
3144
1db2a798
AC
31452004-05-25 Andrew Cagney <cagney@gnu.com>
3146
3147 * MAINTAINERS: Update e-mail address.
3148
007d08bb
RC
31492004-05-24 Randolph Chung <tausq@debian.org>
3150
3151 * thread.c (info_threads_command, thread_apply_all_command)
3152 (thread_apply_command, thread_command, do_captured_thread_select):
3153 Remove HPUXHPPA-specific code.
3154
69e7b95e
RC
31552004-05-24 Randolph Chung <tausq@debian.org>
3156
3157 * hppa-tdep.c (SR4EXPORT_LDIL_OFFSET, SR4EXPORT_LDO_OFFSET): Remove
3158 unused symbols.
3159 * hppa-tdep.h (HPPA_INSTRUCTION_SIZE): Remove, since there are no more
3160 references.
3161
a4d5f2e0
JB
31622004-05-24 Joel Brobecker <brobecker@gnat.com>
3163
3164 * infcmd.c (kill_if_already_running): New function, extracted
3165 from run_command().
3166 (run_command): Replace extracted code by call to
3167 kill_if_already_running().
3168 (start_command): New function.
3169 (_initialize_infcmd): Add "start" command.
3170
bf2ca189
MK
31712004-05-24 Mark Kettenis <kettenis@gnu.org>
3172
3173 Add OpenBSD/m88k support.
3174 * NEWS (New native configurations): Mention OpenBSD/m88k.
3175 * m88k-tdep.c, m88k-tdep.h, m88kbsd-nat.c, config/m88k/nm-obsd.h,
3176 config/m88k/obsd.mh, config/m88k/obsd.mt: New files.
3177 * Makefile.in (m88k_tdep_h): New variable.
3178 (ALLDEPFILES): Add m88k-tdep.c and m88kbsd-nat.c.
3179 (m88kbsd-nat.o, m88k-tdep.o): New dependencies.
3180 * configure.host: Add m88*-*-openbsd*.
3181 * configure.tgt: Add m88*-*-openbsd*.
3182
80fadb11
JB
31832004-05-24 Jim Blandy <jimb@redhat.com>
3184
3185 * MAINTAINERS (tracing bytecode stuff): Allow global maintainers
3186 to approve changes.
3187
19e2d14b
KB
31882004-05-24 Kevin Buettner <kevinb@redhat.com>
3189
3190 * symtab.c (fixup_section): Search section table when lookup by
3191 name fails.
3192
1b07b470
RC
31932004-05-24 Randolph Chung <tausq@debian.org>
3194
3195 * hppa-tdep.c: Fix handling of 8-byte structures; they should not
3196 be "small_struct".
3197
368702b1
MK
31982004-05-24 Mark Kettenis <kettenis@gnu.org>
3199
5df97fde
MK
3200 * m68kbsd-nat.c (m68kbsd_collect_gregset): Specify correct
3201 register number in regcache_raw_collect call.
3202 (m68kbsd_collect_fpregset): Likewise.
3203 * vaxbsd-nat.c (vaxbsd_collect_gregset): Likewise.
3204
368702b1
MK
3205 * regset.h (struct regset): Add back `regset' member.
3206
a770d4ec
MK
32072004-05-23 Mark Kettenis <kettenis@gnu.org>
3208
70f9f479
MK
3209 * configure.in: Check for td_pcb in `struct thread'.
3210 * configure, config.in: Regenerated.
3211
2e16d79e
MK
3212 * dpx2-nat.c: Remove file.
3213 * Makefile.in (ALLDEPFILES): Remove dpx2-nat.c.
3214 (dpx2-nat.o): Remove dependencies.
3215
492cf391
MK
3216 * amd64obsd-nat.c: Include "gdbcore.h", "regcache.h",
3217 <sys/types.h>, <machine/frame.h>, <machine/pcb.h> and "bsd-kvm.h".
3218 (amd64obsd_supply_pcb): New function.
3219 (_initialize_amd64obsd_nat): Enable libkvm interface.
3220 * Makefile.in (amd64obsd-nat.o): Update dependencies.
3221 * config/i386/obsd64.mh (NATDEPFILES): Add bsd-kvm.o
3222 (LOADLIBES): New variable.
3223
a770d4ec
MK
3224 * sparcnbsd-nat.c: Include "gdbcore.h", "regcache.h",
3225 <sys/types.h>, <machine/pcb.h> and "bsd-kvm.h".
3226 (sparc32nbsd_supply_pcb): New function.
3227 (_initialize_sparcnbsd_nat): Enable libkvm interface.
3228 * Makefile.in (sparcnbsd-nat.o): Update dependencies.
3229 * config/sparc/nbsdelf.mh (NATDEPFILES): Add bsd-kvm.o.
3230 (LOADLIBES): New variable.
3231
9ea75c57
MK
32322004-05-22 Mark Kettenis <kettenis@gnu.org>
3233
2e0c3539
MK
3234 * bsd-kvm.c, bsd-kvm.h: New files.
3235 * i386fbsd-nat.c: Include <sys/types.h>, <machine/pcb.h> and
3236 "bsd-kvm.h".
3237 (i386fbsd_supply_pcb): New function.
3238 * Makefile.in (ALLDEPFILES): Add bsd-kvm.c.
3239 (i386fbsd-nat.o): Update dependencies.
3240 (bsd_kvm_h): New variable.
3241 (bsd-kvm.o): New dependency.
3242 * config/i386/fbsd.mh (NATDEPFILES): Add bsd-kvm.o.
3243 (LOADLIBES): New variable.
3244
9ea75c57
MK
3245 * regset.c: Tweak comment.
3246 (regset_alloc): Remove descr argument. Use GDBARCH_OBSTACK_ZALLOC
3247 macro.
3248 * regset.h: Update copyright year.
3249 (struct regset): Remove `descr' member, add `gdbarch' member.
3250 (regset_alloc): Adjust prototype and comment.
3251 * i386-tdep.c (i386_supply_gregset): Get TDEP from REGSET->arch.
3252 (i386_supply_fpregset): Likewise.
3253 (i386_regset_from_core_section): Update call to regset_alloc.
3254 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get TDEP from
3255 REGSET->arch.
3256 (i386obsd_aout_regset_from_core_section): Update call to
3257 regset_alloc.
3258 * i386nbsd-tdep.c (i386nbsd_aout_supply_regset): Get TDEP from
3259 REGSET->arch.
3260 (i386nbsd_aout_regset_from_core_section): Update call to
3261 regset_alloc.
3262 * amd64-tdep.c (amd64_supply_fpregset): Get TDEP from
3263 REGSET->arch.
3264 (amd64_regset_from_core_section): Update call to regset_alloc.
3265 * amd64obsd-tdep.c (amd64obsd_supply_regset): Get TDEP from
3266 REGSET->arch.
3267 (amd64obsd_regset_from_core_section): Update call to regset_alloc.
3268 * sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Directly pass
3269 &sparc32nbsd_gregset in sparc32_supply_gregset call.
3270 (sparc32nbsd_init_abi): Update call to regset_alloc.
3271 * sparc64obsd-tdep.c (sparc64obsd_supply_gregset): Directly pass
3272 &sparc64obsd_core_gregset in sparc64_supply_gregset call.
3273 (sparc64obsd_init_abi): Update call to regset_alloc.
3274 * sparc64nbsd-tdep.c (sparc64nbsd_supply_gregset): Directly pass
3275 &sparc64nbsd_gregset in sparc64_supply_gregset call.
3276 (sparc64nbsd_init_abi): Update call to regset_alloc.
3277 * sparc64fbsd-tdep.c (sparc64fbsd_supply_gregset): Directly pass
3278 &sparc64fbsd_gregset in sparc64_supply_gregset call.
3279 (sparc64fbsd_init_abi): Update call to regset_alloc.
3280
867e2dc5
JB
32812004-05-22 Jim Blandy <jimb@redhat.com>
3282
3283 * ppc-tdep.h (spe_register_p): New declaration.
3284 (struct gdbarch_tdep): New members: ppc_acc_regnum and
3285 ppc_spefscr_regnum.
3286 * rs6000-tdep.c (spe_register_p): New function.
3287 (rs6000_dwarf2_stab_reg_to_regnum): Recognize numbers for acc and
3288 spefscr.
3289 (rs6000_gdbarch_init): Initialize the new members of the tdep
3290 structure.
3291
617a4cba
JB
32922004-05-21 Jim Blandy <jimb@redhat.com>
3293
0397dee1
JB
3294 * ppc-linux-nat.c (fetch_register): Move code back to be next
3295 to the comment that describes it. (Moved code, instead of
3296 comment, for symmetry with store_register.)
3297
617a4cba
JB
3298 Allocate regset structures in the gdbarch's obstack, not using
3299 xmalloc.
3300 * regset.c (regset_alloc): Renamed from regset_xmalloc.
3301 Add 'arch' argument. Allocate the regset on arch's obstack, not
3302 using xmalloc.
3303 * regset.h (regset_alloc): Update declaration.
3304 * am64-tdep.c (amd64_regset_from_core_section): Update call; pass
3305 gdbarch argument.
3306 * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Same.
3307 * i386-tdep.c (i386_regset_from_core_section): Same.
3308 * i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Same.
3309 * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Same.
3310 * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Same.
3311 * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Same.
3312 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Same.
3313 * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Same.
3314
9aa3914d
JB
33152004-05-21 Joel Brobecker <brobecker@gnat.com>
3316
3317 * config/djgpp/fnchange.lst: Undo previous change, was useless.
3318
99c87dab
JB
33192004-05-21 Jim Blandy <jimb@redhat.com>
3320
3321 * dwarf2expr.c (execute_stack_op): Add 'break' statements after
3322 cases for DW_OP_div and DW_OP_shr. (Thanks to Reva Cuthbertson.)
3323
c2b6b4aa
JB
33242004-05-20 Jim Blandy <jimb@redhat.com>
3325
3326 * rs6000-tdep.c (rs6000_push_dummy_call): Formatting fixes.
3327
144529d0
MK
33282004-05-20 Mark Kettenis <kettenis@gnu.org>
3329
3330 * regset.h: Make prototype const-correct.
3331 * regset.c (regset_xmalloc): Make const-correct.
3332
4725b721
PH
33332004-05-20 Paul N. Hilfinger <hilfinger@gnat.com>
3334
3335 * symtab.h (SYMBOL_SEARCH_NAME): New definition.
3336 (SYMBOL_MATCHES_SEARCH_NAME): New definition.
3337 (symbol_search_name): Declare.
3338
3339 * dictionary.c (iter_name_first_hashed): Match on SYMBOL_SEARCH_NAME.
3340 (iter_name_next_hashed): Ditto.
3341 (iter_name_next_linear): Ditto.
3342 (insert_symbol_hashed): Hash on SYMBOL_SEARCH_NAME.
3343
3344 * symtab.c (lookup_partial_symbol): Assume symbols ordered by
3345 search name, using SYMBOL_SEARCH_NAME and SYMBOL_MATCHES_SEARCH_NAME.
3346 (symbol_search_name): New function.
3347
3348 * symfile.c (compare_psymbols): Order by SYMBOL_SEARCH_NAME.
3349
3350 * minsyms.c (build_minimal_symbol_hash_tables): Change
3351 test for adding to demangled hash table to check for difference
3352 between SYMBOL_SEARCH_NAME and SYMBOL_LINKAGE_NAME.
3353
be07a590
JB
33542004-05-19 Jim Blandy <jimb@redhat.com>
3355
3356 Use a constructor function to create regset structures.
3357 * regset.h (supply_regset_ftype, collect_regset_ftype): New typedefs.
3358 (struct regset): Use supply_regset_ftype. Add new
3359 'collect_regset' member.
3360 (regset_xmalloc): New declaration.
3361 * regset.c: New file.
3362 * am64-tdep.c (amd64_regset_from_core_section): Use
3363 regset_xmalloc to construct regset structures.
3364 * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Same.
3365 * i386-tdep.c (i386_regset_from_core_section): Same.
3366 * i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Same.
3367 * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Same.
3368 * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Same.
3369 * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Same.
3370 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Same.
3371 * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Same.
3372 * Makefile.in (COMMON_OBS): Add regset.o.
3373 (regset.o): New rule.
3374
604368f5
JB
33752004-05-19 Joel Brobecker <brobecker@gnat.com>
3376
3377 * config/djgpp/fnchange.lst: Add entries for pthread_cond_wait.exp
3378 and pthread_cond_wait.c.
3379
82d69f8b
JB
33802004-05-18 Jim Blandy <jimb@redhat.com>
3381
3382 * rs6000-tdep.c (rs6000_gdbarch_init): Initialize tdep fields
3383 before the mach-specific switch, and then let the individual cases
3384 override the defaults, rather than leaving them uninitialized
3385 until the switch and then setting them in each case.
3386
5859efe5
RC
33872004-05-18 Randolph Chung <tausq@debian.org>
3388
3389 * hppa-tdep.c (hppa_frame_cache): Check for validity of r31 for
3390 millicode functions.
3391
9ca80cf8
RC
33922004-05-18 Randolph Chung <tausq@debian.org>
3393
3394 * somsolib.c (som_solib_remove_inferior_hook): Make all the size
3395 references to dld_flags_buffer consistent.
3396
ed70ba00
RC
33972004-05-18 Randolph Chung <tausq@debian.org>
3398
3399 * hppa-tdep.c (hppa_frame_cache): If a frame pointer is available, use
3400 it for unwinding the stack.
3401
63100632
RC
34022004-05-18 Randolph Chung <tausq@debian.org>
3403
3404 * config/pa/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE, SKIP_TRAMPOLINE_CODE)
3405 Undefine these so we can overide them using gdbarch.
3406
090ccbb7
RC
34072004-05-18 Randolph Chung <tausq@debian.org>
3408
3409 * hppa-tdep.c (hppa_stub_frame_unwind_cache): Don't do export stub
3410 handling for 64-bit HPUX (elf).
3411
594706e6
DJ
34122004-05-18 Daniel Jacobowitz <dan@debian.org>
3413
3414 * alpha-tdep.c (alpha_gdbarch_init): Use LL suffix for large
3415 constants.
3416 * amd64-tdep.c (amd64_skip_prologue): Likewise.
3417 * ia64-tdep.c (examine_prologue): Likewise.
3418 * ns32k-tdep.c (ns32k_fix_call_dummy): Remove unused function.
3419 * v850-tdep.c (v850_fix_call_dummy): Likewise.
3420
e5483145
MK
34212004-05-18 Mark Kettenis <kettenis@gnu.org>
3422
3423 * vax-tdep.c (vax_return_value): Implement
3424 RETURN_VALUE_ABI_RETURNS_ADDRESS.
3425
caed1a45
MK
34262004-05-17 Mark Kettenis <kettenis@gnu.org>
3427
3428 * vax-tdep.c (vax_return_value): Fix typo.
3429
3c0b7db2
AC
34302004-05-17 Andrew Cagney <cagney@redhat.com>
3431
5aae53e5
AC
3432 * MAINTAINERS: Mark Salter was also responsible for
3433 testsuite/config/
3434
3c0b7db2
AC
3435 * NEWS: Mention signal fixes.
3436
22b0923d
RC
34372004-05-17 Randolph Chung <tausq@debian.org>
3438
3439 * hppa-tdep.c (hppa_stub_frame_unwind_cache): For HPUX stub unwinding,
3440 check to see if we are unwinding an export stub. Export stubs clobber
3441 the %rp in the call path and stores the original rp in a stack slot.
3442
22f2b2f3
JB
34432004-05-17 Jim Blandy <jimb@redhat.com>
3444
3445 * MAINTAINERS: Update address for J.T. Conklin.
3446
cea96d64
RC
34472004-05-17 Randolph Chung <tausq@debian.org>
3448
3449 * hppa-tdep.c: Remove superfluous #include's.
3450 * Makefile.in (hppa-tdep.o): Update dependencies.
3451
f08f6a4a
RC
34522004-05-17 Randolph Chung <tausq@debian.org>
3453
3454 * hppa-tdep.c (THREAD_INITIAL_FRAME_SYMBOL): Delete unused symbol.
3455 (THREAD_INITIAL_FRAME_SYM_LEN): Likewise.
3456 (unwind_command, hppa_alignof, prologue_inst_adjust_sp)
3457 (is_branch, inst_saves_gr, inst_saves_fr, compare_unwind_entries)
3458 (read_unwind_info, internalize_unwinds, record_text_segment_lowaddr):
3459 Remove static function declarations.
3460
51da707a
MK
34612004-05-17 Mark Kettenis <kettenis@gnu.org>
3462
caed1a45
MK
3463 * alphabsd-nat.c: Update copyright year.
3464 (getregs_supplies): Replace PC_REGNUM with ALPHA_PC_REGNUM.
3465
c0c2b0db
MK
3466 * m68k-tdep.h (m68k_regnum): Add M68K_D2_REGNUM, M68K_D7_REGNUM
3467 and M68K_A2_REGNUM.
3468
51da707a
MK
3469 * m68k-tdep.c (m68k_svr4_return_value): Implement
3470 RETURN_VALUE_ABI_RETURNS_ADDRESS.
3471
8d027a04
MK
34722004-05-16 Mark Kettenis <kettenis@gnu.org>
3473
3474 * sol-thread.c Update copyright year. Fix various coding
3475 standards violations. Tweak a few comments.
3476 (td_err_string, td_state_string, thread_to_lwp, lwp_to_thread):
3477 Delete prototypes.
3478
0d99fdb9
RC
34792004-05-15 Randolph Chung <tausq@debian.org>
3480
3481 * hppa-tdep.h (hppa_frame_prev_register_helper): Pass save_regs
3482 as pointer instead of array reference since HPUX compiler does
3483 not accept unsized array arguments.
3484 * somsolib.c (dld_flags_buffer): Use constant array size.
3485
f7e3843a
MK
34862004-05-15 Mark Kettenis <kettenis@gnu.org>
3487
0fe85704
MK
3488 * amd64obsd-tdep.c (amd64obsd_sigtramp_p): Replace hexadecimal
3489 offset with decimal offset.
3490 (amd64obsd_sigcontext_addr): Return correct address for entire
3491 signal trampoline.
3492
a54f9a00
MK
3493 * vax-tdep.c (vax_frame_num_args): Use get_frame_base_address
3494 instead of get_frame_base.
3495
feae6502
MK
3496 * i386bsd-nat.c (supply_gregset): Use regcache_raw_supply.
3497 (fill_gregset): Use regcache_raw_collect.
3498
0382d099
MK
3499 * config/djgpp/fnchange.lst: Add entries for ppcobsd-nat.c and
3500 ppcobsd-tdep.c.
3501
f7e3843a
MK
3502 * config/sparc/tm-nbsd64.h: Remove file.
3503 * config/tm-sunos.h: Remove file.
3504
773df3e5
JB
35052004-05-15 Joel Brobecker <brobecker@gnat.com>
3506
3507 * rs6000-tdep.c (store_param_on_stack_p): New function,
3508 an improved version of some code extracted from skip_prologue().
3509 (skip_prologue): Use store_param_on_stack_p() to detect
3510 instructions saving a parameter on the stack. Detect when r0
3511 is used to save a parameter.
3512 Do not mark "li rx, SIMM" instructions as part of the prologue,
3513 unless the following instruction is also part of the prologue.
3514
95918acb
AC
35152004-05-14 Andrew Cagney <cagney@redhat.com>
3516
06f32659
AC
3517 * infrun.c (handle_inferior_event): Simplify
3518 STEP_OVER_UNDEBUGGABLE.
3519
95918acb
AC
3520 * infrun.c (handle_step_into_function): Delete function.
3521 (handle_inferior_event): Inline calls to
3522 handle_step_into_function.
3523
40711ff1 35242004-05-14 Jerome Guitton <guitton@gnat.com>
42203e46
JG
3525
3526 * rs6000-nat.c: Fix a comment.
3527
02f60eae
JB
35282004-05-12 David Anderson <davea@sgi.com>
3529
3530 Committed by Jim Blandy <jimb@redhat.com>:
3531 * regcache.c (struct regcache_descr): fix comment spelling.
3532
552e377b
JB
35332004-05-13 J. Brobecker <brobecker@gnat.com>
3534
3535 * aix-thread.c: s/ppc_floating_point_p/ppc_floating_point_unit_p/.
3536 Fixes a link link failure.
3537
349766b2
JB
35382004-05-13 J. Brobecker <brobecker@gnat.com>
3539
3540 * aix-thread.c (store_regs_kernel_thread): Fix a little obvious
3541 error that was causing the build to fail.
3542
0d4d5484
JB
35432004-05-13 J. Brobecker <brobecker@gnat.com>
3544
3545 * aix-thread.c: #include "gdb_string.h". Needed for memset and memcopy.
3546 * Makefile.in (aix-thread.o): Add dependency on gdb_string.h.
3547
0b30808c
AC
35482004-05-13 Andrew Cagney <cagney@redhat.com>
3549
3550 * infrun.c (handle_inferior_event): Check for
3551 STEP_OVER_UNDEBUGGABLE after signal trampolines and function
3552 calls. Update comments.
3553
cdf2c5f5
JB
35542004-05-13 Jim Blandy <jimb@redhat.com>
3555
063715bf
JB
3556 * aix-thread.c (pdc_read_regs, supply_gprs64, supply_fprs)
3557 (fetch_regs_user_thread, fetch_regs_kernel_thread)
3558 (store_regs_user_thread, store_regs_kernel_thread): Use
3559 ppc_num_gprs and ppc_num_fprs instead of '32' and '31'.
3560 * ppc-linux-nat.c (fill_gregset): Same.
3561 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
3562 (ppc_linux_sigtramp_cache): Same.
3563 * ppcnbsd-tdep.c (ppcnbsd_supply_reg, ppcnbsd_fill_reg)
3564 (ppcnbsd_sigtramp_cache_init): Same.
3565 * rs6000-nat.c (fetch_core_registers): Same.
3566 * rs6000-tdep.c (ppc_supply_gregset, ppc_collect_gregset)
3567 (rs6000_frame_cache): Same.
3568
cdf2c5f5
JB
3569 * aix-thread.c (supply_gprs64, fetch_regs_user_thread)
3570 (store_regs_user_thread): Use tdep->ppc_gp0_regnum, instead
3571 of assuming that the gprs are numbered starting with zero.
3572 * ppc-linux-nat.c (fill_gregset): Same.
3573 * ppc-linux-tdep.c (ppc_linux_supply_gregset): Same.
3574 * ppcnbsd-nat.c (getregs_supplies): Same.
3575 * ppcnbsd-tdep.c (ppcnbsd_supply_reg, ppcnbsd_fill_reg): Same.
3576 * rs6000-nat.c (fetch_core_registers): Same.
3577 * rs6000-tdep.c (ppc_supply_gregset, ppc_collect_gregset): Same.
3578
450bd37b
MS
35792004-05-07 Michael Snyder <msnyder@redhat.com>
3580
3581 * tracepoint.c (scope_info): Add handling for LOC_COMPUTED,
3582 LOC_COMPUTED_ARG, and LOC_INDIRECT.
3583
4a72a2a6
AC
35842004-05-13 Andrew Cagney <cagney@redhat.com>
3585
3586 * infrun.c (handle_inferior_event): Use frame_unwind_id.
3587
8edfa926
BM
35882004-05-13 Bryce McKinlay <mckinlay@redhat.com>
3589
3590 * dwarf2loc.c (find_location_expression): Use ANOFFSET to adjust
3591 base_address for shared libraries.
3592
723e0e3d
BM
35932004-05-13 Bryce McKinlay <mckinlay@redhat.com>
3594
3595 * MAINTAINERS (write after approval): Add myself.
3596
00d4360e
UW
35972004-05-13 Ulrich Weigand <uweigand@de.ibm.com>
3598
3599 * breakpoint.c (bpstat_stop_status): Add new argument
3600 STOPPED_BY_WATCHPOINT. Use it instead of testing
3601 target_stopped_data_address agaist 0 to check whether
3602 or not we stopped due to a hardware watchpoint.
3603 * breakpoint.h (bpstat_stop_status): Adapt prototype.
3604 * infrun.c (handle_inferior_event): Call bpstat_stop_status
3605 with new argument.
3606
ec76baa5
JB
36072004-05-12 Jim Blandy <jimb@redhat.com>
3608
3609 * configure.in: When checking whether we should use the -bbigtoc
3610 option, don't forget to restore the original value of LDFLAGS.
3611 * configure: Regenerated.
3612
f2c9ca08
AC
36132004-05-12 Andrew Cagney <cagney@redhat.com>
3614
3615 * thread.c (load_infrun_state): Delete step_sp.
3616 * infrun.c (context_switch): Ditto.
3617 * inferior.h (step_sp): Ditto.
3618 * infcmd.c (step_sp, step_1, step_once, until_next_command): Ditto.
3619 * gdbthread.h (struct thread_info, save_infrun_state)
3620 (restore_infrun_state): Ditto.
3621
090ddb2a
UW
36222004-05-12 Ulrich Weigand <uweigand@de.ibm.com>
3623
3624 * MAINTAINERS (write after approval): Add myself.
3625
8aad930b
AC
36262004-05-12 Andrew Cagney <cagney@redhat.com>
3627
3628 * infrun.c (adjust_pc_after_break): Rewrite decr logic,
3629 eliminate reference to step_sp.
3630 (struct execution_control_state, init_execution_control_state)
3631 (handle_inferior_event, keep_going): Delete update_step_sp and
3632 step_sp.
3633 * infcmd.c (step_sp): Note that variable is unused.
3634
922d5ae0
AC
36352004-05-11 Andrew Cagney <cagney@redhat.com>
3636
3637 * infrun.c (step_over_function): Delete function.
3638 (handle_step_into_function): Use insert_step_resume_breakpoint.
3639 (insert_step_resume_breakpoint): Fix assertion.
3640
017c5ca5
NR
36412004-05-11 Nick Roberts <nickrob@gnu.org>
3642
3643 * utils.c (defaulted_query): Just use the normal query input type
3644 when printing the annotations.
3645
42edda50
AC
36462004-05-11 Andrew Cagney <cagney@redhat.com>
3647
3648 * infrun.c (handle_inferior_event): Simplify code handling
3649 step-into or return-from a signal trampoline.
3650
d28b44a7
AC
36512004-05-11 Andrew Cagney <cagney@redhat.com>
3652
3653 * ppcnbsd-tdep.c: Include "gdb_assert.h".
3654 * Makefile.in (ppcnbsd-tdep.o): Update dependencies.
3655
383f0f5b
JB
36562004-05-10 Jim Blandy <jimb@redhat.com>
3657
d0b57c3a
JB
3658 * ppc-bdm.c (bdm_ppc_fetch_registers): Replace utterly broken code
3659 with a call to internal_error.
3660
383f0f5b
JB
3661 * ppc-tdep.h (struct gdbarch_tdep): Change definition of
3662 ppc_fp0_regnum and ppc_fpscr_regnum: if they are -1, then this
3663 processor variant lacks those registers.
3664 (ppc_floating_point_unit_p): Change description to make it clear
3665 that this returns info about the ISA, not the ABI.
3666 * rs6000-tdep.c (ppc_floating_point_unit_p): Decide whether to
3667 return true or false by checking tdep->ppc_fp0_regnum and
3668 tdep->ppc_fpscr_regnum. The original code replicated the BFD
3669 arch/mach switching done in rs6000_gdbarch_init; it's better to
3670 keep that logic there, and just check the results here.
3671 (rs6000_gdbarch_init): On the E500, set tdep->ppc_fp0_regnum and
3672 tdep->ppc_fpscr_regnum to -1 to indicate that we have no
3673 floating-point registers.
3674 (ppc_supply_fpregset, ppc_collect_fpregset)
3675 (rs6000_push_dummy_call, rs6000_extract_return_value)
3676 (rs6000_store_return_value): Assert that we have floating-point
3677 registers.
3678 (rs6000_dwarf2_stab_reg_to_regnum): Add FIXME.
3679 (rs6000_frame_cache): Don't note the locations at which
3680 floating-point registers were saved if we have no fprs.
3681 * aix-thread.c (supply_fprs, fill_fprs): Assert that we have FP
3682 registers.
3683 (fetch_regs_user_thread, fetch_regs_kernel_thread)
3684 (store_regs_user_thread, store_regs_kernel_thread): Only call
3685 supply_fprs / fill_fprs if we actually have floating-point
3686 registers.
3687 (special_register_p): Check ppc_fpscr_regnum before matching
3688 against it.
3689 (supply_sprs64, supply_sprs32, fill_sprs64, fill_sprs32): Don't
3690 supply / collect fpscr if we don't have it.
3691 * ppc-bdm.c: #include "gdb_assert.h".
3692 (bdm_ppc_fetch_registers, bdm_ppc_store_registers): Assert that we
3693 have floating-point registers, since I can't test this code on
3694 FP-free systems to adapt it.
3695 * ppc-linux-nat.c (ppc_register_u_addr): Don't match against the
3696 fpscr and floating point register numbers if they don't exist.
3697 (fetch_register): Assert that we have floating-point registers
3698 before we reach the code that handles them.
3699 (store_register): Same. And use tdep instead of calling
3700 gdbarch_tdep again.
3701 (fill_fpregset): Don't try to collect FP registers and fpscr if we
3702 don't have them.
3703 (ppc_linux_sigtramp_cache): Don't record the saved locations of
3704 fprs and fpscr if we don't have them.
3705 (ppc_linux_supply_fpregset): Don't supply fp regs and fpscr if we
3706 don't have them.
3707 * ppcnbsd-nat.c: #include "gdb_assert.h".
3708 (getfpregs_supplies): Assert that we have floating-point registers.
3709 * ppcnbsd-tdep.c (ppcnbsd_supply_fpreg, ppcnbsd_fill_fpreg): Same.
3710 * ppcobsd-tdep.c: #include "gdb_assert.h".
3711 (ppcobsd_supply_gregset, ppcobsd_collect_gregset): Assert that we
3712 have floating-point registers.
3713 * rs6000-nat.c (regmap): Don't match against the fpscr and
3714 floating point register numbers if they don't exist.
3715 (fetch_inferior_registers, store_inferior_registers,
3716 fetch_core_registers): Only fetch / store / supply the
3717 floating-point registers and the fpscr if we have them.
3718 * Makefile.in (ppc-bdm.o, ppc-linux-nat.o, ppcnbsd-nat.o)
3719 (ppcobsd-tdep.o): Update dependencies.
3720
15960608
AC
37212004-05-10 Andrew Cagney <cagney@redhat.com>
3722
3723 * infrun.c (through_sigtramp_breakpoint): Delete variable.
3724 (context_switch): Do not switch through_sigtramp_breakpoint.
3725 * gdbthread.h (save_infrun_state, load_infrun_state)
3726 (struct thread_info): Delete through_sigtramp_breakpoint parameter
3727 and structure member.
3728 * thread.c (load_infrun_state, save_infrun_state): Update.
3729
5ab5aa0f
MK
37302004-05-10 Mark Kettenis <kettenis@gnu.org>
3731
3732 * m68kbsd-tdep.c (m68kbsd_elf_init_abi): Call m68k_svr4_init_abi.
3733
da78b0e7
DJ
37342004-05-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3735
3736 * acinclude.m4: Quote macro names being defined by AC_DEFUN
3737 throughout.
3738 * aclocal.m4: Regenerate.
3739
cca0d3b0
NW
37402004-05-10 Nathan J. Williams <nathanw@wasabisystems.com>
3741
3742 * alphanbsd-tdep.c: Fix include of "gdb_string.h".
3743
d303a6c7
AC
37442004-05-10 Andrew Cagney <cagney@redhat.com>
3745
3746 * infrun.c (check_sigtramp2): Delete function.
3747 (handle_inferior_event): When single stepping, and taking a
3748 signal, set a breakpoint at the signal return address. Delete
3749 redundant calls to check_sigtramp2.
3750 (insert_step_resume_breakpoint): New function.
3751 (through_sigtramp_breakpoint, handle_inferior_event)
3752 (follow_exec, wait_for_inferior, fetch_inferior_event)
3753 (currently_stepping, keep_going): Delete most uses of
3754 through_sigtramp_breakpoint, not that it should be deleted.
3755 (delete_breakpoint_current_contents): Delete function.
3756
03f4cc20
RC
37572004-05-10 Randolph Chung <tausq@debian.org>
3758
3759 * config/pa/linux.mt (TM_FILE): Use new tm-linux.h for hppa-linux
3760 target.
3761 * config/pa/tm-linux.h: New file.
3762
37fc812e
DJ
37632004-05-10 Daniel Jacobowitz <drow@mvista.com>
3764
3765 * cli/cli-setshow.c (cmd_show_list): Check for "show" in the middle
3766 of prefixes. Don't print the prefix twice in the CLI.
3767
26c0b942
JB
37682004-05-10 Jim Blandy <jimb@redhat.com>
3769
2e56e9c1
JB
3770 * rs6000-tdep.c (ppc_collect_gregset): When regnum == -1, do
3771 collect all the gprs.
3772
26c0b942
JB
3773 * rs6000-tdep.c (ppc_collect_gregset): Correct off-by-one error in
3774 loop collecting gprs.
3775
dc497459
AC
37762004-05-09 Andrew Cagney <cagney@redhat.com>
3777
3778 * remote-vx.c (net_step): Delete step-range code.
3779 * remote.c (remote_resume, init_all_packet_configs)
3780 (set_remote_protocol_E_packet_cmd)
3781 (show_remote_protocol_E_packet_cmd)
3782 (remote_protocol_E, show_remote_cmd, _initialize_remote)
3783 (remote_protocol_e, set_remote_protocol_e_packet_cmd)
3784 (show_remote_protocol_e_packet_cmd): Ditto.
3785
0543f387
MK
37862004-05-09 Mark Kettenis <kettenis@gnu.org>
3787
c481d1ca
MK
3788 * hppa-tdep.h (enum hppa_regnum): Name enum, add HPPA_R1_REGNUM.
3789
f626a069
MK
3790 * hppa-tdep.h: Update copyright year.
3791 (struct trad_frame_saved_reg): Add opaque declaration.
3792
6fa57a7d
MK
3793 * amd64-tdep.c (amd64_return_value): Implement
3794 RETURN_VALUE_ABI_RETURNS_ADDRESS.
3795
e47577ab
MK
3796 * m68k-tdep.c (m68k_convert_register_p, m68k_register_to_value)
3797 (m68k_value_to_register): New functions.
3798 (m68k_gdbarch_init): Set convert_register_p, register_to_value and
3799 value_to_register.
3800
31db7b6c
MK
3801 * defs.h (enum return_value_convention): Add
3802 RETURN_VALUE_ABI_RETURNS_ADDRESS and
3803 RETURN_VALUE_ABI_PRESERVES_ADDRESS.
3804 * infcmd.c (legacy_return_value): New function.
3805 (print_return_value): Rwerite to implement
3806 RETURN_VALUE_ABI_RETURNS_ADDRESS.
3807 * values.c (using_struct_return): Check for inequality to
3808 RETURN_VALUE_REGISTER_CONVENTION instead of equality to
3809 RETURN_VALUE_STRUCT_CONVENTION.
3810 * i386-tdep.c (i386_return_value): Implement
3811 RETURN_VALUE_ABI_RETURNS_ADDRESS.
3812
0543f387
MK
3813 * vax-tdep.c: Tweak comments. Reorder include files. Don't
3814 include "symtab.h", "opcode/vax.h" and "inferior.h".
3815 (vax_skip_prologue): Replace calls to read_memory_integer by calls
3816 to read_memory_unsigned_integer.
3817 (vax_gdbarch_init): Reorder.
3818 (_initialize_vax_tdep): Spell out prototype.
3819 * Makefile.in (vax-tdep.o): Update dependencies.
3820
0c93b7b6
AC
38212004-05-08 Andrew Cagney <cagney@redhat.com>
3822
e6b55ae2
AC
3823 * infrun.c (resume): Delete call to DO_DEFERRED_STORES.
3824 * target.c (target_detach, target_disconnect): Ditto.
3825
1ac839b8
AC
3826 * infcall.c (call_function_by_hand): When no
3827 DEPRECATED_SAVE_DUMMY_FRAME_TOS call generic_save_dummy_frame_tos.
3828 * rs6000-tdep.c (rs6000_gdbarch_init): Do not set
3829 DEPRECATED_SAVE_DUMMY_FRAME_TOS.
3830 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
3831 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
3832
28954179
AC
3833 * gdbarch.sh (DEPRECATED_FIX_CALL_DUMMY): Delete.
3834 * gdbarch.h, gdbarch.c: Re-generate.
3835 * ns32k-tdep.c (ns32k_gdbarch_init): Do not set
3836 deprecated_fix_call_dummy.
3837 * v850-tdep.c (v850_gdbarch_init): Ditto.
3838 * infcall.c (call_function_by_hand): Do not call
3839 DEPRECATED_FIX_CALL_DUMMY.
3840
434b87dd
AC
3841 * gdbarch.sh (DEPRECATED_CALL_DUMMY_WORDS)
3842 (DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Delete.
3843 * gdbarch.h, gdbarch.c: Re-generate.
3844 * arm-linux-tdep.c (arm_linux_call_dummy_words)
3845 (arm_linux_init_abi): Do not set deprecated_call_dummy_words or
3846 deprecated_sizeof_call_dummy_words.
3847 * arm-tdep.c (arm_call_dummy_words, arm_gdbarch_init): Ditto.
3848 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
3849 * v850-tdep.c (v850_gdbarch_init): Ditto.
3850 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
3851 * ns32k-tdep.c (ns32k_call_dummy_words, ns32k_gdbarch_init): Ditto.
3852 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
3853 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
3854 * arch-utils.h (legacy_call_dummy_words)
3855 (legacy_sizeof_call_dummy_words): Delete declarations.
3856 * arch-utils.c (legacy_call_dummy_words)
3857 (legacy_sizeof_call_dummy_words): Delete variables.
3858
58d28df8
AC
3859 * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Delete.
3860 * gdbarch.h, gdbarch.c: Re-generate.
3861 * inferior.h (PUSH_DUMMY_FRAME): Delete macro.
3862 * infcall.c (call_function_by_hand): Eliminate call to
3863 DEPRECATED_PUSH_DUMMY_FRAME.
3864 * ns32k-tdep.c (ns32k_gdbarch_init): Do not set deprecated
3865 push_dummy_frame.
3866 (ns32k_push_dummy_frame): Delete function.
3867
e4a2df64
AC
3868 * ns32k-tdep.c (ns32k_gdbarch_init): Do not set
3869 deprecated_call_dummy_breakpoint_offset or
3870 deprecated_call_dummy_start_offset.
3871 * dummy-frame.c, arm-tdep.c: Update comments.
3872 * gdbarch.sh (DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET)
3873 (DEPRECATED_CALL_DUMMY_START_OFFSET): Delete.
3874 * gdbarch.h, gdbarch.c: Re-generate.
3875
d3712828
AC
3876 * infcall.c (legacy_push_dummy_code): Delete function.
3877 (push_dummy_code): Delete call.
3878
7a882905
AC
3879 * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Delete.
3880 * gdbarch.h, gdbarch.c: Re-generate.
3881 * blockframe.c (legacy_frame_chain_valid): Simplify by eliminating
3882 DEPRECATED_USE_GENERIC_DUMMY_FRAMES.
3883 * infcall.c (legacy_push_dummy_code, call_function_by_hand): Ditto.
3884 * frame.c (frame_type_from_pc, legacy_get_prev_frame): Ditto.
3885
0ec5872b
AC
3886 * breakpoint.h (deprecated_frame_in_dummy): Delete declaration.
3887 (struct frame_info): Delete opaque declaration.
3888 * breakpoint.c (deprecated_frame_in_dummy): Delete function.
3889 * frame.c (get_frame_type): Delete call.
3890
0c93b7b6
AC
3891 * ns32k-tdep.c (ns32k_gdbarch_init): Do not set deprecated
3892 pc_in_call_dummy.
3893 * inferior.h (deprecated_pc_in_call_dummy_on_stack): Delete.
3894 * blockframe.c (deprecated_pc_in_call_dummy_on_stack): Delete.
3895
75536971
MK
38962004-05-08 Mark Kettenis <kettenis@gnu.org>
3897
527ca6bb
MK
3898 * alphanbsd-tdep.c: Include "gdb_string.h".
3899 * armnbsd-tdep.c: Update copyright year.
3900 Include "gdb_string.h".
3901 * Makefile.in (alphanbsd-tdep.o, armnbsd-tdep.o): Update
3902 dependencies.
3903
d39fdc61
MK
3904 * delta68-nat.c: Remove file.
3905 * m68k-tdep.c (delta68_in_sigtramp, delta68_frame_args_address)
3906 (delta68_frame_saved_pc, delta68_frame_num_args): Remove functions.
3907 * Makefile.in (ALLDEPFILES): Remove delta68-nat.c.
3908 (delta68-nat.o): Remove dependency.
3909
75536971
MK
3910 * m68k-tdep.c (m68k_frameless_function_invocation): Remove
3911 function.
3912 (m68k_gdbarch_init): Don't set
3913 deprecated_frameless_function_invocation.
3914
f4ca1d1f
RC
39152004-05-07 Randolph Chung <tausq@debian.org>
3916
3917 * hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Use
3918 read_memory_nobpt for code reading when doing frame unwinding.
3919 * hppa-linux-tdep.c (insns_match_pattern): Likewise.
3920
2f0e8c7a
RC
39212004-05-07 Randolph Chung <tausq@debian.org>
3922
3923 * hppa-linux-tdep.c (hppa_linux_sigtramp_find_sigcontext): Pass in pc
3924 instead of sp, handle sigaltstack case.
3925 (hppa_linux_sigtramp_frame_unwind_cache): Adjust calls to
3926 hppa_linux_sigtramp_find_sigcontext, and set base to the frame of the
3927 signal handler and not that of the caller.
3928 (hppa_linux_sigtramp_unwind_sniffer): Adjust calls to
3929 hppa_linux_sigtramp_find_sigcontext.
3930
959464ff
RC
39312004-05-07 Randolph Chung <tausq@debian.org>
3932
3933 * Makefile.in (ALLDEPFILES): Add hppa-linux-tdep.c and
3934 hppa-linux-nat.c.
3935 (hppa-linux-tdep.o, hppa-linux-nat.o): Define rules.
3936 * hppa-linux-nat.c (fetch_register, store_register): Define.
3937 (fetch_inferior_registers, store_inferior_registers): Define.
3938 (supply_gregset): Add comment and clean up some unneeded code.
3939 (fill_gregset): Add comment and fix so that it saves registers in
3940 the right place in the gregset.
3941 (fill_fpregset): Fix buffer overrun problem.
3942 * config/pa/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
3943
0da28f8a
RC
39442004-05-07 Randolph Chung <tausq@debian.org>
3945
3946 * hppa-tdep.c (hppa_frame_prev_register_helper): New function to
3947 do common handling of the pcoqt register.
3948 (hppa_frame_prev_register, hppa_stub_frame_prev_register): Convert
3949 to use helper function.
3950 (hppa_frame_unwind_sniffer): Only use if unwind entry is present.
3951 (hppa_fallback_frame_cache, hppa_fallback_frame_this_id)
3952 (hppa_fallback_frame_prev_register, hppa_fallback_frame_unwind): New
3953 generic fallback unwinder when all else fails.
3954 (hppa_gdbarch_init): Add fallback sniffer.
3955 * hppa-tdep.h (hppa_frame_prev_register_helper): Prototype.
3956 * hppa-linux-tdep.c (hppa_linux_sigtramp_frame_prev_register): Convert
3957 to use helper function.
3958
b9ec757a
JB
39592004-05-08 Joel Brobecker <brobecker@gnat.com>
3960
3961 * config/djgpp/fnchange.lst: Add translation rules for
3962 gdb.arch/powerpc-aix-prologue.c and gdb.arch/powerpc-aix-prologue.exp.
3963
756e95f1
MK
39642004-05-08 Mark Kettenis <kettenis@gnu.org>
3965
3966 * frame.c (get_prev_frame_1): Work around GCC bug.
3967 * frame.h: Add comment about GCC bug.
3968
2b4855ab
AC
39692004-05-07 Andrew Cagney <cagney@redhat.com>
3970
3971 * observer.c: Include "commands.h" and "gdbcmd.h".
3972 (observer_debug, _initialize_observer): Add the
3973 command "set/show debug observer".
3974 * observer.sh: When observer debugging, log notify calls.
3975 * Makefile.in (observer.o): Update dependencies.
3976
ba3e8e46
JM
39772004-05-07 Jason Molenda (jmolenda@apple.com)
3978
3979 * cli/cli-decode.c: Fix "SHOW_DOR" comment typeos.
3980
16796152
JB
39812004-05-07 Jim Blandy <jimb@redhat.com>
3982
daf6dc85
JB
3983 * aix-thread.c (fetch_regs_kernel_thread, fill_gprs64,
3984 fill_gprs32, store_regs_kernel_thread): Use tdep->ppc_gp0_regnum
3985 to recognize gpr regnums, instead of assuming that
3986 tdep->ppc_fp0_regnum marks the end of the general-purpose
3987 registers.
3988
16796152
JB
3989 * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Assert that
3990 the given architecture has floating-point registers.
3991
c69b8bfc
AC
39922004-05-07 Andrew Cagney <cagney@redhat.com>
3993
3994 * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Replace with
3995 macro defined to 1.
3996 * gdbarch.h, gdbarch.c: Re-generate.
3997 * ns32k-tdep.c (ns32k_gdbarch_init): Do not set
3998 deprecated_use_generic_dummy_frames.
3999
7243600a
BF
40002004-05-07 Brian Ford <ford@vss.fsi.com>
4001
4002 * NEWS: Mention Cygwin DWARF 2 support.
4003
73c1e0a1
AC
40042004-05-07 Andrew Cagney <cagney@redhat.com>
4005
4006 * objfiles.h (struct entry_info): Delete unused fields
4007 deprecated_entry_file_lowpc and deprecated_entry_file_highpc.
4008 * objfiles.c (init_entry_point_info, objfile_relocate): Update.
4009 * mipsread.c (mipscoff_symfile_read): Update.
4010 * mdebugread.c (parse_partial_symbols): Update.
4011 * dwarfread.c (read_file_scope): Update.
4012 * dwarf2read.c (read_file_scope): Update.
4013 * dbxread.c (read_dbx_symtab, read_dbx_symtab): Update.
4014 * coffread.c (complete_symtab): Update.
4015
1d3056ac
MK
40162004-05-07 Mark Kettenis <kettenis@gnu.org>
4017
4018 * infcall.c (_initialize_infcall): Fix typo.
4019
15170568
AC
40202004-05-07 Andrew Cagney <cagney@redhat.com>
4021
4022 * cli/cli-decode.c (add_setshow_zinteger_cmd): New function.
4023 * command.h (add_setshow_zinteger_cmd): Declare.
4024
34f75cc1
RC
40252004-05-06 Randolph Chung <tausq@debian.org>
4026
4027 * config/pa/tm-hppa.h (RO_REGNUM, FLAGS_REGNUM, RP_REGNUM)
4028 (HPPA_FP_REGNUM, HPPA_SP_REGNUM, SAR_REGNUM, IPSW_REGNUM)
4029 (PCOQ_HEAD_REGNUM, PCSQ_HEAD_REGNUM, PCOQ_TAIL_REGNUM, PCSQ_TAIL_REGNUM)
4030 (EIEM_REGNUM, IIR_REGNUM, ISR_REGNUM, IOR_REGNUM, SR4_REGNUM)
4031 (RCR_REGNUM, PID0_REGNUM, PID1_REGNUM, PID2_REGNUM, PID3_REGNUM)
4032 (CCR_REGNUM, TR0_REGNUM, CR27_REGNUM, HPPA_FP0_REGNUM, FP4_REGNUM)
4033 (ARG0_REGNUM, ARG1_REGNUM, ARG2_REGNUM, ARG3_REGNUM): Move *_REGNUM
4034 definitions ...
4035 * hppa-tdep.h: ... to here, with HPPA_ prefix.
4036 * Makefile.in (hppah-nat.o): Add $(hppa_tdep_h)
4037 * hppa-hpux-tdep.c (hppa32_hpux_frame_find_saved_regs_in_sig)
4038 (hppa64_hpux_frame_find_saved_regs_in_sig)
4039 (child_get_current_exception_event): Add HPPA_ prefix to *_REGNUM usage.
4040 * hppa-linux-nat.c (GR_REGNUM, TR_REGNUM, greg_map): Likewise.
4041 * hppa-linux-tdep.c (hppa_dwarf_reg_to_regnum)
4042 (hppa_linux_target_write_pc, hppa_linux_sigtramp_frame_unwind_cache)
4043 (hppa_linux_sigtramp_frame_prev_register): Likewise.
4044 * hppa-tdep.c (hppa32_return_value, hppa64_return_value)
4045 (hppa32_push_dummy_call, hppa64_push_dummy_call, hppa64_frame_align)
4046 (hppa_target_read_pc, hppa_target_write_pc, hppa_frame_cache)
4047 (hppa_frame_prev_register, hppa_stub_frame_unwind_cache)
4048 (hppa_stub_frame_prev_register, hppa_unwind_dummy_id)
4049 (hppa_skip_permanent_breakpoint, hppa_instruction_nullified)
4050 (hppa32_register_type, hppa_cannot_store_register)
4051 (hppa_fetch_pointer_argument, hppa_pseudo_register_read): Likewise.
4052 * hppah-nat.c (store_inferior_registers, fetch_register): Likewise.
4053 * hpread.c (hpread_process_one_debug_symbol): Likewise.
4054 * pa64solib.c (pa64_solib_have_load_event)
4055 (pa64_solib_have_unload_event, pa64_solib_loaded_library_pathname)
4056 (pa64_solib_unloaded_library_pathname): Likewise.
4057 * somsolib.c (som_solib_have_load_event, som_solib_have_unload_event)
4058 (som_solib_library_pathname): Likewise.
4059
0a5e7efe
JI
40602004-05-05 Jim Ingham <jingham@apple.com>
4061
4062 * breakpoint.c (create_breakpoints): Copy the ignore count and
4063 thread id over from the pended breakpoint to the actual
4064 breakpoint.
4065
10a4b113
AC
40662004-05-05 Andrew Cagney <cagney@redhat.com>
4067
4068 * gdbarch.sh (PARM_BOUNDARY): Delete.
4069 gdbarch.h, gdbarch.c: Re-generate.
4070 * valops.c (PARM_BOUNDARY): Delete macro.
4071 (value_push): Delete PARM_BOUNDARY code.
4072 * m68k-tdep.c (m68k_gdbarch_init): Do not set parm_boundary.
4073
366f009f
JB
40742004-05-04 Jim Blandy <jimb@redhat.com>
4075
32b99774
JB
4076 * ppc-linux-nat.c (fetch_ppc_registers, store_ppc_registers):
4077 Don't assume that the gprs, fprs, and UISA sprs are
4078 contiguous, start at register number zero, and end with fpscr.
4079 Instead, use the numbers from the tdep structure.
4080
366f009f
JB
4081 * config/rs6000/tm-rs6000.h (FP0_REGNUM): Document that this
4082 should no longer be used in code specific to the RS6000 and its
4083 derivatives.
4084 * ppc-tdep.h (struct gdbarch_tdep): Add 'ppc_fp0_regnum' member.
4085 * rs6000-tdep.c (rs6000_gdbarch_init): Initialize
4086 tdep->ppc_fp0_regnum.
4087 (ppc_supply_fpregset, ppc_collect_fpregset)
4088 (rs6000_push_dummy_call, rs6000_extract_return_value)
4089 (rs6000_dwarf2_stab_reg_to_regnum, rs6000_store_return_value)
4090 (rs6000_frame_cache): Use tdep->ppc_fp0_regnum instead of
4091 FP0_REGNUM.
4092 * aix-thread.c (supply_fprs, fetch_regs_kernel_thread)
4093 (fill_gprs64, fill_gprs32, fill_fprs, store_regs_kernel_thread):
4094 Same.
4095 * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_fetch_registers,
4096 bdm_ppc_store_registers): Same.
4097 * ppc-linux-nat.c (ppc_register_u_addr, fetch_register)
4098 (store_register, fill_fpregset): Same.
4099 * ppc-linux-tdep.c (ppc_linux_sigtramp_cache)
4100 (ppc_linux_supply_fpregset): Same.
4101 * ppcnbsd-nat.c (getfpregs_supplies): Same.
4102 * ppcnbsd-tdep.c (ppcnbsd_supply_fpreg, ppcnbsd_fill_fpreg):
4103 Same.
4104 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call,
4105 do_ppc_sysv_return_value, ppc64_sysv_abi_push_dummy_call,
4106 ppc64_sysv_abi_return_value): Same.
4107 * rs6000-nat.c (regmap, fetch_inferior_registers)
4108 (store_inferior_registers, fetch_core_registers): Same.
4109
827f338d
MK
41102004-05-01 Mark Kettenis <kettenis@gnu.org>
4111
4112 * m68knbsd-nat.c: Remove file.
4113 * m68knbsd-tdep.c: Remove file.
4114 * Makefile.in: (m68knbsd-nat.o, m68knbsd-tdep.o): Remove
4115 dependencies.
4116 * configure.host: Add m68k-*-netbsdelf*.
4117 * configure.tgt (m68k-*-netbsd*): Set gdb_target to nbsd.
4118 * config/m68k/nbsdaout.mh (NATDEPFILES): Add m68kbsd-nat.o,
4119 solib.o and solib-sunos.o. Remove m68knbsd-nat.o, corelow.o.
4120 (XM_FILE): Remove.
4121 * config/m68k/nbsdelf.mh: New file.
4122 * config/m68k/nbsd.mt: New file.
4123 * config/m68k/nbsdaout.mt: Remove file.
4124 * config/m68k/tm-nbsd.h: Don't include <sys/param.h>,
4125 <machine/vmparam.h> and "m68k/tm-m68k.h". Include "solib.h".
4126 (BPT_VECTOR, STACK_END_ADDR): Remove defines.
4127 (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Likewise.
4128 (use_struct_convention): Remove prototype.
4129 (USE_STRUCT_CONVENTION): Remove define.
4130 * config/m68k/xm-nbsd.h: Remove file.
4131
66894781
MS
41322004-05-04 Michael Snyder <msnyder@redhat.com>
4133
4134 * m68k-tdep.c (m68k_gdbarch_init): Default to using
4135 reg_struct_return method (as gcc usually does for cross targets).
4136
f0f63663
AC
41372004-05-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4138
4139 Committed by Andrew Cagney.
4140 * s390-tdep.c (s390_sigtramp_frame_unwind_cache): Account for
4141 alignment padding when accessing ucontext struct members.
4142
edf61169
JB
41432004-05-04 Jim Blandy <jimb@redhat.com>
4144
8bf659e8
JB
4145 * config/ppc-tdep.h (struct gdbarch_tdep): Delete
4146 'ppc_gplast_regnum' member.
4147 (ppc_num_gprs): New enum constant.
4148 * ppc-linux-nat.c (ppc_register_u_addr): Use tdep->ppc_gp0_regnum
4149 and ppc_num_gprs instead of tdep->ppc_gplast_regnum.
4150 * rs6000-nat.c (regmap, fetch_inferior_registers,
4151 store_inferior_registers): Same.
4152 * rs6000-tdep.c (e500_pseudo_register_read)
4153 (e500_pseudo_register_write): Same.
4154 (rs6000_gdbarch_init): Don't initialize tdep->ppc_gplast_regnum.
4155
b967e06f
JB
4156 * config/rs6000/tm-rs6000.h (FPLAST_REGNUM): Delete #definition.
4157 * ppc-tdep.h (ppc_num_fprs): New enum constant.
4158 * aix-thread.c (fetch_regs_kernel_thread, fill_fprs,
4159 store_regs_kernel_thread): Use FP0_REGNUM + ppc_num_fprs, not
4160 FPLAST_REGNUM.
4161 * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers):
4162 Same.
4163 * ppc-linux-nat.c (ppc_register_u_addr): Same.
4164 * rs6000-nat.c (regmap, fetch_inferior_registers)
4165 (store_inferior_registers): Same.
4166
edf61169
JB
4167 * aix-thread.c (fill_fprs): Fix off-by-one error comparing regno
4168 with FPLAST_REGNUM.
4169
58a9656e
JB
41702004-05-03 Joel Brobecker <brobecker@gnat.com>
4171
4172 * dwarf2read.c (dwarf2_create_include_psymtab): Fix build
4173 failure detected by recent versions of GCC.
4174 (psymtab_to_symtab_1): No longer use the PST_PRIVATE macro
4175 to be consistent with the usage in dwarf2_create_include_psymtab.
4176
dc305454
MS
41772004-05-03 Michael Snyder <msnyder@redhat.com>
4178
4179 * mips-tdep.c (mips_gdbarch_init): Fix typo in comment.
4180 (heuristic_proc_start): Whitespace cleanup.
4181
29972665
MK
41822004-05-04 Mark Kettenis <kettenis@gnu.org>
4183
6b57680d
MK
4184 * sun3-nat.c: Remove file.
4185 * Makefile.in (tm-sun3.h tm-altos.h tm-sun2.h tm-3b1.h): Remove
4186 dependencies.
4187 (ALLDEPFILES): Remove sun3-nat.c.
4188 (sun3-nat.o): Remove dependencies.
4189
29972665
MK
4190 * i386-interix-nat.c, i386-interix-tdep.c,
4191 config/i386/nm-interix.h, config/i386/interix.mh,
4192 config/i386/interix.mt: Remove files.
4193 * Makefile.in (i386-interix-nat.o, i386-interix-tdep.o): Remove
4194 dependencies.
4195
f595cb19
MK
41962004-05-03 Mark Kettenis <kettenis@gnu.org>
4197
4198 * m68k-tdep.h (struct gdbarch_tdep): Add member
4199 struct_value_regnum.
4200 (m68k_svr4_init_abi): New prototype.
4201 * m68k-tdep.c: Include "floatformat.h". Add comment about all the
4202 different calling conventions.
4203 (m68k_extract_return_value): Remove code dealing with single-field
4204 structs.
4205 (m68k_store_return_value): Remove code dealing with single-field
4206 structs. Correctly store return values of 5, 6, 7 or 8 bytes.
4207 (m68k_extract_struct_value_address): Remove function.
4208 (m68k_svr4_extract_return_value,m68k_svr4_store_return_value)
4209 (m68k_reg_struct_return_p, m68k_return_value)
4210 (m68k_svr4_return_value): New functions.
4211 (m68k_use_struct_convention): Remove function.
4212 (m68k_push_dummy_call): Use new struct_value_regnum member of
4213 `struct gdbarch_tdep' instead of hardcoded register number to
4214 store STRUCT_ADDR.
4215 (m68k_svr4_init_abi): New function.
4216 (m68k_gdbarch_init): Don't set extract_return_value,
4217 store_return_values, deprecated_extract_struct_value_address and
4218 use_struct_convention. Set return_value instead. Initialize new
4219 struct_value_regnum member of `struct gdbarch_tdep'.
4220 * m68klinux-tdep.c: Update copyright year.
4221 (m68k_linux_extract_return_value, m68k_linux_store_return_value)
4222 (m68k_linux_extract_struct_value_address): Remove function.
4223 (m68k_linux_init_abi): Don't set extract_return_value,
4224 store_return_values, deprecated_extract_struct_value_address and
4225 use_struct_convention. Call m68k_svr4_init_abi but override the
4226 new struct_value_regnum member of `struct gdbarch_tdep'.
4227 * Makefile.in (m68k-tdep.o): Update dependencies.
4228
aaa75496
JB
42292004-05-03 J. Brobecker <brobecker@gnat.com>
4230
4231 * dwarf2read.c (line_header): Add new included_p field in
4232 field file_names.
4233 (partial_die_info): New field has_stmt_list. New field line_offset.
4234 (dwarf2_create_include_psymtab): New function.
4235 (dwarf2_build_include_psymtabs): New function.
4236 (add_file_name): Add forward declaration. Initialize new field.
4237 (dwarf_decode_lines): Add new parameter. Enhance this procedure
4238 to be able to determine the list of files included by the
4239 given unit, and build their associated psymtabs.
4240 (dwarf2_build_psymtabs_hard): Build the psymtabs for the included
4241 files as well.
4242 (psymtab_to_symtab_1): Build the symtabs of all dependencies as well.
4243 (read_file_scope): Update call to dwarf_decode_lines.
4244 (read_partial_die): Handle DW_AT_stmt_list attributes.
4245
c848556f
MC
42462004-05-02 Michael Chastain <mec.gnu@mindspring.com>
4247
4248 Unfix PR gdb/1626.
4249 * configure.in: Revert special case for osf5.*.
4250 * configure: Regenerate.
4251
eb4556d7
JB
42522004-05-02 Jim Blandy <jimb@redhat.com>
4253
4254 Move the symbol-file-from-memory functions into their own file.
4255 * symfile-mem.c, symfile-mem.h: New files.
4256 * symfile.c (symbol_file_add_from_bfd): New function.
4257 (symbol_file_add): Call symbol_file_add_from_bfd.
4258 (symbol_file_add_from_memory, add_symbol_file_from_memory_command):
4259 Moved to symfile-mem.c.
4260 (_initialize_symfile): Move definition of
4261 add-symbol-file-from-memory command to symfile-mem.c.
4262 * symfile.h (symbol_file_add_from_bfd): New declaration.
4263 * config/i386/linux.mt (TDEPFILES): Add symfile-mem.o.
4264 * config/powerpc/linux.mt (TDEPFILES): Same.
4265 * Makefile.in (SFILES): Add symfile-mem.c.
4266 (symfile_mem_h): New variable.
4267 (HFILES_NO_SRCDIR): Add symfile-mem.h.
4268 (symfile-mem.o): New rule.
4269
80bb239e
AC
42702004-05-01 Andrew Cagney <cagney@redhat.com>
4271
7789d0fa
AC
4272 * breakpoint.c (insert_bp_location): Use get_frame_id, and
4273 frame_find_by_id instead of frame_relative_level.
4274 (do_enable_breakpoint): Ditto.
4275 * thread.c: Update copyright.
4276 (info_threads_command): Ditto, simplify.
4277
80bb239e
AC
4278 * frame.c (deprecated_generic_get_saved_register): Delete
4279 function, moved to "xstormy16-tdep.c".
4280 * xstormy16-tdep.c (xstormy16_get_saved_register): Inline
4281 deprecated_generic_get_saved_register from "frame.c".
4282 (xstormy16_frame_saved_register): Call
4283 xstormy16_get_saved_register.
4284 * dummy-frame.c (deprecated_find_dummy_frame_regcache): Make
4285 static.
4286 * dummy-frame.h (deprecated_find_dummy_frame_regcache): Delete.
4287 * frame.h (deprecated_generic_get_saved_register): Delete.
4288
b2a871dd
MC
42892004-05-01 Michael Chastain <mec.gnu@mindspring.com>
4290
4291 * dwarfread.c: Update documentation on the state of dwarf-1.
4292
0e100dab
AC
42932004-05-01 Andrew Cagney <cagney@redhat.com>
4294
acd8056e
AC
4295 * stack.c (select_frame_command): Delete call to
4296 frame_relative_level.
4297 (print_frame, set_backtrace_limit_command, backtrace_limit_info):
4298 Delete #if0 code.
4299 (frame_info): Do not print FRAMELESS.
4300 (print_block_frame_labels): Replace DEPRECATED_STREQ.
4301 (catch_info): Delete #if0 code.
4302
0e100dab
AC
4303 * frame.c (create_sentinel_frame): Set type to SENTINEL_FRAME.
4304 * dummy-frame.c (dummy_frame_this_id): Use get_frame_type, instead
4305 of frame_relative_level.
4306 * sentinel-frame.c (sentinel_frame_unwinder): Set unwinder's type
4307 to SENTINEL_FRAME.
4308 * frame.h (enum frame_type): Add SENTINEL_FRAME.
4309 * s390-tdep.c (s390_prologue_frame_unwind_cache): Delete calls to
4310 frame_relative_level.
4311
55699d59
AC
4312 * frame.h (deprecated_set_frame_type): Delete declaration.
4313 * frame.c (deprecated_set_frame_type): Delete function, update
4314 comments.
4315
fcf70625
AC
4316 * gdbarch.sh (DEPRECATED_PC_IN_SIGTRAMP): Delete.
4317 * gdbarch.h, gdbarch.c: Re-generate.
4318 * shnbsd-tdep.c (shnbsd_init_abi): Do not set pc_in_sigtramp.
4319 (shnbsd_pc_in_sigtramp): Delete.
4320 * i386-interix-tdep.c (i386_interix_init_abi): Do not set
4321 pc_in_sigtramp.
4322 * hppa-hpux-tdep.c (hppa_hpux_init_abi): Do not set
4323 pc_in_sigtramp.
4324 * frame.h: Update comments.
4325 * ppc-linux-tdep.c: Update comments.
4326 * breakpoint.c (bpstat_what): Update comments.
4327
ac5eccb7
AC
4328 * Makefile.in (m68klinux-tdep.o, m68klinux-nat.o): Fix
4329 m68klinux-tdep.o's dependencies, were previously added to
4330 m68klinux-nat.o.
4331
f2524b93
AC
4332 * alpha-tdep.c (alpha_sigtramp_frame_sniffer): Use pc_in_sigtramp.
4333 * alpha-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp.
4334 * alphafbsd-tdep.c (alphafbsd_init_abi): Update.
4335 * alpha-osf1-tdep.c (alpha_osf1_init_abi): Update.
4336 * alpha-linux-tdep.c (alpha_linux_init_abi): Update.
4337
17e20bce
AC
4338 * Makefile.in (m68klinux-nat.o): Update dependencies.
4339 * m68klinux-tdep.c: Include "trad-frame.h" and "frame-unwind.h".
4340 (m68k_linux_sigtramp_frame_cache)
4341 (m68k_linux_sigtramp_frame_this_id)
4342 (m68k_linux_sigtramp_frame_prev_register)
4343 (m68k_linux_sigtramp_frame_unwind)
4344 (m68k_linux_sigtramp_frame_sniffer)
4345 (struct m68k_linux_sigtramp_info, m68k_linux_init_abi): Code from
4346 m68k-tdep.h and m68k-tdep.c, add "linux" to function and variable
4347 names, use trad-frame.h.
4348 * m68k-tdep.h (struct gdbarch_tdep): Delete get_sigtramp_info.
4349 (struct m68k_sigtramp_info): Delete.
4350 * m68k-tdep.c (m68k_sigtramp_frame_cache)
4351 (m68k_sigtramp_frame_this_id, m68k_sigtramp_frame_prev_register)
4352 (m68k_sigtramp_frame_unwind, m68k_sigtramp_frame_sniffer)
4353 (m68k_gdbarch_init): Delete all the sigtramp code, moved to
4354 "m68klinux-tdep.c".
4355
c8864fa2
AC
4356 * infrun.c (check_sigtramp2): Delete check for
4357 DEPRECATED_PC_IN_SIGTRAMP and INNER_THAN.
4358
511dd2cd
MK
43592004-05-01 Mark Kettenis <kettenis@gnu.org>
4360
4361 * m68k-tdep.h (m68kbsd_fpreg_offset): New prototype.
4362
8c6b0e06
AC
43632004-05-01 Andrew Cagney <cagney@redhat.com>
4364
9df0bb3f
AC
4365 * frv-linux-tdep.c: Include "trad-frame.h" and "frame-unwind.h".
4366 (frv_linux_sigtramp_frame_cache)
4367 (frv_linux_sigtramp_frame_this_id)
4368 (frv_linux_sigtramp_frame_prev_register)
4369 (frv_linux_sigtramp_frame_unwind)
4370 (frv_linux_sigtramp_frame_sniffer): Copied from frv-tdep.c,
4371 include "linux" in function and variable names, directly call
4372 frv_linux_pc_in_sigtramp and frv_linux_sigcontext_reg_addr, use
4373 the latest trad-frame code.
4374 (frv_linux_init_abi): Append frv_linux_sigtramp_frame_sniffer, do
4375 not set frv_sigcontext_reg_addr or deprecated_pc_in_sigtramp
4376 * Makefile.in (frv-linux-tdep.o): Update dependencies.
4377 * frv-tdep.h (frv_set_sigcontext_reg_addr): Delete declaration.
4378 * frv-tdep.c (frv_sigtramp_frame_cache)
4379 (frv_sigtramp_frame_this_id, frv_sigtramp_frame_prev_register)
4380 (frv_sigtramp_frame_unwind, frv_sigtramp_frame_sniffer): Moved to
4381 frv-linux-tdep.c.
4382 (frv_gdbarch_init): Do not append a sigtramp sniffer.
4383 (struct gdbarch_tdep): Delete sigcontext_reg_addr.
4384 (frv_set_sigcontext_reg_addr): Delete function.
4385
8c6b0e06
AC
4386 * gdbarch.sh (DEPRECATED_SIGTRAMP_START)
4387 (DEPRECATED_SIGTRAMP_END): Delete.
4388 * gdbarch.h, gdbarch.c: Re-generate.
4389 * arch-utils.c (legacy_pc_in_sigtramp): Simplify.
4390 * config/vax/tm-vaxbsd.h: Update copyright.
4391 (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete.
4392 (DEPRECATED_IN_SIGTRAMP): Define.
4393 * config/m68k/tm-nbsd.h: Update copyright.
4394 (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete.
4395 (DEPRECATED_IN_SIGTRAMP): Define.
4396
50ea7769
MK
43972004-05-01 Mark Kettenis <kettenis@gnu.org>
4398
03ac2a74
MK
4399 * dwarf2-frame.c (read_encoded_value): Handle DW_EH_PE_funcrel
4400 encondings. Fixes PR gdb/1628.
4401
50ea7769
MK
4402 * dwarf2-frame.c (execute_cfa_program): Complain if we encounter a
4403 DW_CFA_restore state without a matching DW_CFA_remember_state
4404 instead of aborting. Fixes PR backtrace/1589.
4405
9a5d7be1
JB
44062004-04-30 Joel Brobecker <brobecker@gnat.com>
4407
4408 * MAINTAINERS: Add self as AIX maintainer.
4409 Update my e-mail address in write-after-approval section.
4410
2593d1cd
AC
44112004-04-30 Andrew Cagney <cagney@redhat.com>
4412
ce12bbf9
AC
4413 * frame.c (frame_type_from_pc): Delete call to PC_IN_SIGTRAMP.
4414 (legacy_get_prev_frame): Ditto.
4415
36710c63
AC
4416 * mips-tdep.c (mips_pc_in_sigtramp): Delete.
4417 (mips_gdbarch_init): Do not set pc_in_sigtramp.
4418 * mipsread.c (sigtramp_address): Delete extern variable.
4419 (mipscoff_new_init): Delete reference.
4420 * mdebugread.c (sigtramp_address, sigtramp_end): Delete variables.
4421 (fixup_sigtramp): Delete function.
4422 * config/mips/tm-mips.h (sigtramp_address, sigtramp_end)
4423 (fixup_sigtramp): Delete declarations.
4424
2593d1cd
AC
4425 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Do not set
4426 deprecated_pc_in_sigtramp.
4427 (ppcnbsd_pc_in_sigtramp): Delete function.
4428
2a25f91c
MK
44292004-05-01 Mark Kettenis <kettenis@gnu.org>
4430
4431 * config/m68k/nm-nbsd.h: Tweak comments.
4432 * config/m68k/nm-nbsdaout.h: Likewise.
4433
0b281939
AC
44342004-04-30 Andrew Cagney <cagney@redhat.com>
4435
4436 * arm-tdep.c (arm_sigtramp_unwind_sniffer): Call
4437 legacy_pc_in_sigtramp.
4438 * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Ditto.
4439
8f2d3ea0
MK
44402004-05-01 Mark Kettenis <kettenis@gnu.org>
4441
4442 Add OpenBSD/m68k support.
4443 * NEWS (New native configurations): Mention OpenBSD/m68k.
4444 * m68kbsd-tdep.c: New file.
4445 * m68kbsd-nat.c: New file.
4446 * Makefile.in (ALLDEPFILES): Add m68kbsd-nat.c and m68kbsd-tdep.c.
4447 (m68kbsd-nat.o, m68kbsd-tdep.o): New dependencies.
4448 * configure.host: Add m68k-*-openbsd.
4449 * configure.tgt: Add m68k-*-openbsd.
4450 * config/m68k/tm-obsd.h: New file.
4451 * config/m68k/obsd.mt: New file.
4452 * config/m68k/obsd.mh: New file.
4453 * config/djgpp/fnchange.lst: Add entries for m68kbsd-nat.c and
4454 m68kbsd-tdep.c.
4455
c40f49a4
AC
44562004-04-30 Andrew Cagney <cagney@redhat.com>
4457
4458 * mipsnbsd-tdep.c (mipsnbsd_pc_in_sigtramp): Delete function.
4459 (mipsnbsd_init_abi): Do not set pc_in_sigtramp.
4460
e81554cd
MK
44612004-04-30 Mark Kettenis <kettenis@gnu.org>
4462
4463 * m68k-tdep.c (REMOTE_BPT_VECTOR): Remove define.
4464 * config/m68k/tm-nbsd.h (REMOTE_BPT_VECTOR): Remove define.
4465
d4dc1a91
BF
44662004-04-30 Brian Ford <ford@vss.fsi.com>
4467
4468 Revert 2004-04-16 change.
4469 * i386-tdep.c (i386_gdbarch_init): Fix comment typos.
4470 (i386_coff_init_abi): Remove.
4471 * i386-tdep.h (i386_coff_init_abi): Remove.
4472 * i386-cygwin-tdep.c (i386_cygwin_init_abi): Remove call to above.
4473
2f72f850
AC
44742004-04-30 Andrew Cagney <cagney@redhat.com>
4475
e492f9d6
AC
4476 * blockframe.c (find_pc_partial_function): Delete use of
4477 DEPRECATED_PC_IN_SIGTRAMP, DEPRECATED_SIGTRAMP_START and
4478 DEPRECATED_SIGTRAMP_END.
4479
7b7adad0
AC
4480 * config/mips/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Delete.
4481 * config/mips/tm-irix6.h (DEPRECATED_IN_SIGTRAMP): Delete.
4482 * config/mips/tm-nbsd.h: Delete undef DEPRECATED_IN_SIGTRAMP.
4483 * config/mips/tm-irix5.h (DEPRECATED_IN_SIGTRAMP): Delete.
4484 * config/arm/tm-embed.h (DEPRECATED_IN_SIGTRAMP): Delete.
4485
2f72f850
AC
4486 * defs.h (deprecated_inside_entry_file): Delete declaration.
4487 * blockframe.c (deprecated_inside_entry_file): Delete function.
4488 (legacy_frame_chain_valid): Delete call.
4489 * sh64-tdep.c (sh64_frame_chain): Delete call.
4490 * objfiles.h: Update comments.
4491 * i386-interix-tdep.c (i386_interix_frame_chain_valid): Delete
4492 call.
4493 * frame.c (get_prev_frame): Delete call, update comments.
4494
283f90a7
BF
44952004-04-30 Brian Ford <ford@vss.fsi.com>
4496
4497 * MAINTAINERS (Write After Approval): Add myself.
4498
8ee56bcf
AC
44992004-04-30 Andrew Cagney <cagney@redhat.com>
4500
4501 * gdbarch.sh (BELIEVE_PCC_PROMOTION_TYPE): Delete.
4502 * gdbarch.h, gdbarch.c: Re-generate.
4503 * stabsread.c (define_symbol): Delete BELIEVE_PCC_PROMOTION_TYPE
4504 code.
4505
ee27e1b6
AC
45062004-04-30 Andrew Cagney <cagney@redhat.com>
4507
4508 * gdb-events.sh (selected_thread_changed)
4509 (selected_frame_level_changed, target_changed): Delete.
4510 * gdb-events.h, gdb-events.c: Re-generate.
4511 * valops.c (value_assign): Update.
4512 * stack.c (select_frame_command, up_silently_base)
4513 (down_silently_base): Update.
4514
d5ac5a39
AC
45152004-04-29 Andrew Cagney <cagney@redhat.com>
4516
4517 * mips-tdep.c (mips_register_type): Re-write, handle 32-bit ABI
4518 registers correctly.
4519 (print_gp_register_row, mips32_heuristic_proc_desc)
4520 (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call)
4521 (mips_o64_push_dummy_call, mips_eabi_push_dummy_call): Eliminate
4522 references to mips_isa_regsize.
4523
ceae6e75
AC
45242004-04-29 Andrew Cagney <cagney@redhat.com>
4525
4526 * mips-tdep.c (struct gdbarch_tdep): Delete
4527 mips_fp_register_double.
4528 (FP_REGISTER_DOUBLE): Delete macro, replace with test for
4529 mips_abi_regsize.
4530 (mips_gdbarch_init): Do not set mips_fp_register_double.
4531 (mips_dump_tdep): Do not print FP_REGISTER_DOUBLE.
4532
a587af0b
AC
45332004-04-29 Joel Brobecker <brobecker@gnat.com>
4534
4535 Committed by Andrew Cagney.
4536 * infrun.c (handle_inferior_event): Rely on frame IDs to detect
4537 function calls.
4538
13326b4e
AC
45392004-04-29 Andrew Cagney <cagney@redhat.com>
4540
4541 * mips-tdep.c (mips_abi_regsize): Replace tdep parameter with
4542 gdbarch, use mips_abi, update callers.
4543 (mips_stack_argsize): Replace tdep parameter with gdbarch, use
4544 mips_abi_regsize, update callers.
4545 (struct gdbarch_tdep): Delete mips_default_stack_argsize and
4546 mips_default_abi_regsize.
4547 (mips_gdbarch_init): Do not set mips_default_stack_argsize and
4548 mips_default_abi_regsize.
4549
711cc5cd
AC
45502004-04-29 Andrew Cagney <cagney@redhat.com>
4551
1b13c4f6
AC
4552 * mips-tdep.c (mips_abi_regsize): Rename mips_saved_regsize.
4553 (mips_abi_regsize_string): Rename mips_saved_regsize_string.
4554 (struct gdbarch_tdep): Rename mips_default_saved_regsize to
4555 mips_default_abi_regsize.
4556 (mips_isa_regsize): Rename mips_regisze.
4557 * mipsnbsd-tdep.c: Update.
4558 * mips-linux-tdep.c: Update.
4559 * irix5-nat.c: Update.
4560 * mips-tdep.h (mips_isa_regsize): Update.
4561
711cc5cd
AC
4562 * gdb-events.sh (WITH_GDB_EVENTS): Delete macro and references.
4563 Delete all disabled code.
4564 * gdb-events.h, gdb-events.c: Re-generate.
4565
e63bbc88
MK
45662004-04-19 Jerome Guitton <guitton@gnat.com>
4567 Mark Kettenis <kettenis@gnu.org>
4568
4569 * i386-tdep.c (i386_skip_prologue): follow the last jump only if
4570 the function begins with a branch instruction.
4571
fd35795f
MK
45722004-04-29 Mark Kettenis <kettenis@gnu.org>
4573
4574 * i386-tdep.c: Fix spelling mistakes.
4575
c960c18f
AC
45762004-04-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4577 Andrew Cagney <cagney@redhat.com>
4578
4579 * configure.in (mips-sgi-irix5*): Define _KMEMUSER for
4580 <sys/proc.h>.
4581 * acconfig.h: Provide default _KMEMUSER value.
4582 * config.in, configure: Re-generate.
4583 * NEWS: Mention fix.
4584
50306a9d
RC
45852004-04-24 Randolph Chung <tausq@debian.org>
4586
4587 * configure.host (hppa*-*-linux*): New target.
4588 * configure.tgt (hppa*-*-linux*): Likewise.
4589 * hppa-tdep.c (hppa_gdbarch_init): Set cannot_fetch_register, move
4590 gdbarch_init_osabi() call earlier so that osabi-specific frame
4591 unwinders can be registered first.
4592 * config/djgpp/fnchange.lst: Add entries for hppa-linux-tdep.c and
4593 hppa-linux-nat.c.
4594 * config/pa/tm-hppa.h (ISR_REGNUM, PID0_REGNUM, PID1_REGNUM)
4595 (PID2_REGNUM, PID3_REGNUM): Add definitions of some register numbers.
4596 * config/pa/linux.mh: New file.
4597 * config/pa/linux.mt: New file.
4598 * config/pa/nm-linux.h: New file.
4599 * config/pa/xm-linux.h: New file.
4600 * hppa-linux-nat.c: New file.
4601 * hppa-linux-tdep.c: New file.
4602
2a6228ef
RC
46032004-04-28 Randolph Chung <tausq@debian.org>
4604
4605 * hppa-tdep.c (hppa32_return_value): Handle both 4- and 8-byte fp
4606 return values.
4607 (hppa32_push_dummy_call): Fix small struct and floating point argument
4608 passing, and make sure the stack frame is properly aligned.
4609
82c10df6
AC
46102004-04-28 Andrew Cagney <cagney@redhat.com>
4611
d762c46a
AC
4612 * stack.c (print_stack_frame): Fix description.
4613
82c10df6
AC
4614 * NEWS: Mention gdb/gdbserver/configure execute permission
4615 changed. PR server/519.
4616
0faf0076
AC
46172004-04-28 Andrew Cagney <cagney@redhat.com>
4618
4619 * stack.c (print_stack_frame_stub): Delete declaration.
4620 (struct print_stack_frame_args, print_stack_frame)
4621 (print_frame_info, print_frame): Replace "source" with print what.
4622 Replace "print" with "print_level". Replace "args" with
4623 "print_args".
4624 * frame.h (show_and_print_stack_frame, print_stack_frame)
4625 (print_frame_info): Update declarations.
4626 * stack.c (select_and_print_frame, frame_command)
4627 (current_frame_command, up_command, down_command): Update calls -
4628 use get_selected_frame, pass "enum print_what" for source, do not
4629 call frame_relative_level.
4630 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Ditto.
4631 * remote-rdp.c (remote_rdp_open): Ditto.
4632 * remote-mips.c (common_open): Ditto.
4633 * remote-e7000.c (e7000_start_remote): Ditto.
4634 * ocd.c (ocd_start_remote): Ditto.
4635 * mi/mi-main.c (mi_cmd_exec_return): Ditto.
4636 * infrun.c (normal_stop): Ditto.
4637 * inflow.c (kill_command): Ditto.
4638 * infcmd.c (finish_command): Ditto.
4639 * corelow.c (core_open): Ditto.
4640 * tracepoint.c (finish_tfind_command): Ditto.
4641 * thread.c (info_threads_command, info_threads_command)
4642 (restore_current_thread, do_captured_thread_select): Ditto.
4643 * ada-tasks.c (task_command): Ditto.
4644
f4c5303c
OF
46452004-04-26 Orjan Friberg <orjanf@axis.com>
4646
4647 * frame.c: Include "observer.h".
4648 (frame_observer_target_changed): New function.
4649 (_initialize_frame): Attach target_changed observer.
4650 * regcache.c: Include "observer.h".
4651 (regcache_observer_target_changed): New function.
4652 (_initialize_regcache): Attach target_changed observer.
4653 * valops.c: Include "observer.h".
4654 (value_assign): Notify target_changed event when modifying register.
4655 * Makefile.in (frame.o, regcache.o, valops.o): Add $(observer_h).
4656
7270d8f2
OF
46572004-04-26 Orjan Friberg <orjanf@axis.com>
4658
4659 From Paul Koning <pkoning@equallogic.com>:
4660 * breakpoint.c (free_valchain): New function.
4661 (insert_bp_location, delete_breakpoint): Use free_valchain.
4662 (remove_breakpoint): Do not remove the valchain.
4663 (bpstat_stop_status): If not stopped by watchpoint, skip
4664 watchpoints when generating stop status list.
4665 * infrun.c (handle_inferior_event): Make
4666 stepped_after_stopped_by_watchpoint a global variable.
4667 * remote.c (remote_stopped_data_address): Return watch data
4668 address rather than zero if stepped_after_stopped_by_watchpoint is
4669 set.
4670
02d62932
MC
46712004-04-25 Michael Chastain <mec.gnu@mindspring.com>
4672
4673 Fix PR gdb/1626.
4674 * configure.in: Check for curses after termcap.
4675 On osf5.*, do not check for ncurses.
4676 * configure: Regenerate.
4677
3e9a183c
MK
46782004-04-25 Mark Kettenis <kettenis@gnu.org>
4679
c79ac407
MK
4680 * ppcobsd-nat.c: Include "ppc-tdep.h".
4681 * Makefile.in (ppcobsd-nat.o): Update dependencies.
4682
3e9a183c
MK
4683 * stack.c (return_command): Use CHECK_TYPEDEF on the return type.
4684 Fixes PR tdep/1623 and PR tdep/1624.
4685
38cc9c28
MC
46862004-04-24 Michael Chastain <mec.gnu@mindspring.com>
4687
4688 * xmodem.h, xmodem.c: Remove files.
4689 * Makefile.in: Remove references to xmodem.h, xmodem.c.
4690
7f07c5b6
RC
46912004-04-23 Randolph Chung <tausq@debian.org>
4692
4693 * hppa-tdep.c (hppa_stub_unwind_cache, hppa_stub_frame_unwind_cache)
4694 (hppa_stub_frame_this_id, hppa_stub_frame_prev_register)
4695 (hppa_stub_frame_unwind, hppa_stub_unwind_sniffer): New stub unwinder
4696 for handling stackless frames.
4697 (hppa_gdbarch_init): Link in hppa_stub_unwind_sniffer.
4698
9f7194c3
RC
46992004-04-23 Randolph Chung <tausq@debian.org>
4700
4701 * hppa-tdep.c (hppa_frame_cache): Handle the case when frame unwind
4702 starts at a pc before the frame is created.
4703
dcff6009
JB
47042004-04-23 Joel Brobecker <brobecker@gnat.com>
4705
4706 * ChangeLog-2002: Fix year in one of the ChangeLog entries.
4707
40711ff1 47082004-04-23 Jerome Guitton <guitton@gnat.com>
65951cd9
JG
4709
4710 * rs6000-tdep.c (rs6000_extract_return_value): When extracting a float,
4711 use convert_typed_floating to get the appropriate format.
4712
abc485a1
RC
47132004-04-22 Randolph Chung <tausq@debian.org>
4714
4715 * hppa-tdep.h (find_unwind_entry, hppa_get_field, hppa_extract_5_load)
4716 (hppa_extract_5R_store, hppa_extract_5r_store, hppa_extract_17)
4717 (hppa_extract_21, hppa_extract_14, hppa_low_sign_extend)
4718 (hppa_sign_extend): Add prototype.
4719 * hppa-tdep.c (get_field, extract_5_load, extract_5R_store)
4720 (extract_5r_store, extract_17, extract_21, extract_14, low_sign_extend)
4721 (sign_extend): Rename with hppa_ prefix and make non-static. Other
4722 hppa targets will also use these functions.
4723 (find_unwind_entry): Remove prototype (moved to hppa-tdep.h).
4724 (hppa_in_solib_call_trampoline, hppa_in_solib_return_trampoline)
4725 (hppa_skip_trampoline_code): Move to hppa-hpux-tdep.c
4726 (hppa_gdbarch_init): Remove gdbarch setting of
4727 skip_trampoline_code, in_solib_call_trampoline and
4728 in_solib_return_trampoline.
4729 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline)
4730 (hppa64_hpux_in_solib_call_trampoline): New functions, split from
4731 hppa_in_solib_call_trampoline.
4732 (hppa_hpux_in_solib_return_trampoline, hppa_hpux_skip_trampoline_code):
4733 Moved from hppa-tdep.c.
4734 (hppa_hpux_init_abi): Set gdbarch for skip_trampoline_code,
4735 in_solib_call_trampoline and in_solib_return_trampoline.
4736
369aa520
RC
47372004-04-22 Randolph Chung <tausq@debian.org>
4738
4739 * hppa-tdep.c (hppa_debug): New variable.
4740 (find_unwind_entry, hppa_frame_cache): Add debug output.
4741 (_initialize_hppa_tdep): Add command to set debug flag.
4742
476be15e
AC
47432004-04-22 Andrew Cagney <cagney@redhat.com>
4744
4745 * ppcnbsd-tdep.c: Update copyright. Include "tramp-frame.h" and
4746 "trad-frame.h".
4747 (ppcnbsd_sigtramp_cache_init, ppcnbsd_sigtramp): Implement a NetBSD
4748 signal trampoline unwinder.
4749 (ppcnbsd_init_abi): Register ppcnbsd_sigtramp.
4750
d195bc9f
MK
47512004-04-22 Mark Kettenis <kettenis@gnu.org>
4752
4753 Add OpenBSD/powerpc support.
4754 * NEWS (New native configurations): Mention OpenBSD/powerpc.
4755 * ppc-tdep.h (struct ppc_reg_offsets): New structure.
4756 (ppc_supply_gregset, ppc_supply_fpregset, ppc_collect_gregset)
4757 (ppc_collect_fpregset): New prototypes.
4758 * ppcobsd-nat.c: New file.
4759 * ppcobsd-tdep.c: New file.
4760 * ppcobsd-tdep.h: New file.
4761 * rs6000-tdep.c: Include "regset.h".
4762 (ppc_supply_reg, ppc_collect_reg, ppc_supply_gregset)
4763 (ppc_supply_fpregset, ppc_collect_gregset, ppc_collect_fpregset):
4764 New functions.
4765 * Makefile.in (ALLDEPFILES): Add pccobsd-nat.c and ppcobsd-tdep.c.
4766 (ppcobsd-nat.o, ppcobsd-tdep.o): New dependencies.
4767 (rs6000-tdep.o): Update dependencies.
4768 * configure.host: Add powerpc-*-openbsd.
4769 * configure.tgt: Add powerpc-*-openbsd.
4770 * config/powerpc/obsd.mh: New file.
4771 * config/powerpc/nm-obsd.h: New file.
4772 * config/powerpc/obsd.mt: New file.
4773
6f14cc33
AC
47742004-04-22 Andrew Cagney <cagney@redhat.com>
4775
fcf29e5f
AC
4776 * frame.h (show_frame_info): Delete declaration.
4777
6f14cc33
AC
4778 * arm-tdep.c (arm_prologue_this_id): Delete redundant cycle test.
4779 * m68hc11-tdep.c (m68hc11_frame_this_id): Ditto.
4780 * m32r-tdep.c (m32r_frame_this_id): Ditto.
4781 * frv-tdep.c (frv_frame_this_id): Ditto.
4782 * avr-tdep.c (avr_frame_this_id): Ditto.
4783
e5786a5c
EZ
47842004-04-22 Elena Zannoni <ezannoni@redhat.com>
4785
4786 * MAINTAINERS: Drop maintenance of gdb.stabs, and linespec.c.
4787
26e75e5c
JB
47882004-04-22 Jim Blandy <jimb@redhat.com>
4789
4790 * ppc-linux-nat.c (ppc_register_u_addr): Don't assume that r0 is
4791 register number zero.
4792
d8d65dd3
MS
47932004-04-21 Michael Snyder <msnyder@redhat.com>
4794
4795 * mips-tdep.c (heuristic_proc_start):
4796 Warning() already prefixes "Warning: ".
4797
9a4105ab
AC
47982004-04-21 Andrew Cagney <cagney@redhat.com>
4799
4800 * annotate.h (deprecated_annotate_starting_hook)
4801 (deprecated_annotate_stopped_hook)
4802 (deprecated_annotate_exited_hook)
4803 (deprecated_annotate_signal_hook)
4804 (deprecated_annotate_signalled_hook): Deprecate.
4805 * tracepoint.h (deprecated_create_tracepoint_hook)
4806 (deprecated_delete_tracepoint_hook)
4807 (deprecated_modify_tracepoint_hook)
4808 (deprecated_trace_find_hook)
4809 (deprecated_trace_start_stop_hook): Deprecate.
4810 * target.h (deprecated_target_new_objfile_hook): Deprecate.
4811 * remote.h (deprecated_target_resume_hook)
4812 (deprecated_target_wait_loop_hook): Deprecate.
4813 * gdbcore.h (deprecated_exec_file_display_hook)
4814 (deprecated_file_changed_hook): Deprecate.
4815 * frame.h (deprecated_selected_frame_level_changed_hook): Deprecate.
4816 * defs.h (deprecated_modify_breakpoint_hook)
4817 (deprecated_command_loop_hook, deprecated_show_load_progress)
4818 (deprecated_print_frame_info_listing_hook)
4819 (deprecated_query_hook, deprecated_warning_hook)
4820 (deprecated_flush_hook, deprecated_create_breakpoint_hook)
4821 (deprecated_delete_breakpoint_hook)
4822 (deprecated_interactive_hook, deprecated_registers_changed_hook)
4823 (deprecated_readline_begin_hook, deprecated_readline_hook)
4824 (deprecated_readline_end_hook, deprecated_register_changed_hook)
4825 (deprecated_memory_changed_hook, deprecated_init_ui_hook)
4826 (deprecated_context_hook, deprecated_target_wait_hook)
4827 (deprecated_attach_hook, deprecated_detach_hook)
4828 (deprecated_call_command_hook, deprecated_set_hook)
4829 (deprecated_error_hook, deprecated_error_begin_hook)
4830 (deprecated_ui_load_progress_hook): Deprecate.
4831 * valops.c, uw-thread.c, utils.c, tui/tui-io.c: Update.
4832 * tui/tui-hooks.c, tracepoint.c, top.c, thread-db.c: Update.
4833 * target.c, symfile.c, stack.c, sol-thread.c, rs6000-nat.c: Update.
4834 * remote.c, remote-mips.c, regcache.c, mi/mi-interp.c: Update.
4835 * main.c, interps.c, infcmd.c, hpux-thread.c, frame.c: Update.
4836 * exec.c, dsrec.c, d10v-tdep.c, corefile.c, complaints.c: Update.
4837 * cli/cli-script.c, cli/cli-setshow.c, breakpoint.c: Update.
4838 * annotate.c, aix-thread.c: Update.
4839
62cf13cc
AC
48402004-04-21 Andrew Cagney <cagney@redhat.com>
4841
b2e31a62
AC
4842 * Makefile.in (vaxnbsd-tdep.o): Update dependencies.
4843 * vaxnbsd-tdep.c: Include "gdb_string.h".
4844
62cf13cc
AC
4845 * symfile.c (symbol_file_add_from_memory): #if 0 function.
4846 (add_symbol_file_from_memory_command): #if 0 function body, call
4847 error instead.
4848
00e32a35
AC
48492004-04-21 Andrew Cagney <cagney@redhat.com>
4850
4851 * gdbcore.h: Update copyright.
4852 (deprecated_add_core_fns): Rename add_core_fns.
4853 * win32-nat.c (_initialize_core_win32): Update.
4854 * sun3-nat.c (_initialize_core_sun3): Update.
4855 * shnbsd-tdep.c (_initialize_shnbsd_tdep): Update.
4856 * rs6000-nat.c (_initialize_core_rs6000): Update.
4857 * ppcnbsd-tdep.c (_initialize_ppcnbsd_tdep): Update.
4858 * nto-tdep.c (_initialize_nto_tdep): Update.
4859 * ns32knbsd-nat.c (_initialize_ns32knbsd_nat): Update.
4860 * mipsnbsd-tdep.c (_initialize_mipsnbsd_tdep): Update.
4861 * mips-nat.c (_initialize_core_mips): Update.
4862 * mips-linux-tdep.c (_initialize_mips_linux_tdep): Update.
4863 * m68knbsd-nat.c (_initialize_m68knbsd_nat): Update.
4864 * m68klinux-nat.c (_initialize_m68k_linux_nat): Update.
4865 * lynx-nat.c (_initialize_core_lynx): Update.
4866 * irix5-nat.c (_initialize_core_irix5): Update.
4867 * i386-interix-nat.c (_initialize_core_interix): Update.
4868 * cris-tdep.c (_initialize_cris_tdep): Update.
4869 * corelow.c (deprecated_add_core_fns): Update.
4870 * core-regset.c (_initialize_core_regset): Update.
4871 * core-aout.c (_initialize_core_aout): Update.
4872 * armnbsd-nat.c (_initialize_arm_netbsd_nat): Update.
4873 * alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Update.
4874 * alpha-nat.c (_initialize_core_alpha): Update.
4875
13c7b1ca
JB
48762004-04-21 Jim Blandy <jimb@redhat.com>
4877
4878 * rs6000-tdep.c (registers_e500, registers_7400): Doc fixes.
4879
7b5a2f43
DJ
48802004-04-19 Daniel Jacobowitz <drow@mvista.com>
4881
4882 * dwarf2read.c (dwarf2_tmp_obstack, dwarf2_free_tmp_obstack):
4883 Delete.
4884 (dwarf_alloc_block): Take a CU argument. Use the comp_unit_obstack.
4885 (read_attribute_value): Update calls to dwarf_alloc_block.
4886 (dwarf2_build_psymtabs_hard): Don't initialize or clean up
4887 dwarf2_tmp_obstack.
4888 (psymtab_to_symtab_1): Likewise. Clean up using
4889 free_stack_comp_unit.
4890 (add_to_cu_func_list): Use the comp_unit_obstack.
4891
05cf31d1
JB
48922004-04-19 Joel Brobecker <brobecker@gnat.com>
4893
4894 * dwarf2read.c (dwarf2_flag_true_p): New function.
4895 (die_is_declaration): Use the function above. Add some comments.
4896
adf93a2f
MK
48972004-04-19 Mark Kettenis <kettenis@gnu.org>
4898
4899 * sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Specify
4900 architecture when registering sparcnbsd_core_osabi_sniffer.
4901 Adjust comment.
4902
748894bf
MK
49032004-04-18 Mark Kettenis <kettenis@gnu.org>
4904
f622ad42
MK
4905 * infcall.c (find_function_addr): Add FUNCTION_START_OFFSET to
4906 return value.
4907
c4fc7f1b
MK
4908 Based on a patch from Brian Ford <ford@vss.fsi.com>:
4909 * i386-tdep.c: Correct register numbering scheme comments
4910 throughout.
4911 (i386_stab_reg_to_regnum): Rename to i386_dbx_reg_to_regnum.
4912 (i386_dwarf_reg_to_regnum): Rename to i386_svr4_reg_to_regnum.
4913 (i386_coff_init_abi, i386_elf_init_abi): Accomodate renames above.
4914 (i386_gdb_arch_init): Likewise.
4915
b4ead1bd
MK
4916 * Makefile.in (ALLDEPFILES): List ppc-sysv-tdep.c, ppcnbsd-nat.c
4917 and ppcnbsd-tdep.c instead of ppc-sysv-tdep.o, ppcnbsd-nat.o and
4918 ppcnbsd-tdep.o.
4919
748894bf
MK
4920 * m68k-tdep.h: Tweak comments.
4921 * m68k-tdep.c: Tweak comment.
4922
fdd72f95
RC
49232004-04-17 Randolph Chung <tausq@debian.org>
4924
4925 * Makefile.in (hppa-hpux-tdep.o): Add $(hppa_tdep_h).
4926 * hppa-hpux-tdep.c (hppa-tdep.h): Include.
4927 (hppa_hpux_som_init_abi): Set is_elf to 0.
4928 (hppa_hpux_elf_init_abi): Set is_elf to 1.
4929 * hppa-tdep.c (low_text_segment_address): Remove global.
4930 (record_text_segment_lowaddr): Pass in low address as parameter. Use
4931 section offset to calculate segment address.
4932 (internalize_unwinds): Define low_text_segment_address as local and
4933 pass to record_text_segment_lowaddr for ELF targets.
4934 (hppa_gdbarch_init): Zero fill tdep structure.
4935 (hppa_dump_tdep): Print tdep structure.
4936 * hppa-tdep.h (gdbarch_tdep): Add is_elf member to tdep structure.
4937
0f8d9d59
RC
49382004-04-17 Randolph Chung <tausq@debian.org>
4939
4940 * hppa-tdep.c (hppa_pseudo_register_read): Define.
4941 (hppa_gdbarch_init): Set pseudo_register_read.
4942 * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Remove.
4943 * regcache.c (supply_register): Remove check for
4944 DEPRECATED_CLEAN_UP_REGISTER_VALUE since we've removed the last user.
4945
7c46b9fb
RC
49462004-04-17 Randolph Chung <tausq@debian.org>
4947
4948 * Makefile.in (hpread.o, pa64solib.o, somsolib.o): Add $(hppa_tdep_h)
4949 * hppa-tdep.h (INSTRUCTION_SIZE): Move from tm-hppa.h.
4950 (hpread_adjust_stack_address): Move to hpread.c.
4951 * hppa-tdep.h (unwind_table_entry, unwind_stub_types, obj_unwind_info,
4952 obj_private_struct): Move from tm-hppa.h.
4953 * hpread.c (hppa-tdep.h): Include.
4954 (hpread_adjust_stack_address): Move from hppa-tdep.c.
4955 (hpread_read_function_type, hpread_read_doc_function_type)
4956 (hpread_process_one_debug_symbol): Call hpread_adjust_stack_address
4957 directly.
4958 * pa64solib.c (hppa-tdep.h): Include.
4959 * somsolib.c (hppa-tdep.h): Include.
4960 * config/pa/tm-hppa.h (frame_info, frame_saved_regs, value, type,
4961 inferior_status): Remove unused forward declarations.
4962 (INSTRUCTION_SIZE): Move to hppa-tdep.c.
4963 (unwind_table_entry, unwind_stub_types, obj_unwind_info,
4964 obj_private_struct): Move to hppa-tdep.h.
4965 (HPREAD_ADJUST_STACK_ADDRESS): Remove.
4966
8d153463
RC
49672004-04-17 Randolph Chung <tausq@debian.org>
4968
4969 * hppa-tdep.c (hppa_reg_struct_has_addr, hppa_skip_prologue)
4970 (hppa_skip_trampoline_code, hppa_in_solib_call_trampoline)
4971 (hppa_in_solib_return_trampoline, hppa_cannot_store_register)
4972 (hppa_smash_text_address, hppa_target_read_pc, hppa_target_write_pc):
4973 Remove forward declaration and make static.
4974 (hppa_reg_struct_has_addr): Remove.
4975
350c2e5b
JB
49762004-04-16 Joel Brobecker <brobecker@gnat.com>
4977
4978 * observer.sh: Move comments in sed command to first column.
4979
bbde78fa
JM
49802004-04-16 Jason Molenda (jmolenda@apple.com)
4981
4982 * frame.c: Minor typeo corrections in comments.
4983
e0270fd9
JB
49842004-04-16 Joel Brobecker <brobecker@gnat.com>
4985
4986 * observer.c (observer_test_first_notification_function): Update
4987 function profile.
4988 (observer_test_second_notification_function): Likewise.
4989 (observer_test_third_notification_function): Likewise.
4990
3d049254
MK
49912004-04-16 Mark Kettenis <kettenis@gnu.org>
4992
4993 From Brian Ford <ford@vss.fsi.com>:
4994 * i386-tdep.c (i386_coff_init_abi): New function.
4995 * i386-tdep.h (i386_coff_init_abi): New prototype.
4996 * i386-cygwin-tdep.c (i386_cygwin_init_abi): Call it. Use correct
4997 register number translation functions for DWARF and DWARF 2.
4998
7867684d
JB
49992004-04-16 Joel Brobecker <brobecker@gnat.com>
5000
5001 * dwarf2read.c: Back out my previous change, it was incorrect.
5002
72bf9492
DJ
50032004-04-16 Daniel Jacobowitz <drow@mvista.com>
5004
5005 * dwarf2read.c: Include "hashtab.h".
5006 (struct dwarf2_cu): Add partial_dies, comp_unit_obstack,
5007 has_namespace_info.
5008 (struct partial_die_info): Add comments. Use bitfields to reduce
5009 memory footprint. Add scope, scope_set, has_specification,
5010 spec_offset, die_parent, die_child, and die_sibling.
5011 (peek_die_abbrev): Add prototype.
5012 (partial_read_comp_unit_head): New function, broken out from
5013 dwarf2_build_psymtabs_hard.
5014 (dwarf2_build_psymtabs_hard): Remove unused variable abbrev_ptr.
5015 Use partial_read_comp_unit_head. Initialize the CU and
5016 comp_unit_obstack. Update calls to read_partial_die and
5017 scan_partial_symbols. Use free_stack_comp_unit and
5018 load_partial_dies.
5019 (scan_partial_symbols): Change PDI to a pointer. Use the child and
5020 sibling pointers to walk partial DIEs. Call fixup_partial_die.
5021 Update calls to helper functions. Remove NAMESPACE argument.
5022 Update comments.
5023 (partial_die_parent_scope, partial_die_full_name): New functions.
5024 (add_partial_symbol): Remove namespace argument. Update call to
5025 pdi_needs_namespace. Use partial_die_full_name. Handle
5026 DW_TAG_namespace. Check has_namespace_info flag.
5027 (pdi_needs_namespace): Remove NAMESPACE argument. Just check the
5028 tag. Handle namespaces.
5029 (add_partial_namespace, add_partial_enumeration): Simplify.
5030 (guess_structure_name): New function, derived from
5031 add_partial_structure.
5032 (add_partial_structure): Remove.
5033 (determine_class_name): Update comment.
5034 (dwarf2_read_abbrevs): Set has_namespace_info flag.
5035 (is_type_tag_for_partial, load_partial_dies): New functions.
5036 (read_partial_die): Pass abbrev and abbrev_len as arguments.
5037 Record specifications instead of following them immediately.
5038 (find_partial_die_in_comp_unit, find_partial_die)
5039 (fixup_partial_die, free_stack_comp_unit)
5040 (hashtab_obstack_allocate, dummy_obstack_deallocate)
5041 (partial_die_hash, partial_die_eq): New functions.
5042 * Makefile.in (hashtab_h): Define.
5043 (dwarf2read.o): Update dependencies.
5044 (observer_inc, observer_h): Move to the correct section.
5045
fdc860a3
JB
50462004-04-15 Joel Brobecker <brobecker@gnat.com>
5047
5048 * dwarf2read.c (dwarf2_attribute_true_p): New function.
5049 (die_is_declaration): Use the function above. Add comment.
5050
dc718098
JB
50512004-04-15 Joel Brobecker <brobecker@gnat.com>
5052
5053 * dwarf2read.c (read_structure_scope): Identify stub types
5054 using die_is_declaration() only.
5055
8718a420
RM
50562004-04-15 Roland McGrath <roland@redhat.com>
5057
5058 * symfile.c (symbol_file_add_with_addrs_or_offsets): Take ABFD as
5059 argument instead of NAME.
5060 (symbol_file_add, reread_separate_symbols): Call symfile_bfd_open
5061 in call to symbol_file_add_with_addrs_or_offsets.
5062 (build_addr_info): New function, helper for ...
5063 (symbol_file_add_from_memory): New function.
5064 (add_symbol_file_from_memory_command): New function using that.
5065 (_initialize_symfile): Register it for add-symbol-file-from-memory.
5066 (pre_add_symbol_hook): Add const to argument type.
5067 * symfile.h (symbol_file_add_from_memory): Declare it.
5068
8b910bab
MK
50692004-04-15 Mark Kettenis <kettenis@gnu.org>
5070
9f076e7a
MK
5071 * NEWS (New native configurations): Mention OpenBSD/vax.
5072 * configure.host: Add vax-*-openbsd*.
5073 * config/vax/obsd.mh: New file.
5074 * config/vax/nm-obsd.h: New file.
5075
8b910bab
MK
5076 * vax-tdep.c: Include "regset.h".
5077 (vax_supply_gregset): New function.
5078 (vax_gregset): New variable.
5079 (vax_regset_from_core_section): New function.
5080 (vax_gdbarch_init): Set regset_from_core_section.
5081 * Makefile.in (vax-tdep.o): Update dependencies.
5082
7a464420
AC
50832004-04-15 Andrew Cagney <cagney@redhat.com>
5084
5085 * observer.c (normal_stop_subject, observer_notify_normal_stop)
5086 (observer_normal_stop_notification_stub)
5087 (observer_attach_normal_stop, observer_detach_normal_stop):
5088 Delete, replaced by #include "observer.inc".
5089 * infrun.c (normal_stop): Pass "stop_bpstat" to
5090 observer_notify_normal_stop.
5091 * Makefile.in (observer_inc): Define.
5092 (observer.o): Update dependencies.
5093 (observer.h, observer.inc): New rules.
5094 * observer.h: Delete file.
5095 * observer.sh: New file.
5096
e36ad527
MK
50972004-04-15 Mark Kettenis <kettenis@gnu.org>
5098
5099 * vax-tdep.c (vax_frame_cache): Fix typo.
5100
67b441e1
MK
51012004-04-14 Mark Kettenis <kettenis@gnu.org>
5102
6f606e1c
MK
5103 * NEWS (New native configurations): Mention NetBSD/vax.
5104 * configure.host: Add vax-*-netbsdelf* and vax-*-netbsd*.
5105 * config/vax/nbsdelf.mh: New file.
5106 * config/vax/nbsdaout.mh: New file.
5107 * config/vax/nm-nbsd.h: New file.
5108 * config/vax/nm-nbsdaout.h: New file.
5109
9c5519a5
MK
5110 * vaxnbsd-tdep.c: New file.
5111 * Makefile.in (vaxnbsd-tdep.o): New dependency.
5112 * configure.tgt: Add vax-*-netbsd* and vax-*-openbsd*.
5113 * config/vax/nbsd.mt: New file.
5114 * config/vax/tm-nbsd.h: New file.
5115
4844a614
MK
5116 * Makefile.in (vaxbsd-nat.o): New dependency.
5117
67b441e1
MK
5118 * vax-tdep.h (vax_regnum): Add VAX_R0_REGNUM and VAX_R1_REGNUM.
5119 * vax-tdep.c (vax_store_arguments): Remove struct_return and
5120 struct_addr arguments. Don't push return value address.
5121 (vax_push_dummy_call): Don't pass STRUCT_RETURN and STRUCT_ADDR as
5122 arguments to vax_store_arguments. Store return value address in
5123 R1.
5124 (vax_store_struct_return, vax_extract_return_value)
5125 (vax_store_return_value): Remove functions.
5126 (vax_return_value): New function.
5127 (vax_gdbarch_init): Set return value. Don't set
5128 deprecated_store_struct_return, deprecated_extract_struct_return
5129 and deprecated_store_return_value.
5130
6672f2ae
AS
51312004-04-14 Andreas Schwab <schwab@suse.de>
5132
5133 * ia64-tdep.c (ia64_libunwind_frame_prev_register): Handle null
5134 value buffer.
5135 * libunwind-frame.c (libunwind_frame_prev_register): Likewise.
5136
7346c184
MK
51372004-04-14 Mark Kettenis <kettenis@gnu.org>
5138
5139 * vax-tdep.c (vax_store_arguments, vax_push_dummy_call)
5140 (vax_unwind_dummy_id): New functions.
5141 (vax_push_dummy_frame, vax_pop_frame): Remove functions.
5142 (vax_call_dummy_words, sizeof_vax_call_dummy_words): Remove
5143 variables.
5144 (vax_fix_call_dummy): Remove function.
5145 (vax_gdbarch_init): Set push_dummy_call and unwind_dummy_id.
5146 Don't set deprecated_push_dummy_frame, deprecated_pop_frame,
5147 call_dummy_location, deprecated_call_dummy_words,
5148 deprecated_sizeof_call_dummy_words,
5149 deprecated_call_dummy_breakpoint_offset,
5150 deprecated_use_generic_dummy_frames, deprecated_pc_in_call_dummy,
5151 and deprecated_dummy_write_sp.
5152
58e23df4
DC
51532004-04-13 David Carlton <carlton@kealia.com>
5154
5155 * MAINTAINERS: Move myself to "paper trail" section.
5156
5e6b39ff
MK
51572004-04-12 Mark Kettenis <kettenis@gnu.org>
5158
7def7fef
MK
5159 * vax-tdep.c: Include "frame-base.h", "frame-unwind.h" and
5160 "trad-frame.h".
5161 (vax_frame_init_saved_regs): Remove function.
5162 (vax_sigtramp_saved_pc): Remove function.
5163 (vax_frame_saved_pc): Remove function.
5164 (vax_frame_args_address): Remove function.
5165 (vax_frame_num_args): Rewrite.
5166 (vax_frame_chain): Remove function.
5167 (vax_push_dummy_frame): Replace DEPRECATED_FP_REGNUM with
5168 VAX_FP_REGNUM.
5169 (vax_pop_frame): Likewise.
5170 (vax_saved_pc_after_call): Remove function.
5171 (struct vax_frame_cache): New structure.
5172 (vax_frame_cache): New function.
5173 (vax_frame_this_id): New function.
5174 (vax_frame_prev_register): New function.
5175 (vax_frame_unwind): New variable.
5176 (vax_frame_sniffer): New function.
5177 (vax_frame_base_address): New function.
5178 (vax_frame_args_address): New function.
5179 (vax_frame_base): New variable.
5180 (vax_unwind_pc): New function.
5181 (vax_gdbarch_init): Don't set deprecated_init_frame_pc,
5182 deprecated_fp_regnum, deprecated_saved_pc_after_call,
5183 deprecated_frame_chain, deprecated_frame_saved_pc,
5184 deprecated_frame_args_address and
5185 deprecated_frame_init_saved_regs.
5186 * Makefile.in (vax-tdep.o): Update dependencies.
5187
53284fc1
MK
5188 * vaxbsd-nat.c: New file.
5189
5e6b39ff
MK
5190 * vax-tdep.h: Update copyright year. Adjust comments.
5191 (VAX_REGISTER_SIZE, VAX_REGISTER_BYTES, VAX_MAX_REGISTER_RAW_SIZE,
5192 VAX_MAX_REGISTER_VIRTUAL_SIZE): Remove macros.
5193 (vax_regnum): New enum. Replacing...
5194 (VAX_AP_REGNUM, VAX_FP_REGNUM, VAX_SP_REGNUM, VAX_PC_REGNUM)
5195 (VAX_PS_REGNUM): ... these removed macros.
5196 * vax-tdep.c (vax_register_name): Remove prototype.
5197 (vax_register_name): Reorganize somewhat. Use ARRAY_SIZE.
5198 (vax_register_byte, vax_register_raw_size,
5199 vax_register_virtual_size, vax_register_virtual_type): Remove
5200 functions.
5201 (vax_register_type): New function.
5202 (vax_breakpoint_from_pc): Reorganize.
5203 (vax_gdbarch_init): Set register_type. Don't set
5204 deprecated_register_size, deprecated_register_bytes,
5205 deprecated_register_byte, deprecated_register_raw_size,
5206 deprecated_max_register_raw_size,
5207 deprecated_register_virtual_size,
5208 deprecated_max_register_virtual_size and
5209 deprecated_register_virtual_type. Add comment on stack direction.
5210
e9c71e9f
MK
52112004-04-11 Mark Kettenis <kettenis@gnu.org>
5212
5213 * amd64-tdep.h (amd64_regnum): Add AMD64_CS_REGNUM,
5214 AMD64_SS_REGNUM, AMD64_DS_REGNUM, AMD64_ES_REGNUM,
296bc76f 5215 AMD64_FS_REGNUM and AMD64_GS_REGNUM.
e9c71e9f 5216
d46f1176 52172004-04-10 Randolph Chung <tausq@debian.org>
8718a420 5218
d46f1176
RC
5219 * MAINTAINERS (write after approval): Add myself.
5220
a2a84a72
RC
52212004-04-07 Randolph Chung <tausq@debian.org>
5222
5223 * hppa-tdep.c (hppa_inner_than): Remove.
5224 (is_pa_2): Remove unused static variable.
8718a420 5225 (hppa_gdbarch_init): Use core_addr_greaterthan instead of own version.
a2a84a72 5226
e85c3284
PH
52272004-03-10 Paul N. Hilfinger <Hilfinger@gnat.com>
5228
5229 * language.h (language_defn): Add new la_post_parser field.
5230 * parser-defs.h (null_post_parser): New declaration (default for
5231 la_post_parser).
8718a420 5232
e85c3284
PH
5233 * parse.c (parse_exp_1): Move code to parse_exp_in_context and
5234 insert call to that function.
5235 (parse_exp_in_context): New function, including code formerly in
8718a420 5236 parse_exp_1. Calls language-dependent post-parser after
e85c3284
PH
5237 prefixification.
5238 (parse_expression_in_context): New exported function.
5239 (null_post_parser): New definition.
5240 * expression.h (parse_expression_in_context): Add declaration.
8718a420 5241
e85c3284
PH
5242 * p-lang.c (pascal_language_defn): Add trivial post-parser.
5243 * c-lang.c (c_language_defn): Ditto.
5244 (cplus_language_defn): Ditto.
5245 (asm_language_defn): Ditto.
5246 (minimal_language_defn): Ditto.
5247 * f-lang.c (f_language_defn): Ditto.
5248 * jv-lang.c (java_language_defn): Ditto.
5249 * language.c (unknown_language_defn): Ditto.
5250 (auto_language_defn): Ditto.
5251 (local_language_defn): Ditto.
5252 * m2-lang.c (m2_language_defn): Ditto.
5253 * scm-lang.c (scm_language_defn): Ditto.
5254 * obj-lang.c (objc_language_defn): Ditto.
8718a420 5255
d9f8c85b
MK
52562004-04-10 Mark Kettenis <kettenis@gnu.org>
5257
fa34704a
MK
5258 * amd64nbsd-tdep.c (amd64nbsd_sigcontext_addr): Remove function.
5259 (amd64nbsd_mcontext_addr): New function.
5260 (amd64nbsd_init_abi): Initialize TDEP->sigcontext_addr as
5261 amd64nbsd_mcontext_addr. Directly initialize TDEP->sc_reg_offset
5262 with amd64nbsd_r_reg_offset, instead of building it on the fly.
5263
403e1656
MK
5264 * corelow.c (core_xfer_partial): Fix coding standards violation.
5265 Add support for TARGET_OBJECT_WCOOKIE.
5266
a57e5a95
MK
5267 * sparc-linux-tdep.c (sparc32_linux_init_abi): Don't set
5268 deprecated_pc_in_sigtramp.
5269 * sparc-sol2-tdep.c (sparc32_sol2_init_abi): Likewise.
5270 * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Likewise.
5271 * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Likewise.
5272 * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Likewise.
5273 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Likewise.
5274 * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Likewise.
5275 * sparcobsd-tdep.c (sparc32obsd_init_abi): Likewise.
5276
377d9ebd
MK
5277 * amd64-linux-tdep.c, amd64nbsd-tdep.c, amd64obsd-tdep.c,
5278 i386-linux-tdep.c, i386-tdep.c, i386nbsd-tdep.c, i386obsd-tdep.c:
5279 Fix typo.
5280
f0ef85a5
MK
5281 * amd64-tdep.c (amd64_supply_fxsave): Only fiddle with
5282 I387_FISEG_REGNUM and I387_FOSEG_REGNUM in 64-bit mode.
5283 (amd64_collect_fxsave): Likewise.
5284
d9f8c85b
MK
5285 * i386-sol2-tdep.c: Include "gdb_string.h".
5286 (i386_sol2_sigtramp_p): Recognize signal trampoline based on its
5287 name.
5288 * Makefile.in (i386-sol2-tdep.o): Update dependencies.
5289
75f501b5
MK
52902004-04-10 Mark Kettenis <kettenis@gnu.org>
5291
5292 * i386-sol2-tdep.c: Include "solib-svr4.h".
5293 (i386_sol2_init_abi): Set solib_svr4_fetch_link_map_offsets.
5294 * Makefile.in (i386-sol2-tdep.o): Update dependencies.
5295 * config/i386/tm-i386sol2.h: Include :solib.h".
5296 * config/i386/i386sol2.mh (NATDEPFILES): Remove solib.o,
5297 solib-svr4.o and solib-legacy.o.
5298 * config/i386/i386sol2.mt (TDEPFILES): Add solib.o and
5299 solib-svr4.o.
5300
b31bc724
MK
53012004-04-09 Mark Kettenis <kettenis@gnu.org>
5302
18bbbd9e
MK
5303 * amd64-linux-nat.c (fetch_inferior_registers): Correctly check
5304 whether a register is supplied by PTRACE_GETFPREGS.
5305 (store_inferior_registers): Likewise.
5306 * amd64bsd-nat.c (fetch_inferior_registers): Correctly check
5307 whether a register is supplied by PT_GETFPREGS.
5308 (store_inferior_registers): Likewise.
5309
3c30bf1b
MK
5310 * config/i386/linux.mt (TDEPFILES): Remove solib-legacy.o.
5311 * config/i386/linux64.mt (TDEPFILES): Likewise.
5312
a4194092
MK
5313 * i386-linux-nat.c: Update copyrigth year. Tweak comment.
5314
911bc6ee
MK
5315 * amd64-tdep.c (amd64_sigtramp_frame_sniffer): Rewrite to use new
5316 sigtramp_p member of `struct gdbarch_tdep'. Also check whether
5317 the program counter is in the range specified by `struct
5318 gdbarch_tdep'.
5319 * amd64-linux-tdep.c: Include "symtab.h".
5320 (amd64_linux_pc_in_sigtramp): Remove function.
5321 (amd64_linux_sigtramp_p): New function.
5322 (amd64_linux_init_abi): Initialize TDEP->sigtramp_p. Don't set
5323 deprecated_pc_in_sigtramp.
5324 * amd64nbsd-tdep.c: Include "symtab.h".
5325 (amd64nbsd_sigtramp_p): New function.
5326 (amd64nbsd_init_abi): Initialize TDEP->sigtramp_p. Don't set
5327 deprecated_pc_in_sigtramp.
5328 * amd64obsd-tdep.c: Include "symtab.h" and "objfiles.h". Add a
5329 few comments.
5330 (amd64obsd_pc_in_sigtramp): Remove function.
5331 (amd64obsd_sigtramp_p): New function.
5332 (amd64obsd_init_abi): Initialize TDEP->sigtramp_p. Don't set
5333 deprecated_pc_in_sigtramp.
5334 * i386-tdep.h (struct gdbarch_tdep): Add sigtramp_p member.
5335 (i386bsd_pc_ins_sigtramp): Remove prototype.
5336 (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Remove prototypes.
5337 * i386-tdep.c (i386_sigtramp_frame_sniffer): Rewrite to use new
5338 sigtramp_p member of `struct gdbarch_tdep'. Also check whether
5339 the program counter is in the range specified by `struct
5340 gdbarch_tdep'.
5341 (i386_pc_in_sigtramp, i386_svr4_pc_in_sigtramp): Remove functions.
5342 (i386_sigtramp_p, i386_svr4_sigtramp_p): New functions.
5343 (i386_go32_pc_in_sigtramp): Remove function.
5344 (i386_svr4_init_abi): Don't set deprecated_pc_in_sigtramp.
5345 Initialize TDEP->sigtramp_p.
5346 (i386_go32_init_abi): Initialize TDEP->sigtramp_p to NULL.
5347 (i386_gdbarch_init): Initialize TDEP->sigtramp_p. Don't set
5348 deprecated_pc_in_sigtramp.
5349 * i386-linux-tdep.c: Adjust comments.
5350 (i386_linux_pc_in_sigtramp): Remove function.
5351 (i386_linux_sigtramp_p): New function.
5352 (i386_linux_init_abi): Initialize TDEP->sigtramp_p. Don't set
5353 deprecated_pc_in_sigtramp.
5354 * i386-nto-tdep.c: Update copyright year.
5355 (i386nto_pc_in_sigtramp): Remove function.
5356 (i386nto_sigtramp_p): New function.
5357 (i386nto_sigcontext_addr): Use I386_ESP_REGNUM instead of
5358 SP_REGNUM.
5359 (i386nto_init_abi): Initialize TDEP->sigtramp_p. Don't set
5360 deprecated_pc_in_sigtramp.
5361 * i386-sol2-tdep.c: Update copyright year.
5362 (i386_sol2_pc_in_sigtramp): Remove function.
5363 (i386_sol2_sigtramp_p): New function.
5364 (i386_sol2_init_abi): Initialize TDEP->sigtramp_p. Don't set
5365 deprecated_pc_in_sigtramp.
5366 * i386bsd-tdep.c (i386bsd_pc_in_sigtramp): Remove function.
5367 (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Remove functions.
5368 (i386bsd_init_abi): Don't set deprecated_pc_in_sigtramp,
5369 deprecated_sigtramp_start and deprecated_sigtramp_end.
5370 * i386nbsd-tdep.c: Include "frame.h" and "symtab.h".
5371 (i386nbsd_pc_in_sigtramp): Remove function.
5372 (i386nbsd_sigtramp_p): New function.
5373 (i386nbsd_init_abi): Don't set deprecated_pc_in_sigtramp,
5374 deprecated_sigtramp_start, deprecated_sigtramp_end. Initialize
5375 TDEP->sigtramp_start, TDEP->sigtramp_end and TDEP->sigtramp_p.
5376 * i386obsd-tdep.c: Include "frame.h", "symtab.h" and "objfiles.h".
5377 (i386obsd_pc_in_sigtramp): Remove function.
5378 (i386obsd_sigtramp_p): New function.
5379 (i386obsd_sigtramp_start, i386obsd_sigtramp_end): Remove
5380 functions.
5381 (i386bsd_init_abi): Don't set deprecated_pc_in_sigtramp,
5382 deprecated_sigtramp_start, deprecated_sigtramp_end. Initialize
5383 TDEP->sigtramp_p.
5384 * Makefile.in (amd64-linux-tdep.o, amd64nbsd-tdep.o,
5385 amd64obsd-tdep.o, i386nbsd-tdep.o, i386obsd-tdep.o): Update
5386 dependencies.
5387
e083e6ec
MK
5388 * config/i386/i386aout.mt: Remove file.
5389
bd153b94
MK
5390 * configure.tgt: Remove i[34567]86-*-go32*,
5391 i[34567]86-*-msdosdjgpp*, i[34567]86-*-sco*, i[34567]86-*-sysv*
5392 and i[34567]86-*-isc*. Set gdb_target to i386 for
5393 i[34567]86-*-netware* and i[34567]86-*-*.
5394 * config/i386/i386.mt: New file.
5395 * config/i386/embed.mt: Remove file.
5396 * config/i386/go32.mt: Remove file.
5397 * config/i386/i386nw.mt: Remove file.
5398 * config/i386/i386v.mt: Remove file.
5399 * config/i386/tm-go32.h: Remove file.
5400
4a1bcc8c
MK
5401 * tui/tui-hooks.c: Include "readline/readline.h" after
5402 "gdb_curses.h" instead of before.
5403 * tui/tui-io.c: Likewise.
5404
f9a79064
MK
5405 * tui/tui.c: Fix typo in comment.
5406
b31bc724
MK
5407 * sparc64-tdep.c (sparc_address_from_register): Remove function.
5408
f83f82bc
AC
54092004-04-08 Andrew Cagney <cagney@redhat.com>
5410
5411 * breakpoint.h (deprecated_exception_catchpoints_are_fragile)
5412 (deprecated_exception_support_initialized): Declare.
8718a420 5413 * hppa-hpux-tdep.c (initialize_hp_cxx_exception_support)
f83f82bc
AC
5414 (initialize_hp_cxx_exception_support)
5415 (child_enable_exception_callback): Update.
5416 * breakpoint.c (deprecated_exception_catchpoints_are_fragile)
5417 (deprecated_exception_support_initialized): Rename
5418 deprecated_exception_catchpoints_are_fragile and
5419 deprecated_exception_support_initialized.
5420 (breakpoint_init_inferior, breakpoint_init_inferior): Update.
5421
5422 * symtab.c (deprecated_hp_som_som_object_present): Rename
5423 hp_som_som_object_present.
5424 * symtab.h (deprecated_hp_som_som_object_present): Declare.
5425 * symfile.c (hp_som_som_object_present, RESET_HP_UX_GLOBALS):
5426 Update. Delete extern declaration.
5427 * valops.c (hp_som_som_object_present): Ditto.
8718a420 5428 * parse.c (deprecated_hp_som_som_object_present)
f83f82bc
AC
5429 (parse_nested_classes_for_hpacc): Ditto.
5430 * hpread.c (hp_som_som_object_present, hpread_expand_symtab): Ditto.
8718a420 5431 * hppa-hpux-tdep.c (hp_som_som_object_present)
f83f82bc
AC
5432 (initialize_hp_cxx_exception_support): Ditto.
5433 * eval.c (hp_som_som_object_present, evaluate_subexp_standard): Ditto.
8718a420 5434 * cp-valprint.c (hp_som_som_object_present)
f83f82bc 5435 (cp_print_class_method): Ditto.
8718a420 5436 * c-typeprint.c (hp_som_som_object_present):
f83f82bc
AC
5437 (c_type_print_base): Ditto.
5438 * c-exp.y (hp_som_som_object_present): Ditto.
5439
fb2be677
AC
54402004-04-08 Andrew Cagney <cagney@redhat.com>
5441
5442 * frame-unwind.c (struct frame_unwind_table, frame_unwind_init)
5443 (frame_unwind_prepend_unwinder, frame_unwind_append_sniffer)
5444 (frame_unwind_find_by_frame): Re-implement the unwind code so
5445 that it can both prepend and append sniffers. Replace
5446 frame_unwind_register_unwinder with frame_unwind_prepend_unwinder.
5447 * tramp-frame.c (tramp_frame_append): Use
5448 frame_unwind_prepend_unwinder.
5449 * frame-unwind.h (frame_unwind_prepend_unwinder): Replace
5450 frame_unwind_register_unwinder.
5451 * tramp-frame.h (tramp_frame_prepend_unwinder): Rename
5452 tramp_frame_append.
5453 * tramp-frame.c (tramp_frame_prepend_unwinder): Update.
8718a420 5454 * mips-linux-tdep.c (mips_linux_init_abi, mips_linux_init_abi)
fb2be677
AC
5455 (mips_linux_init_abi): Update.
5456
67faf007
KB
54572004-04-08 Kevin Buettner <kevinb@redhat.com>
5458
5459 * ppc-linux-tdep.c (ELF_NREG, ELF_NFPREG, ELF_NVRREG)
5460 (ELF_FPREGSET_SIZE): Delete constants formerly used in core
5461 file support.
5462
8973ff21
KB
54632004-04-07 Kevin Buettner <kevinb@redhat.com>
5464
5465 * ia64-tdep.c (elf.h): Don't include.
5466 (elf/ia64.h) [HAVE_LIBUNWIND_IA64_H]: Include.
5467
4a0e2f88
JM
54682004-04-07 Jason Molenda (jmolenda@apple.com)
5469
5470 * frame.h: Typeo corrections in comments.
5471
9872ad24
JB
54722004-04-07 Jim Blandy <jimb@redhat.com>
5473
5474 * i386-tdep.c (i386_stab_reg_to_regnum): Correct numbering for
5475 %esp and %ebp
5476
70b216c8
MK
54772004-04-07 Mark Kettenis <kettenis@gnu.org>
5478
11d5789c
MK
5479 * config/sparc/linux.mt (TDEPFILES): Remove solib-legacy.o.
5480 * config/sparc/linux64.mt (TDEPFILES): Likewise.
5481 * config/sparc/sol2.mt (TDEPFILES): Add solib.o and solib-svr4.o.
5482 * config/sparc/sol2.mh (NATDEPFILES): Remove solib.o, solib-svr4.o
5483 and solib-legacy.o.
5484 * config/sparc/sol2-64.mt (TDEPFILES): Add solib.o and
5485 solib-svr4.o.
5486 * config/sparc/tm-sol2.h: Update copyright year. Include
5487 "solib.h".
5488
70b216c8
MK
5489 * sparc-sol2-tdep.c: Update copyright year. Include
5490 "solib-svr4.h".
5491 (sparc32_sol2_init_abi): Set solib_svr4_fetch_link_map_offsets.
5492 * sparc64-sol2-tdep.c: Include "solib-svr4.h".
5493 (sparc64_sol2_init_abi): Set solib_svr4_fetch_link_map_offsets.
096f864c 5494 * Makefile.in (sparc-sol2-tdep.o, sparc64-sol2-tdep.o): Update
70b216c8
MK
5495 dependencies.
5496
6339dc9e
AC
54972004-04-06 Andrew Cagney <cagney@redhat.com>
5498
5499 * infttrace.c: Include "infttrace.h".
5500 * infttrace.h: Include "target.h".
5501 * Makefile.in (infttrace_h): Update.
5502 (infttrace.o): Update.
8718a420 5503
93449403
AC
55042004-04-06 Andrew Cagney <cagney@redhat.com>
5505
6d518969
AC
5506 * hppah-nat.c (hpux_has_forked, hpux_has_vforked)
5507 (hpux_has_execd, hpux_has_syscall_event): Include "infttrace.h",
5508 move extern declarations from here ...
5509 * infttrace.h: ... to here.
5510 * Makefile.in (hppah-nat.o): Update dependencies.
5511
85f4f2d8
AC
5512 * hppa-tdep.c (hppa_breakpoint_from_pc): Make static.
5513 (hppa_gdbarch_init): Set gdbarch_breakpoint_from_pc
8718a420 5514 * config/pa/tm-hppa.h (BREAKPOINT_FROM_PC, BREAKPOINT32):
85f4f2d8
AC
5515 (hppa_breakpoint_from_pc): Delete.
5516
93449403
AC
5517 * MAINTAINERS: Mark hppa-elf as buildable with -Werror.
5518
71456ec6
AC
55192004-04-05 Andrew Cagney <cagney@redhat.com>
5520
5521 * hppa-tdep.c: Do not include <sys/types.h>, <sys/param.h>,
5522 <signal.h>, <sys/ptrace.h>, #include "a.out.encap.h",
5523 <sys/file.h>.
8718a420 5524
4c02c60c
AC
55252004-04-06 Randolph Chung <tausq@debian.org>
5526
5527 Committed by Andrew Cagney (mechanical change).
5528 * hppa-tdep.c: (args_for_find_stub, hp_som_som_object_present,
5529 exception_catchpoints_are_fragile, find_stub_with_shl_get,
5530 cover_find_stub_with_shl_get, initialize_hp_cxx_exception_support,
5531 child_enable_exception_callback, current_ex_event,
5532 null_symtab_and_line, child_get_current_exception_event,
5533 HP_ACC_EH_notify_hook, HP_ACC_EH_set_hook_value,
5534 HP_ACC_EH_notify_callback, HP_ACC_EH_break, HP_ACC_EH_catch_throw,
5535 HP_ACC_EH_catch_catch, __eh_notification, hp_cxx_exception_support,
5536 hp_cxx_exception_support_initialized, eh_notify_hook_addr,
5537 eh_notify_callback_addr, eh_break_addr, eh_catch_catch_addr,
5538 eh_catch_throw_addr, break_callback_sal, setup_d_pid_in_inferior):
5539 Move hpux-specific definitions ...
5540 * hppa-hpux-tdep.c: ... to here.
5541
3a515653
AC
55422004-04-05 Andrew Cagney <cagney@redhat.com>
5543
5544 * hppa-tdep.c (hppa_frame_cache): Pass the frame's func to
5545 skip_prologue_using_sal.
5546
c1730d02
AC
55472004-04-05 Andrew Cagney <cagney@redhat.com>
5548
5549 * config/i386/tm-i386.h: Delete file.
5550 * config/i386/tm-vxworks.h: Update copyright, do not include
5551 "tm-i386.h".
5552 * config/i386/tm-nto.h, config/i386/tm-linux.h: Ditto.
5553 * config/i386/tm-i386sol2.h, config/i386/tm-i386lynx.h: Ditto.
5554 * config/i386/tm-go32.h, config/i386/tm-cygwin.h: Ditto.
5555 * config/i386/ncr3000.mt (TM_FILE): Delete.
5556 * config/i386/interix.mt (TM_FILE): Delete.
5557 * config/i386/i386v.mt (TM_FILE): Delete.
5558 * config/i386/i386nw.mt (TM_FILE): Delete.
5559 * config/i386/i386gnu.mt (TM_FILE): Delete.
5560 * config/i386/i386aout.mt (TM_FILE): Delete.
5561 * config/i386/embed.mt (TM_FILE): Delete.
5562
8b67aa36
KB
55632004-04-05 Kevin Buettner <kevinb@redhat.com>
5564
5565 * frv-tdep.h (fsr0_regnum, acc0_regnum, acc7_regnum, accg0123_regnum)
5566 (accg4567_regnum, msr0_regnum, msr1_regnum, gner0_regnum)
5567 (gner1_regnum, fner0_regnum, fner1_regnum, accg0_regnum)
5568 (accg7_regnum): New constants.
5569 (last_spr_regnum, last_pseudo_regnum): Update.
c2f59a1a
KB
5570 * frv-tdep.c (new_variant): Initialize names for fsr0, acc0-acc7,
5571 accg0-accg7, msr0, msr1, gner0, gner1, fner0, and fner1.
8b67aa36
KB
5572 (frv_pseudo_register_read, frv_pseudo_register_write): Add support
5573 for accg registers.
5574 (frv_register_sim_regno): Update spr_map[].
5575
3c7012f5
AC
55762004-04-04 Andrew Cagney <cagney@redhat.com>
5577
5578 * config/mips/xm-riscos.h: Delete.
5579 * config/mips/xm-mipsv4.h, config/mips/xm-mips.h: Delete.
5580 * config/mips/tm-mipsv4.h, config/mips/riscos.mh: Delete.
5581 * config/mips/nm-riscos.h, config/mips/nm-news-mips.h: Delete.
5582 * config/mips/nm-mips.h, config/mips/news-mips.mh: Delete.
5583 * config/mips/news-mips.mh, config/m68k/tm-m68kv4.h: Delete.
5584 * config/mips/decstation.mh, config/mips/littlemips.mh: Delete.
5585 * config/mips/mipsv4.mt, config/m68k/tm-sun3.h: Delete.
5586 * config/m68k/xm-sun3os4.h, config/m68k/xm-sun3.h: Delete.
5587 * config/m68k/xm-sun2.h, config/m68k/xm-m68kv4.h: Delete.
5588 * config/m68k/xm-dpx2.h, config/m68k/xm-delta68.h: Delete.
5589 * config/m68k/xm-3b1.h, config/m68k/tm-sun3os4.h: Delete.
5590 * config/m68k/tm-m68klynx.h, config/m68k/tm-dpx2.h: Delete.
5591 * config/m68k/tm-delta68.h, config/m68k/tm-3b1.h: Delete.
5592 * config/m68k/sun3os4.mt, config/m68k/nm-sysv4.h: Delete.
5593 * config/m68k/nm-sun3.h, config/m68k/sun3os4.mh: Delete.
5594 * config/m68k/sun2os3.mh, config/m68k/nm-sun2.h: Delete.
5595 * config/m68k/nm-m68klynx.h, config/m68k/sun3os3.mt: Delete.
5596 * config/m68k/nm-dpx2.h, config/m68k/sun2os3.mt: Delete.
5597 * config/m68k/dpx2.mh, config/m68k/sun3os3.mh: Delete.
5598 * config/m68k/sun2os4.mh, config/m68k/nm-delta68.h: Delete.
5599 * config/m68k/m68kv4.mt, config/m68k/m68klynx.mt: Delete.
5600 * config/m68k/3b1.mt, config/m68k/m68klynx.mh: Delete.
5601 * config/m68k/m68kv4.mh, config/m68k/sun2os4.mt: Delete.
5602 * config/m68k/tm-sun2os4.h, config/m68k/3b1.mh: Delete.
5603 * config/m68k/dpx2.mt, config/m68k/delta68.mt: Delete.
5604 * config/m68k/tm-sun2.h, config/m68k/delta68.mh: Delete.
8718a420 5605
3c7012f5
AC
5606 * configure.tgt: Remove m68000-*-sunos3*, m68000-*-sunos4*,
5607 m68*-bull-sysv*, m68*-att-*, m68*-motorola-*, m68*-*-lynxos*,
5608 m68*-*-sunos3*, m68*-*-sunos4*, m68*-*-sysv4*, mips*-*-sysv4*.
5609 * configure.host: Remove m680[01]0-sun-sunos3*,
5610 m680[01]0-sun-sunos4*, m68*-att-*, m68*-bull*-sysv*,
5611 m68*-*-lynxos*, m68*-*-sysv4*, m68*-motorola-*, m68*-sun-sunos3*,
5612 m68*-sun-sunos4*, m68*-sun-*, mips-dec-*, mips-little-*,
5613 mips-sony-*, mips-*-mach3*, mips-*-sysv4*, mips-*-sysv*,
5614 mips-*-riscos*.
5615 * NEWS: Mention removed systems.
5616
99d16a21
AC
56172004-04-04 Andrew Cagney <cagney@redhat.com>
5618
5619 GDB 6.1 release created from 6.1 branch.
5620
6cdf9d98
AC
56212004-04-04 Andrew Cagney <cagney@redhat.com>
5622
98d346c3
AC
5623 * gnu-nat.c (gnu_wait): Use memcpy instead of bcopy.
5624 * remote-vxmips.c (vx_read_register, vx_write_register): Ditto.
5625 * remote-vx68.c (vx_read_register, vx_write_register): Ditto.
5626
6cdf9d98
AC
5627 * config/vax/xm-vax.h (FAULT_CODE_ORIGIN, INIT_STACK): Delete.
5628 * config/alpha/xm-alphaosf.h (NO_SIGINTERRUPT): Delete.
5629 * config/alpha/xm-alphalinux.h (NO_SIGINTERRUPT): Delete.
5630
859a326d
JB
56312004-04-03 Jim Blandy <jimb@redhat.com>
5632
5633 * MAINTAINERS: Chris Faylor has changed employers; add him to
5634 "paper trail" section, and update his E-mail address.
5635
b87178c3
AC
56362004-04-03 Andrew Cagney <cagney@redhat.com>
5637
4ea2acf0
AC
5638 * frame-unwind.c (frame_unwind_find_by_frame): Delete check for
5639 generic dummy frames.
5640 * dummy-frame.c: Update copyright.
5641 (dummy_frame_sniffer): Delete check for generic dummy frames.
5642
d0bd2d18 5643 * config/pa/tm-hppa.h (REG_PARM_STACK_SPACE): Delete.
8718a420 5644 * config/pa/tm-hppa64.h (PA20W_CALLING_CONVENTIONS)
d0bd2d18
AC
5645 (REG_PARM_STACK_SPACE): Delete.
5646 * hppa-tdep.c (hppa64_push_dummy_call, hppa32_push_dummy_call):
5647 Inline reference to REG_PARM_STACK_SPACE.
5648
b87178c3
AC
5649 * config/pa/tm-hppah.h (FRAME_SAVED_PC_IN_SIGTRAMP)
5650 (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP)
5651 (hppa32_hpux_frame_find_saved_regs_in_sigtramp)
5652 (FRAME_BASE_BEFORE_SIGTRAMP)
5653 (hppa32_hpux_frame_base_before_sigtramp)
5654 (hppa32_hpux_frame_saved_pc_in_sigtramp): Delete.
5655 * config/pa/tm-hppa64.h (hppa64_hpux_frame_saved_pc_in_sigtramp)
5656 (hppa64_hpux_frame_find_saved_regs_in_sigtramp)
5657 (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP)
5658 (FRAME_BASE_BEFORE_SIGTRAMP)
5659 (hppa64_hpux_frame_base_before_sigtramp)
5660 (FRAME_SAVED_PC_IN_SIGTRAMP): Delete.
5661
43e2e1a0
AC
56622004-04-03 Andrew Cagney <cagney@redhat.com>
5663
5664 * PROBLEMS: Mention that GDB doesn't build on HP/UX 11.00.
5665
ddc135a4
AC
56662004-04-02 Andrew Cagney <cagney@redhat.com>
5667
5668 * sh64-tdep.c (sh64_init_extra_frame_info): Replace
5669 DEPRECATED_CALL_DUMMY_LENGTH with 0, simplify.
5670 * dummy-frame.h: Delete out-of-date comments.
5671 * gdbarch.sh (DEPRECATED_CALL_DUMMY_LENGTH): Delete.
5672 * gdbarch.h, gdbarch.c: Re-generate.
5673
d15bfd3a 56742004-04-02 Joel Brobecker <brobecker@gnat.com>
8718a420 5675
d15bfd3a
AC
5676 Committed by Andrew Cagney <cagney@redhat.com>.
5677 * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Do not take
5678 into account an instruction saving a register if we have already
5679 seen an earlier instruction saving that same register.
5680
f04ceafa
AC
56812004-04-02 Andrew Cagney <cagney@redhat.com>
5682
08be3abd
AC
5683 * gdbarch.sh (DEPRECATED_INIT_FRAME_PC_FIRST): Delete.
5684 * gdbarch.h, gdbarch.c: Re-generate.
5685 * frame.c (legacy_get_prev_frame): Delete references to
5686 DEPRECATED_INIT_FRAME_PC_FIRST.
5687
f04ceafa
AC
5688 * infrun.c (pc_in_sigtramp): Delete function.
5689 (check_sigtramp2): Inline call to pc_in_sigtramp, use
5690 get_frame_type.
5691
08e69816
AC
56922004-04-02 Andrew Cagney <cagney@redhat.com>
5693
5694 * infrun.c (handle_step_into_function): Delete code conditional on
5695 legacy_frame_p.
5696 (handle_inferior_event, step_over_function): Ditto.
5697
adb54772
AC
56982004-04-02 Andrew Cagney <cagney@redhat.com>
5699
5700 * frame.c (get_prev_frame_1): Exclude signal trampolines from the
5701 "previous frame inner to this frame" test.
5702
304396fb
AC
57032004-04-02 Andrew Cagney <cagney@redhat.com>
5704
5705 * frame.c (safe_frame_unwind_memory): New function.
5706 * frame.h (safe_frame_unwind_memory): Declare. Update description
5707 of /safe_/ methods.
5708 * tramp-frame.c (tramp_frame_start): Re-order parmeters, add
5709 "next_frame". Use safe_frame_unwind_memory.
5710 (tramp_frame_sniffer): Update call to tramp_frame_start.
5711
6502dd73
DJ
57122004-04-01 Daniel Jacobowitz <drow@mvista.com>
5713
5714 * dwarf2read.c (dwarf2_objfile_data_key): New.
5715 (struct dwarf2_per_objfile, dwarf2_per_objfile): New.
5716 (dwarf_info_size, dwarf_abbrev_size, dwarf_line_size)
5717 (dwarf_pubnames_size, dwarf_aranges_size, dwarf_loc_size)
5718 (dwarf_macinfo_size, dwarf_str_size, dwarf_ranges_size)
5719 (dwarf_frame_size, dwarf_eh_frame_size, dwarf_info_buffer)
5720 (dwarf_abbrev_buffer, dwarf_line_buffer, dwarf_str_buffer)
5721 (dwarf_macinfo_buffer, dwarf_ranges_buffer, dwarf_loc_buffer):
5722 Remove variables.
5723 (struct dwarf2_pinfo): Remove per-objfile members. Update comments.
5724 (DWARF_ABBREV_SIZE, DWARF_LINE_SIZE)
5725 (DWARF_LOC_SIZE, DWARF_MACINFO_SIZE, DWARF_STR_SIZE)
5726 (DWARF_RANGES_SIZE, DWARF_INFO_BUFFER)
5727 (DWARF_ABBREV_BUFFER, DWARF_LINE_BUFFER, DWARF_STR_BUFFER)
5728 (DWARF_MACINFO_BUFFER, DWARF_RANGES_BUFFER, DWARF_LOC_BUFFER):
5729 Remove macros.
5730 (dwarf2_has_info): Take an objfile argument. Allocate per-objfile
5731 data.
5732 (dwarf2_locate_sections, dwarf2_build_psymtabs)
5733 (dwarf2_build_psymtabs_easy, dwarf2_build_psymtabs_hard)
5734 (skip_one_die, dwarf2_get_pc_bounds, dwarf2_read_abbrevs)
5735 (read_partial_die, read_full_die, read_indirect_string)
5736 (dwarf_decode_line_header, dwarf_decode_macros)
5737 (dwarf2_symbol_mark_computed): Remove use of removed macros.
5738 Update uses of removed variables.
5739 (psymtab_to_symtab_1): Restore per-objfile data pointer. Remove use
5740 of removed macros.
5741 (_initialize_dwarf2_read): New function.
5742 * symfile.h (dwarf2_has_info): Update prototype.
5743 * coffread.c (coff_symfile_read): Update call to dwarf2_has_info.
5744 * elfread.c (elf_symfile_read): Likewise.
5745
408752b0
JB
57462004-04-01 Jim Blandy <jimb@redhat.com>
5747
9f744501
JB
5748 * rs6000-tdep.c (rs6000_dwarf2_stab_reg_to_regnum): New, unified
5749 function for register numbers on all the rs6000-derived targets.
5750 (rs6000_gdbarch_init): Don't register a separate
5751 gdbarch_dwarf2_reg_to_regnum function for the E500. Use
5752 rs6000_dwarf2_stab_reg_to_regnum for both Dwarf 2 and stabs on all
5753 variants.
5754
408752b0
JB
5755 * i386-tdep.c: Add FIXME regarding STABS vs. Dwarf 2 register
5756 numbering.
5757
2de41bce
PH
57582004-04-01 Paul N. Hilfinger <Hilfinger@gnat.com>
5759
5760 * valarith.c: Update copyright notice.
5761 (value_add): Handle range types.
5762 (value_sub): Ditto.
5763 (value_equal): Ditto.
5764 (value_less): Ditto.
5765 (value_neg): Ditto.
5766 (value_complement): Ditto.
8718a420 5767 (value_binop): Simplify slightly by using is_integral_type and
2de41bce 5768 eliminiating unnecessary COERCE_ENUMs.
8718a420 5769
5613d8d3
AC
57702004-03-31 Andrew Cagney <cagney@redhat.com>
5771
5772 * frame.h (frame_unwind_id): Declare.
5773 * frame.c (frame_unwind_id): New function.
5774 (get_prev_frame_1): New function.
5775 (frame_debug_got_null_frame): New function.
5776 (get_prev_frame): Use frame_debug_got_null_frame. Move unwind
5777 code proper to prev_frame, update description.
5778 * infrun.c (step_over_function): Use frame_unwind_id.
5779
c4557624
JB
57802004-04-31 J. Brobecker <brobecker@gnat.com>
5781
5782 * hppa-tdep.c (hppa32_push_dummy_call): Set the Stack Pointer.
5783 (hppa64_push_dummy_call): Likewise.
5784
3e6bb910
JB
57852004-03-30 Jim Blandy <jimb@redhat.com>
5786
5787 From Ulrich Weigand:
5788 * utils.c (query): Do not use a va_list variable multiple times.
5789
a2f23071
DJ
57902004-03-29 Daniel Jacobowitz <drow@mvista.com>
5791
5792 * Makefile.in (linux_nat_h): Update dependencies.
5793 * configure.in: Check for <gnu/libc-version.h>.
5794 * configure: Regenerate.
5795 * config.in: Regenerate.
5796 * linux-nat.h: Include "target.h". Add waitstatus field to
5797 struct lwp_info.
5798 * lin-lwp.c (add_lwp): Initialize waitstatus.kind.
5799 (lin_lwp_attach_lwp): Don't attach to LWPs we have already attached
5800 to.
5801 (lin_lwp_handle_extended): New function. Handle clone events.
5802 (wait_lwp): Use lin_lwp_handle_extended. Update comment about
5803 thread exit events.
5804 (child_wait): Handle clone events.
5805 (lin_lwp_wait: Use lin_lwp_handle_extended and handle clone events.
5806 * linux-nat.c (linux_enable_event_reporting): Turn on
5807 PTRACE_O_TRACECLONE.
5808 (linux_handle_extended_wait): Handle clone events.
5809 * thread-db.c: Include <gnu/libc-version.h>.
5810 (struct private_thread_info): Add dying flag.
5811 (enable_thread_event_reporting): Enable TD_DEATH for glibc 2.2 and
5812 higher.
5813 (attach_thread): Update comments. Handle dying threads.
5814 (detach_thread): Set the dying flag.
5815 (check_event): Always call attach_thread.
5816
8d5f9dcb
DJ
58172004-03-29 Daniel Jacobowitz <drow@mvista.com>
5818
5819 * mips-tdep.c (mips_pdr_data): New.
5820 (non_heuristic_proc_desc): Use objfile_data and set_objfile_data.
5821 (_initialize_mips_tdep): Initialize mips_pdr_data.
5822
66337bb1
CV
58232004-03-29 Corinna Vinschen <vinschen@redhat.com>
5824
5825 * minsyms.c (install_minimal_symbols): Move dropping leading
5826 char from linkage name from here...
5827 (prim_record_minimal_symbol_and_info): ...to here. Simplify
5828 test for "__gnu_compiled*" symbols.
5829
e802b915
JB
58302004-03-28 Jim Blandy <jimb@redhat.com>
5831
5832 * rs6000-tdep.c (skip_prologue): Recognize moves from argument
5833 registers to temp register r0 and byte stores as prologue
5834 instructions.
5835
72b56458
AC
58362004-03-28 Andrew Cagney <cagney@redhat.com>
5837
5838 * PROBLEMS (Stack backtraces): Rewrite. Remove reference to
5839 arm*-*-*.
5840
0bfbda3b
SC
58412004-03-28 Stephane Carrez <stcarrez@nerim.fr>
5842
5843 * tui/tui-regs.c (tui_show_registers): Make sure the TUI is active
5844 and switch the layout to force a display of register window.
5845
5a7225ed
JB
58462004-02-26 J. Brobecker <brobecker@gnat.com>
5847
5848 * amd64-tdep.c (amd64_classify): make RANGE_TYPE objects be part
5849 of the INTEGER class.
5850
81a07a45
JB
58512004-03-26 Jim Blandy <jimb@redhat.com>
5852
5853 * ppc-linux-tdep.c (ppc_linux_init_abi): Long doubles are eight
5854 bytes long on PPC GNU/Linux.
5855
8c691c7a
DC
58562004-03-26 David Carlton <carlton@kealia.com>
5857
5858 * PROBLEMS: Refer to gdb/1588 instead of gdb/826.
5859
103a0089
AC
58602004-03-25 Andrew Cagney <cagney@redhat.com>
5861
5862 * PROBLEMS: Add general section titles, remove references to
5863 specific releases.
5864
7a5ea0d4
DJ
58652004-03-25 Daniel Jacobowitz <drow@mvista.com>
5866
5867 * arm-linux-tdep.c (ARM_LINUX_JB_ELEMENT_SIZE): Define to
5868 INT_REGISTER_SIZE.
5869 (arm_linux_push_arguments): Use TARGET_DOUBLE_BIT instead of
5870 FP_REGISTER_VIRTUAL_SIZE.
5871 * arm-tdep.c (arm_make_sigtramp_cache): Use register_size instead
5872 of DEPRECATED_REGISTER_RAW_SIZE.
5873 (arm_register_type): Add gdbarch argument.
5874 (arm_register_raw_size, arm_register_virtual_size): Delete.
5875 (arm_register_byte, arm_extract_return_value)
5876 (arm_store_return_value, arm_get_longjmp_target): Update references
5877 to INT_REGISTER_RAW_SIZE and FP_REGISTER_RAW_SIZE.
5878 (arm_gdbarch_init): Likewise. Don't set
5879 deprecated_register_raw_size, deprecated_register_virtual_size,
5880 deprecated_max_register_raw_size,
5881 deprecated_max_register_virtual_size, or
5882 deprecated_max_register_virtual_type. Do set register_type.
5883 * arm-tdep.h (ARM_MAX_REGISTER_RAW_SIZE)
5884 (ARM_MAX_REGISTER_VIRTUAL_SIZE, INT_REGISTER_VIRTUAL_SIZE)
5885 (FP_REGISTER_VIRTUAL_SIZE): Delete.
5886 (INT_REGISTER_RAW_SIZE): Rename to INT_REGISTER_SIZE.
5887 (FP_REGISTER_RAW_SIZE): Rename to FP_REGISTER_SIZE.
5888 * arm-linux-tdep.c (ARM_NBSD_JB_ELEMENT_SIZE): Define to
5889 INT_REGISTER_SIZE.
5890 * remote-rdp.c (remote_rdp_fetch_register): Use MAX_REGISTER_SIZE.
5891 (remote_rdp_store_register): Likewise.
5892
5792a79b
DJ
58932004-03-24 Daniel Jacobowitz <drow@mvista.com>
5894
5895 * Makefile.in (mips-linux-tdep.o): Update dependencies.
5896 * mips-tdep.c (mips_gdbarch_init): Move frame predicates
5897 to after osabi initialization.
5898 * mips-linux-tdep.c: Include "trad-frame.h" and "tramp-frame.h".
5899 (mips_linux_o32_sigframe_init, mips_linux_n32n64_sigframe_init): New
5900 functions.
5901 (mips_linux_o32_sigframe, mips_linux_o32_rt_sigframe)
5902 (mips_linux_n32_rt_sigframe, mips_linux_n64_rt_sigframe): New
5903 variables.
5904 (mips_linux_init_abi): Append signal trampoline unwinders.
5905
1196bfda
AC
59062004-03-24 Andrew Cagney <cagney@redhat.com>
5907
5908 * tramp-frame.h (TRAMP_SENTINEL_INSN): Define, document.
5909 * tramp-frame.c: Include "gdb_assert.h".
5910 (tramp_frame_start): Use TRAMP_SENTINEL_INSN. Use ULONGEST and
5911 correct sizeof.
5912 (tramp_frame_append): Validate the tramp frame's instructions.
5913 * Makefile.in (tramp-frame.o): Update dependencies.
5914
4be282b4
AC
59152004-03-23 Andrew Cagney <cagney@redhat.com>
5916
5917 * trad-frame.h (trad_frame_set_reg_addr): Declare.
5918
69aec09b
AC
59192004-03-23 Andrew Cagney <cagney@redhat.com>
5920
5921 * MAINTAINERS (Past Maintainers): Add Mark Salter and Fernando
5922 Nasser as past testsuite/lib/ (and other) maintainers.
5923
63ed89b4
DJ
59242004-03-23 Daniel Jacobowitz <drow@mvista.com>
5925
5926 * infcmd.c (attach_command): Reread symbols if we already have
5927 an exec file.
5928
f3b36427
AC
59292004-03-23 Andrew Cagney <cagney@redhat.com>
5930
5931 * rs6000-tdep.c (frame_get_saved_regs): Delete unused function.
5932
aa2a3f87
AC
59332004-03-23 Andrew Cagney <cagney@redhat.com>
5934
5935 * gdbarch.sh (SIGTRAMP_START, SIGTRAMP_END): Deprecate.
5936 * gdbarch.h, gdbarch.c: Re-generate.
5937 * i386obsd-tdep.c (i386obsd_init_abi): Update.
5938 * i386nbsd-tdep.c (i386nbsd_init_abi): Update.
5939 * i386bsd-tdep.c (i386bsd_init_abi): Update.
8718a420 5940 * config/vax/tm-vaxbsd.h (DEPRECATED_SIGTRAMP_END)
aa2a3f87 5941 (DEPRECATED_SIGTRAMP_START): Update.
8718a420 5942 * config/m68k/tm-nbsd.h (DEPRECATED_SIGTRAMP_END)
aa2a3f87
AC
5943 (DEPRECATED_SIGTRAMP_START): Update.
5944 * blockframe.c (find_pc_sect_partial_function): Update.
5945 * arch-utils.c (legacy_pc_in_sigtramp): Update.
5946
00cac895
DJ
59472004-03-23 Daniel Jacobowitz <drow@mvista.com>
5948
5949 * remote.c (remote_open_1): Reopen the exec file and reread symbols
5950 if necessary.
5951
f561f026
AC
59522004-03-23 Andrew Cagney <cagney@redhat.com>
5953
5954 * gdbarch.sh (PC_IN_SIGTRAMP): Change to a function with
5955 predicate, deprecate.
5956 * gdbarch.h, gdbarch.c: Re-generate.
5957 * alpha-linux-tdep.c (alpha_linux_init_abi): Update.
5958 * alpha-osf1-tdep.c (alpha_osf1_init_abi): Update.
5959 * alpha-tdep.c (alpha_sigtramp_frame_sniffer): Update.
5960 * alphafbsd-tdep.c (alphafbsd_init_abi): Update.
5961 * alphanbsd-tdep.c (alphanbsd_init_abi): Update.
5962 * amd64-linux-tdep.c (amd64_linux_init_abi): Update.
5963 * amd64-tdep.c (amd64_sigtramp_frame_sniffer): Update.
5964 * amd64nbsd-tdep.c (amd64nbsd_init_abi): Update.
5965 * amd64obsd-tdep.c (amd64obsd_init_abi): Update.
5966 * arm-tdep.c (arm_sigtramp_unwind_sniffer): Update.
5967 * blockframe.c (find_pc_partial_function): Update.
5968 * breakpoint.c (bpstat_what): Update.
5969 * frame.c (frame_type_from_pc, legacy_get_prev_frame): Update.
5970 * frv-linux-tdep.c (frv_linux_init_abi): Update.
5971 * frv-tdep.c (frv_sigtramp_frame_sniffer): Update.
5972 * hppa-hpux-tdep.c (hppa_hpux_init_abi): Update.
5973 * i386-interix-tdep.c (i386_interix_init_abi): Update.
5974 * i386-linux-tdep.c (i386_linux_init_abi): Update.
5975 * i386-nto-tdep.c (i386nto_init_abi): Update.
5976 * i386-sol2-tdep.c (i386_sol2_init_abi): Update.
5977 * i386-tdep.c (i386_sigtramp_frame_sniffer)
5978 (i386_svr4_init_abi, i386_go32_init_abi, i386_gdbarch_init): Update.
5979 * i386bsd-tdep.c (i386bsd_init_abi): Update.
5980 * i386nbsd-tdep.c (i386nbsd_init_abi): Update.
5981 * i386obsd-tdep.c (i386obsd_init_abi): Update.
5982 * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Update.
5983 * infrun.c (pc_in_sigtramp): Update.
5984 * m68k-tdep.c (m68k_sigtramp_frame_sniffer): Update.
5985 * m68klinux-tdep.c (m68k_linux_init_abi): Update.
5986 * mips-tdep.c (mips_gdbarch_init): Update.
5987 * mipsnbsd-tdep.c (mipsnbsd_init_abi): Update.
5988 * ppc-linux-tdep.c: Update comment.
5989 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Update.
5990 * shnbsd-tdep.c (shnbsd_init_abi): Update.
5991 * sparc-linux-tdep.c (sparc32_linux_init_abi): Update.
5992 * sparc-sol2-tdep.c (sparc32_sol2_init_abi): Update.
5993 * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Update.
5994 * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Update.
5995 * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Update.
5996 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Update.
5997 * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Update.
5998 * sparcobsd-tdep.c (sparc32obsd_init_abi): Update.
8718a420 5999
8050c72f
AC
60002004-03-23 Andrew Cagney <cagney@redhat.com>
6001
d2259dd3
AC
6002 * tramp-frame.h, tramp-frame.h: New files.
6003 * Makefile.in (SFILES, tramp_frame_h, COMMON_OBS, tramp-frame.o):
6004 Update rules to include "tramp-frame.h" and "tramp-frame.c".
6005
8050c72f
AC
6006 * Makefile.in: Update all dependencies.
6007
0db9b4b7
AC
60082004-03-23 Andrew Cagney <cagney@redhat.com>
6009
6010 * Makefile.in (trad_frame_h): Add $(frame_h).
6011 * trad-frame.h: Update copyright. Include "frame.h".
6012 (struct trad_frame_cache, trad_frame_cache_zalloc): Declare.
6013 (trad_frame_set_id, trad_frame_get_id): Declare.
6014 (trad_frame_set_reg_addr, trad_frame_get_register): Declare.
6015 * trad-frame.c: Update copyright.
6016 (struct trad_frame_cache): Define.
6017 (trad_frame_cache_zalloc): New function.
6018 (trad_frame_set_id, trad_frame_get_id): New functions.
6019 (trad_frame_set_reg_addr, trad_frame_get_register): New functions.
8718a420 6020
8e645ae7
AC
60212004-03-22 Andrew Cagney <cagney@redhat.com>
6022
6023 * s390-tdep.c (struct s390_stub_unwind_cache): Rename
6024 s390_pltstub_unwind_cache.
6025 (s390_stub_frame_unwind_cache): Rename
6026 s390_pltstub_frame_unwind_cache.
6027 (s390_stub_frame_this_id): Rename s390_pltstub_frame_this_id.
6028 (s390_stub_frame_prev_register): Rename
6029 s390_pltstub_frame_prev_register.
6030 (s390_stub_frame_unwind): Rename s390_pltstub_frame_unwind.
6031 (s390_stub_frame_sniffer): Rename s390_stub_frame_sniffer.
6032
6033 From Ulrich Weigand:
6034 * s390-tdep.c (s390_pltstub_frame_sniffer): Handle invalid function
6035 pointer calls like PLT calls.
6036
34fcf120
DJ
60372004-03-22 Daniel Jacobowitz <drow@mvista.com>
6038
6039 * mips-tdep.c (non_heuristic_proc_desc): Search using the specified
6040 PC rather than the partial function start address. Use the start
6041 address to sanity check the found PDR.
6042
5b917078
DJ
60432004-03-22 Daniel Jacobowitz <drow@mvista.com>
6044
6045 * lin-lwp.c (lin_lwp_wait): Pass the LWP ID to
6046 linux_handle_extended_wait.
6047
8adf9e78
AC
60482004-03-22 Andrew Cagney <cagney@redhat.com>
6049
c3122434
AC
6050 * rs6000-tdep.c (frame_initial_stack_address): Delete unused
6051 function.
6052
8adf9e78
AC
6053 * frame.h (generic_pop_current_frame): Delete declaration.
6054 (deprecate_pop_dummy_frame): Deprecate
6055 generic_pop_dummy_frame.
6056 * dummy-frame.c (deprecated_pop_dummy_frame): Update.
6057 (generic_pop_current_frame): Delete function.
6058 * mn10300-tdep.c (mn10300_pop_frame): Eliminate call to
6059 generic_pop_current_frame.
6060 * v850-tdep.c (v850_pop_frame): Update.
6061 * mcore-tdep.c (mcore_pop_frame): Update.
6062 * sh64-tdep.c (sh64_pop_frame): Update.
6063 * h8300-tdep.c (h8300_pop_frame): Update.
6064
90ba813f
AC
60652004-03-22 Andrew Cagney <cagney@redhat.com>
6066
6067 * frame.h (deprecated_pc_in_call_dummy): Rename
6068 generic_pc_in_call_dummy.
6069 * dummy-frame.h (pc_in_dummy_frame): Delete declaration.
6070 * dummy-frame.c (deprecated_pc_in_call_dummy): Rename
6071 generic_pc_in_call_dummy.
6072 (pc_in_dummy_frame): Make static.
6073 * gdbarch.sh (DEPRECATED_PC_IN_CALL_DUMMY): Update.
6074 * gdbarch.h, gdbarch.c: Re-generate.
6075 * dummy-frame.c (dummy_frame_sniffer): Simplify.
6076 * frame.c (frame_type_from_pc): Call deprecated_pc_in_call_dummy.
6077 (legacy_get_prev_frame): Ditto.
6078 * inferior.h: Delete reference to generic_pc_in_call_dummy in
6079 comment.
8718a420 6080
ca4bb888
AC
60812004-03-21 Andrew Cagney <cagney@redhat.com>
6082
244675f9
AC
6083 * inferior.h (deprecated_pc_in_call_dummy_at_entry_point): Delete
6084 declaration and out-of-date comment.
6085 * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point):
6086 Delete function.
6087 * mn10300-tdep.c (mn10300_gdbarch_init): Do not set
6088 deprecated_pc_in_call_dummy.
6089
ca4bb888
AC
6090 * infrun.c (handle_inferior_event): For non legacy frames, use the
6091 frame ID and frame type to identify a signal trampoline. Update
6092 comments.
6093
1777c7b4
NW
60942004-03-21 Nathan J. Williams <nathanw@wasabisystems.com>
6095
6096 * mipsnbsd-tdep.c: Update copyright. Include "mips-tdep.h".
6097 * Makefile.in (mipsnbsd-tdep.o): Update dependencies.
6098
82417da5
AC
60992004-03-21 Andrew Cagney <cagney@redhat.com>
6100
6101 * frame-unwind.h: Update copyright.
6102 (struct frame_data): Add opaque declaration.
6103 (frame_sniffer_ftype): Declare.
6104 (struct frame_unwind): Add "unwind_data" and "sniffer".
6105 (frame_unwind_register_unwinder): Declare.
6106 (frame_unwind_find_by_frame): Add parameter "this_cache".
6107 * frame.c (get_frame_id, create_new_frame, legacy_get_prev_frame)
6108 (legacy_get_prev_frame, legacy_get_prev_frame)
6109 (get_frame_type): Pass the prologue_cache to
6110 frame_unwind_find_by_frame.
6111 * frame-unwind.c (struct frame_unwind_table_entry): Add field
6112 "unwinder".
6113 (frame_unwind_register_unwinder): New function.
6114 (frame_unwind_find_by_frame): Handle an unwind sniffer.
6115
b2ba182e
PH
61162004-03-20 Paul Hilfinger <hilfingr@nile.gnat.com>
6117
6118 * bcache.c (print_percentage): Use floating point to avoid
6119 incorrect results when portion*100 overflows.
6120
81332287
KB
61212004-03-19 Kevin Buettner <kevinb@redhat.com>
6122
6123 * ppc_tdep.h (ppc_linux_frame_saved_pc)
6124 (ppc_linux_init_extra_frame_info)
6125 (ppc_linux_frameless_function_invocation)
6126 (ppc_linux_frame_init_saved_regs, ppc_linux_frame_chain)
6127 (rs6000_frame_saved_pc, rs6000_init_extra_frame_info)
6128 (rs6000_frameless_function_invocation, rs6000_frame_init_saved_regs)
6129 (rs6000_frame_chain): Delete declarations.
6130 * ppc-linux-tdep.c (ppc_linux_frame_saved_pc)
6131 (ppc_linux_init_extra_frame_info)
6132 (ppc_linux_frameless_function_invocation)
6133 (ppc_linux_frame_init_saved_regs, ppc_linux_frame_chain): Delete.
6134 (ppc_linux_init_abi): Remove registration of above deleted functions.
6135 * rs6000-tdep.c (rs6000_init_extra_frame_info)
6136 (rs6000_frame_init_saved_regs, rs6000_init_frame_pc_first)
6137 (rs6000_frame_args_address, rs6000_saved_pc_after_call)
6138 (rs6000_pop_frame, rs6000_frameless_function_invocation)
6139 (rs6000_frame_saved_pc, rs6000_frame_chain): Delete.
6140 (rs6000_gdbarch_init): Remove registration of above deleted functions.
6141 Use rs6000_unwind_pc(), rs6000_frame_sniffer(),
6142 rs6000_unwind_dummy_id(), and rs6000_frame_base_sniffer() for
6143 frame management for all OSABIs.
6144
61a65099
KB
61452004-03-19 Andrew Cagney <cagney@redhat.com>
6146
6147 Committed by Kevin Buettner <kevinb@redhat.com>.
6148
6149 * ppc-linux-tdep.c: Include "trad-frame.h", and "frame-unwind.h".
6150 Update copyright.
6151 (struct ppc_linux_sigtramp_cache, ppc_linux_sigtramp_cache)
6152 (ppc_linux_sigtramp_this_id, ppc_linux_sigtramp_prev_register)
6153 (ppc_linux_sigtramp_unwind, ppc_linux_sigtramp_sniffer)
6154 (ppc_linux_init_abi): Add both 32- and 64-bit signal trampoline
6155 unwinders. #ifdef legacy frame code.
6156 * rs6000-tdep.c: Include "trad-frame.h", "frame-unwind.h", and
6157 "frame-base.h".
6158 (rs6000_unwind_pc, rs6000_unwind_dummy_id)
6159 (struct rs6000_frame_cache, rs6000_frame_cache)
6160 (rs6000_frame_this_id, rs6000_frame_prev_register)
6161 (rs6000_frame_sniffer, rs6000_frame_unwind)
6162 (rs6000_frame_base_address, rs6000_frame_base_sniffer)
6163 (rs6000_frame_base): Implement a traditional frame unwinder.
6164 (rs6000_gdbarch_init): When unknown, NetBSD, or GNU/Linux use the
6165 frame unwinder.
6166
88f7da05
KB
61672004-03-19 Kevin Buettner <kevinb@redhat.com>
6168
6169 * breakpoint.c (adjust_breakpoint_address): Don't adjust
6170 breakpoint address for watchpoints or the catch eventpoints.
6171 Add new paramter ``bptype''. Adjust all callers.
6172
f826dce1
AC
61732004-03-19 Andrew Cagney <cagney@redhat.com>
6174
33cb8b0f
AC
6175 * config/pa/tm-hppa.h (GDB_TARGET_IS_HPPA): Delete unused macro.
6176
f826dce1
AC
6177 * PROBLEMS: Delete note that ARM does not use frame code, problem
6178 fixed.
6179
43b1ab88
AC
61802004-03-18 Andrew Cagney <cagney@redhat.com>
6181
292ab034
AC
6182 * stack.c (return_command): Delete code wrapped in #ifdef
6183 DEPRECATED_CALL_DUMMY_HAS_COMPLETED, macro no longer defined.
6184
43b1ab88
AC
6185 * rs6000-tdep.c (skip_prologue): Record only the first LR save.
6186
dbfe4626
AC
61872004-03-18 Andrew Cagney <cagney@redhat.com>
6188
6189 * config/mips/tm-nbsd.h: Replace IN_SIGTRAMP with
6190 DEPRECATED_IN_SIGTRAMP.
6191 * config/powerpc/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto.
6192 * config/mips/tm-linux.h (DEPRECATED_IN_SIGTRAMP) Ditto.
6193 * config/mips/tm-irix6.h (DEPRECATED_IN_SIGTRAMP): Ditto.
6194 * config/mips/tm-irix5.h (DEPRECATED_IN_SIGTRAMP): Ditto.
6195 * config/ia64/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto.
6196 * config/ia64/tm-aix.h (DEPRECATED_IN_SIGTRAMP): Ditto.
6197 * config/arm/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto.
6198 * config/arm/tm-embed.h (DEPRECATED_IN_SIGTRAMP): Ditto.
6199 * arch-utils.c (legacy_pc_in_sigtramp): Ditto.
6200 * arch-utils.h: Remove reference to IN_SIGTRAMP in comment.
6201
0cad6aec
AC
62022004-03-18 Andrew Cagney <cagney@redhat.com>
6203
6204 * frame-base.c: Update copyright. Include "gdb_obstack.h".
6205 (struct frame_base_table_entry): Define.
6206 (struct frame_base_table): Re-implement as a linked list.
6207 (frame_base_init): Re-implement.
6208 (frame_base_table): Delete function.
6209 (append_predicate): Delete function.
6210 (frame_base_append_sniffer): Update.
6211 (frame_base_set_default): Update.
6212 (frame_base_find_by_frame): Update.
6213 (_initialize_frame_base): Use gdbarch_data_register_pre_init.
6214 * Makefile.in (frame-base.o): Update dependencies.
6215
9982c2e7
AC
62162004-03-17 Andrew Cagney <cagney@redhat.com>
6217
6218 * frame.c (legacy_get_prev_frame): Pass correct frame to
6219 frame_unwind_find_by_frame.
6220
8dfe8985
DC
62212004-03-17 David Carlton <carlton@kealia.com>
6222
6223 * NEWS: Mention C++ nested types and namespaces
6224
ed47347a
MC
62252004-03-16 Michael Chastain <mec.gnu@mindspring.com>
6226
6227 * PROBLEMS: Add section headers, "Regressions since gdb 6.0"
6228 and "Regressions since gdb 5.3.". Add known regressions since
6229 gdb 6.0.
6230
90aeadfc
DC
62312004-03-16 David Carlton <carlton@kealia.com>
6232
6233 * dwarf2read.c (process_structure_scope): Process children even
6234 when we're a declaration.
6235
73912b9b
AC
62362004-03-16 Andrew Cagney <cagney@redhat.com>
6237
6238 * symtab.h (find_pc_sect_partial_function): Delete declaration.
6239 * blockframe.c (find_pc_partial_function)
6240 (find_pc_sect_partial_function): Merge into a single
6241 find_pc_partial_function.
6242
283accbc
MK
62432004-03-16 Mark Kettenis <kettenis@gnu.org>
6244
6245 * i386bsd-nat.c: s/regno/regnum/g.
6246 (fetch_inferior_registers): Use I386_ST0_REGNUM instead of
6247 FP0_REGNUM.
6248 (store_inferior_registers): Likewise.
6249
f5b1afdf
MK
62502004-03-16 Mark Kettenis <kettenis@gnu.org>
6251
6252 * i386bsd-nat.c (fill_fpregset): Call i387_collect_fsave instead
6253 of i387_fill_fsave.
6254 (store_inferior_registers): Call i387_collect_fsave and
6255 i387_collect_fxsave instead of i387_fill_fsave and
6256 i387_fill_fxsave.
6257
41fe5eb3
AC
62582004-03-15 Andrew Cagney <cagney@redhat.com>
6259
6260 * Makefile.in (frame-unwind.o): Update dependencies.
6261 * frame-unwind.c: Include "gdb_obstack.h".
6262 (frame_unwind_init): Replace "gdbarch" parameter with an "obstack"
6263 parameter.
6264 (append_predicate): Delete function.
6265 (struct frame_unwind_table_entry): New structure.
6266 (struct frame_unwind_table): Replace "sniffer" with "head" and
6267 "tail".
6268 (frame_unwind_append_sniffer): Update.
6269 (frame_unwind_find_by_frame): Update.
6270 (_initialize_frame_unwind): Registe frame_unwind_init using
6271 gdbarch_data_register_pre_init.
6272
3f63813d
MK
62732004-03-15 Mark Kettenis <kettenis@gnu.org>
6274
6275 * i386bsd-nat.c: Update copyright year.
6276 (CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): Undefine and then
6277 define unconditionally.
6278
3248c325 62792004-03-15 Mark Kettenis <kettenis@gnu.org>
63b6c53f
MK
6280
6281 * i387-tdep.h (i387_collect_fsave): New prototype.
6282 * i387-tdep.c (i387_collect_fsave): New function containing most
6283 of the code from i387_fill_fsave.
3248c325 6284 (i387_fill_fsave): Call i387_collect_fsave.
63b6c53f 6285
871fbe6a
MK
62862004-03-15 Mark Kettenis <kettenis@gnu.org>
6287
6288 * i386-linux-tdep.c: Update copyright year.
6289 (i386_linux_svr4_fetch_link_map_offsets): Remove function.
6290 (i386_linux_init_abi): Set solib_svr4_fetch_link_maop_offsets to
6291 svr4_ilp32_link_map_offsets instead of
6292 i386_linux_svr4_fetch_link_map_offsets.
6293
8176b9b8
DC
62942004-03-15 David Carlton <carlton@kealia.com>
6295
6296 Fix for PR c++/1553:
6297 * dwarf2read.c (read_structure_type): Determine type name by
6298 calling determine_class_name.
6299 (determine_class_name): New.
6300 (determine_prefix): Look at TYPE_TAG_NAME and call
6301 determine_class_name when appropriate.
6302 (determine_prefix_aux, class_name): Delete.
9d58e29d 6303 (read_namespace): Set die->type.
8176b9b8 6304
fe8bf7d7
KB
63052004-03-15 Kevin Buettner <kevinb@redhat.com>
6306
6307 * breakpoint.c (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete
6308 unused macro definition. The definition in target.h (or perhaps
6309 elsewhere) takes precedence.
6310
ed6edd9b
AC
63112004-03-15 Andrew Cagney <cagney@redhat.com>
6312
f9be684a
AC
6313 * ppc-tdep.h: Update copyright.
6314 (ppc_linux_supply_gregset, ppc_linux_supply_fpregset): Change
6315 function signatures to match "regsets.h".
6316 * ppc-linux-tdep.c: Include "regset.h".
6317 (ELF_GREGSET_SIZE): Delete.
6318 (right_supply_register): New function.
6319 (ppc_linux_supply_fpregset, ppc_linux_supply_gregset): Rewrite
6320 using right_supply_register.
6321 (ppc32_linux_supply_gregset, ppc64_linux_supply_gregset): New
6322 functions.
6323 (ppc64_linux_gregset, ppc32_linux_gregset): Define.
6324 (ppc_linux_init_abi): Register ppc_linux_regset_from_core_section.
6325 (_initialize_ppc_linux_tdep): Do not register
6326 ppc_linux_regset_core_fns.
6327 (ppc_linux_regset_from_core_section): Replace
6328 fetch_core_registers.
6329 (ppc_linux_regset_core_fns): Delete.
6330 * ppc-linux-nat.c: (right_fill_reg): New function.
6331 (supply_gregset): Update call to ppc_linux_supply_gregset.
6332 (fill_gregset): Clear the register set, use right_fill_reg.
6333 (supply_fpregset): Update call to ppc_linux_supply_fpregset.
6334 (fill_fpregset): Use right_fill_reg, correctly compute FP offsets.
6335
ed6edd9b
AC
6336 * rs6000-tdep.c (rs6000_register_virtual_type): Make registers
6337 unsigned.
6338
030f20e1
AC
63392004-03-15 Andrew Cagney <cagney@redhat.com>
6340
6341 * gdbarch.sh (gdbarch_data_pre_init_fytpe)
6342 (gdbarch_data_register_pre_init, gdbarch_data_post_init_fytpe)
6343 (gdbarch_data_register_post_init): Replace gdbarch_data_init_ftype
6344 and register_gdbarch_data.
6345 (deprecated_set_gdbarch_data): Rename set_gdbarch_data.
6346 (struct gdbarch_data): Replace "init" by "pre_init" and
6347 "post_init".
6348 * gdbarch.h, gdbarch.c: Re-generate.
6349 * dwarf2-frame.c (dwarf2_frame_init): Replace "gdbarch" paramter
6350 with"obstack", use OBSTACK_ZALLOC.
6351 (dwarf2_frame_ops): Delete.
6352 (dwarf2_frame_set_init_reg): Use gdbarch_data.
6353 (dwarf2_frame_init_reg): Use gdbarch_data.
6354 (_initialize_dwarf2_frame): Use gdbarch_data_register_pre_init.
8718a420 6355 * solib-svr4.c (set_solib_svr4_fetch_link_map_offsets)
030f20e1
AC
6356 (_initialize_svr4_solib): Update.
6357 * user-regs.c (_initialize_user_regs): Update.
6358 * reggroups.c (_initialize_reggroup): Update.
6359 * regcache.c (_initialize_regcache): Update.
6360 * mips-linux-tdep.c (_initialize_mips_linux_tdep): Update.
6361 * libunwind-frame.c (_initialize_libunwind_frame): Update.
6362 * gnu-v3-abi.c (init_gnuv3_ops): Update.
6363 * frame-unwind.c (_initialize_frame_unwind): Update.
6364 * frame-base.c (_initialize_frame_base): Update.
6365 * user-regs.c (user_reg_add): Update.
6366 * reggroups.c (reggroup_add): Update.
6367 * mips-linux-tdep.c (set_mips_linux_register_addr): Update.
6368 * libunwind-frame.c (libunwind_frame_set_descr): Update.
6369 * frame-unwind.c (frame_unwind_append_sniffer): Update.
6370 * frame-base.c (frame_base_table): Update.
6371 * remote.c (_initialize_remote): Update.
6372 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Define.
8718a420 6373
3111a3fc
AC
63742004-03-15 Andrew Cagney <cagney@redhat.com>
6375
6376 * cris-tdep.c (bfd_lookup_symbol): Delete unused function.
6377
5ecb7103
KB
63782004-03-15 Kevin Buettner <kevinb@redhat.com>
6379
6380 * Makefile.in (frv-linux-tdep.o): Add dependencies.
6381 * frv-linux-tdep.c: New file.
6382 * frv-tdep.c (struct gdbarch_tdep): Add new field
6383 ``sigcontext_reg_addr''.
6384 (frv_set_sigcontext_reg_addr, frv_sigtramp,frame_cache)
6385 (frv_sigtramp_frame_this_id, frv_sigtramp_frame_prev_register)
6386 (frv_sigramp_frame_sniffer): New functions.
6387 (frv_sigtramp_frame_unwind): New static global.
6388 (frv_gdbarch_init): Hook in ABI-specific overrides. Hook up frame
6389 sniffers.
6390 * frv-tdep.h (frv_set_sigcontext_reg_addr): New function.
6391 * config/frv/frv.mt (TDEPFILES): Add frv-linux-tdep.o.
6392
1ccda5e9
KB
63932004-03-15 Kevin Buettner <kevinb@redhat.com>
6394
6395 * frv-tdep.c (frv_analyze_prologue): Terminate prologue scan,
6396 but not via a call to error(), when unable to read memory.
6397
b375a0a5
KB
63982004-03-15 Kevin Buettner <kevinb@redhat.com>
6399
6400 * frv-tdep.c (frv_call_dummy_words): Delete.
6401 (frv_frame_unwind_cache): Delete unused variable, ``prev_sp''.
6402
4fdf6121
AC
64032004-03-15 Andrew Cagney <cagney@redhat.com>
6404
6405 * infrun.c (handle_step_into_function, step_over_function): Only
6406 update and use STEP_FRAME_ID when the system is using legacy
6407 frames. Update comments.
6408
34021503
MK
64092004-03-14 Mark Kettenis <kettenis@gnu.org>
6410
187e21d1
MK
6411 * amd64-linux-tdep.h: Remove file.
6412 * amd64-linux-tdep.c: Don't include "inferior.h" and
6413 "amd64-linux-tdep.h". Include "frame.h" and "solib-svr4.h".
6414 (USER_R15, USER_R14, USER_R13, USER_R12, USER_RBP, USER_RBX)
6415 (USER_R11, USER_R10, USER_R9, USER_R8, USER_RAX, USER_RCX)
6416 (USER_RDX, USER_RSI, USER_RDI, USER_RIP, USER_CS, USER_EFLAGS)
6417 (USER_RSP, USER_SS, USER_DS, USER_ES, USER_FS, USER_GS): Remove
6418 macros.
6419 (user_to_gdb_regmap): Remove variable.
6420 (amd64_linux_gregset_reg_offset): New variable.
6421 (amd64_core_fns): Remove variable.
6422 (fetch_core_registers): Remove function.
6423 (amd64_linux_supply_gregset, amd64_linux_fill_gregset): Remove
6424 functions.
6425 (_initialize_amd64_linux_tdep): Don't set add_core_fns.
6426 * amd64-linux-nat.c: Don't include "amd64-linux-tdep.h".
6427 * Makefile.in (amd64_linux_tdep_h): Remove.
6428 (amd64-linux-nat.o): Update dependencies.
6429 (amd64-linux-tdep.o): Update dependencies.
6430
99679982
MK
6431 * amd64-linux-nat.c (GETFPREGS_SUPPLIES): Remove macro.
6432 (fetch_regs, fetch_fpregs, store_regs, store_fpregs): Remove
6433 functions.
6434 (fetch_inferior_registers, store_inferior_registers): Rewrite.
6435
34021503
MK
6436 * amd64-tdep.h (amd64_fill_fxsave): Remove prototype.
6437 * amd64-tdep.c (amd64_fill_fxsave): Remove function.
6438
134d01f1
DJ
64392004-03-14 Daniel Jacobowitz <drow@mvista.com>
6440
6441 * dwarf2read.c (read_structure_type): Rename from
8718a420 6442 read_structure_scope. Don't create a symbol or call process_die.
134d01f1
DJ
6443 Return immediately if die->type is set. Call read_type_die before
6444 dwarf2_add_member_fn.
6445 (process_structure_scope): New function.
6446 (read_enumeration_type, process_enumeration_scope): New functions,
6447 broken out from read_enumeration. Don't create the enumeration
6448 type if it has already been created.
6449 (read_enumeration): Removed.
6450 (process_die): Call read_structure_type, process_structure_scope,
6451 read_enumeration_type, and process_enumeration_scope. Just call
6452 new_symbol for base and subrange types. Add a comment about other
6453 type dies.
6454 (read_type_die): Call read_enumeration_type.
6455 (add_partial_structure, new_symbol): Update comments.
6456
65760afb
SC
64572004-03-13 Stephane Carrez <stcarrez@nerim.fr>
6458
6459 * m68hc11-tdep.c (m68hc11_register_name): Get soft reg information.
6460
10f59415
SC
64612004-03-13 Stephane Carrez <stcarrez@nerim.fr>
6462
6463 * tui/tui-win.h (tui_get_cmd_list): Declare.
6464 * tui/tui-win.c (tui_command): New function.
6465 (tui_get_cmd_list): New function.
6466 (_initialize_tui_win): Moved initialization of tui command in
6467 tui_get_cmd_list.
6468
6469 * tui/tui-data.c (init_content_element): Setup new data members.
6470 (init_win_info): Likewise.
6471 (free_content_elements): Free it.
6472 * tui/tui-data.h (struct tui_data_element): Store the register
6473 content to print.
6474 (struct tui_data_info): Keep the current register group.
6475
6476 * tui/tui-layout.c (tui_set_layout): Update call to tui_show_registers.
6477
6478 * tui/tui-regs.h (tui_show_registers): Update prototype.
6479 (tui_toggle_float_regs, tui_calculate_regs_column_count): Remove.
6480 (tui_resize_all): No need to calculate anything for register window.
6481 * tui/tui-regs.c (tui_calculate_regs_column_count): Remove.
6482 (tui_set_register_element, tui_set_general_regs_content): Remove.
6483 (tui_set_special_regs_content): Remove.
6484 (tui_set_general_and_special_regs_content): Remove.
6485 (tui_set_float_regs_content): Remove.
6486 (tui_reg_value_has_changed, tui_get_register_raw_value): Remove.
6487 (tui_set_regs_content): Remove.
6488 (tui_toggle_float_regs, _tui_toggle_float_regs_command): Remove.
6489 (tui_v_show_registers_command_support): Remove.
6490 (tui_show_registers): Use a reggroup to specify the registers to show.
6491 (tui_show_register_group): New function.
6492 (tui_display_registers_from): Compute the layout of register window
6493 and refresh with new API; be sure to delete old register windows.
6494 (tui_check_register_values): Update to use tui_get_register and
6495 tui_display_data.
6496 (tui_display_register): Just refresh the register window part.
6497 (tui_register_format): Format registers and save in tui_data_element.
6498 (tui_get_register): New to combine tui_reg_value_has_changed and
6499 tui_get_register_raw_value; fix to use the new gdb API.
6500 (tui_show_float_command): Renamed tui_reg_float_command.
6501 (tui_show_general_command): Renamed tui_reg_general_command.
6502 (tui_show_special_command): Renamed tui_reg_system_command.
6503 (_initialize_tui_regs): Remove unused commands.
6504
c3364ea4
MK
65052004-03-13 Mark Kettenis <kettenis@gnu.org>
6506
27d1e716
MK
6507 * NEWS (New native configurations): Mention OpenBSD/amd64.
6508
c3364ea4
MK
6509 * config/i386/nm-fbsd.h: Include "config/nm-bsd.h".
6510 (PTRACE_ARG3_TYPE, FETCH_INFERIOR_REGISTERS, ATTACH_DETACH):
6511 Remove defines.
6512 * config/i386/nm-fbsd64.h: Likewise.
6513 * config/i386/nm-obsd.h: Likewise.
6514 * config/sparc/nm-fbsd.h: Likewise. Update copyright year.
6515 * config/alpha/nm-fbsd.h: Likewise. Update copyright year.
6516
b2d6d697
KB
65172004-03-12 Kevin Buettner <kevinb@redhat.com>
6518
6519 * frv-tdep.c (set_variant_scratch_registers): New function.
b2d6d697
KB
6520 * frv-tdep.h (scr0_regnum, scr1_regnum, scr2_regnum, scr3_regnum):
6521 New constants.
6522
76e43199
KB
6523 From Richard Sandiford <rsandifo@redhat.com>:
6524 * frv-tdep.c (frv_gdbarch_init): Add FR450 support.
6525
34ce532e
KB
65262004-03-12 Kevin Buettner <kevinb@redhat.com>
6527
6528 * frv-tdep.c, frv-tdep.h (first_gpr_regnum, sp_regnum, fp_regnum)
6529 (struct_return_regnum, last_gpr_regnum, first_fpr_regnum)
6530 (last_fpr_regnum, pc_regnum, first_spr_regnum, psr_regnum, ccr_regnum)
6531 (cccr_regnum, fdpic_loadmap_exec_regnum, fdpic_loadmap_interp_regnum)
6532 (tbr_regnum, brr_regnum, dbar0_regnum, dbar1_regnum, dbar2_regnum)
6533 (dbar3_regnum, lr_regnum, lcr_regnum, iacc0h_regnum, iacc0l_regnum)
6534 (last_spr_regnum, frv_num_regs, first_pseudo_regnum, iacc0_regnum)
6535 (last_pseudo_regnum, frv_num_pseudo_regs): Move constant (enum)
6536 definitions from frv-tdep.c to frv-tdep.h.
6537
c4d10515
KB
65382004-03-12 Kevin Buettner <kevinb@redhat.com>
6539
6540 Add shared library support for FR-V FDPIC ABI:
6541 * Makefile.in (solib-frv.o): Add dependencies.
6542 * frv-tdep.c (find_func_descr, frv_convert_from_func_ptr_addr):
6543 New functions.
6544 (frv_push_dummy_call): Add support for FDPIC ABI.
6545 (frv_gdbarch_init): Call set_gdbarch_convert_from_func_ptr_addr()
6546 for FDPIC ABI.
6547 * frv-tdep.h (frv_fdpic_find_global_pointer): Declare.
6548 (frv_fdpic_find_canonical_descriptor): Declare.
6549 * solib-frv.c: New file.
6550 * config/frv/frv.mt (TDEPFILES): Add solib.o and solib-frv.o.
6551 * config/frv/tm-frv.h (solib.h): Include.
6552
ed1bd989
KB
65532004-03-12 Kevin Buettner <kevinb@redhat.com>
6554
6555 * Makefile.in (elf_frv_h, frv_tdep_h): Define.
6556 (frv-tdep.o): Update dependencies.
6557 * frv-tdep.h: New file.
6558 * frv-tdep.c (elf-bfd.h, elf/frv.h, osabi.h, frv-tdep.h): Include.
6559 (fdpic_loadmap_exec_regnum, fdpic_loadmap_interp_regnum): New
6560 constants.
6561 (struct gdbarch_tdep): Add new member ``frv_abi''.
6562 (frv_abi, frv_fdpic_loadmap_addresses, set_variant_abi_fdpic): New
6563 functions.
6564 (new_variant): Set ``frv_abi'' field.
6565 (gdb_arch_init): Detect FDPIC executables.
6566
82b38f72
MK
65672004-03-12 Mark Kettenis <kettenis@gnu.org>
6568
6569 * solib-svr4.h: Change SOLIB_SVR4 wrapper into SOLIB_SVR4_H
6570 wrapper.
6571
db1ea9ba
AC
65722004-03-11 Andrew Cagney <cagney@redhat.com>
6573
6574 * solib-svr4.h: Add #ifndef SOLIB_SVR4 wrapper.
6575
f8766ec1
KB
65762004-03-11 Kevin Buettner <kevinb@redhat.com>
6577
6578 * solist.h (master_so_list): New function.
6579 * solib.c (master_so_list): Likewise.
6580 * solib-svr4.c (enable_break): Iterate over so_list entries
6581 obtained from master list instead of entries obtained directly
6582 via svr4_current_sos().
6583
523f6a27
BE
65842004-03-10 Ben Elliston <bje@gnu.org>
6585
6586 * MAINTAINERS: Update my mail address.
6587
37814c18
KI
65882004-03-10 Kei Sakamoto <sakamoto.kei@renesas.com>
6589
6590 * remote-m32r-sdi.c: Support hardware watchpoint.
6591
8b9740d8
DJ
65922004-03-09 Daniel Jacobowitz <drow@mvista.com>
6593
6594 * user-regs.c: Update copyright years.
6595 (struct user_regs): Rename to gdb_user_regs.
6596 (append_user_reg, builtin_user_regs, user_regs_init)
6597 (user_reg_add, user_reg_map_name_to_regnum)
6598 (usernum_to_user_reg): Update.
6599
4bb7a0a7
DJ
66002004-03-09 Daniel Jacobowitz <drow@mvista.com>
6601
6602 * dwarf2read.c (skip_leb128, peek_die_abbrev, skip_one_die)
6603 (skip_children): New functions.
6604 (locate_pdi_sibling): Call skip_children.
6605
44e1a9eb
DJ
66062004-03-09 Daniel Jacobowitz <drow@mvista.com>
6607
6608 * arm-tdep.c (arm_use_struct_convention): Look through typedefs.
6609 * gdbtypes.c (check_typedef): Update comments.
6610
f3dd6933
DJ
66112004-03-09 Daniel Jacobowitz <drow@mvista.com>
6612
6613 * dwarf2read.c (struct comp_unit_head): Remove dwarf2_abbrevs array.
6614 (struct dwarf2_cu): Add abbrev_obstack and dwarf2_abbrevs
6615 pointer. Update comment about comp_unit_head.
6616 (struct abbrev_info): Shorten two int flags.
6617 (dwarf_alloc_abbrev): Take a CU argument.
6618 (dwarf2_build_psymtabs_hard): Call dwarf2_free_abbrev_table
6619 each time through the loop. Update cleanup argument.
6620 (psymtab_to_symtab_1): Update cleanup call.
6621 (dwarf2_read_abbrevs, dwarf2_alloc_abbrev): Allocate on the
6622 abbrev_obstack.
6623 (dwarf2_free_abbrev_table): Renamed from dwarf2_empty_abbrev_table.
6624 Just call obstack_free and clear the pointer.
6625
b40c7d58
DJ
66262004-03-09 Daniel Jacobowitz <drow@mvista.com>
6627
6628 * infrun.c (handle_inferior_event): Remove short-circuit code for
6629 events in a different thread.
6630
333dabeb
DJ
66312004-03-09 Daniel Jacobowitz <drow@mvista.com>
6632
6633 * target.c (debug_to_xfer_memory): If targetdebug is 1, don't
6634 print the whole transfer.
6635 (initialize_targets): Update description of "set debug target".
6636
aa17d93e
DJ
66372004-03-09 Daniel Jacobowitz <drow@mvista.com>
6638
6639 * arm-tdep.c (thumb_get_next_pc): Handle Thumb BLX.
6640
0b71f08f
NW
66412004-03-08 Nathan J. Williams <nathanw@wasabisystems.com>
6642
6643 * MAINTAINERS (write after approval): Add myself.
6644
3930f270
CV
66452004-03-08 Corinna Vinschen <vinschen@redhat.com>
6646
6647 * sh-tdep.c (sh_print_registers_info): Use for loop.
6648 Don't skip multiple registers when a float register is encountered.
6649
a2b4a96c
CV
66502004-03-08 Corinna Vinschen <vinschen@redhat.com>
6651
6652 Fix PR tdep/1291.
6653 * sh-tdep.c (sh_analyze_prologue): Align PC relative addressing
6654 to official SH documentation.
6655
f15a4bc0
AC
66562004-03-07 Andrew Cagney <cagney@redhat.com>
6657
6658 * ppc-linux-nat.c (ppc_ptrace_cannot_fetch_store_register): Delete
6659 unused function.
6660
9498281f
DJ
66612004-03-07 Daniel Jacobowitz <drow@mvista.com>
6662
6663 * arm-tdep.c (thumb_get_next_pc): Handle BX.
6664 (arm_get_next_pc): Handle BX and BLX.
6665
449e1137
AC
66662004-03-07 Andrew Cagney <cagney@redhat.com>
6667
eded0a31
AC
6668 * hppa-tdep.c: Replace DEPRECATED_FP_REGNUM with HPPA_FP_REGNUM,
6669 FP0_REGNUM with HPPA_FP0_REGNUM, and SP_REGNUM with
6670 HPPA_SP_REGNUM.
6671 (hppa_register_raw_size, hppa_register_byte, hppa_read_fp)
6672 (hppa_target_read_fp): Delete.
6673 (hppa_gdbarch_init): Do not set deprecated register_raw_size,
6674 register_virtual_size, max_register_raw_size,
6675 max_register_virtual_size, register_byte, register_size,
6676 target_read_fp, fp_regnum, and register_bytes. Set register_type
6677 instead of register_virtual_type.
6678 (hppa32_register_type, hppa64_register_type): Replace
6679 hppa32_register_virtual_type and hppa64_register_virtual_type.
6680 * config/pa/tm-hppa.h (HPPA_FP0_REGNUM, HPPA_SP_REGNUM)
6681 (HPPA_FP_REGNUM): Define.
6682
f5f907e2
AC
6683 * hppa-tdep.c (hppa_gdbarch_init): Add missing "break".
6684
69b4bbe4
AC
6685 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO)
6686 (pa_do_registers_info): Delete.
6687 * hppa-tdep.c (pa_do_registers_info, pa_do_strcat_registers_info)
8718a420 6688 (pa_print_registers, pa_print_fp_reg, pa_strcat_registers)
69b4bbe4 6689 (pa_strcat_fp_reg, pa_register_look_aside): Delete.
f5f907e2 6690
78161e48
AC
6691 * infcall.c (legacy_push_dummy_code): Delete #ifdef
6692 GDB_TARGET_IS_HPPA code.
6693 * config/pa/tm-hppa.h (DEPRECATED_FIX_CALL_DUMMY)
8718a420 6694 (hppa_fix_call_dummy, DEPRECATED_CALL_DUMMY_HAS_COMPLETED)
78161e48
AC
6695 (DEPRECATED_DUMMY_WRITE_SP, CALL_DUMMY): Delete.
6696 * config/pa/tm-hppa64.h (CALL_DUMMY): Delete.
8718a420
RM
6697 * hppa-tdep.c (hppa_frame_chain, hppa_frame_chain_valid)
6698 (hppa_push_dummy_frame, hppa_pop_frame, hppa_push_arguments)
6699 (hppa_fix_call_dummy, hppa64_stack_align, hppa_frame_saved_pc)
78161e48 6700 (hppa_init_extra_frame_info, hppa_saved_pc_after_call)
8718a420
RM
6701 (hppa64_call_dummy_breakpoint_offset, hppa_frame_init_saved_regs)
6702 (hppa_frameless_function_invocation, hppa64_store_return_value)
6703 (hppa_store_struct_return, hppa64_extract_return_value)
78161e48 6704 (hppa64_use_struct_convention, hppa_frame_find_saved_regs)
8718a420 6705 (hppa32_call_dummy_length, hppa64_call_dummy_length)
78161e48 6706 (find_dummy_frame_regs, FUNC_LDIL_OFFSET, FUNC_LDO_OFFSET)
8718a420
RM
6707 (find_proc_framesize, deposit_21, restore_pc_queue)
6708 (find_return_regnum, pc_in_interrupt_handler, deposit_14)
210197d2 6709 (rp_saved, pc_in_linker_stub): Delete.
78161e48 6710
782eae8b
AC
6711 Unconditionally enable 64-bit frame and ABI code.
6712 * hppa-tdep.c (hppa_gdbarch_init): Do not set deprecated
6713 call_dummy_breakpoint_offset, call_dummy_length, stack_align,
6714 push_dummy_frame, fix_call_dummy, push_arguments,
6715 call_dummy_location, extract_return_value, use_struct_convention,
6716 store_return_value, store_struct_return, saved_pc_after_call,
6717 init_frame_pc, frame_init_saved_regs, init_extra_frame_info,
6718 frame_chain, frame_chain_valid, frameless_function_invocation,
6719 frame_saved_pc, and pop_frame.
78161e48 6720
449e1137
AC
6721 * hppa-tdep.c: Replace PC_REGNUM with PCOQ_HEAD_REGNUM.
6722 (hppa64_return_value, hppa64_push_dummy_call): Rewrite.
6723 (hppa_gdbarch_init): Do not set PC_REGNUM.
6724
12507572
MK
67252004-03-06 Mark Kettenis <kettenis@gnu.org>
6726
6727 * config/alpha/tm-fbsd.h: Remove file.
6728 * config/alpha/fbsd.mt: Tweak comment.
6729 (TM_FILE): Set to tm-alpha.h.
6730
c107cc1b
AC
67312004-03-05 Andrew Cagney <cagney@redhat.com>
6732
6733 * infrun.c (step_over_function): When non-legacy code, and no
6734 step_frame_id, use the unwinder to get the caller's frame ID.
6735
f2e7c15d
MK
67362004-03-05 Mark Kettenis <kettenis@gnu.org>
6737
8b0c3633
MK
6738 * i386bsd-tdep.c (_initialize_i386bsd_tdep): Register
6739 i386bsd_core_osabi_sniffer for bfd_arch_i386 instead of
6740 bfd_arch_unknown. Adjust comment.
6741
f2e7c15d
MK
6742 * i386-nat.c: Fix typo in comment. Re-introduce paranoiac.
6743 * i386obsd-tdep.c: Correct spelling in comment.
6744 * i386nbsd-tdep.c: Correct spelling in comment.
6745 * sparc-tdep.c: Correct spelling in comments.
6746
1198ecbe
DC
67472004-03-05 David Carlton <carlton@kealia.com>
6748
6749 * cp-namespace.c (cp_lookup_transparent_type_loop): Fix recursion
6750 bug.
6751
9eb42ed1
MK
67522004-03-05 Mark Kettenis <kettenis@gnu.org>
6753
6754 * sparc-tdep.c: Fix typo in comment.
6755
52b5e991
JB
67562004-03-04 J. Brobecker <brobecker@gnat.com>
6757
6758 * hppa-tdep.c (hppa_frame_cache): Avoid undefined return value.
6759
d8151005
DJ
67602004-03-04 Daniel Jacobowitz <drow@mvista.com>
6761
6762 * dwarf2read.c: Add comment describing memory lifetimes.
6763 (struct dwarf2_pinfo): Update comment.
6764 (dwarf2_add_field, dwarf2_add_member_fn, read_structure_scope)
6765 (read_enumeration, new_symbol): Don't use obsavestring.
6766
cbeae229
MK
67672004-03-04 Mark Kettenis <kettenis@gnu.org>
6768
722d18c2
MK
6769 * amd64-linux-nat.c (fill_fpregset): Call amd64_colletc_fxsave
6770 instead of amd64_fill_fxsave.
6771 * amd64bsd-nat.c (store_inferior_registers): Likewise.
6772 * amd64fbsd-nat.c (fill_fpregset): Likewise.
6773
cbeae229
MK
6774 * sparc-tdep.c (sparc_frame_cache): Don't bail out if %fp is zero.
6775 Reorganize code a bit.
6776
b4206d25
OF
67772004-03-04 Orjan Friberg <orjanf@axis.com>
6778
6779 * cris-tdep.c (cris_scan_prologue): Save the frame pointer's offset
8718a420
RM
6780 when the frame pointer is pushed. Don't set the frame pointer's
6781 address on the stack unless it's actually located there.
b4206d25
OF
6782 Set the SRP's address on the stack correctly when the PC is still in
6783 the prologue.
6784 (cris_return_value): New function.
6785 (cris_gdbarch_init): Clear deprecated store_return_value,
6786 extract_return_value.
6787
49b0b195
JB
67882004-03-02 Jim Blandy <jimb@redhat.com>
6789
6790 * stabsread.c (reg_value_complaint): The maximum register number
6791 is one less than the number of registers.
6792
e9ff708b
AC
67932004-03-02 Andrew Cagney <cagney@redhat.com>
6794
6795 * i386-tdep.h (enum i386_regnum): Add I386_DS_REGNUM,
6796 I386_ES_REGNUM, I386_FS_REGNUM, and I386_GS_REGNUM. Remove
6797 trailing comma and redundant assignment of I386_ST0_REGNUM.
6798 * amd64-nat.c (amd64_collect_native_gregset): Zero-extend the
6799 32-bit segment registers.
6800
d4715e41
AC
68012004-03-01 Andrew Cagney <cagney@redhat.com>
6802
6803 * rs6000-tdep.c (rs6000_init_frame_pc_first): Fix compiler error,
6804 use frame_relative_level and get_next_frame.
6805
3ce2bf18
AC
68062004-02-29 Andrew Cagney <cagney@redhat.com>
6807
6808 * rs6000-tdep.c (rs6000_init_frame_pc_first): New function.
6809 (rs6000_gdbarch_init): Set deprecated_init_frame_pc_first.
6810 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST):
6811 Delete macro.
6812
2da6aac3
DJ
68132004-02-29 Daniel Jacobowitz <drow@mvista.com>
6814
6815 * inflow.c (terminal_inferior): Don't give up the terminal if we
6816 previously couldn't get the inferior's terminal state.
6817
6ba34a8d
DJ
68182004-02-29 Daniel Jacobowitz <drow@mvista.com>
6819
6820 * regcache.c (read_pc_pid): Restore inferior_ptid after reading
6821 PC_REGNUM.
6822
faae5abe
AC
68232004-02-28 Andrew Cagney <cagney@redhat.com>
6824
6825 * NEWS: Refer to GDB 6.1.
6826 * README: Refer to GDB 6.1.
6827 * PROBLEMS: Refer to GDB 6.1.
6828
2227a3c5
DJ
68292004-02-28 Daniel Jacobowitz <drow@mvista.com>
6830
6831 * thread-db.c (disable_thread_signals): Remove unused function.
6832
80571bff
MK
68332004-02-28 Mark Kettenis <kettenis@gnu.org>
6834
041bd74b
MK
6835 * amd64-nat.c: Include "gdb_string.h".
6836 (amd64_collect_native_gregset): Zero-extend the 32-bit
6837 general-purpose registers and %eip.
6838
3c017e40
MK
6839 * amd64-tdep.h: (amd64_collect_fxsave): New prototype.
6840 * amd64-tdep.c (amd64_collect_fxsave): New function.
6841 (amd64_fill_fxsave): Simply call amd64_collect_fxsave.
6842
80571bff
MK
6843 * i387-tdep.h: Update copyright year.
6844 (i387_collect_fxsave): New prototype.
6845 * i387-tdep.c: Update copyright year.
6846 (i387_collect_fxsave): New function containing most of the code
6847 from i387_fill_fxsave.
6848 (i387_fill_fxsave): Call i387_collect_fxsave.
6849
50d71875
AC
68502004-02-28 Andrew Cagney <cagney@redhat.com>
6851
6852 * amd64-linux-nat.c (ps_get_thread_area): When architecture is
6853 i386 use PTRACE_GET_THREAD_AREA. Suggested by Roland McGrath.
6854
4a28816e
MK
68552004-02-28 Mark Kettenis <kettenis@gnu.org>
6856
6857 * amd64-tdep.c (amd64_frame_cache): Fix comment.
6858
dbda9972
AC
68592004-02-28 Andrew Cagney <cagney@redhat.com>
6860
6861 * utils.c: Use "", instead of <>, to include readline.
6862 tui/tui-win.c, tui/tui.c, tui/tui-hooks.c: Ditto.
6863 * tracepoint.c, top.c, symmisc.c, symfile.c: Ditto.
6864 * source.c, solib.c, exec.c, event-top.c: Ditto.
6865 * corelow.c, completer.c, cli/cli-setshow.c: Ditto.
6866 * cli/cli-dump.c, cli/cli-cmds.c: Ditto.
6867 * Makefile.in: Update all dependencies.
6868 (readline_tilde_h, readline_history_h): Define.
6869 (readline_headers): Delete.
6870
83277a99
MK
68712004-02-28 Mark Kettenis <kettenis@gnu.org>
6872
91ae4303
MK
6873 * config/djgpp/fnchange.lst: Rename "config/i386/nm-linux64.h" to
6874 "config/i386/nm-lx64.h" and "config/i386/tm-linux64.h" to
6875 "config/i386/tm-lx64.h".
6876
83277a99
MK
6877 * config/djgpp/fnchange.lst: Rename "amd64-linux-tdep.c" to
6878 "amd64-ltdep.c" and "amd64-linux-nat.c" to "amd64-lnat.c". Remove
6879 rules for "x86-64-linux-tdep.c" and "x86-64-linux-nat.c".
6880
6e1d7d6c
AC
68812004-02-28 Andrew Cagney <cagney@redhat.com>
6882
ecc9ac84
AC
6883 * dwarf2-frame.h (struct gdbarch): Add opaque declaration.
6884
6e1d7d6c
AC
6885 * breakpoint.c (_initialize_breakpoint): Use
6886 "add_setshow_auto_boolean_cmd. Better word-wrap help messages.
6887 Add help to show command.
6888
9671aeef
MK
68892004-02-28 Mark Kettenis <kettenis@gnu.org>
6890
7fa2737c
MK
6891 * i386-nat.c: Reformat to be closer to coding standards.
6892 (i386_handle_nonaligned_watchpoint): Rename local variable `rv' to
6893 `retval'. Make variables `align' and `size' local to while-loop.
6894 (i386_stopped_data_address): Rename local variable `ret' to `addr'.
6895 (_initialize_i386_nat): New prototype.
6896
9671aeef
MK
6897 * tui/tui.c: Include <readline/readline.h> instead of
6898 "readline/readline.h". Include it after <term.h> and
6899 "gdb_curses.h".
6900
fca7aa43
AC
69012004-02-27 Andrew Cagney <cagney@redhat.com>
6902
412275d5
AC
6903 * hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always use
6904 the new frame unwind code.
6905 (hppa_frame_cache): Use PCOQ_HEAD_REGNUM instead of PC_REGNUM.
6906 (hppa_frame_prev_register): Compute PCOQ_TAIL_REGNUM from
6907 PCOQ_HEAD_REGNUM.
6908
fca7aa43
AC
6909 * hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always
6910 "return_value" and "push_dummy_call".
6911 (hppa32_use_struct_convention): Delete unused function.
6912 (hppa32_store_return_value): Delete unused function.
6913 (hppa32_extract_return_value): Delete unused function.
6914 (hppa32_stack_align): Delete function.
6915
e6a8a7d2
EZ
69162004-02-27 Eli Zaretskii <eliz@elta.co.il>
6917
6918 * coffread.c (enter_linenos): Don't let rawptr reference memory
6919 outside linetab[]'s limits.
6920
1797a8f6
AC
69212004-02-27 Andrew Cagney <cagney@redhat.com>
6922
6923 * hppa-tdep.c (hppa32_push_dummy_call): Fix code reserving
6924 inferior stack space - the stack needs to grow upwards.
6925 (hppa32_frame_align): New function.
6926 (hppa64_frame_align): Replace hppa_frame_align.
6927 (hppa_gdbarch_init): Update.
6928
2e4b5889
OF
69292004-02-26 Orjan Friberg <orjanf@axis.com>
6930
6931 * cris-tdep.c (frame_unwind.h, frame-base.h, trad-frame.h)
6932 (dwarf2-frame.h): Include.
6933 (enum cris_regnums): New enum CRIS_FP_REGNUM.
6934 Remove static variables related to ABI setting.
6935 (struct gdbarch_tdep): Remove cris_abi member.
6936 (struct frame_extra_info): Remove.
6937 (cris_unwind_cache, stack_item): New structs.
6938 (cris_frame_unwind, cris_frame_base): New variables.
6939 (push_stack_item, pop_stack_item)
6940 (cris_frame_unwind_cache, cris_frame_this_id)
6941 (cris_frame_prev_register, cris_unwind_dummy_id, cris_frame_align)
6942 (cris_push_dummy_code, cris_push_dummy_call, cris_frame_sniffer)
6943 (cris_frame_base_address, cris_scan_prologue, cris_unwind_pc)
6944 (cris_unwind_sp, cris_store_return_value, cris_extract_return_value)
6945 (cris_reg_struct_has_addr): New functions.
6946 (cris_examine, cris_frame_init_saved_regs, cris_frame_chain)
8718a420 6947 (cris_frame_saved_pc, cris_saved_pc_after_call,
2e4b5889
OF
6948 (cris_store_struct_return, cris_frameless_function_invocation)
6949 (cris_pop_frame, cris_skip_prologue_main)
6950 (cris_abi_original_store_return_value)
6951 (cris_abi_v2_store_return_value)
6952 (cris_abi_original_extract_return_value)
6953 (cris_abi_v2_extract_return_value)
6954 (cris_abi_original_reg_struct_has_addr)
6955 (cris_abi_v2_reg_struct_has_addr)
6956 (cris_abi_original_push_arguments, cris_abi_v2_push_arguments)
6957 (cris_push_return_address, cris_abi_update): Remove.
6958 (_initialize_cris_tdep): Remove ABI command.
6959 (cris_dump_tdep): Ditto.
8718a420 6960 (cris_gdbarch_init): Remove ABI command.
2e4b5889
OF
6961 Set store_return_value, extract_return_value, push_dummy_code,
6962 push_dummy_call, frame_align, unwind_pc, unwind_sp, unwind_dummy_id,
6963 frame_unwind_append_sniffer, frame_base_set_default.
6964 Clear deprecated init_frame_pc, push_arguments, store_return_value,
6965 extract_return_value, fp_regnum, pc_in_call_dummy, call_dummy_words,
6966 sizeof_call_dummy_words, get_saved_register, push_return_address,
8718a420 6967 pop_frame, store_struct_return, frame_init_saved_regs,
2e4b5889
OF
6968 init_extra_frame_info, frameless_function_invocation, frame_chain,
6969 frame_saved_pc, saved_pc_after_call, save_dummy_frame_tos,
6970 dummy_write_sp.
8718a420 6971
6b9acc27
JJ
69722004-02-26 Jeff Johnston <jjohnstn@redhat.com>
6973
6974 * valprint.h (print_hex_chars, print_char_chars): New prototypes.
6975 * valprint.c (print_hex_chars): Change from static to external.
6976 (print_char_chars): New function.
6977 * printcmd.c (print_scalar_formatted): For integer and enum types
6978 that are longer than LONGEST, perform processing via appropriate
6979 print_*_chars routines.
6980
a431654a
AC
69812004-02-26 Andrew Cagney <cagney@redhat.com>
6982
6983 * Makefile.in: Update dependencies.
6984 Changes from Ulrich Weigand,
6985 * s390-tdep.c: Include "dwarf2-frame.h".
6986 (s390_dwarf2_frame_init_reg): New function.
6987 (s390_gdbarch_init): Install dwarf2_frame_sniffer and
6988 dwarf2_frame_base_sniffer. Call dwarf2_frame_set_init_reg.
6989
fa8d40ab
JJ
69902004-02-26 Jeff Johnston <jjohnstn@redhat.com>
6991
6992 * breakpoint.c (pending_break_support): New setting variable.
6993 (break_command_1): Account for pending_break_support setting
6994 when creating pending breakpoints.
6995 (set_breakpoint_cmd, show_breakpoint_cmd): New functions.
6996 (_initialize_breakpoint): Add "set breakpoint pending" and
6997 "show breakpoint pending" commands.
6998
0dcd613f
AC
69992004-02-26 Andrew Cagney <cagney@redhat.com>
7000
7001 Fix PR i18n/1570.
7002 * charset.c (backslashable, backslashed, represented): Remove 'e'
7003 from list of escaped characters, not part of ISO-C.
7004
479272a3
JB
70052004-02-25 J. Brobecker <brobecker@gnat.com>
7006
7007 From Peter Schauer <schauer@pdf.de>:
7008 * tui/tui.c: Move system header includes after local includes.
7009 Fixes a build failure on solaris systems.
7010
7613d933
JB
70112004-02-25 J. Brobecker <brobecker@gnat.com>
7012
7013 * configure.in: Refine the previous change.
7014 * configure: Regenerate.
7015
9c1488cb
MK
70162004-02-25 Mark Kettenis <kettenis@gnu.org>
7017
7018 * amd64-tdep.h: Renamed from x86-64-tdep.h.
7019 * amd64-tdep.c: Renamed from x86-64-tdep.c. Include
7020 "amd64-tdep.h" instead of "x86-64-tdep.h".
7021 * amd64-nat.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h".
7022 * amd64-linux-tdep.h: Renamed from x86-64-linux.h.
7023 * amd64-linux-tdep.c: Renamed from x86-64-linux-tdep.c. Include
7024 "amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h"
7025 and "x86-64-tdep.c".
7026 * amd64-linux-nat.c: Renamed from x86-64-linux-nat.c. Include
7027 "amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h"
7028 and "x86-64-tdep.c".
7029 * amd64bsd-nat.c: Update copyright year.
7030 Include "amd64-tdep.h" instead of "x86-64-tdep.h".
7031 * amd64fbsd-tdep.c: Include "amd64-tdep.h" instead of
7032 "x86-64-tdep.h".
7033 * amd64fbsd-nat.c: Include "amd64-tdep.h" instead of
7034 "x86-64-tdep.h".
7035 * amd64nbsd-tdep.c: Include "amd64-tdep.h" instead of
7036 "x86-64-tdep.h".
7037 * amd64nbsd-nat.c: Include "amd64-tdep.h" instead of
7038 "x86-64-tdep.h".
7039 * amd64obsd-tdep.c: Include "amd64-tdep.h" instead of
7040 "x86-64-tdep.h".
7041 * amd64obsd-nat.c: Include "amd64-tdep.h" instead of
7042 "x86-64-tdep.h".
8718a420 7043 * configure.host: (x86_64-*-linux*): Set gdb_target to linux64.
9c1488cb
MK
7044 * configure.tgt (x86_64-*-linux*): Set gdb_target to linux64.
7045 * Makefile.in (amd64_linux_tdep_h): Renamed from
7046 x86_64_linux_tdep_h.
7047 (amd64_tdep_h): Renamed from x86_64_tdep_h.
7048 (amd64bsd-nat.o, amd64fbsd-nat.o, amd64fbsd-tdep.o, amd64-nat.o)
7049 (amd64nbsd-nat.o, amd64nbsd-tdep.o, amd64obsd-nat.o)
7050 (amd64obsd-tdep.o): Update dependencies.
7051 (amd64-tdep.o, amd64-linux-nat.o, amd64-linux-tdep.o): New
7052 dependencies.
7053 (x86-64-linux-nat.o, x86-64-linux-tdep.o, x86-64-tdep.o): Remove
7054 dependencies.
7055 (ALLDEPFILES): Add amd64-tdep.c, amd64obsd-nat.c, amd64obsd-nat.c,
7056 amd64-linux-nat.c amd64-linux-tdep.c.
7057 * config/i386/tm-linux64.h: Renamed from tm-x86-64linux.h
7058 * config/i386/nm-linux64.h: Renamed from nm-x86-64linux.h.
7059 * config/i386/linux64.mt: Renamed from x86-64linux.mt.
7060 (TDEPFILES): Replace x86-64-tdep.o and x86-64-linux-tdep.o with
7061 amd64-tdep.o and amd64-linux-tdep.o.
7062 (TM_FILE): Set to tm-linux64.h.
7063 * config/i386/linux64.mh: Renamed from x86-64linux.mh.
7064 (NAT_FILE): Set to nm-linux64.h.
7065 (NATDEPFILES): Replace x86-64-linux-nat.o with amd64-linux-nat.o.
7066 * config/i386/fbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with
7067 amd64-tdep.o.
7068 * config/i386/nbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with
7069 amd64-tdep.o.
7070 * config/i386/obsd64.mt (TDEPFILES): Replace x86-64-tdep.o with
7071 amd64-tdep.o.
7072
4b8dad4a
RM
70732004-02-25 Roland McGrath <roland@redhat.com>
7074
7075 * remote.c (remote_protocol_qPart_auxv): New variable.
7076 (init_all_packet_configs): Initialize it.
7077 (set_remote_protocol_qPart_auxv_packet_cmd): New function.
7078 (show_remote_protocol_qPart_auxv_packet_cmd): New function.
7079 (show_remote_cmd): Call it.
7080 (_initialize_remote): Initialize commands.
7081 (remote_xfer_partial): If enabled, use qPart:auxv:read:... query to
7082 service TARGET_OBJECT_AUXV requests.
7083
66745969
JB
70842004-02-25 J. Brobecker <brobecker@gnat.com>
7085
7086 * configure.in: Make sure that the wborder function is available.
7087 Otherwise, search for it in the cur_colr library.
7088 * configure: Regenerate.
7089
79508e1e
AC
70902004-02-25 Andrew Cagney <cagney@redhat.com>
7091
7092 * hppa-tdep.c (hppa32_push_dummy_call): Rewrite.
7093
571ee600
MK
70942004-02-25 Mark Kettenis <kettenis@gnu.org>
7095
7096 * config/i386/tm-x86-64linux.h: Tweak comments.
7097
2b1b322f 70982004-02-25 Richard Sandiford <rsandifo@redhat.com>
ad74788f
RS
7099
7100 * MAINTAINERS: Add self to write-after-approval list.
7101
4d2acc65
AC
71022004-02-25 Andrew Cagney <cagney@redhat.com>
7103
4b8dad4a 7104 PR cli/1566. Problem found, and fix suggested by David Allan.
4d2acc65
AC
7105 * cli/cli-script.c (execute_control_command): Unconditionally
7106 install a cleanup. Default "ret" to "invalid_control". Use
7107 "break" instead of "return" to escape from the switch.
7108
4cfcaf21
JB
71092004-02-24 J. Brobecker <brobecker@gnat.com>
7110
7111 * tui/tui-disasm.c: %s/lines/asm_lines/g to avoid a collision
7112 with the lines macro defined in term.h on AiX.
7113 * tui/tui-regs.c: %s/label_width/tui_label_width/g, to avoid
7114 a collision with the label_width macro defined in term.h on AiX.
7115
54a5c8d8
KB
71162004-02-23 David Mosberger <davidm@hpl.hp.com>
7117
7118 Committed by Kevin Buettner <kevinb@redhat.com>.
7119
7120 * ia64-tdep.h (ia64_write_pc, ia64_linux_write_pc): Declare.
7121 * ia64-tdep.c (ia64_write_pc): Make it a global function.
7122 (ia64_gdbarch_init): For Linux targets, use ia64_linux_write_pc()
7123 instead of ia64_write_pc().
7124 * ia64-linux-tdep.c (regcache.h): Include.
7125 (ia64_linux_write_pc): New function.
4b8dad4a 7126
8a1dac83
RM
71272004-02-23 Roland McGrath <roland@redhat.com>
7128
7129 * auxv.c (info_auxv_command): Fix typos in error messages.
7130
90f90721
MK
71312004-02-23 Mark Kettenis <kettenis@gnu.org>
7132
8a1dac83 7133 * x86-64-tdep.h: Tweak comment.
90f90721
MK
7134 (enum amd64_regnum): New.
7135 (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM)
7136 (X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM)
7137 (X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM)
7138 (X86_64_XMM1_REGNUM): Removed.
7139 (AMD64_NUM_GREGS): Renamed from X86_64_NUM_GREGS.
7140 (amd64_init_abi, amd64_supply_fxsave, amd64_fill_fxsave): Adjust
7141 prototypes for renamed functions.
7142 * x86-64-tdep.c: Fix typo.
7143 (amd64_dwarf_regmap): Use constants from `enum amd64_regnum' for
7144 register numbers.
7145 (amd64_return_value, amd64_push_arguments, amd64_push_dummy_call):
7146 Use constants from `enum amd64_regnum' for register numbers.
7147 (AMD64_NUM_SAVED_REGS): Adjust for renamed macros.
7148 (amd64_analyze_prologue, amd64_frame_cache,
7149 amd64_sigtramp_frame_cache): Use constants from `enum
7150 amd64_regnum' for register numbers.
7151 (amd64_supply_fpregset): Adjust for renamed functions.
7152 (amd64_init_abi): Rename from x86_64_init_abi. Use constants from
7153 `enum amd64_regnum' for register numbers.
7154 (I387_ST0_REGNUM): Use constant from `enum amd64_regnum'.
7155 (amd64_supply_fxsave): Rename from x86_64_supply_fxsave.
7156 (amd64_fill_fxsave): Rename fro x86_64_fill_fxsave.
7157 * x86-64-linux-tdep.c (amd64_linux_supply_gregset)
7158 (amd64_linux_fill_gregset): Adjust for renamed macros.
7159 (fetch_core_registers): Adjust for renamed functions.
7160 (amd64_linux_init_abi): Adjust for renamed functions.
7161 * x86-64-linux-nat.c (supply_gregset, fill_gregset): Adjust for
7162 renamed functions.
7163 * amd64-nat.c: Adjust for renamed macros.
7164 * amd64bsd-nat.c (fetch_inferior_registers)
7165 (store_inferior_registers): Use constants from `enum amd64_regnum'
7166 for register numbers. Adjust for renamed variables.
7167 * amd64fbsd-nat.c (supply_gregset, fill_gregset): Adjust for
7168 renamed variables.
7169 (_initialize_amd64fbsd_nat): Use constants from `enum
7170 amd64_regnum' for register numbers.
7171 * amd64fbsd-tdep.c (amd64fbsd_sigcontext_addr): Use constants from
7172 `enum amd64_regnum' for register numbers.
7173 (amd64fbsd_init_abi): Adjust for renamed functions.
7174 * amd64nbsd-tdep.c (amd64nbsd_sigcontext_addr): Use constants from
7175 `enum amd64_regnum' for register numbers.
7176 (amd64nbsd_init_abi): Adjust for renamed functions.
7177 (_initialize_amd64nbsd_ndep): Adjust for renamed macros.
7178 * amd64obsd-tdep.c (amd64obsd_sigcontext_addr): Use constants from
7179 `enum amd64_regnum' for register numbers.
7180 (amd64obsd_init_abi): Adjust for renamed functions.
7181 (_initialize_amd64obsd_ndep): Adjust for renamed macros.
7182
d5479188
JJ
71832004-02-23 Jeff Johnston <jjohnstn@redhat.com>
7184
7185 * breakpoint.c (print_one_breakpoint): Do not output spaces
7186 after printing <PENDING> for a pending breakpoint.
7187
81cb7cc9
JJ
71882004-02-23 Jeff Johnston <jjohnstn@redhat.com>
7189
7190 * printcmd.c (print_scalar_formatted): Initialize val_long
7191 to remove compiler warning message.
7192
cbdeadca
JJ
71932004-02-23 Jeff Johnston <jjohnstn@redhat.com>
7194
7195 * defs.h (nquery, yquery): New prototypes.
7196 * breakpoint.c (break_command_1): Use new nquery interface.
7197 * utils.c (defaulted_query, nquery, yquery): New functions.
7198
da6bab63
AC
71992004-02-23 Andrew Cagney <cagney@redhat.com>
7200
2f690297
AC
7201 * hppa-tdep.c (hppa_frame_align): New function.
7202 (hppa32_push_dummy_call): New function.
7203 (hppa64_push_dummy_call): New function.
7204 (hppa_gdbarch_init): Set frame_align and push_dummy_call; keep
7205 disabled.
8a1dac83 7206
da6bab63
AC
7207 * infcall.c (legacy_push_dummy_code): Don't call deprecated
7208 FIX_CALL_DUMMY when push_dummy_call is available.
7209 (call_function_by_hand, push_dummy_code): Ditto.
7210
abf9b42d
AC
72112004-02-22 Andrew Cagney <cagney@redhat.com>
7212
7213 * config/pa/tm-hppa.h (CALL_DUMMY_LOCATION): Delete macro.
7214 (DEPRECATED_PC_IN_CALL_DUMMY): Delete macro.
7215 (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Delete macro.
7216 * hppa-tdep.c (hppa_gdbarch_init): Clear deprecated
7217 use_generic_dummy_frames, set deprecated pc_in_call_dummy, set
7218 call_dummy_location to ON_STACK.
7219
10fc94a4
MK
72202004-02-22 Mark Kettenis <kettenis@gnu.org>
7221
51433e4b
MK
7222 * x86-64-linux-tdep.c: Tweak comment.
7223 (amd64_linux_supply_gregset): Renamed from
7224 x86_64_linux_supply_gresget.
7225 (amd64_linux_fill_gregset): Renamed from
7226 x86_64_linux_fill_gregset.
7227 (fetch_core_registers): Adjust for renamed functions.
7228 (amd64_core_fns): Renamed from x86_64_core_fns.
7229 (amd64_linux_sigtramp_start): Renamed from
7230 x86_64_linux_sigtramp_start.
7231 (amd64_linux_pc_in_sigtramp): Renamed from
7232 x86_64_linux_pc_in_sigtramp. Adjust for renamed functions.
7233 (AMD64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Renamed from
7234 X86_64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET.
7235 (amd64_linux_sigcontext_addr): Renamed from
7236 x86_64_linux_sigcontext_addr.
7237 (amd64_linux_sc_reg_offset): Renamed from
7238 x86_64_linux_sc_reg_offset.
7239 (amd64_linux_init_abi): Renamed from x86_64_linux_init_abi.
7240 Adjust for renamed functions and variables.
7241 (_initialize_amd64_linux_tdep): Renamed from
7242 _initialize_x86_64_linux_tdep. Adjust for renamed functions and
7243 variables.
7244 * x86-64-linux-tdep.h: Update copyright year. Tweak comment.
7245 Adjust for renamed functions.
7246
430eaf2e
MK
7247 * x86-64-linux-nat.c (amd64_linux_gregset64_reg_offset): Rename
7248 from x86_64_linux_gregset64_reg_offset.
7249 (amd64_linux_gregset32_reg_offset): Rename from
7250 x86_64_linux_gregset64_reg_offset.
7251 (amd64_linux_dr_get): Renamed from x86_64_linux_dr_get.
7252 (amd64_linux_dr_set): Renamed from x86_64_linux_dr_set.
7253 (amd64_linux_dr_set_control): Renamed from
7254 x86_64_linux_dr_set_control. Adjust for renamed functions.
7255 (amd64_linux_dr_set_addr): Renamed from x86_64_linux_dr_set_addr.
7256 Adjust for renamed functions.
7257 (amd64_linux_dr_reset_addr): Renamed from
7258 x86_64_linux_dr_reset_addr. Adjust for renamed functions.
7259 (amd64_linux_dr_get_status): Renamed from
7260 x86_64_linux_dr_get_status. Adjust for renamed functions.
7261 (_initialize_amd64_linux_nat): Renamed from
7262 _initialize_x86_64_linux_nat. Adjust for renamed variables and
7263 functions.
7264 * config/i386/nm-x86-64linux.h: Update copyright year.
7265 Adjust for renamed functions.
7266
10fc94a4
MK
7267 * amd64fbsd-tdep.c (amd64fbsd_sigtramp_start_addr): Renamed from
7268 amd64fbsd_sigtramp_start.
7269 (amd64fbsd_sigtramp_end_addr): Renamed from
7270 amd64fbsd_sigtramp_end.
7271 (amd64fbsd_init_abi): Adjust for renamed variables.
7272 * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Adjust for renamed
7273 variables.
7274 * x86-64-tdep.h (amd64fbsd_sigtramp_start_addr): Renamed from
7275 amd64fbsd_sigtramp_start.
7276 (amd64fbsd_sigtramp_end_addr): Renamed from
7277 amd64fbsd_sigtramp_end.
7278
343af405
AC
72792004-02-22 Andrew Cagney <cagney@redhat.com>
7280
537987fc
AC
7281 * hppa-tdep.c (hppa32_return_value): New function.
7282 (hppa64_return_value): New function.
7283 (hppa_gdbarch_init): Set return_value; keep disabled.
7284
fad850b2
AC
7285 * hppa-tdep.c (hppa_gdbarch_init): Re-order separating
7286 struct-return and inferior function call methods.
7287
26d08f08
AC
7288 * hppa-tdep.c: Include "trad-frame.h", "frame-unwind.h", and
7289 "frame-base.h".
7290 (struct hppa_frame_cache): Define.
7291 (hppa_frame_cache, hppa_frame_this_id): New functions.
7292 (hppa_frame_prev_register): New function.
7293 (hppa_frame_unwind, hppa_frame_base): New variables.
7294 (hppa_frame_unwind_sniffer): New function.
7295 (hppa_frame_base_address, hppa_unwind_pc): New function.
7296 (hppa_gdbarch_init): Set unwind_dummy_id, unwind_pc, frame unwind
7297 sniffer, and frame base sniffer; keep disabled.
7298 (hppa_frame_base_sniffer, hppa_unwind_dummy_id): New functions.
7299 * Makefile.in: Update dependencies, fix s/nbsd/obsd/ typo.
7300
e7d7bd65
AC
7301 * frame-unwind.c (frame_unwind_find_by_frame): Add legacy_frame_p
7302 to predicates for "seriously old code".
7303
e963316f
AC
7304 * hppa-tdep.c (hppa_gdbarch_init): Convert compile time #if0s into
7305 runtime if(0).
7306
56132691
AC
7307 * hppa-tdep.c (hppa_breakpoint_from_pc): Make "breakpoint"
7308 unsigned.
7309 (hppa_frame_find_saved_regs): Fix "std" instruction pattern
e963316f 7310
343af405
AC
7311 * config/pa/tm-hppa.h: Update copyright.
7312 (DEPRECATED_INIT_FRAME_PC): Delete macro.
7313 (deprecated_init_frame_pc_default): Delete declaration.
7314 (hppa_frame_init_saved_regs): Delete declaration.
7315 (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro.
7316 * hppa-tdep.c: Include "arch-utils.h".
7317 (hppa_gdbarch_init): Set deprecated init_frame_pc
7318 and deprecated frame_init_saved_regs.
7319 (hppa_frame_init_saved_regs): Make static.
7320
f5859b4d
MK
73212004-02-22 Mark Kettenis <kettenis@gnu.org>
7322
86f6f8e7 7323 Remove old 386BSD support.
cf7c5c23 7324 * NEWS (REMOVED configurations and files): Add i[3456]86-*-bsd*.
86f6f8e7
MK
7325 * configure.host: Remove i[34567]86-*-bsd*.
7326 * configure.tgt: Remove i[34567]86-*-bsd*.
7327 * i386b-nat.c: Removed.
7328 * Makefile.in (ALLDEPFILES): Remove i386b-nat.c.
cf7c5c23
MK
7329 (i386b-nat.o): Remove dependencies.
7330
86f6f8e7
MK
7331 * config/i386/i386bsd.mh: Removed.
7332 * config/i386/i386bsd.mt: Removed.
7333 * config/i386/nm-i386bsd.h: Removed.
7334 * config/i386/tm-i386bsd.h: Removed.
7335 * config/i386/xm-i386bsd.h: Removed.
7336
971218cd
MK
7337 * x86-64-tdep.h (amd64obsd_r_reg_offset): New extern declaration.
7338
7e654c37
MK
7339 * amd64fbsd-tdep.c: Include "solib-svr4.h".
7340 (amd64fbsd_init_abi): Set link map offsets.
7341 * amd64nbsd-tdep.c: Include "slib-svr4.h".
7342 (amd64nbsd_init_abi): Set link map offsets.
7343 * amd64obsd-tdep.c: Include "solib-svr4.h".
7344 (amd64obsd_init_abi): Set link map offsets.
7345 * i386fbsd-tdep.c: Include "solib-svr4.h".
7346 (i386fbsd_init_abi): Set link map offsets.
7347 * i386nbsd-tdep.c: Include "solib-svr4.h".
7348 (i386nbsdelf_init_abi): Set link map offsets.
7349 * Makefile.in (amd64fbsd-tdep.o, amd64nbsd-tdep.o)
7350 (amd64obsd-tdep.o, i386fbsd-tdep.o): Update dependencies.
7351 * config/i386/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o,
7352 solib-legacy.o and core-aout.o. Reformat.
7353 * config/i386/fbsd64.mh (NATDEPFILES): Remove solib.o,
7354 solib-svr4.o, solib-legacy.o. Reformat.
7355 * config/i386/nbsdaout.mh (NATDEPFILES): Add solib.o. Reformat.
7356 * config/i386/nbsdelf.mh: Reformat.
7357 * config/i386/nbsd64.mh (NATDEPFILES): Remove solib.o,
7358 solib-svr4.o, solib-legacy.o and corelow.o.
7359 * config/i386/obsd.mh, config/i386/obsdaout.mh: Reformat.
7360 * config/i386/obsd64.mh (NATDEPFILES): Remove solib.o,
7361 solib-svr4.o, solib-legacy.o and corelow.o. Reformat.
7362 * config/i386/fbsd.mt (TDEPFILES): Add solib.o, solib-svr4.o.
7363 * config/i386/fbsd64.mt (TDEPFILES): Add solib.o, solib-svr4.o.
7364 (TM_FILE): Set to tm-fbsd.h.
7365 * config/i386/nbsd.mt (TDEPFILES): Reformat.
7366 * config/i386/nbsd64.mt (TDEPFILES): Add corelow.o, solib.o and
7367 solib-svr4.o.
7368 * config/i386/obsd.mt (TDEPFILES): Add corelow.o, solib.o and
7369 solib-svr4.o.
7370 (TM_FILE): Set to nm-nbsd.h.
7371 * config/i386/nm-fbsd.h: Update copyright year. Tweak comments.
7372 Simplify shared library support. Don't include "elf/common.h".
7373 (SVR4_SHARED_LIBS): Don't define.
7374 * config/i386/nm-fbsd64.h: Update copyright year. Don't include
7375 "solib.h".
7376 * config/i386/nm-nbsd.h, config/i386/nm-nbsdaout.h,
7377 config/i386/nm-obsd.h: Update copyright year. Tweak comments.
7378 * config/i386/tm-fbsd.h: Update copyright tear. Tweak comments.
7379 Don't include "i386/tm-i386.h". Include "solib.h".
7380 * config/i386/tm-nbsd.h: Update copyright year. Tweak comments.
7381 Don't include "i386/tm-i386.h".
7382 * config/i386/xm-i386.h: Update copyright year. Tweak comments.
7383 * config/i386/xm-nbsd.h: Update copyright year. Tweak comments.
7384 Include "i386/xm-i386.h".
7385 (HOST_LONG_DOUBLE_FORMAT): Remove.
7386
5d93ae8c
MK
7387 Fix OpenBSD/i386 sigtramp recognition.
7388 * i386-tdep.h: Update copyright year.
7389 (i386bsd_pc_in_sigtramp, i386bsd_sigtramp_start)
7390 (i386bsd_sigtramp_end): New prototypes.
7391 (i386fbsd_sigtramp_start_addr): Renamed from
7392 i386fbsd_sigtramp_start.
7393 (i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end.
7394 (i386obsd_sigtramp_start_addr): Renamed from
7395 i386obsd_sigtramp_start.
7396 (i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end.
7397 * i386bsd-tdep.c: Update copyright year.
7398 (i386bsd_pc_in_sigtramp): Make public.
7399 * i386fbsd-nat.c: Update copyright year.
7400 (_initialize_i386fbsd_nat): Adjust for renamed variables.
7401 * i386fbsd-tdep.c: Update copyright year.
7402 (i386fbsd_sigtramp_start_addr): Renamed from
7403 i386fbsd_sigtramp_start.
7404 (i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end.
7405 (i386fbsdaout_init_abi): Adjust for renamed variables.
7406 * i386obsd-nat.c: Update copyright year.
7407 (_initialize_i386obsd_nat): Adjust for renamed variables.
7408 * i386obsd-tdep.c: Include "target.h".
7409 (i386obsd_page_size): New variable.
7410 (i386obsd_pc_in_sigtramp, i386obsd_sigtramp_start)
7411 (i386obsd_sigtramp_end): New functions.
7412 (i386obsd_sigtramp_start_addr): Renamed from
7413 i386obsd_sigtramp_start.
7414 (i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end.
7415 (i386obsd_init_abi): Adjust for renamed variables. Set
7416 pc_in_sigtramp, sigtramp_start and sigtramp_end.
7417 * Makefile.in (i386obsd-tdep.o): Update dependencies.
7418
84d04465
MK
7419 * amd64obsd-tdep.c (amd64obsd_pc_in_sigtramp): Adjust for signal
7420 trampoline change in OpenBSD kernel.
7421
b053aceb
MK
7422 * amd64-nat.c: Update copyright year.
7423 (amd64_supply_native_gregset, amd64_collect_native_gregset): Use
7424 architecture from REGCACHE.
7425
f5859b4d
MK
7426 * x86-64-linux-nat.c (x86_64_linux_gregset32_reg_offset): Use
7427 symbolic constants from <sys/reg.h> instead of hard-coded numbers.
7428
e4bbbda8
MK
74292004-02-21 Mark Kettenis <kettenis@gnu.org>
7430
ba361932
MK
7431 * configure.host: Add i[34567]86-*-openbsd[0-2].* and
7432 i[34567]86-*-openbsd3.[0-3].
7433 * config/i386/obsdaout.mh: New file.
7434
d3e48264
MK
7435 * config/i386/obsd.mh (MH_FLAGS): Remove.
7436
60a6eeb6
MK
7437 Fix PR build/1549.
7438 * i386obsd-tdep.c: Update copyright years. Include
7439 "solib-svr4.h".
7440 (i386obsd_init_abi): Don't set regset_from_core_section here.
7441 (i386obsd_aout_init_abi): New function. Set
7442 regset_from_core_section here.
7443 (i386obsd_elf_init_abi): New function.
7444 (_initialize_i386obsd_tdep): Register OS/ABI for OpenBSD ELF.
7445 * Makefile.in (i386obsd-tdep.o): Update dependecies.
7446 * config/i386/obsd.mt (TDEPFILES): Add solib.o and solib-svr4.o.
7447 (TM_FILE): Set to tm-nbsd.h.
7448
7449 * config/i386/obsd.mh (NATDEPFILES): Remove solib.o and
7450 solib-sunos.o.
7451
e4bbbda8
MK
7452 * solib-svr4.h: Update copyright year.
7453 (svr4_ilp32_fetch_link_map_offsets)
7454 (svr4_lp64_fetch_link_map_offsets): New prototype.
7455 * solib-svr4.c: Update copyright year.
7456 (svr4_ilp32_fetch_link_map_offsets)
7457 (svr4_lp64_fetch_link_map_offsets): New function.
7458
f6fe98ef
DJ
74592004-02-20 Daniel Jacobowitz <drow@mvista.com>
7460
7461 * dwarf2read.c (add_partial_symbol): Fix typo in adding enumerators
7462 to the partial symbol table.
7463
589ca796
JB
74642004-02-20 J. brobecker <brobecker@gnat.com>
7465
7466 * PROBLEMS: Add description of problem documented under gdb/1560.
7467
2031c21a
MK
74682004-02-20 Mark Kettenis <kettenis@gnu.org>
7469
30b344b1
MK
7470 * amd64obsd-tdep.c: Include "regset.h" and "i387-tdep.h". Fix
7471 comments.
7472 (amd64obsd_supply_regset, amd64obsd_regset_from_core_section): New
7473 functions.
7474 (amd64obsd_init_abi): Reorder initializations. Use
7475 amd64obsd_r_reg_offset to initialize the general-purpose register
7476 set details. Set regset_from_core_section.
7477 (_initialize_amd64obsd_tdep): Rename from
7478 _initialize_amd64obsd_ndep. Add OS ABI handler for core dumps.
7479 * Makefile.in (amd64obsd-tdep.o): Update dependencies.
7480 * config/i386/obsd64.mt (TDEPFILES): Add i386-tdep.o.
7481
2031c21a
MK
7482 * NEWS (New native configurations): Mention OpenBSD/alpha.
7483 * configure.tgt: Add alpha*-*-openbsd*.
7484 * configure.host: Add alpha*-*-openbsd*.
7485 * alphanbsd-tdep.c: Update copyright year.
7486 (_initialize_alphanbsd_tdep): Register OS ABI for OpenBSD ELF.
7487
42471775
AC
74882004-02-20 Andrew Cagney <cagney@redhat.com>
7489
7490 Fix PR tdep/1372.
7491 * configure.tgt: Delete target "none-*-*".
7492 * configure.host: Delete host "none-*-*".
7493 * config/none/none.mh: Delete file.
7494 * config/none/none.mt: Delete file.
7495 * config/none/xm-none.h: Delete file.
7496 * config/none/tm-none.h: Delete file.
7497 * config/none/nm-none.h: Delete file.
7498
960ccd7d
FF
74992004-02-19 Fred Fish <fnf@redhat.com>
7500
7501 * sh-tdep.c (sh_analyze_prologue): Eliminate useless test of
7502 cache->uses_fp prior to setting it.
7503
5f883edd
FF
75042004-02-19 Fred Fish <fnf@redhat.com>
7505
7506 Fix for PR breakpoint/1558.
7507 * sh-tdep.c (IS_JSR): New macro.
7508 (sh_analyze_prologue): Use IS_JSR to terminate prologue scan.
7509
f98c22d5
JB
75102004-02-19 Jim Blandy <jimb@redhat.com>
7511
7512 * findvar.c (value_from_register): Doc fix.
7513
95051d27
JJ
75142004-02-19 Jeff Johnston <jjohnstn@redhat.com>
7515
7516 * printcmd.c (print_scalar_formatted): Do not check for sizeof
7517 type being greater than sizeof of host's LONGEST. Always use
7518 unpack_long() unless format 'f' chosen.
7519
ccefbec3
EZ
75202004-02-19 Joel Brobecker <brobecker@gnat.com>
7521
7522 Committed by Elena Zannoni <ezannoni@redhat.com>
2ede629f 7523
ccefbec3
EZ
7524 * symtab.c (find_pc_sect_psymtab): Return the psymtab that
7525 contains a symbol wich is the best, non-exact match for the given
7526 pc. Update comments.
7527
75282004-02-19 Elena Zannoni <ezannoni@redhat.com>
8a1dac83 7529
2ede629f
EZ
7530 * event-top.c (async_request_quit): Remove uses of REQUEST_QUIT
7531 macro, which was part of the now removed Mach 3 port.
7532 * utils.c (request_quit): Ditto.
7533
567ee972
MK
75342004-02-18 Mark Kettenis <kettenis@gnu.org>
7535
7536 * config/djgpp/fnchange.lst: Rename "amd64obsd-tdep.c" and
7537 "amd64obsd-nat.c" to "a64ob-tdep.c" and "a64ob-nat.c".
7538
50cca7bb
MK
75392004-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7540
7541 Committed by Mark Kettenis <kettenis@gnu.org>.
7542
7543 * config/s390/nm-linux.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT):
7544 Define.
7545
226361c4
AC
75462004-02-18 Andrew Cagney <cagney@redhat.com>
7547
7548 * configure.in: Add a TUI target to CONFIG_ALL, CONFIG_CLEAN,
7549 CONFIG_INSTALL and CONFIG_UNINSTALL.
7550 * configure: Re-generate.
7551 * interps.h (INTERP_TUI): Define.
7552 * Makefile.in: Update dependencies.
7553 (TUI): New macro.
7554 (tui-main.o): Specify dependencies.
7555 (install-tui, uninstall-tui, clean-tui, all-tui): New rules.
7556 * tui/tui-main.c: New file.
7557
49cfa46f
MK
75582004-02-18 Mark Kettenis <kettenis@gnu.org>
7559
e2879ccb
MK
7560 * amd64obsd-tdep.c, amd64obsd-nat.c: New files.
7561 * Makefile.in (amd64obsd-nat.o, amd64obsd-tdep.o): New
7562 dependencies.
7563 * configure.host: Add x86_64-*-openbsd*.
7564 * configure.tgt: Add x86_64-*-openbsd*.
7565 * config/i386/obsd64.mt, config/i386/obsd64.mh: New files.
7566
c43f4bec
MK
7567 * tui/tui.c: Don't include <malloc.h>.
7568
09ae75b6
MK
7569 * Makefile.in (ALLDEPFILES): Add amd64-nat.c, amd64bsd-nat.c,
7570 amdfbsd-nat.c, amd64-fbsd-tdep.c, amd64nbsd-nat.c and
7571 amd64nbsd-tdep.c.
7572
49cfa46f 7573 * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Make
8a1dac83 7574 static. Remove extraneous whitespace.
49cfa46f
MK
7575 * i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Make
7576 static.
7577
05957fdb
JB
75782004-02-17 Jim Blandy <jimb@redhat.com>
7579
7580 * findvar.c (value_from_register): Doc fix.
7581
d0f54f9d
JB
75822004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7583
7584 Committed by Jim Blandy <jimb@redhat.com>.
e1457d83 7585
8a1dac83 7586 * eval.c (evaluate_subexp_standard, case OP_OBJC_MSGCALL): Use
c253954e
JB
7587 CORE_ADDR as type for selectors. Correct types for GNU run time
7588 message lookup function to use double indirection.
7589 * objc-lang.c (lookup_child_selector): Use CORE_ADDR as return type.
7590 * objc-lang.h (lookup_child_selector): Adapt prototype.
7591
9cbd5950
JB
7592 * s390-nat.c (SUBOFF): New macro.
7593 (supply_gregset, fill_gregset): Use it to handle debugging
7594 of 32-bit exectuables running under a 64-bit kernel.
7595 * s390-tdep.c: Include "solib-svr4.h".
7596 (s390_svr4_fetch_link_map_offset): New function.
7597 (s390x_svr_fetch_link_map_offset): Likewise.
7598 (s390_gdbarch_init): Call set_solib_svr4_fetch_link_map_offsets.
7599 * Makefile.in (s390-tdep.o): Update dependencies.
7600
a8c99f38
JB
7601 * s390-tdep.c: Include "trad-frame.h", "frame-base.h", and
7602 "frame-unwind.h".
7603 (s390_readinstruction): Reformat. Use read_memory_nobpt.
7604 (GDB_TARGET_IS_ESAME, S390_GPR_SIZE, S390_FPR_SIZE): Remove.
7605 (S390_SYSCALL_OPCODE, S390_SYSCALL_SIZE): Remove.
7606 (S390_SIGCONTEXT_SREGS_OFFSET, S390X_SIGCONTEXT_SREGS_OFFSET,
7607 S390_SIGREGS_FP0_OFFSET, S390X_SIGREGS_FP0_OFFSET,
7608 S390_UC_MCONTEXT_OFFSET, S390X_UC_MCONTEXT_OFFSET,
8a1dac83 7609 S390_SIGNAL_FRAMESIZE,
a8c99f38
JB
7610 s390_NR_sigreturn, s390_NR_rt_sigreturn): Remove.
7611 (struct frame_extra_info): Remove.
7612 (s390_memset_extra_info): Remove.
f73b1eff
JB
7613 (op1_ag, op1_ay, op1_brasl, op1_brc, op1_brcl, op1_lay, op1_lg)
7614 (op1_lmy, op1_ly, op1_sg, op1_stmy, op1_sty, op1_sy, op_a)
7615 (op_agr, op_bas, op_bc, op_bcr, op_sgr, op_sr): New opcodes.
a8c99f38
JB
7616 (is_rse): Renamed to ...
7617 (is_rsy): ... this. Support long displacements.
7618 (is_rxe): Renamed to ...
7619 (is_rxy): ... this. Support long displacements.
7620 (compute_x_addr): Support long displacements.
7621 (struct s390_prologue_data): New data type.
7622 (s390_on_stack): Change API to use struct s390_prologue_data.
7623 (s390_store): Reimplement.
7624 (s390_load): New function.
7625 (s390_get_signal_frame_info): Remove.
7626 (s390_get_frame_info): Remove, replace by ...
7627 (s390_analyze_prolog): ... this new function.
7628 (s390_check_function_end): Remove.
7629 (s390_function_start): Remove.
7630 (s390_frameless_function_invokation): Remove.
7631 (s390_is_sigreturn): Remove.
7632 (s390_init_frame_pc_first): Remove.
7633 (s390_init_frame_extra_info): Remove.
7634 (s390_frame_init_saved_regs): Remove.
7635 (s390_frame_saved_pc_nofix): Remove.
7636 (s390_frame_saved_pc): Remove.
7637 (s390_frame_chain): Remove.
7638 (s390_fp_regnum, s390_read_fp): Remove.
7639 (s390_pop_frame_regular, s390_pop_frame): Remove.
7640 (s390_saved_pc_after_call): Remove.
7641 (s390_skip_prologue): Reimplement.
7642 (s390_in_function_epilogue_p): Support long displacements.
7643 (struct s390_unwind_cache): New data structure.
7644 (s390_frame_unwind_cache): New function.
7645 (s390_prologue_frame_unwind_cache): Likewise.
7646 (s390_backchain_frame_unwind_cache): Likewise.
7647 (s390_frame_this_id, s390_frame_prev_register): Likewise.
7648 (s390_frame_unwind): Define.
7649 (s390_frame_sniffer): New function.
7650 (struct s390_pltstub_unwind_cache): New data structure.
7651 (s390_pltstub_frame_unwind_cache): New function.
7652 (s390_pltstub_frame_this_id): Likewise.
7653 (s390_pltstub_frame_prev_register): Likewise.
7654 (s390_pltstub_frame_unwind): Define.
7655 (s390_pltstub_frame_sniffer): New function.
7656 (struct s390_sigtramp_unwind_cache): New data structure.
7657 (s390_sigtramp_frame_unwind_cache): New function.
7658 (s390_sigtramp_frame_this_id): Likewise.
7659 (s390_sigtramp_frame_prev_register): Likewise.
7660 (s390_sigtramp_frame_unwind): Define.
7661 (s390_sigtramp_frame_sniffer): New function.
7662 (s390_frame_base_address, s390_local_base_address): New functions.
7663 (s390_frame_base): Define.
7664 (s390_unwind_pc, s390_unwind_sp): New function.
7665 (s390_push_dummy_call): Use new frame base location.
7666 (s390_unwind_dummy_id): Likewise.
7667 (s390_gdbarch_init): Remove calls to:
7668 set_gdbarch_frameless_function_invocation,
7669 set_gdbarch_deprecated_init_frame_pc,
7670 set_gdbarch_deprecated_frame_chain,
7671 set_gdbarch_deprecated_frame_init_saved_regs,
7672 set_gdbarch_deprecated_pop_frame,
7673 set_gdbarch_deprecated_init_extra_frame_info,
7674 set_gdbarch_deprecated_init_frame_pc_first,
7675 set_gdbarch_deprecated_target_read_fp,
7676 set_gdbarch_deprecated_frame_saved_pc,
7677 set_gdbarch_deprecated_saved_pc_after_call,
7678 set_gdbarch_deprecated_fp_regnum.
7679 Add calls to:
7680 set_gdbarch_in_solib_call_trampoline,
7681 frame_unwind_append_sniffer,
7682 frame_base_set_default,
7683 set_gdbarch_unwind_pc,
7684 set_gdbarch_unwind_sp.
7685 * Makefile.in (s390-tdep.o): Update dependencies.
7686
b0cf273e
JB
7687 * s390-tdep.c (struct gdbarch_tdep): Add 'abi' member.
7688 (S390_STACK_FRAME_OVERHEAD): Remove.
7689 (S390_STACK_PARAMETER_ALIGNMENT): Remove.
7690 (S390_NUM_FP_PARAMETER_REGISTERS): Remove.
7691 (s390_promote_integer_argument): Remove.
7692 (s390_cannot_extract_struct_value_address): Remove.
7693 (s390_use_struct_convention, s390_store_struct_return): Remove.
7694 (s390_extract_return_value, s390_store_return_value): Remove.
7695 (s390_return_value_convention, s390_return_value): New functions.
7696 (is_float_singleton): Handle typedefs.
8a1dac83 7697 (is_double_or_float, is_double_arg, is_simple_arg, pass_by_copy_ref):
b0cf273e
JB
7698 Remove, replace by ...
7699 (s390_function_arg_pass_by_reference, s390_function_arg_float,
7700 s390_function_arg_integer): ... these new functions.
7701 (s390_push_arguments, s390_push_return_address): Remove, replace by ...
7702 (s390_push_dummy_call, s390_unwind_dummy_id): ... these new functions.
7703 (s390_gdbarch_init): Remove s390_call_dummy_words and elf_flags.
7704 Fill in tdep->abi.
7705 Remove calls to:
7706 set_gdbarch_deprecated_store_struct_return,
7707 set_gdbarch_deprecated_extract_return_value,
7708 set_gdbarch_deprecated_store_return_value,
7709 set_gdbarch_use_struct_convention,
7710 set_gdbarch_extract_struct_value_address,
7711 set_gdbarch_deprecated_pc_in_call_dummy,
7712 set_gdbarch_deprecated_push_arguments,
7713 set_gdbarch_deprecated_save_dummy_frame_tos,
7714 set_gdbarch_deprecated_push_return_address,
7715 set_gdbarch_deprecated_sizeof_call_dummy_words,
7716 set_gdbarch_deprecated_call_dummy_words,
7717 set_gdbarch_deprecated_dummy_write_sp.
7718 Add calls to:
7719 set_gdbarch_push_dummy_call,
7720 set_gdbarch_unwind_dummy_id,
7721 set_gdbarch_return_value.
8a1dac83 7722
e1457d83
JB
7723 * config/s390/nm-linux.h: Update comments.
7724 (target_insert_watchpoint, target_remove_watchpoint): Redefine.
7725 (STOPPED_BY_WATCHPOINT): Redefine.
7726 (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Redefine to 1.
7727 (s390_insert_watchpoint, s390_remove_watchpoint): Update prototype.
7728 (s390_stopped_by_watchpoint): Likewise.
7729 (watch_area_cnt): Remove.
7730 * s390-nat.c: Update comments.
7731 (watch_area): Remove typedef.
7732 Global replace watch_area by struct watch_area.
7733 (watch_area_cnt, watch_lo_addr, watch_hi_addr): Remove.
8a1dac83 7734 (s390_stopped_by_watchpoint): Remove pid argument,
e1457d83
JB
7735 use s390_inferior_tid. Add short-cut for the no watchpoint case.
7736 (s390_fix_watch_points): Remove pid argument,
7737 use s390_inferior_tid. Recompute area spanned by watchpoints.
7738 (s390_insert_watchpoint, s390_remove_watchpoint): Remove pid
7739 argument. Reimplement.
7740
d0f54f9d
JB
7741 * config/s390/nm-linux.h: Update comments. Do not include "solib.h".
7742 (KERNEL_U_ADDR, REGISTER_U_ADDR, U_REGS_OFFSET): Remove.
7743 (FETCH_INFERIOR_REGISTERS): Define.
8a1dac83 7744 * config/s390/s390.mh (NATDEPFILES): Remove core-aout.o and
d0f54f9d
JB
7745 core-regset.o.
7746 * config/s390/s390x.mt: Remove.
7747 * config/s390/tm-s390.h: Remove.
7748 * config/s390/tm-linux.h: Do not include "s390/tm-s390.h".
7749 (TARGET_ELF64): Remove.
7750 (SKIP_TRAMPOLINE_CODE): Do not undefine.
7751 * configure.tgt [s390-*-*, s390x-*-*]: Merge into single
7752 s390*-*-* case; always set gdb_target to s390.
7753 * regformats/reg-s390.dat: Remove control registers.
7754 * regformats/reg-s390x.dat: Likewise.
7755 * s390-tdep.h: New file.
8a1dac83 7756 * s390-nat.c: Do not include <asm/processor.h> or <value.h>.
d0f54f9d
JB
7757 Include "inferior.h" and "s390-tdep.h".
7758 Remove private definition of offsetof.
7759 (s390_register_u_addr): Remove.
7760 (regmap_gregset, regmap_fpregset): Define.
7761 (supply_gregset, fill_gregset): Reimplement.
7762 (supply_fpregset, fill_fpregset): Likewise.
7763 (s390_inferior_tid): New function.
7764 (fetch_regs, store_regs, fetch_fpregs, store_fpregs): Likewise.
7765 (fetch_inferior_registers, store_inferior_registers): Likewise.
7766 * s390-tdep.c: Do not define S390_TDEP. Include "defs.h" instead
7767 of <defs.h>. Include "reggroups.h", "regset.h", and "s390-tdep.h".
7768 Global replace of S390_GP0_REGNUM by S390_R0_REGNUM.
7769 Global replace of S390_FP0_REGNUM by S390_F0_REGNUM.
7770 (struct gdbarch_tdep): Define.
7771 (struct s390_register_info): Define.
7772 (s390_register_info): New variable.
7773 (s390_register_name): Reimplement.
7774 (s390_register_type): New function.
7775 (s390_register_raw_size, s390x_register_raw_size): Remove.
7776 (s390_cannot_fetch_register): Remove.
7777 (s390_register_byte): Remove.
7778 (s390_register_virtual_type, s390x_register_virtual_type): Remove.
7779 (s390_dwarf_regmap): New variable.
7780 (s390_dwarf_reg_to_regnum): New function.
7781 (s390_stab_reg_to_regnum): Remove.
7782 (s390_pseudo_register_read, s390_pseudo_register_write): New functions.
7783 (s390x_pseudo_register_read, s390x_pseudo_register_write): Likewise.
7784 (s390_convert_register_p): Likewise.
7785 (s390_register_to_value, s390_value_to_register): Likewise.
7786 (s390_register_reggroup_p): Likewise.
7787 (s390_regmap_gregset, s390x_regmap_gregset, s390_regmap_fpregset,
7788 s390_gregset, s390x_gregset, s390_fpregset): New variables.
7789 (s390_supply_regset, s390_regset_from_core_section): New functions.
7790 (GDB_TARGET_IS_ESAME): Move here from tm-s390.h.
7791 (S390_FPR_SIZE): Likewise.
7792 (S390_GPR_SIZE): Likewise. Redefine in terms of GDB_TARGET_IS_ESAME.
7793 Global replace of DEPRECATED_REGISTER_SIZE by S390_GPR_SIZE.
7794 (S390_NUM_GPRS): Move here from tm-s390.h.
7795 (S390_NUM_FPRS): Likewise.
7796 (s390_in_function_epilogue_p): New function.
7797 (s390_is_sigreturn): Replace S390_PSW_ADDR_SIZE by S390_GPR_SIZE.
7798 Replace S390_PC_REGNUM by S390_PSWA_REGNUM.
7799 (s390_gdbarch_init): Allocate and set up gdbarch_tdep structure.
7800 Replace s390_stab_reg_to_regnum by s390_dwarf_reg_to_regnum.
7801 Replace S390_FP_REGNUM by S390_SP_REGNUM.
7802 Remove calls to:
7803 set_gdbarch_deprecated_max_register_raw_size,
8a1dac83
RM
7804 set_gdbarch_deprecated_max_register_virtual_size,
7805 set_gdbarch_deprecated_register_byte,
d0f54f9d 7806 set_gdbarch_cannot_fetch_register,
8a1dac83 7807 set_gdbarch_cannot_store_register,
d0f54f9d
JB
7808 set_gdbarch_deprecated_register_size,
7809 set_gdbarch_deprecated_register_raw_size,
7810 set_gdbarch_deprecated_register_virtual_size,
7811 set_gdbarch_deprecated_register_virtual_type,
7812 set_gdbarch_deprecated_register_bytes.
7813 Add calls to:
7814 set_gdbarch_num_pseudo_regs,
7815 set_gdbarch_register_type,
7816 set_gdbarch_convert_register_p,
7817 set_gdbarch_register_to_value,
7818 set_gdbarch_value_to_register,
7819 set_gdbarch_register_reggroup_p,
7820 set_gdbarch_regset_from_core_section,
7821 set_gdbarch_pseudo_register_read,
7822 set_gdbarch_pseudo_register_write,
7823 set_gdbarch_in_function_epilogue_p.
7824 * Makefile.in (s390-nat.o, s390-tdep.o): Update dependencies.
7825 (s390_tdep_h): New variable.
7826
8cfe231d
JB
78272004-02-17 Jim Blandy <jimb@redhat.com>
7828
4589a601
JB
7829 * findvar.c (value_from_register): If the type has no length, just
7830 return an acceptable value --- don't report an internal error.
7831
8cfe231d
JB
7832 * stabsread.c (read_type): If we find any type numbers that are
7833 forward references, complain if the references aren't resolved by
7834 the time we're finished reading.
7835 (cleanup_undefined_types): Make error message more appropriate for
7836 a complaint.
7837
5bf0017e
EZ
78382004-02-17 Elena Zannoni <ezannoni@redhat.com>
7839
9d62932d
EZ
7840 * Makefile.in (defs_h): Remove dependency on progress_h.
7841 * defs.h (QUIT): Remove use of PROGRESS macro. Remove include of
7842 progress.h.
7843 * main.c (captured_main): Delete use of START_PROGRESS and
7844 END_PROGRESS.
7845
78462004-02-17 Elena Zannoni <ezannoni@redhat.com>
8a1dac83 7847
5bf0017e
EZ
7848 * objfiles.c (terminate_minimal_symbol_table): Add back
7849 initialization of MSYMBOL_TYPE.
7850
9fc9f5e2
AC
78512004-02-17 David Mosberger <davidm@hpl.hp.com>
7852
7853 Committed by Andrew Cagney.
7854 * Makefile.in (ia64_tdep_h): New macro.
7855 (ia64-linux-tdep.o): Mention $(ia64_tdep_h).
7856 (ia64-tdep.o): Likewise.
7857 * ia64-tdep.h: New file.
7858 * ia64-tdep.c: Update copyright notice. Include "ia64-tdep.h".
7859 (ia64_linux_sigcontext_register_address): Move decl to ia64-tdep.h.
7860 (ia64_aix_sigcontext_register_address): Likewise.
7861 (ia64_linux_getunwind_table): Delete declaration.
7862 * ia64-linux-tdep.c: Likewise.
7863
76cd2bd9
CV
78642004-02-17 Corinna Vinschen <vinschen@redhat.com>
7865
7866 * sh-tdep.c (sh_dsp_register_sim_regno): Use DSP_Rx_BANK_REGNUM.
7867 * sh-tdep.h: Rename R0_BANK_REGNUM and R7_BANK_REGNUM to
7868 DSP_R0_BANK_REGNUM and DSP_R7_BANK_REGNUM.
7869
634aa483
AC
78702004-02-17 Andrew Cagney <cagney@redhat.com>
7871
7872 * symtab.c (skip_prologue_using_sal): New function.
7873 * symtab.h (skip_prologue_using_sal): Declare.
7874 * frv-tdep.c: Include "symtab.h".
7875 (skip_prologue_using_sal): Delete function.
7876 * mips-tdep.c (skip_prologue_using_sal): Delete function.
7877 * rs6000-tdep.c (refine_prologue_limit): Mention
7878 skip_prologue_using_sal.
7879 * ia64-tdep.c (refine_prologue_limit): Ditto.
7880 * Makefile.in: Update dependencies.
7881
78822004-02-16 Andrew Cagney <cagney@redhat.com>
19772a2c 7883
39ce7b3f
AC
7884 * config/alpha/tm-nbsd.h: Update copyright, delete #undef
7885 START_INFERIOR_TRAPS_EXPECTED.
7886 * config/alpha/tm-fbsd.h: Update copyright, delete #undef
7887 START_INFERIOR_TRAPS_EXPECTED.
7888 * config/alpha/tm-alphalinux.h (START_INFERIOR_TRAPS_EXPECTED):
7889 Delete macro.
7890 * config/alpha/tm-alpha.h (START_INFERIOR_TRAPS_EXPECTED): Delete
7891 macro, moved to "nm-osf.h". Update copyright.
7892 * config/alpha/nm-osf.h (START_INFERIOR_TRAPS_EXPECTED): Define,
7893 update copyright.
7894
19772a2c
AC
7895 * gdbarch.sh (DEPRECATED_FRAMELESS_FUNCTION_INVOCATION): Predicate
7896 and function replacing FRAMELESS_FUNCTION_INVOCATION.
7897 * blockframe.c (legacy_frameless_look_for_prologue): Rename
7898 frameless_look_for_prologue.
7899 * frame.h (legacy_frameless_look_for_prologue): Rename
7900 frameless_look_for_prologue.
7901 * gdbarch.h, gdbarch.c: Re-generate.
7902 * sh64-tdep.c (sh64_gdbarch_init): Update.
7903 * sh-tdep.c (sh_gdbarch_init): Update.
7904 * s390-tdep.c (s390_gdbarch_init): Update.
7905 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
7906 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
7907 * m68k-tdep.c (m68k_gdbarch_init): Update.
7908 (delta68_frame_args_address): Update.
7909 * m32r-tdep.c (m32r_gdbarch_init): Update.
7910 * hppa-tdep.c (hppa_gdbarch_init): Update.
7911 * h8300-tdep.c (h8300_gdbarch_init): Update.
7912 * frv-tdep.c (frv_gdbarch_init): Update.
7913 (frv_frameless_function_invocation): Update.
7914 * cris-tdep.c (cris_gdbarch_init): Update.
7915 (cris_frameless_function_invocation): Update.
7916 * avr-tdep.c (avr_gdbarch_init): Update.
7917 * arm-tdep.c (arm_gdbarch_init): Update.
7918 * stack.c (frame_info): Update, call predicate.
7919 * rs6000-tdep.c (rs6000_frame_chain): Update, call predicate..
7920 * frame.c (legacy_get_prev_frame): Update, call predicate..
7921 * arch-utils.c (generic_frameless_function_invocation_not): Delete.
7922 * arch-utils.h (generic_frameless_function_invocation_not): Delete.
7923 * alpha-tdep.c (alpha_gdbarch_init): Do not set frameless function
7924 invocation.
7925 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
7926 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
7927 * vax-tdep.c (vax_gdbarch_init): Ditto.
2be8b3c1
AC
7928
7929 * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): Delete unused
7930 function.
7931
7dcaac91
DJ
79322004-02-16 Daniel Jacobowitz <drow@mvista.com>
7933
7934 * objfiles.c (terminate_minimal_symbol_table): Remove unnecessary
7935 initializations.
7936
88289b6e
AC
79372004-02-16 Andrew Cagney <cagney@redhat.com>
7938
7939 * tui/tui-windata.c: Include "gdb_string.h".
7940 * tui/tui-source.c, tui/tui-winsource.c: Ditto.
7941 * tui/tui-layout.c, tui/tui-command.c: Ditto.
7942 * Makefile.in: Update dependencies.
7943
9f976b41
DJ
79442004-02-16 Daniel Jacobowitz <drow@mvista.com>
7945
7946 * Makefile.in (infrun.o): Add $(gdb_assert_h).
7947 * infrun.c: Include "gdb_assert.h".
7948 (singlestep_ptid, saved_singlestep_ptid)
7949 (stepping_past_singlestep_breakpoint): New variables.
7950 (resume): Set singlestep_ptid. Check for singlestep thread
7951 hop.
7952 (init_wait_for_inferior): Clear stepping_past_singlestep_breakpoint.
7953 (handle_inferior_event): Handle singlestep thread hop.
7954
c324d747
AC
79552004-02-16 Andrew Cagney <cagney@redhat.com>
7956
f090b9b1
AC
7957 * dwarf2-frame.c (dwarf2_frame_ops): New function.
7958 (dwarf2_frame_set_init_reg): Use, instead of gdbarch_data.
7959 (dwarf2_frame_init_reg): Ditto.
7960
fd33e6cb
AC
7961 * printcmd.c (display_command): Check that EXP isn't NULL. Fix
7962 suggested by Joshua Neuheisel
7963
c324d747
AC
7964 * configure.in: Always check for curses, including pdcurses.
7965 Warn, instead of error, when no curses are found. Enable TUI when
7966 curses is available.
7967 * configure: Re-generate.
7968
b66ba949
CV
79692004-02-16 Corinna Vinschen <vinschen@redhat.com>
7970
7971 * sh-tdep.c (sh_register_convert_to_virtual): Rename from
7972 sh_sh4_register_convert_to_virtual.
7973 (sh_register_convert_to_raw): Rename from
7974 sh_sh4_register_convert_to_raw.
7975 (sh_pseudo_register_read): Accomodate above name change.
7976 (sh_pseudo_register_write): Ditto.
7977
b58cbbf2
CV
79782004-02-16 Corinna Vinschen <vinschen@redhat.com>
7979
7980 * sh-tdep.c (sh_generic_register_name): Remove.
7981 (sh_gdbarch_init): Use sh_sh_register_name in default case.
7982
5929a910
AC
79832004-02-15 Andrew Cagney <cagney@redhat.com>
7984
4566dfcf
AC
7985 * configure.in (build_warnings): Add -Wunused-function.
7986 * configure: Re-generate.
7987
db11ed55
AC
7988 * config/tm-lynx.h (START_INFERIOR_TRAPS_EXPECTED): Delete macro.
7989 * config/rs6000/tm-rs6000.h (START_INFERIOR_TRAPS_EXPECTED): Ditto.
7990
46ac7a5d
AC
7991 * procfs.c (procfs_init_inferior): Assume that
7992 START_INFERIOR_TRAPS_EXPECTED is defined.
7993 * config/ns32k/nbsdaout.mt (TM_FILE): Set to tm-ns32k.h.
7994 * config/ns32k/tm-nbsd.h: Delete file,
7995 START_INFERIOR_TRAPS_EXPECTED already defined as 2.
7996
ba801595
AC
7997 * config/vax/tm-vaxbsd.h: Do not include "tm-vax.h".
7998 * config/vax/tm-vax.h: Delete file.
7999
5929a910
AC
8000 * config/mips/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
8001 * config/i386/tm-i386bsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
8002 * config/arm/tm-linux.h (SIGCONTEXT_PC_OFFSET): Delete macro.
8003 * config/vax/tm-vaxbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
8004 * vax-tdep.c (vax_sigtramp_saved_pc): Inline only reference.
8005 * config/ns32k/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
8006 * ns32k-tdep.c (ns32k_sigtramp_saved_pc): Inline only reference.
8007
8f22cb90
MK
80082004-02-15 Mark Kettenis <kettenis@gnu.org>
8009
8010 * dwarf2-frame.h (dwarf2_frame_set_init_reg): New prototype.
8011 * dwarf2-frame.c (dwarf2_frame_data): New variable.
8012 (struct dwarf2_frame_ops): New.
8013 (dwarf2_frame_default_init_reg): New function, based on
8014 dwarf2_frame_init_reg.
8015 (dwarf2_frame_init, dwarf2_frame_set_init_reg): New function.
8016 (dwarf2_frame_init_reg): Call architecture-specific function.
8017 (dwarf2_frame_objfile_data): Renamed from dwarf2_frame_data.
8018 (dwarf2_frame_find_fde, add_fde): Use dwarf2_frame_objfile_data
8019 instead of dwarf2_frame_data.
8020 (_initialize_dwarf2_frame): Initailize new dwarf2_frame_data.
8021 Initialize dwarf2_frame_objfile instead of old dwarf2_frame_data.
8022
8132723e
AC
80232004-02-15 Andrew Cagney <cagney@redhat.com>
8024
046a4708
AC
8025 * gdbarch.sh (deprecated_register_gdbarch_swap): Rename
8026 register_gdbarch_swap.
8027 (DEPRECATED_REGISTER_GDBARCH_SWAP): Rename REGISTER_GDBARCH_SWAP.
8028 * f-lang.c (_initialize_f_language): Update, use
8029 DEPRECATED_REGISTER_GDBARCH_SWAP.
8030 * remote.c (_initialize_remote): Ditto.
8031 * regcache.c (_initialize_regcache): Ditto.
8032 * parse.c (_initialize_parse): Ditto.
8033 * infrun.c (_initialize_infrun): Ditto.
8034 * mi/mi-main.c (_initialize_mi_main): Ditto.
8035 * gdbtypes.c (_initialize_gdbtypes): Ditto.
8a1dac83 8036
549c1eea
AC
8037 * solib.c (solib_map_sections): Use bfd_set_cacheable instead of
8038 poking .cacheable directly.
8039 * symfile.c (symfile_bfd_open): Ditto.
8040
0c0b39de
AC
8041 * Makefile.in: Update all dependencies.
8042
8132723e
AC
8043 * Makefile.in: (.SUFFIXES): Add ".l" and ".y".
8044 (.y.c, .l.c): Specify implicit rule. Instead of .tab.c, generate
8045 .c. Update references. Delete unnecessary .tab.c and -lex.c rules.
8046 (ada-exp.o, c-exp.o, f-exp.o): Replace ada-exp.tab.o et.al. rule.
8047 (jv-exp.o, m2-exp.o, objc-exp.o, p-exp.o): Similar.
0c0b39de 8048
b9d26eb9
AC
80492004-02-14 Andrew Cagney <cagney@redhat.com>
8050
8e1f669a
AC
8051 * arch-utils.c (legacy_convert_register_p): Check
8052 DEPRECATED_REGISTER_CONVERTIBLE_P.
8053 * findvar.c (value_of_register): Ditto.
8054
cd0bfa36
AC
8055 * gdbarch.sh (DEPRECATED_REGISTER_CONVERTIBLE): Add predicate.
8056 * gdbarch.h, gdbarch.c: Re-generate.
8057 * arch-utils.c (deprecated_register_convertible_not): Delete.
8058 * arch-utils.h (deprecated_register_convertible_not): Delete.
8059 * mi/mi-main.c (get_register): Update. Update copyright.
8060 * infcmd.c (default_print_registers_info): Update.
8061
b9d26eb9
AC
8062 * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
8063 (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Delete.
8064 (DEPRECATED_CALL_DUMMY_ADDRESS): Delete.
8a1dac83 8065 * gdbarch.h, gdbarch.c: Re-generate.
b9d26eb9
AC
8066 * frame.c (deprecated_get_next_frame_hack): Delete function.
8067 * frame.h (deprecated_get_next_frame_hack): Delete declaration.
8068 * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point):
8069 Update.
8070 * infcall.c (call_function_by_hand): Update.
8071
9ab9195f
EZ
80722004-02-14 Elena Zannoni <ezannoni@redhat.com>
8073
8074 * symfile.c (init_entry_point_info, entry_point_address): Move
8a1dac83 8075 from here...
9ab9195f
EZ
8076 * objfiles.c (init_entry_point_info, entry_point_address):..to
8077 here.
8078 * symfile.h (init_entry_point_info, entry_point_address): Remove
8079 prototypes.
8080 * objfiles.h (init_entry_point_info, entry_point_address):Add
8a1dac83 8081 prototypes.
9ab9195f
EZ
8082 * cris-tdep.c: Remove include of symfile.h. Add include of
8083 objfiles.h.
8084 * infcall.c: Ditto.
8085 * mcore-tdep.c: Ditto.
8086 * mn10300-tdep.c: Ditto.
8087 * sh64-tdep.c: Ditto.
8088 * v850-tdep.c: Ditto.
8089 * arm-tdep.c: Remove include of symfile.h.
8090 * blockframe.c: Ditto.
8091 * coffread.c: Ditto.
8092 * dbxread.c: Ditto.
8093 * dwarf2read.c: Ditto.
8094 * dwarfread.c: Ditto.
8a1dac83 8095 * frv-tdep.c: Ditto.
9ab9195f
EZ
8096 * ia64-tdep.c: Ditto.
8097 * mdebugread.c: Ditto.
8098 * mipsread.c: Ditto.
8a1dac83 8099 * rs6000-tdep.c: Ditto.
9ab9195f
EZ
8100 * s390-tdep.c: Ditto.
8101 * sh-tdep.c: Ditto.
8a1dac83 8102 * xstormy16-tdep.c: Ditto.
9ab9195f
EZ
8103 * gdbarch.sh: Remove include of symfile.h.
8104 * gdbarch.c: Regenerate.
8105 * solib-irix.c (enable_break): Use entry_point_address().
8106 Add comment about include file.
8107 * xcoffread.c: Add comment about include file.
8a1dac83
RM
8108 * Makefile.in (arm-tdep.o, blockframe.o, coffread.o, cris-tdep.o)
8109 (dbxread.o, dwarf2read.o, dwarfread.o, frv-tdep.o, gdbarch.o)
8110 (ia64-tdep.o, infcall.o, mcore-tdep.o, mdebugread.o, mipsread.o)
8111 (mn10300-tdep.o, rs6000-nat.o, s390-tdep.o, sh64-tdep.o)
9ab9195f
EZ
8112 (sh-tdep.o, v850-tdep.o, xstormy16-tdep.o): Update dependencies.
8113
c4c5b7ba
AC
81142004-02-13 Andrew Cagney <cagney@redhat.com>
8115
8116 * corelow.c (core_xfer_partial): Use "struct bfd_section".
8117 * config/sparc/nm-nbsd.h (struct target_ops): Declare, update
8118 copyright.
8119 * mips-linux-tdep.c: Use "GNU/Linux", update copyright.
8120
3e7879de
FF
81212004-02-12 Fred Fish <fnf@redhat.com>
8122
8123 * m68hc11-tdep.c (m68hc11_gdbarch_init): Remove duplicate call to
8124 set_gdbarch_store_return_value.
8125
6a7760b6
AC
81262004-02-12 Andrew Cagney <cagney@redhat.com>
8127
8128 * remote-rdi.c (arm_rdi_start_remote): Delete unused function.
8129 (arm_rdi_interrupt, arm_rdi_interrupt_twice): Ditto.
8130 (interrupt_query): Ditto.
8131 (ofunc): Delete unused variable.
8132 * cris-tdep.c (cris_abi): Delete unused function.
8133 (reg_pop_op, move_reg_to_mem_index_inc_op): Ditto.
8134 (cris_get_wide_opcode, cris_get_short_size): Ditto.
8135 (cris_get_asr_quick_shift_steps): Ditto.
8136 (cris_skip_prologue_frameless_p): Ditto.
8137 * arm-tdep.c (arm_push_return_address): Delete unused function.
8138 (arm_push_dummy_frame, arm_fix_call_dummy): Ditto.
8139 * rs6000-tdep.c (rs6000_pc_in_call_dummy): Delete unused function.
8140 * s390-tdep.c (s390_function_start): Delete unused function.
8141
31687c3c
AC
81422004-02-12 Andrew Cagney <cagney@redhat.com>
8143
8144 * gdbarch.sh (PROLOGUE_FRAMELESS_P): Delete.
8145 gdbarch.h, gdbarch.c: Re-generate.
8146 * cris-tdep.c (cris_gdbarch_init): Do not set prologue_frameless_p
8147 to generic_prologue_frameless_p.
8148 * arch-utils.h (generic_prologue_frameless_p): Delete declaration.
8149 * arch-utils.c (generic_prologue_frameless_p): Delete function.
8150
6de918a6
DJ
81512004-02-11 Daniel Jacobowitz <drow@mvista.com>
8152
8153 * mips-linux-tdep.c: Include "frame.h".
8154 (mips_linux_in_dynsym_stub, mips_linux_in_dynsym_resolve_code)
8155 (mips_linux_skip_resolver): New functions.
8156 (mips_linux_init_abi): Call set_gdbarch_skip_solib_resolver
8157 and set_gdbarch_in_solib_call_trampoline.
8158 * mips-tdep.c (mips_gdbarch_init): Move gdbarch_init_osabi call
8159 to after set_gdbarch_in_solib_return_trampoline. Only set the
8160 solib hooks to mips16 functions if the OS ABI is unknown.
8161 * config/mips/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Undefine after
8162 including "config/tm-linux.h".
8163 (IN_SOLIB_DYNSYM_RESOLVE_CODE): Define.
8164 * Makefile.in (mips-linux-tdep.o): Update.
8165
87b3ede8
DC
81662004-02-11 David Carlton <carlton@kealia.com>
8167
8168 * linespec.c (decode_compound): Only look for a class symbol when
8169 considering all but the rightmost component.
8170
5979bc46
AC
81712004-02-11 Andrew Cagney <cagney@redhat.com>
8172
8173 * hppa-tdep.c (hppa_gdbarch_init): Re-order so that the frame and
8174 abi code are are separatly grouped.
8175
5867a2fb
AC
81762004-02-11 Andrew Cagney <cagney@redhat.com>
8177
8178 * gdbarch.sh (FRAME_ARGS_SKIP): Default to 0.
8179 * gdbarch.h, gdbarch.c: Re-generate.
8180 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
8181 * v850-tdep.c (v850_gdbarch_init): Update.
8182 * sh64-tdep.c (sh64_gdbarch_init): Update.
8183 * sh-tdep.c (sh_gdbarch_init): Update.
8184 * s390-tdep.c (s390_gdbarch_init): Update.
8185 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
8186 * mips-tdep.c (mips_gdbarch_init): Update.
8187 * mcore-tdep.c (mcore_gdbarch_init): Update.
8188 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
8189 * m32r-tdep.c (m32r_gdbarch_init): Update.
8190 * ia64-tdep.c (ia64_gdbarch_init): Update.
8191 * hppa-tdep.c (hppa_gdbarch_init): Update.
8192 * h8300-tdep.c (h8300_gdbarch_init): Update.
8193 * frv-tdep.c (frv_gdbarch_init): Update.
8194 * d10v-tdep.c (d10v_gdbarch_init): Update.
8195 * cris-tdep.c (cris_gdbarch_init): Update.
8196 * avr-tdep.c (avr_gdbarch_init): Update.
8197 * arm-tdep.c (arm_gdbarch_init): Update.
8198 * alpha-tdep.c (alpha_gdbarch_init): Update.
8199
026a72f8
CV
82002004-02-11 Corinna Vinschen <vinschen@redhat.com>
8201
8202 * sh-tdep.c (sh_sh3_dsp_register_name): Fix formatting. Add missing
8203 comma.
8204 (sh_sh4al_dsp_register_name): Ditto.
8205
3903d437
AC
82062004-02-10 Andrew Cagney <cagney@redhat.com>
8207
8208 * mips-tdep.c (mips_gdbarch_init): Delete deprecated frame code.
8209 (mips_init_frame_pc_first): Delete function.
8210 (mips_frame_saved_pc): Delete function.
8211 (mips_frame_chain): Delete function.
8212 (mips_init_extra_frame_info): Delete function.
8213 (mips_xfer_register): Delete unused variable "reg".
8214 (mips_n32n64_push_dummy_call): Delete unused variable "valbuf".
8215 (mips_n32n64_return_value): Delete unused variable "reg".
8216 (mips_n32n64_return_value): Delete unused variable "pos".
8217 (mips_o32_push_dummy_call): Delete unused variable "valbuf".
8218 (mips_o32_return_value): Delete unused variable "pos".
8219 (mips_o64_push_dummy_call): Delete unused variable "valbuf".
8220 (mips_print_fp_register): Delete unused variable "namelen"
8221 (mips_print_fp_register): Delete unused variable "flt2"
8222 (get_frame_pointer): Delete function.
8223 (cached_proc_desc): Delete static variable.
8224 (mips_pop_frame): Delete function.
8225 (mips_find_saved_regs): Delete function.
8226 (mips_get_saved_register): Delete function.
8227 (mips_saved_pc_after_call): Delete function.
8228 (SIGFRAME_BASE): Delete macro.
8229 (SIGFRAME_FPREGSAVE_OFF): Delete macro.
8230 (SIGFRAME_PC_OFF): Delete macro.
8231 (SIGFRAME_REGSAVE_OFF): Delete macro.
8232 (mips_dump_tdep): Do not print deleted macro definitions.
8233
b9fb98bd
AC
82342004-02-10 Andrew Cagney <cagney@redhat.com>
8235
8236 * Makefile.in (SFILES): Remove explictly listed tui files.
8237 (SUBDIR_GDBTK_SRCS): Fix path to gdbtk-interp.c.
8238
78ced177 82392004-02-10 Jeff Johnston <jjohnstn@redhat.com>
8a1dac83 8240
78ced177
JJ
8241 * ia64-tdep.c (ia64_frame_this_id): Fix tracing print statement
8242 to use paddr functions to format ia64 addresses and long values.
8243 (ia64_frame_prev_register, ia64_sigtramp_frame_this_id): Ditto.
8244 (ia64_sigtramp_frame_prev_register, ia64_access_reg): Ditto.
8245 (get_kernel_table, ia64_find_proc_info_x): Ditto.
8246 (ia64_get_dyn_info_list, ia64_libunwind_this_frame_id): Ditto.
8247 (ia64_libunwind_frame_prev_register, ia64_unwind_dummy_id): Ditto.
8248
6a83354a
AC
82492004-02-10 Andrew Cagney <cagney@redhat.com>
8250
8251 * defs.h: Do not include "tui.h".
8252 * gdb_curses.h: New file.
8253 * tui/tui-hooks.h: New file.
8254 * tui/tui.h (tui_update_all_exec_infos): Delete declaration.
8255 (tui_install_hooks, tui_remove_hooks): Delete declarations.
8256 (tui_initialize_io): Delete declaration.
8257 (tui_initialize_readline: Delete redundant declaration.
8258 (struct tui_point): Delete definition.
8259 * tui/tui-data.h (struct tui_point): Define.
8260 * cli/cli-decode.c [TUI]: Include "tui/tui.h".
8261 * utils.c: Include "tui/tui.h".
8262 * tui/tui-data.h: Include "tui/tui.h" and "gdb_curses.h".
8263 * printcmd.c [TUI]: Include "tui/tui.h".
8264 * cli/cli-cmds.c [TUI]: Include "tui/tui.h".
8265 * tui/tui-command.c: Include "gdb_curses.h".
8266 * tui/tui.c, tui/tui-winsource.c, tui/tui-wingeneral.c: Ditto.
8267 * tui/tui-windata.c, tui/tui-win.c, tui/tui-stack.c: Ditto.
8268 * tui/tui-source.c, tui/tui-regs.c, tui/tui-layout.c: Ditto.
8269 * tui/tui-io.c, tui/tui-disasm.c, tui/tui-data.c: : Ditto.
8270 * tui/tui-hooks.c: Include "tui-hooks.h" and "gdb_curses.h".
8271 * Makefile.in: Update all dependencies.
8272 (tui_hooks_h, gdb_curses_h): Define.
8273 (SUBDIR_TUI_CFLAGS): Remove -I${srcdir}/tui.
8274
997470ef
EZ
82752004-02-10 Elena Zannoni <ezannoni@redhat.com>
8276
8277 * objfiles.h (struct objfile): Remove unused fields auxf1 and
8278 auxf2. Add comments about some other rarely used fields.
8279
4ff2cc4d
AC
82802004-02-10 Andrew Cagney <cagney@redhat.com>
8281
8282 * Makefile.in (init.c): Fix script removing duplicates. Problem
8283 reported by Peter Schauer.
8284
1ab21617
EZ
82852004-02-09 Elena Zannoni <ezannoni@redhat.com>
8286
8287 * bcache.c (bcache_xmalloc): Use obstack_init instead of
8288 obstack_specify_allocation.
8289 * objfiles.c (allocate_objfile): Ditto.
8a1dac83 8290 * solib-sunos.c (solib_add_common_symbols)
1ab21617
EZ
8291 (allocate_rt_common_objfile): Ditto.
8292 * symfile.c (reread_symbols): Ditto.
8293 * gdb_obstack.h: Add comment.
8294
17763fd9
EZ
82952004-02-09 Elena Zannoni <ezannoni@redhat.com>
8296
8297 * linespec.c (decode_line_1, locate_first_half)
8298 (decode_compound, lookup_prefix_sym): Update comments. Delete old
8299 commented out code.
8300
ec5cdd75
DJ
83012004-02-09 Daniel Jacobowitz <drow@mvista.com>
8302
8303 * cp-namespace.c (check_one_possible_namespace_symbol): Don't use
8304 obstack_free.
8305
43b54b88
AC
83062004-02-09 Andrew Cagney <cagney@redhat.com>
8307
8308 * blockframe.c (find_pc_partial_function): If find_pc_overlay
8309 fails, try find_pc_section. Fix PR c++/1267.
8310 * minsyms.c (lookup_minimal_symbol_by_pc): Use find_pc_section
8311 instead of find_pc_mapped_section.
8312 (lookup_minimal_symbol_by_pc_section): If the SECTION is NULL, do
8313 not default to the section containing PC. Fix PR symtab/1519.
8314
edfae063
AC
83152004-02-09 Andrew Cagney <cagney@redhat.com>
8316
8317 * Makefile.in (mips-tdep.o): Update dependencies.
8318 * mips-tdep.c: Include "frame-unwind.h", "frame-base.h" and
8319 "trad-frame.h".
8320 (mips_unwind_pc): Return the pseudo PC register.
8321 (mips_unwind_dummy_id): New function.
8322 (mips16_fetch_instruction): New function.
8323 (mips32_fetch_instruction): New function.
8324 (struct mips_frame_cache): Define.
8325 (mips_mdebug_frame_cache): New function.
8326 (mips_mdebug_frame_this_id): New function.
8327 (mips_mdebug_frame_prev_register): New function.
8328 (mips_mdebug_frame_unwind): Define.
8329 (mips_mdebug_frame_sniffer): New function.
8330 (mips_mdebug_frame_base_address): New function.
8331 (mips_mdebug_frame_base): Define.
8332 (mips_mdebug_frame_base_sniffer): New function.
8333 (mips_gdbarch_init): Append unwind and base sniffers. Set
8334 unwind_dummy_id.
8335
defc864c
AC
83362004-02-08 Andrew Cagney <cagney@redhat.com>
8337
6764ddad
AC
8338 * frame.c: Print both the register number and name.
8339
defc864c
AC
8340 * Makefile.in (init.c): Eliminate duplicates. Combine two greps
8341 and a sed into a single sed. Make .c and .o patterns more robust.
8342 (OBS): Delete.
8343 (INIT_FILES): Replace OBS with COMMON_OBS.
8344 (COMMON_OBS): Move DEPFILES and YYOBJ to start of definition.
8345
645d6d10
MK
83462004-02-08 Mark Kettenis <kettenis@gnu.org>
8347
8348 * sparc-nat.c (sparc_xfer_wcookie): Try to fetch the cookie using
8349 the PT_WCOOKIE request.
8350
23e3c3fc
AC
83512004-02-08 Andrew Cagney <cagney@redhat.com>
8352
58dfe9ff
AC
8353 * mips-tdep.c (mips_unwind_pc): New function.
8354 (mips_gdbarch_init): Set mips_unwind_pc.
8355
1152e35e
AC
8356 * frame.c (legacy_saved_regs_this_id): Return a null frame ID.
8357 (get_frame_id): Allow the UNKNOWN_FRAME.
8358 (frame_register_unwind, get_frame_type): Ditto.
8359
31b75dbf
AC
8360 * frame.c (legacy_frame_p): Check for DEPRECATED_TARGET_READ_FP_P
8361 and DEPRECATED_FP_REGNUM. Don't assume that the lack of
8362 unwind_dummy_id indicates a legacy frame.
8363
3483b318
AC
8364 * configure.in (CONFIG_LIB_OBS): Replace with CONFIG_OBS.
8365 * configure: Re-generate.
8366
23e3c3fc
AC
8367 * mips-tdep.c (mips_gdbarch_init): Group deprecated frame unwind
8368 methods.
8369
33f8ca73
AC
83702004-02-08 Andrew Cagney <cagney@redhat.com>
8371
8372 * configure.in (CONFIG_ALL): Set to Makefile target, and not
8373 makefile macro.
8374 * configure: Re-generate.
8375 (CONFIG_CLEAN, CONFIG_INSTALL, CONFIG_UNINSTALL): Ditto.
8376 * Makefile.in (SUBDIR_CLI_CLEAN): Delete.
8377 (SUBDIR_CLI_INSTALL, SUBDIR_CLI_UNINSTALL): Delete.
8378 (SUBDIR_CLI_ALL, SUBDIR_GDBTK_ALL): Delete.
8379 (SUBDIR_GDBTK_CLEAN, SUBDIR_GDBTK_INSTALL): Delete.
8380 (SUBDIR_GDBTK_UNINSTALL, SUBDIR_MI_ALL): Delete.
8381 (SUBDIR_MI_CLEAN, SUBDIR_MI_INSTALL): Delete.
8382 (SUBDIR_MI_UNINSTALL, SUBDIR_TUI_ALL): Delete.
8383 (SUBDIR_TUI_CLEAN, SUBDIR_TUI_INSTALL): Delete.
8384 (SUBDIR_TUI_UNINSTALL, SUBDIR_CLI_CLEAN): Delete.
8385
6ba8e26f 83862004-02-07 Andrew Cagney <cagney@redhat.com>
d836ee13 8387
20d286a5
AC
8388 * Makefile.in: Update all dependencies.
8389
d836ee13
AC
8390 * configure.in (CONFIG_INITS, CONFIG_LIB_OBS): Delete.
8391 * configure: Re-generate.
8392 * Makefile.in (INIT_FILES): Replace CONFIG_INITS with CONFIG_SRCS.
8393 (CONFIG_LIB_OBS, CONFIG_INITS): Delete.
8394 (COMMON_OBS): Add "main.o" and "annotate.o".
8395 (ANNOTATE_OBS): Delete.
8396 (OBS): Remove ANNOTATE_OBS.
8397 (DEPFILES): Replace CONFIG_LIB_OBS with CONFIG_LIB_OBS, remove
8398 CONFIG_INITS.
8399 (gdb$(EXEEXT), insight$(EXEEXT)): Do not depend on, or link
8400 against CONFIG_OBS and "main.o".
8401 (SUBDIR_CLI_INITS, SUBDIR_MI_INITS): Delete.
8402 (SUBDIR_TUI_INITS, SUBDIR_GDBTK_INITS): Delete.
8403
d02c80cd
AC
8404 * tui/tui-command.c: Include "gdb_string.h", delete register
8405 attribute, use ISO-C function signatures.
8406 * tui/tui-disasm.c, tui/tui-file.c, tui/tui-io.c: Ditto.
8407 * tui/tui-layout.c, tui/tui-regs.c, tui/tui-source.c: Ditto.
8408 * tui/tui-stack.c, tui/tui-win.c, tui/tui-winsource.c: Ditto.
8409 * tui/tui.c: Ditto.
6ba8e26f
AC
8410
8411 * tui/tui-command.c: Change variable and function names to lower
8412 case.
8413 * tui/tui-data.c, tui/tui-disasm.c: Ditto.
8414 * tui/tui-hooks.c, tui/tui-io.c, tui/tui-layout.c: Ditto.
8415 * tui/tui-regs.c, tui/tui-source.c, tui/tui-stack.c: Ditto.
8416 * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
8417 * tui/tui-winsource.c, tui/tui.c: Ditto.
8418
4a146b47
EZ
84192004-02-07 Elena Zannoni <ezannoni@redhat.com>
8420
8421 * buildsym.c (free_pending_blocks, finish_block)
8422 (record_pending_block, make_blockvector, end_symtab): Replace
8423 symbol_obstack with objfile_obstack.
8a1dac83 8424 * coffread.c (process_coff_symbol, coff_read_struct_type)
4a146b47 8425 (coff_read_enum_type): Ditto.
8a1dac83 8426 * cp-namespace.c (initialize_namespace_symtab)
4a146b47 8427 (check_one_possible_namespace_symbol): Ditto.
8a1dac83 8428 * dwarf2read.c (new_symbol, dwarf2_const_value, macro_start_file)
4a146b47
EZ
8429 (dwarf2_symbol_mark_computed): Ditto.
8430 * dwarfread.c (enum_type, new_symbol, synthesize_typedef): Ditto.
8431 * elfread.c (elf_symtab_read): Ditto.
8432 * hpread.c (hpread_symfile_init, hpread_symfile_init)
8433 (hpread_read_enum_type, hpread_read_function_type)
8434 (hpread_read_doc_function_type, hpread_process_one_debug_symbol):
8435 Ditto.
8a1dac83 8436 * jv-lang.c (get_java_class_symtab, add_class_symbol)
4a146b47 8437 (java_link_class_type): Ditto.
8a1dac83 8438 * mdebugread.c (parse_symbol, psymtab_to_symtab_1, new_symtab)
4a146b47
EZ
8439 (new_symbol): Ditto.
8440 * minsyms.c (install_minimal_symbols): Ditto.
8441 * objfiles.c (allocate_objfile): Remove init of symbol_obstack.
8442 (terminate_minimal_symbol_table): Replace symbol_obstack with
8443 objfile_obstack.
8444 (free_objfile): Remove freeing of symbol_obstack.
8445 * objfiles.h: Remove symbol_obstack field.
8446 * pa64solib.c (add_to_solist): Replace symbol_obstack with
8447 objfile_obstack.
8448 * solib-sunos.c (allocate_rt_common_objfile): Remove init of
8449 symbol_obstack.
8450 (solib_add_common_symbols): Replace symbol_obstack with
8451 objfile_obstack.
8452 * somsolib.c (som_solib_add): Ditto.
8453 * stabsread.c (patch_block_stabs, define_symbol, read_enum_type)
8454 (common_block_start, common_block_end): Ditto.
8455 * symfile.c (reread_symbols): Remove freeing and init of
8456 symbol_obstack.
8457 (allocate_symtab): Rename symbol_obstack to objfile_obstack.
8458 * symfile.h: Update comment.
8459 * symmisc.c (print_objfile_statistics): Remove symbol_obstack
8460 stats printing.
8461 * symtab.c (symbol_set_names): Replace symbol_obstack with
8462 objfile_obstack.
8463 * symtab.h (struct general_symbol_info, struct minimal_symbol):
8464 Update comments.
8465 * xcoffread.c (read_xcoff_symtab, SYMBOL_DUP, SYMNAME_ALLOC)
8466 (init_stringtab, xcoff_initial_scan): Replace symbol_obstack with
8467 objfile_obstack.
8468
6d012f14
AC
84692004-02-07 Andrew Cagney <cagney@redhat.com>
8470
8471 * tui/tui.h: Do not include <stdarg.h>, <string.h>, and
8472 "ansidecl.h". Do not undef "reg" and "chtype". Fix case of
8473 fields and variables.
8474 * tui/tui-wingeneral.h (m_beVisible): Delete macro.
8475 (m_beInvisible): Delete macro.
8476 * tui/tui-data.h: Fix case case fields and variables.
8477 (m_genWinPtrIsNull): Delete macro.
8478 (tui_win_list): Rename winList.
8479 (TUI_SRC_WIN): Rename srcWin.
8480 (TUI_DISASM_WIN): Rename disassemWin.
8481 (TUI_DATA_WIN): Rename dataWin.
8482 (TUI_CMD_WIN): Rename cmdWin.
8483 (m_genWinPtrNotNull): Delete macro.
8484 (m_winPtrIsNull): Delete macro.
8485 (m_winPtrNotNull): Delete macro.
8486 (tui_win_is_source_type): Replace m_winIsSourceType
8487 (tui_win_is_auxillary): Replace m_winIsAuzillary.
8488 (tui_win_has_locator): Replace m_hasLocator.
8489 (tui_set_win_highlight): Replace m_setWinHighlightOn and
8490 m_setWinHighlightOff.
8491 * tui/tui-data.c: Update references.
8492 (tui_win_is_source_type, tui_set_win_highlight): New functions.
8493 (tui_win_has_locator, tui_win_is_auxillary): New functions.
8494 * tui/tui-command.c, tui/tui-disasm.c: Update references.
8495 * tui/tui-io.c, tui/tui-layout.c, tui/tui-regs.c: Ditto.
8496 * tui/tui-regs.h, tui/tui-source.c, tui/tui-stack.c: Ditto.
8497 * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
8498 * tui/tui-winsource.c, tui/tui.c: Ditto.
8499
7d34766b
MK
85002004-02-07 Mark Kettenis <kettenis@gnu.org>
8501
1c800673
MK
8502 * sparc-tdep.h (sparc_fetch_wcookie): New prototype.
8503 * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): Handle
8504 StackGhost.
8505
7d34766b
MK
8506 * sparc-tdep.c (sparc32_frame_prev_register): Rename local
8507 variable `i6' to `i7'.
8508 (sparc_supply_rwindow, sparc_collect_rwindow): Likewise.
8509
22940a24
AC
85102004-02-07 Andrew Cagney <cagney@redhat.com>
8511
8512 * tui/tui.h (Opaque, OpaquePtr OpaqueList): Delete definition.
8513 (TuiPoint, TuiPointPtr): Ditto.
8514 (TuiStatus, TuiStatusPtr): Ditto.
8515 (TuiWinType, TuiWinTypePtr): Ditto.
8516 (struct tui_point): Rename _TuiPoint.
8517 (tui_get_low_disassembly_address): Rename
8518 tuiGetLowDisassemblyAddress.
8519 (tui_update_all_exec_infos): Rename tuiUpdateAllExecInfos.
8520 (tuiFree): Delete declaration.
8521 (OpaqueFuncPtr, TuiOpaqueFuncPtr): Delete definitions.
8522 (TuiVoidFuncPtr, TuiIntFuncPtr): Delete definitions.
8523 * tui/tui.c (tuiFree): Delete function.
8524 * cli/cli-cmds.c (disassemble_command): Update references.
8525 * tui/tui-data.c, tui/tui-data.h, tui/tui-disasm.c: Ditto.
8526 * tui/tui-layout.c, tui/tui-regs.c, tui/tui-source.c: Ditto.
8527 * tui/tui-stack.c, tui/tui-win.c, tui/tui-wingeneral.c: Ditto.
8528 * tui/tui-winsource.c: Ditto.
8529
8b92e4d5
EZ
85302004-02-07 Elena Zannoni <ezannoni@redhat.com>
8531
8532 * dbxread.c (dbx_symfile_init, start_psymtab, end_psymtab,
8533 coffstab_build_psymtabs, elfstab_build_psymtabs)
8534 (stabsect_build_psymtabs): Replace psymbol_obstack with
8535 objfile_obstack.
8536 * dwarf2-frame.c (decode_frame_entry_1): Ditto.
8537 * dwarf2read.c (dwarf2_build_psymtabs_hard, dwarf2_read_section):
8538 Ditto.
8539 * dwarfread.c (scan_compilation_units): Ditto.
8540 * elfread.c (elfstab_offset_sections): Ditto.
8541 * hppa-tdep.c (read_unwind_info): Ditto.
8542 * hpread.c (hpread_build_psymtabs, hpread_start_psymtab)
8543 (hpread_end_psymtab): Ditto.
8544 * mdebugread.c (mdebug_build_psymtabs, add_pending)
8545 (parse_partial_symbols, new_psymtab, elfmdebug_build_psymtabs):
8546 Ditto.
8547 * mips-tdep.c (non_heuristic_proc_desc): Ditto.
8a1dac83 8548 * objfiles.c (add_to_objfile_sections)
8b92e4d5
EZ
8549 (build_objfile_section_table): Ditto.
8550 (allocate_objfile): Remove init of psymbol_obstack.
8551 (free_objfile): Remove freeing of psymbol_obstack.
8552 * objfiles.h (struct objfile): Remove field
8553 psymbol_obstack. Update comments.
8554 * pa64solib.c (pa64_solib_add_solib_objfile): Replace
8555 psymbol_obstack with objfile_obstack.
8556 * solib-sunos.c (allocate_rt_common_objfile): Remove init of
8557 psymbol_obstack.
8558 * somread.c (som_symfile_offsets, init_import_symbols)
8559 (init_export_symbols): Replace psymbol_obstack with
8560 objfile_obstack.
8561 * somsolib.c (som_solib_add_solib_objfile): Ditto.
8562 * symfile.c (default_symfile_offsets, syms_from_objfile)
8563 (reread_symbols): Remove freeing and init of psymbol_obstack.
8564 (cashier_psymtab): Update comment.
8565 * symmisc.c (print_objfile_statistics): Don't report stats for
8566 psymbol obstack.
8567 * symtab.h (struct general_symbol_info, struct partial_symtab):
8568 Update comments.
8569 * xcoffread.c (xcoff_start_psymtab, xcoff_end_psymtab, swap_sym)
8570 (xcoff_symfile_offsets): Replace psymbol_obstack with
8571 objfile_obstack.
8572
b99607ea
EZ
85732004-02-07 Elena Zannoni <ezannoni@redhat.com>
8574
8575 * objfiles.h (struct objfile): Add objfile_obstack field.
8576 Remove type_obstack field.
8577
8578 * dwarf2read.c (dwarf2_add_field,dwarf2_add_member_fn,
8579 read_structure_scope read_enumeration, new_symbol): Replace
8580 type_obstack with objfile_obstack.
8581 * dwarfread.c (struct_type, enum_type): Ditto.
8a1dac83 8582 * gdbtypes.c (alloc_type, alloc_type_instance, init_type)
b99607ea
EZ
8583 (lookup_fundamental_type): Ditto.
8584 * gdbtypes.h (TYPE_ALLOC): Ditto.
8a1dac83
RM
8585 * hpread.c (hpread_read_enum_type, hpread_read_function_type)
8586 (hpread_read_doc_function_type, hpread_read_struct_type)
8587 (fix_static_member_physnames, hpread_read_array_type)
b99607ea 8588 (hpread_read_subrange_type, hpread_type_lookup): Ditto.
8a1dac83 8589 * jv-lang.c (java_lookup_class, type_from_class, type_from_class)
b99607ea
EZ
8590 (java_link_class_type): Ditto.
8591 * mdebugread.c (parse_type): Ditto.
8592 * objfiles.c (allocate_objfile, free_objfile): Ditto.
8593 * solib-sunos.c (solib_add_common_symbols): Ditto.
8594 * stabsread.c (define_symbol, read_type, read_member_functions,
8595 read_cpp_abbrev, read_one_struct_field): Ditto.
8596 * symfile.c (reread_symbols): Ditto.
8597 * symmisc.c (print_objfile_statistics): Ditto.
8a1dac83 8598
2a8854a7
AC
85992004-02-07 Andrew Cagney <cagney@redhat.com>
8600
8601 * tui/tui-data.h (tui_win_element): Rename TuiWinElement.
8602 (tui_exec_info_content): Rename TuiExecInfoContent.
8603 (TuiGenWinInfo, TuiGenWinInfoPtr): Delete definitions.
8604 (TuiWinInfo, TuiWinInfoPtr): Ditto.
8605 (TuiScrollDirection, TuiScrollDirectionPtr): Ditto.
8606 (TuiList, TuiListPtr): Ditto.
8607 (TuiLayoutType, TuiLayoutTypePtr): Ditto.
8608 (TuiDataType, TuiDataTypePtr): Ditto.
8609 (TuiRegisterDisplayType, TuiRegisterDisplayTypePtr): Ditto.
8610 (TuiLineOrAddress, TuiLineOrAddressPtr): Ditto.
8611 (TuiLayoutDef, TuiLayoutDefPtr): Ditto.
8612 (TuiSourceElement, TuiSourceElementPtr): Ditto.
8613 (TuiDataElement, TuiDataElementPtr): Ditto.
8614 (TuiWinElement, TuiWinElementPtr): Ditto.
8615 (TuiDataInfo, TuiDataInfoPtr): Ditto.
8616 (TuiCommandElement, TuiCommandElementPtr): Ditto.
8617 (TuiLocatorElement, TuiLocatorElementPtr): Ditto.
8618 (TuiWhichElement, TuiWhichElementPtr): Ditto.
8619 (TuiSourceInfo, TuiSourceInfoPtr): Ditto.
8620 (TuiCommandInfo, TuiCommandInfoPtr): Ditto.
8621 * tui/tui-command.c, tui/tui-data.c: Update references.
8622 * tui/tui-data.h, tui/tui-disasm.c, tui/tui-layout.c: Ditto.
8623 * tui/tui-regs.c, tui/tui-source.c, tui/tui-stack.c: Ditto.
8624 * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
8625 * tui/tui-winsource.c, tui/tui.c: Ditto.
8a1dac83 8626
05cbe71a
MK
86272004-02-07 Mark Kettenis <kettenis@gnu.org>
8628
8629 * dwarf2-frame.h: Update copyright.
8630 (enum dwarf2_frame_reg_rule): New.
8631 (struct dwarf2_frame_state_reg): New.
8632 (dwarf2_frame_sniffer, dwarf2_frame_base_sniffer): Make extern.
8633 * dwarf2-frame.c: Update copyright.
8634 (enum dwarf2_reg_rule): Remove.
8635 (struct dwarf2_frame_state): Remove defenition of `struct
8636 dwarf2_frame_state_reg'.
8637 (read_reg): Call get_frame_arch to get the architecture instead of
8638 using CURRENT_GDBARCH.
8639 (execute_cfa_program): Prefix old `enum dwarf2_reg_rule' tags with
8640 DWARF2_FRAME_.
8641 (dwarf2_frame_init_reg): New function.
8642 (dwarf2_frame_cache): Call get_frame_arch to get the architecture
8643 instead of using CURRENT_GDBARCH. Call dwarf2_frame_init_reg to
8644 initialize the register state. Prefix old `enum dwarf2_reg_rule'
8645 tags with DWARF2_FRAME_.
8646 (dwarf2_frame_prev_register): Call get_frame_arch to get the
8647 architecture instead of using CURRENT_GDBARCH. Prefix old `enum
8648 dwarf2_reg_rule' tags with DWARF2_FRAME_.
8649
ec7d9e56
AC
86502004-02-06 Andrew Cagney <cagney@redhat.com>
8651
dd1abb8c
AC
8652 * tui/tui-data.h (struct tui_list): Rename _TuiList.
8653 (enum tui_data_type): Rename _TuiDataType.
8654 (struct tui_layout_def): Rename _TuiLayoutDef.
8655 (struct tui_source_element): Rename _TuiSourceElement.
8656 (struct tui_data_element): Rename _TuiDataElement.
8657 (struct tui_command_element): Rename _TuiCommandElement.
8658 (struct tui_locator_element): Rename _TuiLocatorElement.
8659 (union tui_which_element): Define.
8660 (struct tui_win_element): Rename _TuiWinElement.
8661 (struct tui_data_info): Rename _TuiDataInfo.
8662 (struct tui_source_info): Rename _TuiSourceInfo.
8663 (struct tui_command_info): Rename _TuiCommandInfo.
8664 (tui_initialize_static_data): Rename initializeStaticData.
8665 (tui_alloc_generic_win_info): Rename allocGenericWinInfo.
8666 (tui_alloc_win_info): Rename allocWinInfo.
8667 (tui_init_generic_part): Rename initGenericPart.
8668 (tui_init_win_info): Rename initWinInfo.
8669 (tui_alloc_content): Rename allocContent.
8670 (tui_add_content_elements): Rename addContentElements.
8671 (tui_init_content_element): Rename initContentElement.
8672 (tui_free_window): Rename freeWindow.
8673 (tui_free_win_content): Rename freeWinContent.
8674 (tui_free_data_content): Rename freeDataContent.
8675 (tui_free_all_source_wins_content): Rename
8676 freeAllSourceWinsContent.
8677 (tui_del_window): Rename tuiDelWindow.
8678 (tui_del_data_windows): Rename tuiDelDataWindows.
8679 (tui_partial_win_by_name): Rename partialWinByName.
8680 (tui_win_name): Rename winName.
8681 (tui_current_layout): Rename currentLayout.
8682 (tui_set_current_layout_to): Rename setCurrentLayoutTo.
8683 (tui_term_height): Rename termHeight.
8684 (tui_set_term_height_to): Rename setTermHeightTo.
8685 (tui_term_width): Rename termWidth.
8686 (tui_set_term_width_to): Rename setTermWidthTo.
8687 (tui_set_gen_win_origin): Rename setGenWinOrigin.
8688 (tui_locator_win_info_ptr): Rename locatorWinInfoPtr.
8689 (tui_source_exec_info_win_ptr): Rename tui_gen_win_info.
8690 (tui_disassem_exec_info_win_ptr): Rename disassemExecInfoWinPtr.
8691 (tui_source_windows): Rename sourceWindows.
8692 (tui_clear_source_windows): Rename clearSourceWindows.
8693 (tui_clear_source_windows_detail): Rename
8694 clearSourceWindowsDetail.
8695 (tui_clear_win_detail): Rename clearWinDetail.
8696 (tui_add_to_source_windows): Rename tuiAddToSourceWindows.
8697 (tui_default_tab_len): Rename tuiDefaultTabLen.
8698 (tui_set_default_tab_len): Rename tuiSetDefaultTabLen.
8699 (tui_win_with_focus): Rename tuiWinWithFocus.
8700 (tui_set_win_with_focus): Rename tuiSetWinWithFocus.
8701 (tui_layout_def): Rename tuiLayoutDef.
8702 (tui_win_resized): Rename tuiWinResized.
8703 (tui_set_win_resized_to): Rename tuiSetWinResizedTo.
8704 (tui_next_win): Rename tuiNextWin.
8705 (tui_prev_win): Rename tuiPrevWin.
8706 (tui_add_to_source_windows): Rename addToSourceWindows.
8707 * tui/tui-winsource.c, tui/tui-win.c: Update references.
8708 * tui/tui-layout.c, tui/tui-source.c: Ditto.
8709 * tui/tui-stack.c, tui/tui-io.c: Ditto.
8710 * tui/tui.c, tui/tui-data.c: Ditto.
8711 * tui/tui-interp.c, tui/tui-data.c: Ditto.
8712 * tui/tui-disasm.c, tui/tui-command.c: Ditto.
8713
a358af15
AC
8714 * tui/tui-source.h: Update copyright. Include "tui-data.h".
8715 (struct symtab): Declare.
8716 (tui_set_source_content): Rename tuiSetSourceContent.
8717 (tui_show_symtab_source): Rename tuiShowSource.
8718 (tui_source_is_displayed): Rename tuiSourceIsDisplayed.
8719 (tui_vertical_source_scroll): Rename tuiVerticalSourceScroll.
8720 * tui/tui-source.c: Update copyright. Update references.
8721 * tui/tui-win.c, tui/tui-winsource.c: Update references.
8722 * tui/tui-stack.c: Update references.
8723
a21fcd8f
AC
8724 * tui/tui-win.h: Update copyright. Include "tui-data.h".
8725 (struct tui_win_info): Declare.
8726 (tui_scroll_forward): Rename tuiScrollForward.
8727 (tui_scroll_backward): Rename tuiScrollBackward.
8728 (tui_scroll_left): Rename tuiScrollLeft.
8729 (tui_scroll_right): Rename tuiScrollRight.
8730 (tui_set_win_focus_to): Rename tuiSetWinFocusTo.
8731 (tui_resize_all): Rename tuiResizeAll.
8732 (tui_refresh_all_win): Rename tuiRefreshAll.
8733 (tui_sigwinch_handler): Rename tuiSigwinchHandler.
8734 * tui/tui-layout.c, * tui/tui-io.c: Update references.
8735 * tui/tui-wingeneral.h, * tui/tui.c: Update references.
8736 * tui/tui-disasm.c, * tui/tui-command.c: Update references.
8737
edae1ccf
AC
8738 * tui/tui-windata.h: Update copyright. Include "tui-data.h".
8739 (tui_erase_data_content): Rename tuiEraseDataContent.
8740 (tui_display_all_data): Rename tuiDisplayAllData.
8741 (tui_check_data_values): Rename tuiCheckDataValues.
8742 (tui_display_data_from_line): Rename tuiDisplayDataFromLine.
8743 (tui_first_data_item_displayed): Rename tuiFirstDataItemDisplayed.
8744 (tui_first_data_element_no_in_line): Rename
8745 tuiFirstDataElementNoInLine.
8746 (tui_delete_data_content_windows): Rename
8747 tuiDeleteDataContentWindows.
8748 (tui_refresh_data_win): Rename tuiRefreshDataWin.
8749 (tui_display_data_from): Rename tuiDisplayDataFrom.
8750 (tui_vertical_data_scroll): Rename tuiVerticalDataScroll.
8751 * tui/tui-windata.c, tui/tui-hooks.c: Update references.
8752 * tui/tui-win.c, tui/tui-regs.c: Update references.
8753 * tui/tui-layout.c, tui/tui.c: Update references.
8754
ec7d9e56
AC
8755 * tui/tui-wingeneral.h: Update copyright.
8756 (m_allBeVisible): Delete macro.
8a1dac83 8757 (m_allBeInvisible): Delete macro.
ec7d9e56
AC
8758 (struct tui_gen_win_info): Declare.
8759 (struct tui_win_info): Declare.
8760 (tui_unhighlight_win): Rename unhighlightWin.
8761 (tui_make_visible, tui_make_invisible): Replace makeVisible.
8762 (tui_make_all_visible, tui_make_all_invisible): Replace makeAllVisible.
8763 (tui_make_window): Rename makeWindow.
8764 (tui_copy_win): Rename copyWin.
8765 (tui_box_win): Rename boxWin.
8766 (tui_highlight_win): Rename highlightWin.
8767 (tui_check_and_display_highlight_if_needed): Rename
8768 checkAndDisplayHighlightIfNeeded.
8769 (tui_refresh_all): Rename refreshAll.
8770 (tui_delete_win): Rename tuiDelwin.
8771 (tui_refresh_win): Rename tuiRefreshWin.
8772 * tui/tui-wingeneral.c (make_visible): Rename makeVisible.
8773 (tui_make_visible, tui_make_invisible): New functions.
8774 (tui_make_all_visible, tui_make_all_invisible): New functions.
8775 (make_all_visible): Rename makeAllVisible.
8776 * tui/tui-winsource.c, tui/tui-windata.c: Update references.
8777 * tui/tui-data.c, tui/tui-winsource.c: Update references.
8778 * tui/tui-windata.c, tui/tui-win.c: Update references.
8779 * tui/tui-regs.c, tui/tui-layout.c: Update references.
8780 * tui/tui-data.h (struct tui_gen_win_info): Rename _TuiGenWinInfo.
8781
1e52e2eb
MK
87822004-02-06 Mark Kettenis <kettenis@gnu.org>
8783
8784 * proc-api.c (write_with_trace): Initialize local variable to
8785 silence compiler warning.
8786
f80bda8e
AC
87872004-02-06 Andrew Cagney <cagney@redhat.com>
8788
8789 * tui/tui-source.h: Do not include "defs.h".
8790 (struct tui_win_info): Declare.
8791 (tui_set_source_content_nil): Declare.
8792 * tui/tui-data.h (struct tui_win_info): Rename _TuiWinInfo.
8793 (union tui_line_or_address): Rename _TuiLineOrAddress.
8794 * tui/tui-winsource.h: Update copyright. Include "tui-data.h".
8795 (tui_update_source_window): Rename tuiUpdateSourceWindow.
8796 (tui_update_source_window_as_is): Rename
8797 tuiUpdateSourceWindowAsIs.
8798 (tui_update_source_windows_with_addr): Rename
8799 tuiUpdateSourceWindowsWithAddr.
8800 (tui_update_source_windows_with_line): Rename
8801 tuiUpdateSourceWindowsWithLine.
8802 (tui_clear_source_content): Rename tuiClearSourceContent.
8803 (tui_erase_source_content): Rename tuiEraseSourceContent.
8804 (tui_set_source_content_nil): Rename tuiSetSourceContentNil.
8805 (tui_show_source_content): Rename tuiShowSourceContent.
8806 (tui_horizontal_source_scroll): Rename tuiHorizontalSourceScroll.
8807 (tui_set_exec_info_content): Rename tuiSetExecInfoContent.
8808 (tui_show_exec_info_content): Rename tuiShowExecInfoContent.
8809 (tui_erase_exec_info_content): Rename tuiEraseExecInfoContent.
8810 (tui_clear_exec_info_content): Rename tuiClearExecInfoContent.
8811 (tui_update_exec_info): Rename tuiUpdateExecInfo.
8812 (tui_set_is_exec_point_at): Rename tuiSetIsExecPointAt.
8813 (tui_alloc_source_buffer): Rename tuiAllocSourceBuffer.
8814 (tui_line_is_displayed): Rename tuiLineIsDisplayed.
8815 (tui_addr_is_displayed): Rename tuiAddrIsDisplayed.
8816 (struct tui_win_info): Declare.
8817 * tui/tui-stack.c: Update references.
8818 * tui/tui-layout.c, tui/tui-winsource.c: Ditto.
8819 * tui/tui-win.c, tui/tui-source.c: Ditto.
8820 * tui/tui.c, tui/tui-disasm.c: Ditto.
8821
9fbfb822
MK
88222004-02-06 Mark Kettenis <kettenis@gnu.org>
8823
8824 * i386-linux-tdep.c (i386_linux_sigcontext_addr): Fix calculation
8825 of UCONTEXT_ADDR. Fixes PR backtrace/1545.
8826
03cebad2
MK
88272004-02-05 Mark Kettenis <kettenis@gnu.org>
8828
8829 * infrun.c (handle_inferior_event): Allow for breakpoint
8830 instructions to generate a SIGSEGV in addition to SIGTRAP, SIGILL
8831 and SIGEMT. Update comments.
8832 * NEWS (Revised SPARC target): Mention support for non-executable
8833 stack.
8834
290281b1
MK
88352004-02-04 Mark Kettenis <kettenis@gnu.org>
8836
8837 * target.h (target_object): Add TARGET_OBJECT_WCOOKIE.
8838 * inftarg.c: Update copyright year.
8839 (child_xfer_partial): Add support for TARGET_OBJECT_WCOOKIE.
8840 * sparc-nat.c: Include "target.h" and "gdb_assert.h".
8841 (sparc_xfer_wcookie): New function.
8842 * sparc-tdep.c (sparc_fetch_wcookie): New function.
8843 * Makefile.in (sparc-nat.o): Update dependencies.
8844 * config/sparc/nm-nbsd.h: Include "target.h".
8845 (NATIVE_XFER_WCOOKIE): New define.
8846 (sparc_xfer_wcookie): New prototype.
8847
212161df
AC
88482004-02-04 Andrew Cagney <cagney@redhat.com>
8849
8850 * m68k-tdep.c (m68k_saved_pc_after_call): Delete #ifdef
8851 SYSCALL_TRAP function.
8852 (m68k_gdbarch_init): Delete #ifdef SYSCALL_TRAP code.
8853
6e4c6c91
DJ
88542004-02-04 Andrew Cagney <cagney@redhat.com>
8855 Daniel Jacobowitz <drow@mvista.com>
8856
8857 * objfiles.h: Delete comments refering to inside_entry_func and
8858 DEPRECATED_FRAME_CHAIN_VALID.
8859 * defs.h (inside_entry_func): Update prototype..
8860 * blockframe.c (inside_entry_func): Rename to
8861 legacy_inside_entry_func. Add new inside_entry_func taking a frame.
8862 * frame.c (get_prev_frame): Pass the frame to inside_entry_func.
8863
cae688ec
JJ
88642004-02-03 Jeff Johnston <jjohnstn@redhat.com>
8865
8866 * breakpoint.c (struct captured_parse_breakpoint_args): Move
8867 outside of #ifdef SOLIB_ADD region.
8868 (do_restore_lang_radix_cleanup): Ditto.
8869 (resolve_pending_breakpoint): Ditto.
8870
19217676
AC
88712004-02-03 Andrew Cagney <cagney@redhat.com>
8872
8873 * ia64-tdep.c (read_sigcontext_register): Delete unused function.
8874 (process_note_abi_tag_sections): Delete unused function.
8875 (ia64_read_fp): Delete unused function.
8876 (gdbarch_extract_struct_value_address): Delete declaration.
8877
876753be
AC
88782004-02-02 Andrew Cagney <cagney@redhat.com>
8879
8880 * vax-tdep.c (vax_frame_chain): Delete call to
8881 deprecated_inside_entry_file.
8882 * ns32k-tdep.c (ns32k_frame_chain): Ditto.
8883
d4f10bf2
MK
88842004-02-02 Mark Kettenis <kettenis@gnu.org>
8885
8886 * dwarf2-frame.c (dwarf2_frame_cache): Deal with a return address
8887 column that's "empty" or "same value" when eliminating REG_RA
8888 rules.
8889
cae688ec
JJ
88902004-02-02 Jeff Johnston <jjohnstn@redhat.com>
8891
8892 * NEWS: Add information about new pending breakpoint support.
8893
0101ce28
JJ
88942004-02-02 Jeff Johnston <jjohnstn@redhat.com>
8895
8896 * breakpoint.h (struct breakpoint): Add new flag, from_tty,
8897 and pending fields for pending breakpoint support.
8898 * breakpoint.c (breakpoint_enabled): Add check for not pending.
8899 (condition_command): Only parse condition if not a pending
8900 breakpoint.
8901 (print_one_breakpoint): Add support for pending breakpoints.
8902 (describe_other_breakpoints): Add checks to verify we are not
8903 dealing with pending breakpoints.
8904 (check_duplicates): Don't check pending breakpoints.
8905 (set_raw_breakpoint): Initialize pending flag.
8906 (do_restore_lang_radix_cleanup): New cleanup routine.
8907 (resolve_pending_breakpoint): New function.
8908 (re_enable_breakpoints_in_shlibs): Try and resolve any
8909 pending breakpoints via resolve_pending_breakpoint.
8910 (mention): Add pending breakpoint support.
8911 (parse_breakpoint_sals): Add new parameter to pass to
8912 decode_line_1 to indicate silent errors when files or functions
8913 are not found. Change all callers.
8914 (do_captured_parse_breakpoint): New function.
8915 (break_command_1): Change prototype to return an rc value and to
8916 take an optional pending breakpoint pointer. Support creating
8917 a pending breakpoint if a "not found" form of error occurs when
8918 parsing the breakpoint. Also support resolving an existing pending
8919 breakpoint and be silent if the resolution fails.
8920 (create_breakpoints): Change prototype to take pending breakpoint
8921 pointer. When resolving a pending breakpoint, use the new pointer
8922 to provide a conditional or commands added by the end-user.
8923 (delete_breakpoint): Add appropriate check for pending.
8924 (breakpoint_re_set_one): Ditto.
8925 (do_enable_breakpoint): Ditto.
8926
8d577d32
DC
89272004-02-02 David Carlton <carlton@kealia.com>
8928
8929 * valops.c (enum oload_classification): New.
8930 (find_overload_match): Break implementation into separate
8931 functions; delete #if 0'd code; look for symbols within
8932 namespaces.
8933 (find_oload_champ_namespace,find_oload_champ_namespace_loop)
8934 (find_oload_champ,oload_method_static,classify_oload_match): New.
8935 * cp-support.h: Add declaration for cp_func_name; update
8936 declaration for make_symbol_overload_list.
8937 * cp-support.c (cp_func_name): New.
8938 (overload_list_add_symbol): Fix comment, use
8939 SYMBOL_LINKAGE_NAME and SYMBOL_NATURAL_NAME.
8940 (make_symbol_overload_list): Take a function name and a namespace
8941 instead of a symbol; change implementation.
8942 (make_symbol_overload_list_using): New.
8943 (make_symbol_overload_list_qualified, read_in_psymtabs): New.
8944
22e8e3c7
FF
89452004-02-02 Fred Fish <fnf@redhat.com>
8946
8947 * main.c (gdb_stdtarg): Move definition to group with other
15390fef 8948 gdb_stdtarg definitions and update copyright years.
22e8e3c7
FF
8949 * remote-sim.c (gdb_os_write_stderr): Write output to
8950 gdb_stdtargerr stream instead of gdb_stdtarg stream.
8951 (gdb_os_flush_stderr): Flush gdb_stdtargerr steam instead of
15390fef 8952 gdb_stderr stream and update copyright years.
22e8e3c7 8953
6b753f60
DJ
89542004-02-01 Daniel Jacobowitz <drow@mvista.com>
8955
8956 * Makefile.in (mips-linux-nat.o): Update dependencies.
8957 * mips-linux-nat.c: Include mips-tdep.h.
8958
89592004-02-01 Roland McGrath <roland@redhat.com>
2cb6b099
RM
8960
8961 * sol-thread.c (sol_thread_xfer_partial): New function.
8962 (init_sol_thread_ops): Use that for to_xfer_partial hook.
8963 (init_sol_core_ops): Likewise.
8964
8965 * procfs.c (procfs_xfer_partial): New function.
8966 (init_procfs_ops): Use that for procfs_ops.to_xfer_partial.
8967 * Makefile.in (procfs.o): Add $(auxv_h) dep.
8968
8969 * config/nm-linux.h (NATIVE_XFER_AUXV): New macro, uses auxv.c's
8970 procfs_xfer_auxv function.
8971
8972 * procfs.c (procfs_make_note_section): If we can read
8973 TARGET_OBJECT_AUXV data, add an NT_AUXV note containing it.
8974 * linux-proc.c (linux_make_note_section): Likewise.
8975
8976 * auxv.h: New file.
8977 * auxv.c: New file.
8978 * Makefile.in (auxv_h): New variable.
8979 (COMMON_OBS): Add auxv.o here.
8980 (auxv.o): New target.
8981
8982 * corelow.c (core_xfer_partial): New function.
8983 (init_core_ops): Use it for core_ops.to_xfer_partial.
8984
8985 * target.h (enum target_object): Add TARGET_OBJECT_AUXV.
8986 * inftarg.c (child_xfer_partial): Support it using NATIVE_XFER_AUXV
8987 macro if that is defined.
8988
fa5281d0
DJ
89892004-02-01 Daniel Jacobowitz <drow@mvista.com>
8990
8991 * breakpoint.c (bpstat_stop_status): Take a ptid_t argument,
8992 and check the specified thread for each breakpoint.
8993 * breakpoint.h (bpstat_stop_status): Update prototype.
8994 * infrun.c (handle_inferior_event): Update calls to
8995 bpstat_stop_status.
8996
26ee262d
DJ
89972004-02-01 Daniel Jacobowitz <drow@mvista.com>
8998
8999 * Makefile.in (cli-cmds.o): Add $(readline_h).
9000
d9b52655
DJ
90012004-02-01 Daniel Jacobowitz <drow@mvista.com>
9002
9003 * cli/cli-cmds.c: Include readline.h.
9004 (complete_command): Pass the start of the last word to
9005 complete_line.
9006
9709f61c
DJ
90072004-01-31 Daniel Jacobowitz <drow@mvista.com>
9008
9009 * breakpoint.c (bpstat_stop_status): Remove not_a_sw_breakpoint
9010 argument, and change first argument to a CORE_ADDR.
9011 * breakpoint.h (bpstat_stop_status): Update prototype.
9012 * infrun.c (adjust_pc_after_break): Add a new comment.
9013 (handle_inferior_event): Update calls to bpstat_stop_status.
9014
4f1280bb
DJ
90152004-01-31 Daniel Jacobowitz <drow@mvista.com>
9016
9017 * breakpoint.h: Update copyright years.
9018
4fa8626c
DJ
90192004-01-31 Daniel Jacobowitz <drow@mvista.com>
9020
9021 * breakpoint.c (software_breakpoint_inserted_here_p): New function.
9022 (bpstat_stop_status): Don't decrement PC.
9023 * breakpoint.h (software_breakpoint_inserted_here_p): Add
9024 prototype.
9025 * infrun.c (adjust_pc_after_break): New function.
9026 (handle_inferior_event): Call it, early. Remove later references
9027 to DECR_PC_AFTER_BREAK.
9028 (normal_stop): Add commentary.
9029
fad0733a
DJ
90302004-01-31 Daniel Jacobowitz <drow@mvista.com>
9031
9032 * breakpoint.c (breakpoint_re_set_one): Add missing chunk of
9033 2004-01-27 double-free fix.
9034
42cdca6c
MK
90352004-01-31 Mark Kettenis <kettenis@gnu.org>
9036
9037 * sparc-tdep.c (sparc_fetch_wcookie): New function.
9038 (sparc32_frame_prev_register): Handle StackGhost.
9039 (sparc_supply_rwindow, sparc_collect_rwindow): Likewise.
9040
932d5416
RM
90412004-01-29 Roland McGrath <roland@redhat.com>
9042
9043 * configure.in (NEW_PROC_API): Also match solaris2.9 for this test.
9044 * configure: Regenerated.
9045
9046 * procfs.c: Include gdb_string.h for str* decls, otherwise warnings.
9047 * Makefile.in (procfs.o): Add dep.
9048
47d3492a
AC
90492004-01-28 Andrew Cagney <cagney@redhat.com>
9050
9051 * tui/tui-stack.h: Update copyright.
9052 (struct frame_info): Add opaque declaration.
9053 (tui_update_locator_filename): Rename tuiUpdateLocatorFilename.
9054 (tui_show_locator_content): Rename tuiShowLocatorContent.
9055 (tui_show_frame_info): Rename tuiShowFrameInfo.
9056 * tui/tui-stack.c: Update copyright. Update references.
9057 * tui/tui-winsource.c: Update references.
9058 * tui/tui-win.c: Update references.
9059 * tui/tui-layout.c: Update references.
9060 * tui/tui-hooks.c: Update copyright, update references.
9061 * tui/tui.c: Update copyright, update references.
9062 * tui/tui-disasm.c: Update references.
9063
5d51ca54
DC
90642004-01-28 David Carlton <carlton@kealia.com>
9065
9066 * dwarf2read.c (add_partial_structure): Use demangled name if
9067 namespace equals "".
9068
086ed43d
JB
90692004-01-27 Jim Blandy <jimb@redhat.com>
9070
9071 Clean up misapplied patch:
9072 * dwarf2read.c (determine_prefix): Change one of the two forward
9073 declarations for 'determine_prefix_aux' to a declaration for this.
9074 (read_func_scope): Use cu->language, not cu_language. Pass 'cu'
9075 argument to 'die_specification'.
9076
2a35147e
JB
9077 * dwarf2read.c (read_func_scope): Re-indent comment.
9078
a355c7de 90792004-01-27 Paul N. Hilfinger <hilfinger@gnat.com>
932d5416 9080
a355c7de
AC
9081 * breakpoint.c (breakpoint_re_set_one): Set b->cond, b->val, and
9082 b->exp to NULL after freeing so that error during re-parsing or
9083 evaluation of expressions associated with breakpoint don't
9084 eventually lead to re-freeing of storage.
9085 Committed by Andrew Cagney.
9086
63ff5125
AC
90872004-01-27 Andrew Cagney <cagney@redhat.com>
9088
9089 * source.c (ambiguous_line_spec): Delete undefined declaration.
9090 * m32r-rom.c (m32r_set_board_address): Delete unused function.
9091 (m32r_set_server_address, m32r_set_download_path): Ditto.
9092 * remote-fileio.c (remote_fileio_to_fio_int): Ditto.
9093
e142c38c
DJ
90942004-01-27 Daniel Jacobowitz <drow@mvista.com>
9095
9096 * dwarf2read.c: Update calls to changed and renamed functions, and
9097 references to moved variables.
9098
9099 (struct dwarf2_cu): Add first_fn, last_fn, cached_fn,
9100 language, language_defn, list_in_scope, and ftypes members.
9101 (cu_first_fn, cu_last_fn, cu_cached_fn, cu_language)
9102 (cu_language_defn, list_in_scope, ftypes, cu_header_offset)
9103 (baseaddr): Remove globals.
9104
9105 (dwarf_attr): Renamed to dwarf2_attr. Add CU argument.
9106 (set_cu_language, die_is_declaration, die_specification)
9107 (determine_prefix, determin_prefix_aux, class_name, namespace_name)
9108 (dwarf2_linkage_name, dwarf2_name, dwarf2_extension)
9109 (dwarf2_get_ref_die_offset, dwarf2_fundamental_type)
9110 (initialize_cu_func_list, add_to_cu_func_list): Add CU argument.
9111
9112 (dwarf2_build_psymtabs_hard): Add local baseaddr. Initialize
9113 cu.list_in_scope. Don't initialize cu_header_offset.
9114 (add_partial_symbol): Add local baseaddr.
9115 (psymtab_to_symtab_1): Add local baseaddr. Use
9116 objfile->section_offsets for consistency. Don't initialize
9117 cu_header_offset; do initialize cu.header.offset and
9118 cu.list_in_scope.
9119 (read_file_scope, read_func_scope, read_lexical_block_scope)
9120 (dwarf_decode_lines, new_symbol): Add local baseaddr.
9121
c6e06ede
MC
91222004-01-27 Michael Chastain <mec.gnu@mindspring.com>
9123
fb328ecc 9124 * PROBLEMS: Add gdb/1516.
c6e06ede 9125
48184fd4
AC
91262003-12-29 Robert Millan <robertmh@gnu.org>
9127
9128 Patch committed by Andrw Cagney.
9129 * configure.host: Match knetbsd*-gnu and kfreebsd*-gnu.
9130 * configure.tgt: Match knetbsd*-gnu.
9131
c1321b30
AC
91322004-01-26 Andrew Cagney <cagney@redhat.com>
9133
f3699be3
AC
9134 * breakpoint.c (catch_command_1): Delete #ifdef code.
9135 (catch_fork_command_1): Delete #ifdef wrapper.
9136 (catch_exec_command_1): Ditto.
9137 (catch_load_command_1): Ditto.
9138 (catch_unload_command_1): Ditto.
9139
c1321b30
AC
9140 * breakpoint.c (watchpoint_check): Delete #if0ed variable.
9141 (catch_breakpoint): Delete #if0ed function.
9142 (disable_catch_breakpoint): Ditto.
9143 (delete_catch_breakpoint, enable_catch_breakpoint): Ditto.
9144 (disable_catch, enable_catch, delete_catch): Ditto.
9145
b4501125
AC
91462004-01-26 Andrew Cagney <cagney@redhat.com>
9147
9148 * remote.c (echo_check, quit_flag): Delete variables.
9149 (cisco_kernel_mode): Delete variable.
9150 (minitelnet_return, tty_input, escape_count): Delete variables.
9151 (remote_cisco_mode): Delete variable.
9152 (remote_cisco_open, remote_cisco_close): Delete function.
9153 (remote_cisco_mourn, remote_cisco_wait): Delete function.
9154 (init_remote_cisco_ops): Delete function.
9155 (_initialize_remote): Do not install "remote cisco" code.
9156 (read_frame): Delete cisco specific code.
9157 (remote_info_process): Delete function.
9158 (remote_wait): Delete cisco specific code.
9159 (remote_cisco_section_offsets): Delete function.
9160 (remote_cisco_objfile_relocate): Delete function.
9161 (remote_async_wait): Delete cisco specific code.
9162 (minitelnet, readtty, readsocket): Delete function.
9163
74055713
AC
91642004-01-26 Andrew Cagney <cagney@redhat.com>
9165
9166 * gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS): Deprecate. Add
9167 comments mentioning extract_returned_value_address.
9168 * infcmd.c (print_return_value): Update. Add comments on
9169 extract_returned_value_address.
9170 * stack.c (return_command): Add comments on
9171 extract_returned_value_address.
9172 * values.c: Update comment.
9173 * m32r-tdep.c: Update comment.
9174 * sparc-tdep.c: Update comment.
9175 * ia64-tdep.c (ia64_use_struct_convention): Update comment.
9176 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
9177 * sh64-tdep.c (sh64_gdbarch_init): Update.
9178 * sh-tdep.c (sh_gdbarch_init): Update.
9179 * s390-tdep.c (s390_gdbarch_init): Update.
9180 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
9181 * m68klinux-tdep.c (m68k_linux_init_abi): Update.
9182 * m68k-tdep.c (m68k_gdbarch_init): Update.
9183 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
9184 * m32r-tdep.c (m32r_gdbarch_init): Update.
9185 * ia64-tdep.c (ia64_gdbarch_init): Update.
9186 * h8300-tdep.c (h8300_gdbarch_init): Update.
9187 * frv-tdep.c (frv_gdbarch_init): Update.
9188 * arm-tdep.c (arm_gdbarch_init): Update.
9189 * alpha-tdep.c (alpha_gdbarch_init): Update.
9190
a67af2b9
AC
91912004-01-26 Andrew Cagney <cagney@redhat.com>
9192
9193 * dwarf2loc.c (dwarf_expr_frame_base): Use SYMBOL_OPS instead of
9194 SYMBOL_LOCATION_FUNCS
9195 (dwarf2_loclist_funcs, dwarf2_locexpr_funcs): Change type to
9196 "struct symbol_ops".
9197 * dwarf2loc.h (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Change
9198 type to "struct symbol_ops".
9199 * symtab.h (struct symbol_ops): Rename "struct location_funcs".
9200 (struct symbol): Replace ".aux_value.loc.funcs" and
9201 ".aux_value.loc.baton" with ".ops" and ".aux_value.ptr".
9202 (SYMBOL_OBJFILE): Delete macro.
9203 (SYMBOL_LOCATION_FUNCS): Delete macro.
9204 (SYMBOL_LOCATION_BATON): Update.
9205 * dwarf2read.c (dwarf2_symbol_mark_computed): Set SYMBOL_OPS
9206 intead of SYMBOL_LOCATION_FUNCS.
9207 * ax-gdb.c (gen_var_ref): Ditto.
9208 * printcmd.c (address_info): Ditto.
9209 * findvar.c (read_var_value): Ditto.
9210 (symbol_read_needs_frame): Ditto.
9211
c034e007
AC
92122004-01-26 Andrew Cagney <cagney@redhat.com>
9213
9214 * dwarf2read.c (read_func_scope): Document frame-base hack.
9215
bb472c1e
MK
92162004-01-25 Mark Kettenis <kettenis@gnu.org>
9217
9218 * infcmd.c (print_return_value): Plug memory leak; delete
9219 ui_stream object. Rename argument `structure_return' to
9220 `struct_return'.
9221
c8e737d5
MK
92222004-01-25 Mark Kettenis <kettenis@gnu.org>
9223
f941662f
MK
9224 * infcmd.c (print_return_value): Wrap long lines.
9225 (finish_command_continuation, finish_command): Remove unused
9226 variable `funcaddr'. Fix some coding-standards problems.
9227
c558d81a 9228 * sparc-tdep.c (sparc_regset_from_core_section): Check whether
d8d65dd3 9229 SECT_SIZE is large enough, not whether it's exactly the right size.
c558d81a
MK
9230 (sparc32_gdbarch_init): Initialize TDEP->sizeof_gregset and
9231 TDEP->fpregset to zero.
9232
bf1e5861 9233 * sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Also supply the
c8e737d5
MK
9234 floating-point registers for traditional NetBSD core files.
9235 (sparc32nbsd_init_abi): Initialize TDEP->sizeof_gregset and
9236 TDEP->sizeof_fpregset here.
9237
4c72d57a
MK
92382004-01-25 Mark Kettenis <kettenis@gnu.org>
9239
566626fa
MK
9240 * sparc-tdep.h (sparc32nbsd_sigcontext_saved_regs): New prototype.
9241 * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): New
9242 function with code split out from
9243 sparc32nbsd_sigcontext_frame_cache.
9244 (sparc32nbsd_sigcontext_frame_cache): Use
9245 sparc32nbsd_sigcontext_saved_regs.
9246 (_initialize_sparc32nbsd_tdep): Don't register OS ABI handler for
9247 OpenBSD.
9248 * sparcobsd-tdep.c: New file.
9249 * Makefile.in (ALLDEPFILES): Add sparcobsd-tdep.c.
9250 (sparcobsd-tdep.o): New dependency.
9251 * configure.tgt (sparc-*-openbsd*): Set gdb_target to obsd.
9252 * config/sparc/obsd.mt: New file.
9253
4c72d57a
MK
9254 * sparc-tdep.c (sparc32_gdbarch_init): Don't require
9255 TDEP->fpregset to be initialized to enable core file register
9256 sets.
9257
7e5e9f88
MK
92582004-01-24 Mark Kettenis <kettenis@gnu.org>
9259
f0f207fd 9260 * sparc64-tdep.h (struct frame_info, struct trad_frame_saved_reg):
1e067c66
MK
9261 Add opaque declarations.
9262 (sparc64nbsd_sigcontext_saved_regs): New prototype.
9263 * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): New
9264 function with code split out from
9265 sparc64nbsd_sigcontext_frame_cache.
9266 (sparc64nbsd_sigcontext_frame_cache): Use
9267 sparc64nbsd_sigcontext_saved_regs.
9268 (_initialize_sparc64nbsd_tdep): Don't register OS ABI handler for
9269 OpenBSD.
9270 * sparc64obsd-tdep.c: New file.
9271 * Makefile.in (ALLDEPFILES): Add sparc64obsd-tdep.c.
9272 (sparc64obsd-tdep.o): New dependency.
9273 * configure.tgt (sparc64-*-openbsd*): Set gdb_target to obsd64 and
9274 gdb_osabi to GDB_OSABI_OPENBSD_ELF.
9275 * config/sparc/obsd64.mt: New file.
9276
690668cc
MK
9277 * sparc-tdep.c (sparc_fetch_instruction): Return zero if we can't
9278 read the instruction at PC.
9279
7e5e9f88
MK
9280 * sparcnbsd-tdep.c (GDB_OSABI_NETBSD_CORE): Define, based on the
9281 value of GDB_OSABI_DEFAULT.
9282 (sparcnbsd_core_osabi_sniffer): Return GDB_OSABI_NETBSD_CORE
9283 instead of GDB_OSABI_NETBSD_AOUT.
9284
68b6dce9
NR
92852004-01-24 Nick Roberts <nick@nick.uklinux.net>
9286
9287 * mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-cmds.h: Update
9288 copyright.
9289
080ce8c0
AC
92902004-01-23 Andrew Cagney <cagney@redhat.com>
9291
9292 * printcmd.c (display_command): Replace tui_set_display call with
9293 tui_set_layout_for_display_command.
9294 * tui/tui.h (enum tui_win_type): Define.
9295 (tui_set_layout): Delete declaration.
9296 (tui_set_layout_for_display_command): Rename set_tui_layout.
9297 * tui/tui-data.h (enum tui_layout_type): Define.
9298 * tui/tui-layout.h: Update copyright. Include "tui-data.h" and
9299 "tui.h".
9300 (tui_add_win_to_layout): Rename tuiAddWinToLayout.
9301 (tui_default_win_height): Rename tuiDefaultWinHeight.
9302 (tui_default_win_viewport_height): Rename
9303 tuiDefaultWinViewportHeight.
9304 (tui_set_layout): RenametuiSetLayout.
9305 * tui/tui-layout.c: Update references.
9306 * tui/tui.c: Update references.
9307 * tui/tui-disasm.c: Update references.
9308
b368761e
DC
93092004-01-23 David Carlton <carlton@kealia.com>
9310
9311 Partial workaround for PR c++/1511:
9312 * cp-namespace.c: Include frame.h.
9313 (cp_lookup_transparent_type): New
9314 (cp_lookup_transparent_type_loop): New.
9315 * cp-support.h: Declare cp_lookup_transparent_type.
9316 * symtab.c (basic_lookup_transparent_type): Renamed from
9317 lookup_transparent_type.
9318 (lookup_transparent_type): Replace old body by a call to
9319 current_language->la_lookup_transparent_type.
9320 * symtab.h: Update copyright. Declare
9321 basic_lookup_transparent_type.
9322 * language.h: Update copyright.
9323 (struct language_defn): Add la_lookup_transparent_type.
9324 * language.c: Update copyright.
9325 (unknown_language_defn): Add basic_lookup_transparent_type.
9326 (auto_language_defn): Add basic_lookup_transparent_type.
9327 (local_language_defn): Add basic_lookup_transparent_type.
9328 * ada-lang.c: Update copyright.
9329 (ada_language_defn): Add basic_lookup_transparent_type.
9330 * c-lang.c: Update copyright.
9331 (c_language_defn): Add basic_lookup_transparent_type.
9332 (cplus_language_defn): Add basic_lookup_transparent_type.
9333 (asm_language_defn): Add basic_lookup_transparent_type.
9334 (minimal_language_defn): Add basic_lookup_transparent_type.
9335 * f-lang.c: Update copyright.
9336 (f_language_defn): Add basic_lookup_transparent_type.
9337 * jv-lang.c: Update copyright.
9338 (java_language_defn): Add basic_lookup_transparent_type.
9339 * m2-lang.c: Update copyright.
9340 (m2_language_defn): Add basic_lookup_transparent_type.
9341 * objc-lang.c: Update copyright.
9342 (objc_language_defn): Add basic_lookup_transparent_type.
9343 * p-lang.c: Update copyright.
9344 (p_language_defn): Add basic_lookup_transparent_type.
9345 * scm-lang.c: Update copyright.
9346 (scm_language_defn): Add basic_lookup_transparent_type.
9347 * Makefile.in (cp-namespace.o): Depend on frame.h.
9348
fdde2d81
DC
93492004-01-23 David Carlton <carlton@kealia.com>
9350
9351 Patch for PR c++/1520:
9352 * dwarf2read.c (read_func_scope): Set processing_current_prefix
9353 properly if we have a specification die.
9354 (determine_prefix_aux): Rename from determine_prefix.
9355 (determine_prefix): Like the old determine_prefix, but never
9356 returns NULL.
9357
5b828b6b
TR
93582004-01-23 Theodore A. Roth <troth@openavr.org>
9359
9360 * avr-tdep.c: Update copyright.
9361 (avr_iaddr_p): Delete unused function.
9362 (avr_saddr_p): Delete unused function.
9363
a1b8c067
DC
93642004-01-23 David Carlton <carlton@kealia.com>
9365
9366 * symfile.c (reread_symbols): Clear objfile->cp_namespace_symtab.
9367 Fix for PR symtab/1534.
9368
f2cab569
MK
93692004-01-23 Mark Kettenis <kettenis@gnu.org>
9370
9371 * NEWS (New native configurations): Mention OpenBSD/sparc and
9372 OpenBSD/sparc64.
9373 * configure.tgt: Add sparc-*-openbsd* and sparc64-*-openbsd*.
9374 * configure.host: Likewise.
9375 * sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Register OS ABI
9376 handler for OpenBSD.
9377 * sparc64nbsd-tdep.c (_initialize_sparc64nbsd_tdep): Likewise.
9378
642d8300
MK
93792004-01-22 Mark Kettenis <kettenis@gnu.org>
9380
89aac506
MK
9381 * sparcnbsd-tdep.c (sparcnbsd_core_osabi_sniffer): New function.
9382 (_initialize_sparnbsd_tdep): Register sparcnbsd_core_osabi_sniffer.
9383
36662fde
MK
9384 * ser-pipe.c (pipe_open): Use proper null pointer in execl call.
9385 * cli/cli-cmds.c (shell_escape): Likewise.
9386
642d8300
MK
9387 * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Recognize
9388 OpenBSD .note.openbsd.ident sections.
9389
fae299cd
DC
93902004-01-22 David Carlton <carlton@kealia.com>
9391
9392 * dwarf2read.c (psymtab_to_symtab_1): Calculate lowpc, highpc via
9393 get_scope_pc_bounds.
9394 (read_file_scope): Ditto.
9395 (get_scope_pc_bounds): New function, produced by extracting code
9396 from the above two functions, consolidating it, and adding support
9397 for DW_TAG_namespace.
9398
a49d618c
MK
93992004-01-22 Mark Kettenis <kettenis@gnu.org>
9400
9401 * osabi.c (MAX_NOTESZ): New define.
9402 (check_note): New function.
9403 (generic_elf_osabi_sniff_abi_tag_sections): Reorganize code using
9404 check_note.
9405
fe61caab
RM
94062004-01-21 Roland McGrath <roland@redhat.com>
9407
9408 * MAINTAINERS (write after approval): Add myself.
9409
ec145965
EZ
94102004-01-21 Eli Zaretskii <eliz@gnu.org>
9411
9412 * utils.c (init_page_info): Move declarations of `rows' and
9413 `cols' before the __GO32__-specific code. Move the closing brace
9414 outside the #ifdef __GO32__..#endif block.
9415 [__GO32__]: Use `rows' and `cols' to avoid compiler warnings.
9416
877522db
PB
94172004-01-21 Paul Brook <paul@codesourcery.com>
9418
9419 * infrun.c (handle_inferior_event): Check stop_stack_dummy if handling
9420 BPSTAT_WHAT_CHECK_SHLIBS.
9421
dbf5be1c
PB
94222004-01-21 Paul Brook <paul@codesourcery.com>
9423
9424 * MAINTAINERS: Add myself to write-after-approval.
9425
81f08b92
AC
94262004-01-20 Andrew Cagney <cagney@redhat.com>
9427
5a1efed7
AC
9428 * ax-gdb.c (print_axs_value): Delete unused function.
9429 * jv-lang.c (java_lookup_type): Delete unused function.
9430 * cli/cli-dump.c (dump_filetype): Delete unused function.
9431 * remote-mips.c (remote_mips_insert_hw_breakpoint)
9432 (remote_mips_remove_hw_breakpoint): Delete unused functions.
9433 (mips_getstring): Delete unused function.
9434 (pmon_insert_breakpoint): Delete #if0ed function.
9435 (PMON_MAX_BP): Delete #if0ed MACRO.
9436 (mips_pmon_bp_info): Delete #if0ed variable.
9437 (pmon_remove_breakpoint): Delete #if0ed function.
9438 * monitor.c (monitor_write_even_block): Delete unused function.
9439 (monitor_write_memory_block): Delete #if0ed code.
9440 * dink32-rom.c (dink32_load): Delete unused function.
9441 (_initialize_dink32_rom): Delete #if0ed code.
9442 * d10v-tdep.c (d10v_daddr_p): Delete unused function.
9443
b0a30fce
AC
9444 * tui/tui-command.c: Update references.
9445 * tui/tui-io.c: Update references.
9446 * tui/tui-command.h: Update copyright.
9447 (tui_dispatch_ctrl_char): Rename tuiDispatchCtrlChar.
9448
81f08b92
AC
9449 * source.c (ambiguous_line_spec): Delete never-defined function.
9450 * remote-rdi.c (arm_rdi_mourn, arm_rdi_send): Ditto.
9451 * gdbtypes.c (add_name, add_mangled_type): Ditto.
9452 * cli/cli-cmds.c (validate_comname): Ditto.
9453
65f05602
AC
9454 * tui/tui-disasm.h: Update copyright. Include "tui.h" and
9455 "tui-data.h".
9456 (tui_set_disassem_content): Rename tuiSetDisassemContent.
9457 (tui_show_disassem): Rename tuiShowDisassem.
9458 (tui_show_disassem_and_update_source): Rename
9459 tuiVerticalDisassemScroll.
9460 (tui_vertical_disassem_scroll): Rename tuiVerticalDisassemScroll.
9461 (tui_get_begin_asm_address): Rename tuiGetBeginAsmAddress.
9462 * tui/tui.h: Update copyright.
9463 (enum tui_status): Define.
9464 * tui/tui-data.h (enum tui_scroll_direction): Define.
9465 * tui/tui-disasm.c: Update copyright. Update references.
9466 * tui/tui-winsource.c: Update copyright. Update references.
9467 * tui/tui-win.c: Update references.
9468 * tui/tui-layout.c: Update references.
9469
6bb0384f
AC
94702004-01-20 Andrew Cagney <cagney@redhat.com>
9471
9472 * mi/mi-cmd-stack.c (list_args_or_locals): Move declaration of
9473 sym2 to start of block.
9474
9175c9a3
MC
94752004-01-19 Michael Chastain <mec.gnu@mindspring.com>
9476
9477 * MAINTAINERS: Delete mmalloc.
9478 * Makefile.in: Delete MMALLOC, MMALLOC_CFLAGS, -lmmalloc, mmalloc_h.
9479 * NEWS: Mention removal of --with-malloc.
9480 * acconfig.h: Delete USE_MMALLOC, MMCHECK_FORCE.
9481 * config.in: Regenerate.
9482 * configure: Regenerate.
6bb0384f
AC
9483 * configure.in: Delete MMALLOC_CFLAGS, MMALLOC, --with-mmalloc,
9484 USE_MMALLOC, MMCHECK_FORCE.
9175c9a3
MC
9485 * gdbinit.in: Remove mmalloc.
9486 * utils.c: Delete USE_MMALLOC, NO_MMCHECK, MMCHECK_FORCE, malloc_botch.
9487 * config/alpha/alpha-linux.mh: Delete MMALLOC, MMALLOC_CFLAGS.
9488 * config/i386/go32.mh: Likewise.
9489 * config/i386/interix.mh: Likewise.
9490 * config/powerpc/xm-linux.h: Delete MMAP_BASE_ADDRESS, MMAP_INCREMENT.
9491
4fcef00a
JJ
94922004-01-19 Jeff Johnston <jjohnstn@redhat.com>
9493
9494 * linespec.c (decode_variable, symtab_from_filename): Call
9495 error_silent with error message instead of throwing an exception
9496 directly.
9497 * defs.h (error_silent, error_output_message): Add prototypes.
9498 (catch_exceptions_with_msg): Ditto.
9499 * utils.c (error_silent, error_output_message): New functions.
9500 * top.c (catch_exceptions_with_msg): New function.
9501
8e94b928
NR
95022004-01-20 Nick Roberts <nick@nick.uklinux.net>
9503
9504 * mi/mi-cmds.h (enum print_values): Add definition.
9505
9506 * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Print the name,
9507 type and value for simple data types and just the name and type
9508 for complex ones, if required.
9509
9510 * mi/mi-cmd-var.c (mi_cmd_var_list_children): Print the values of the
9511 children, if required.
9512
a02d6af8
KB
95132004-01-19 Kevin Buettner <kevinb@redhat.com>
9514
9515 * frv-tdep.c (frv_push_arguments, frv_saved_pc_after_call): Delete
9516 unused declarations.
9517
78a4a9b9
AC
95182004-01-19 Andrew Cagney <cagney@redhat.com>
9519
9520 * top.h (mapped_symbol_files): Delete declaration.
9521 * main.c (captured_main): Delete option "m" and "mapped".
9522 * objfiles.c (mapped_symbol_files): Delete variable.
9523 * symfile.c (symbol_file_command): Delete mmap code.
9524 (symbol_file_add_with_addrs_or_offsets): Ditto.
9525 (add_symbol_file_command, reread_separate_symbols): Ditto.
9526 * objfiles.h (OBJF_MAPPED): Delete.
9527 * objfiles.c (allocate_objfile) [USE_MMALLOC]: Delete.
9528 (free_objfile) [USE_MMALLOC]: Ditto.
9529 (open_existing_mapped_file): Delete function.
9530 (open_mapped_file): Delete function.
9531 (map_to_file): Delete function.
9532
2dbd5e30
KB
95332004-01-19 Kevin Buettner <kevinb@redhat.com>
9534
9535 * infrun.c (step_into_function): Account for possible breakpoint
9536 adjustment when computing ``stop_func_start''.
9537
437b434f
KB
95382004-01-19 Kevin Buettner <kevinb@redhat.com>
9539
9540 * target.c (default_region_size_ok_for_hw_watchpoint): Compare
9541 the region size against the size of a pointer, not the size of
9542 a register as given by DEPRECATED_REGISTER_SIZE.
9543
55fb0713
AC
95442004-01-19 Andrew Cagney <cagney@redhat.com>
9545
9546 * tui/tui-regs.h: Include "tui-data.h".
9547 (tuiFirstRegElementNoInLine): Delete declaration.
9548 (tui_display_registers_from): Rename tuiDisplayRegistersFrom.
9549 (tui_last_regs_line_no): Rename tuiLastRegsLineNo.
9550 (tui_line_from_reg_element_no): Rename tuiLineFromRegElementNo.
9551 (tui_calculate_regs_column_count): Rename
9552 tuiCalculateRegsColumnCount.
9553 (tui_check_register_values): Rename tuiCheckRegisterValues.
9554 (tui_show_registers): Rename tuiShowRegisters.
9555 (tui_display_registers_from_line): Rename
9556 tuiDisplayRegistersFromLine.
9557 (tui_first_reg_element_inline): Rename tuiFirstRegElementInLine.
9558 (tui_toggle_float_regs): Rename tuiToggleFloatRegs.
9559 (tui_first_reg_element_no_inline): Rename
9560 tuiFirstRegElementNoInLine.
9561 * tui/tui-data.h: Update copyright.
9562 (enum tui_register_display_type): Rename _TuiRegisterDisplayType.
9563 * tui/tui-windata.c: Update copyright, update references.
9564 * tui/tui-regs.c: Update copyright, update references.
9565 * tui/tui-win.c: Update copyright, update references.
9566 * tui/tui-layout.c: Update copyright, update references.
fe61caab 9567
cebe9500
AC
95682004-01-18 Andrew Cagney <cagney@redhat.com>
9569
bcdf1568
AC
9570 * tui/tui-io.c: Update copyright.
9571 (key_is_end_sequence, key_is_backspace): New functions.
9572 (key_is_command_char, key_is_start_sequence): New function.
9573 (tui_getc): Update references.
9574 * tui/tui-io.h: Update copyright.
9575 (m_tuiStartNewLine): Delete macro.
9576 (m_isBackspace, m_isDeleteChar): Delete macros.
9577 (m_isDeleteLine, m_isDeleteToEol): Delete macros.
9578 (m_isNextPage, m_isPrevPage): Delete macros.
9579 (m_isLeftArrow, m_isRightArrow): Delete macros.
9580 (m_isXdbStyleCommandChar): Delete macro.
9581 (key_is_start_sequence): Declare, replace m_isStartSequence.
9582 (key_is_end_sequence): Declare, replace m_isEndSequence.
9583 (key_is_backspace): Declare ,replace m_isBackspace.
9584 (key_is_command_char): Declare, replace m_isCommandChar.
9585 * tui/tui-command.c: Update copyright.
9586 (tuiDispatchCtrlChar): Update references.
9587
130d87e6
AC
9588 * config/djgpp/fnchange.lst: Delete tui/tuiSourceWin.c and
9589 tuiSourceWin.h.
9590
d7b2e967
AC
9591 * tui/tui-command.c: Rename tui/tuiCommand.c.
9592 * tui/tui-command.h: Rename tui/tuiCommand.h.
9593 * tui/tui-data.c: Rename tui/tuiData.c.
9594 * tui/tui-data.h: Rename tui/tuiData.h.
9595 * tui/tui-disasm.c: Rename tui/tuiDisassem.c.
9596 * tui/tui-disasm.h: Rename tui/tuiDisassem.h.
9597 * tui/tui-io.c: Rename tui/tuiIO.c.
9598 * tui/tui-io.h: Rename tui/tuiIO.h.
9599 * tui/tui-layout.c: Rename tui/tuiLayout.c.
9600 * tui/tui-layout.h: Rename tui/tuiLayout.h.
9601 * tui/tui-regs.c: Rename tui/tuiRegs.c.
9602 * tui/tui-regs.h: Rename tui/tuiRegs.h.
9603 * tui/tui-source.c: Rename tui/tuiSource.c.
9604 * tui/tui-source.h: Rename tui/tuiSource.h.
9605 * tui/tui-stack.c: Rename tui/tuiStack.c.
9606 * tui/tui-stack.h: Rename tui/tuiStack.h.
9607 * tui/tui-win.c: Rename tui/tuiWin.c.
9608 * tui/tui-win.h: Rename tui/tuiWin.h.
9609 * tui/tui-windata.c: Rename tui/tuiDataWin.c.
9610 * tui/tui-windata.h: Rename tui/tuiDataWin.h.
9611 * tui/tui-wingeneral.c: Rename tui/tuiGeneralWin.c.
9612 * tui/tui-wingeneral.h: Rename tui/tuiGeneralWin.h.
9613 * tui/tui-winsource.c: Rename tui/tuiSourceWin.c.
9614 * tui/tui-winsource.h: Rename tui/tuiSourceWin.h.
9615 * tui/tui-file.c: Update includes.
9616 * tui/tui-hooks.c: Update includes.
9617 * tui/tui-interp.c: Update includes.
9618 * tui/tui.c: Update includes.
9619 * Makefile.in: Update all tui/ dependencies.
9620 (SUBDIR_TUI_OBS, SUBDIR_TUI_SRCS): Update file names.
9621
b2100910
AC
9622 * Makefile.in: Update copyright. Update dependencies.
9623
cebe9500
AC
9624 * tui/tuiSourceWin.c (tui_update_breakpoint_info): Fix compile
9625 problem.
9626
c6f0559b
AC
96272004-01-18 Andrew Cagney <cagney@redhat.com>
9628
43e9390b
AC
9629 * mn10300-tdep.c (_initialize_mn10300_tdep): Call gdbarch_register
9630 instead of register_gdbarch_init.
9631
c6f0559b
AC
9632 * remote-sds.c (tohex): Delete unused function. Update copyright.
9633 * xstormy16-tdep.c (xstormy16_register_virtual_size): Ditto.
9634 * v850-tdep.c (v850_register_virtual_size): Ditto.
9635 * target.c (normal_target_post_startup_inferior): Ditto.
9636 * source.c (ambiguous_line_spec): Ditto.
9637 * remote.c (adapt_remote_get_threadinfo): Ditto.
9638 * mi/mi-out.c (out_field_fmt): Ditto.
9639 * mi/mi-interp.c (mi_interp_read_one_line_hook): Ditto.
9640 (output_control_change_notification): Ditto.
9641 * m68k-tdep.c (m68k_register_byte): Ditto.
9642 (m68k_remote_breakpoint_from_pc): Ditto.
9643 * ui-out.c (init_ui_out_state): Delete unused declaration.
9644 * stabsread.c (search_value): Ditto.
9645 * mi/mi-cmd-env.c (env_cli_command): Ditto.
9646 * maint.c (print_section_table): Ditto.
9647 * infrun.c (set_follow_fork_mode_command): Ditto.
9648
a8504492
MK
96492004-01-18 Mark Kettenis <kettenis@gnu.org>
9650
9651 * dwarf2-frame.c (execute_cfa_program): Move DWA_CFA_nop before
9652 DW_CFA_def_cfa_exporession. Add support for
9653 DW_CFA_offset_extendend_sf, DW_CFA_def_cfa_sf and
9654 DW_CFA_def_cfa_offset_sf. This should fix PR backtrace/1391.
9655
0bd8997e
AC
96562004-01-18 Andrew Cagney <cagney@redhat.com>
9657
9658 * ocd.c: Update copyright.
9659 (bdm_read_register_command): Delete unused function.
9660 (_initialize_remote_ocd): Delete commented out reference.
9661 (get_quoted_char, reset_packet): Delete #if0ed function.
9662 (output_packet, put_quoted_char): Delete #if0ed function.
9663 (stu_put_packet, stu_get_packet): Delete #if0ed function.
9664 (ocd_start_remote): Delete #if0ed code, remove #if1 wrapper.
9665 (BDM_BREAKPOINT): Delete #if0ed macro.
9666 (remote_timeout): Delete #if0ed variable.
9667
31bb40e4
MK
96682004-01-18 Mark Kettenis <kettenis@gnu.org>
9669
9670 * Makefile.in (ALLDEPFILES): Remove core-sol2.c.
9671 (core-sol2.o): Remove dependency.
9672 * core-sol2.c: Remove file.
9673
887432a5
AC
96742004-01-17 Andrew Cagney <cagney@redhat.com>
9675
9676 * mdebugread.c (compare_blocks): Make addr_diff a LONGEST.
9677 * block.h: Make GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOOCK
9678 enums.
9679
29182b13
DJ
96802004-01-17 Daniel Jacobowitz <drow@mvista.com>
9681
9682 * remote.c: Update copyright years.
9683
2963ee1d
DJ
96842004-01-17 Daniel Jacobowitz <drow@mvista.com>
9685
9686 * remote.c (remote_vcont_resume): Use xstrprintf instead of sprintf.
9687
79d45cd4
AC
96882004-01-17 Andrew Cagney <cagney@redhat.com>
9689
ee300cd4
AC
9690 * mdebugread.c: Update copyright.
9691 (parse_symbol): Replace DEPRECATED_STREQ with strcmp.
9692 (parse_type, parse_procedure): Ditto.
9693 (parse_partial_symbols, psymtab_to_symtab_1): Ditto.
9694
fcacc9c2
AC
9695 * cris-tdep.c (cris_store_struct_return): Put back accidently
9696 deleted function.
9697
79d45cd4
AC
9698 * gdbarch.sh: Update copyright year.
9699 * gdbarch.h, gdbarch.c: Re-generate.
9700
b263358a
DJ
97012004-01-17 Daniel Jacobowitz <drow@mvista.com>
9702
9703 Suggested by George Anzinger.
9704 * dwarf2expr.c (execute_stack_op): Fetch the second item from the
9705 correct stack offset. Include unknown opcode numbers in the error
9706 message.
9707
931aecf5
AC
97082004-01-17 Andrew Cagney <cagney@redhat.com>
9709
9710 * x86-64-tdep.c (x86_64_init_abi): No need to clear
9711 extract_struct_value_address, i386 does not set it.
9712 * sparc64-tdep.c (sparc64_init_abi): Do not set
9713 extract_struct_value_address, never called.
9714 (sparc64_extract_struct_value_address): Delete function.
9715 * m68hc11-tdep.c: Update copyright.
9716 (m68hc11_gdbarch_init): Delete redundant assignment of
9717 extract_struct_value_address.
9718 * i386-tdep.c: Update copyright.
9719 (i386_gdbarch_init): Do not set extract_struct_value_address,
9720 never called.
9721 (i386_extract_struct_value_address): Delete function.
9722 * sparc-tdep.c (sparc32_gdbarch_init): Do not set
9723 extract_struct_value_address, never called.
9724 (sparc32_extract_struct_value_address): #if 0 function. Add
9725 comments explaining its future.
9726
756fe439
DJ
97272004-01-17 Daniel Jacobowitz <drow@mvista.com>
9728
9729 * arm-tdep.c (arm_write_pc): New function.
9730 (arm_gdbarch_init): Call set_gdbarch_write_pc.
9731
e74f0f02
DJ
97322004-01-17 Daniel Jacobowitz <drow@mvista.com>
9733
9734 * breakpoint.c (must_shift_inst_regs): Delete.
9735 (bpstat_stop_status): Delete references to DECR_PC_AFTER_HW_BREAK
9736 and SHIFT_INST_REGS.
9737 * infcmd.c (step_1, step_1_continuation): Delete references to
9738 SHIFT_INST_REGS.
9739 * infrun.c (keep_going): Likewise.
9740 * target.h (DECR_PC_AFTER_HW_BREAK): Don't define.
9741 * config/i386/nm-i386.h (DECR_PC_AFTER_HW_BREAK): Likewise.
9742
b6cb9035
AC
97432004-01-17 Andrew Cagney <cagney@redhat.com>
9744
444a1e2e
AC
9745 * gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
9746 * gdbarch.h, gdbarch.c: Re-generate.
9747 * infcmd.c (print_return_value): Delete reference to
9748 DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS.
9749
def7e6ed
AC
9750 * cris-tdep.c (cris_gdbarch_init): Do not set
9751 deprecated_extract_struct_value_address.
9752
07be497a
AC
9753 * xstormy16-tdep.c: Update copyright.
9754 (xstormy16_extract_struct_value_address): Update to current
9755 extract struct value address interface.
9756 (xstormy16_gdbarch_init): Set extract_struct_value_address.
9757 * sh64-tdep.c (sh64_extract_struct_value_address): Update to
9758 current extract struct value address interface.
9759 (sh64_gdbarch_init): Set extract_struct_value_address.
9760
6b4d5c91
AC
9761 * cris-tdep.c: Update copyright.
9762 (cris_extract_struct_value_address): Delete function.
9763 (struct_return_address): Delete variable.
9764 (cris_store_struct_return): Do not set struct_return_address.
9765
464e0365
AC
9766 * mcore-tdep.c: Update copyright.
9767 (mcore_extract_struct_value_address): Delete function. Update
9768 comments.
9769 (mcore_gdbarch_init): Update.
9770 * mn10300-tdep.c: Update copyright.
9771 (mn10300_extract_struct_value_address): Delete function.
9772 (mn10300_gdbarch_init): Update.
9773 * v850-tdep.c: Update copyright.
9774 (v850_extract_struct_value_address): Delete.
9775 (v850_gdbarch_init): Update.
9776 * ns32k-tdep.c: Update copyright.
9777 (ns32k_extract_struct_value_address): Delete.
9778 (ns32k_gdbarch_init): Update.
9779 * hppa-tdep.c (hppa_extract_struct_value_address): Delete.
9780 (hppa_gdbarch_init): Update.
9781 * vax-tdep.c: Update copyright.
9782 (vax_extract_struct_value_address): Delete.
9783 (vax_gdbarch_init): Update.
9784
afb18d0f
AC
9785 * gdbarch.sh (DEPRECATED_NPC_REGNUM): Delete.
9786 * gdbarch.h, gdbarch.c: Re-generate.
9787 * procfs.c (procfs_fetch_registers): Delete reference to
9788 DEPRECATED_NPC_REGNUM.
9789 (procfs_store_registers): Ditto.
9790 * regcache.c (generic_target_write_pc): Simplify.
9791 * lynx-nat.c: Delete #ifdef SPARC code. Not used.
9792
a698f53e
AC
9793 * core-sol2.c (fetch_core_registers): Replace
9794 DEPRECATED_NPC_REGNUM with equivalent tdep value.
9795
adc11376
AC
9796 * hppa-tdep.c: Update copyright year.
9797 (hppa_target_write_pc): Use PCOQ_TAIL_REGNUM instead of
9798 NPC_REGNUM.
9799 (hppa_gdbarch_init): Do not set deprecated_npc_regnum.
9800
b6cb9035
AC
9801 * mips-tdep.c (mips_write_pc): New function.
9802 (mips_gdbarch_init): Set "write_pc" to "mips_write_pc".
9803 (mips_read_pc): Use mips_regnum instead of PC_REGNUM.
9804 (mips_find_saved_regs, mips_software_single_step: Ditto.
9805 (mips_frame_saved_pc, mips_frame_saved_pc): Ditto.
9806 mips_init_extra_frame_info, mips_pop_frame): Ditto.
9807
6d82d43b
AC
98082004-01-17 Andrew Cagney <cagney@redhat.com>
9809
9810 * mips-tdep.c: Re-indent. Group functions by ABI.
9811
71bd6bd4
AC
98122004-01-17 Andrew Cagney <cagney@redhat.com>
9813
9814 * gdbarch.sh (DECR_PC_AFTER_BREAK): Make zero the default.
9815 * gdbarch.c: Re-generate.
9816 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
9817 DECR_PC_AFTER_BREAK to zero.
9818 * vax-tdep.c (vax_gdbarch_init): Ditto.
9819 * v850-tdep.c (v850_gdbarch_init): Ditto.
9820 * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
9821 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
9822 * sh-tdep.c (sh_gdbarch_init): Ditto.
9823 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
9824 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
9825 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
9826 * mips-tdep.c (mips_gdbarch_init): Ditto.
9827 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
9828 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
9829 * m32r-tdep.c (m32r_gdbarch_init): Ditto.
9830 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
9831 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
9832 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
9833 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
9834 * frv-tdep.c (frv_gdbarch_init): Ditto.
9835 * cris-tdep.c (cris_gdbarch_init): Ditto.
9836 * avr-tdep.c (avr_gdbarch_init): Ditto.
9837 * arm-tdep.c (arm_gdbarch_init): Ditto.
9838 * i386-nto-tdep.c (i386nto_init_abi): Add comment.
9839
a02abb62
JB
98402004-01-17 J. Brobecker <brobecker@gnat.com>
9841
9842 * dwarf2read.c (dwarf2_non_const_array_bound_ignored_complaint):
9843 Delete, no longer used.
9844 (read_subrange_type): New function, mostly extracted from
9845 read_array_type().
9846 (read_array_type): Replace extracted code by call to
9847 read_subrange_type().
9848 (dwarf2_get_attr_constant_value): New function.
9849 (scan_partial_symbols): Add handling for DW_TAG_subrange_type.
9850 (add_partial_symbol): Likewise.
9851 (process_die): Likewise.
9852 (new_symbol): Likewise.
9853 (read_type_die): Likewise.
9854
cf5b2f1b
AC
98552004-01-16 Andrew Cagney <cagney@redhat.com>
9856
9857 * symfile.c: Update copyright year.
9858 (compare_symbols): Delete unused function.
9859 * stabsread.c: Update copyright year.
9860 (lrs_general_complaint): Delete unused function.
9861 (ref_search_value): Ditto.
9862 (get_substring): Delete declaration.
9863 * sh64-tdep.c: Update copyright year.
9864 (sh64_get_gdb_regnum): Delete unused function.
9865 * dwarf2read.c (dwarf2_unsupported_at_frame_base_complaint):
9866 Delete unused function.
9867
d33b9831
MK
98682004-01-17 Mark Kettenis <kettenis@gnu.org>
9869
9870 * defs.h (gdb_osabi): Add GDB_OSABI_OPENBSD_ELF.
9871 * osabi.c (gdb_osabi_names): Add "OpenBSD ELF".
9872
7aea86e6
AC
98732004-01-16 Andrew Cagney <cagney@redhat.com>
9874
9875 Changes from Peter Schauer.
9876 * rs6000-tdep.c: Update copyright year.
9877 (rs6000_push_dummy_call): Update the stack pointer before
9878 accessing the corresponding stack region.
9879 * rs6000-nat.c: Update copyright year.
9880 (set_host_arch): Set "info.abfd" to "exec_bfd".
9881
26b0da32
MK
98822004-01-15 Mark Kettenis <kettenis@gnu.org>
9883
9884 * blockframe.c: Update copyright year.
9885 (inside_entry_func): Don't treat a zero PC specially.
9886
86fbe6cc
EZ
98872004-01-14 Elena Zannoni <ezannoni@redhat.com>
9888
9889 * gcore.c (gcore_copy_callback): Use paddr_d to print size
9890 variable.
9891 (gcore_create_callback): Ditto. Skip any memory segment that has
9892 no permissions set.
9893
63d06c5c
DC
98942004-01-14 David Carlton <carlton@kealia.com>
9895
9896 Change symbols for C++ nested types to contain the fully qualified
9897 name, if possible. (At least in the DWARF-2 case.) Partial fix
9898 for PR's c++/57, c++/488, c++/539, c++/573, c++/609, c++/832,
9899 c++/895.
9900 * c-exp.y (qualified_type): Handle types nested within classes.
9901 * cp-namespace.c: Update comments.
9902 (cp_set_block_scope): Delete #if 0.
9903 (cp_lookup_nested_type): Handle types nested within classes.
9904 * dwarf2read.c: (scan_partial_symbols): Call add_partial_structure
9905 when appropriate.
9906 (add_partial_symbol): Add the name of the enclosing namespace to
9907 types.
9908 (pdi_needs_namespace): New.
9909 (add_partial_namespace): Tweak comment.
9910 (add_partial_structure): New.
9911 (psymtab_to_symtab_1): Initialize processing_current_prefix
9912 here...
9913 (process_die): instead of here.
9914 (read_structure_scope): Try to figure out the name of the class or
9915 namespace that the structure might be defined within.
9916 (read_enumeration): Generate fully-qualified names, if possible.
9917 (read_namespace): Don't set name to NULL.
9918 (die_specification): New.
9919 (new_symbol): Generate fully-qualified names for types.
9920 (read_type_die): Determine appropriate prefix.
9921 (determine_prefix): New.
9922 (typename_concat): New.
9923 (class_name): New.
9924 * valops.c (value_aggregate_elt): Pass NOSIDE to
9925 value_struct_elt_for_reference.
9926 (value_struct_elt_for_reference): Make static, add NOSIDE
9927 parameter, call value_maybe_namespace_elt as a last resort.
9928 (value_namespace_elt): Break out code into
9929 value_maybe_namespace_elt.
9930 (value_maybe_namespace_elt): New.
9931
87783b8b
AC
99322004-01-12 Andrew Cagney <cagney@redhat.com>
9933
9934 * mips-tdep.c (mips_convert_register_p): Handle both raw and
9935 cooked floating-point registers.
9936 (mips_gdbarch_init): Set convert_register_p, register_to_value,
9937 and value_to_register.
9938
6503b91e
AC
99392004-01-13 Andrew Cagney <cagney@redhat.com>
9940
9941 * gdbarch.sh (FUNCTION_START_OFFSET): Make zero the default.
9942 * gdbarch.c: Re-generate.
9943 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
9944 FUNCTION_START_OFFSET.
9945 * v850-tdep.c (v850_gdbarch_init): Ditto.
9946 * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
9947 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
9948 * sh-tdep.c (sh_gdbarch_init): Ditto.
9949 * s390-tdep.c (s390_gdbarch_init): Ditto.
9950 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
9951 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
9952 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
9953 * mips-tdep.c (mips_gdbarch_init): Ditto.
9954 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
9955 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
9956 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
9957 * m32r-tdep.c (m32r_gdbarch_init): Ditto.
9958 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
9959 * i386-tdep.c (i386_gdbarch_init): Ditto.
9960 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
9961 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
9962 * frv-tdep.c (frv_gdbarch_init): Ditto.
9963 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
9964 * cris-tdep.c (cris_gdbarch_init): Ditto.
9965 * avr-tdep.c (avr_gdbarch_init): Ditto.
9966 * arm-tdep.c (arm_gdbarch_init): Ditto.
9967 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
9968
ea1dd7bc
DJ
99692004-01-13 Daniel Jacobowitz <drow@mvista.com>
9970
9971 * infrun.c (follow_fork_mode_ask): Remove.
9972 (follow_fork_mode_kind_names): Remove follow_fork_mode_ask.
9973 (follow_fork): Simplify and remove internal error for
9974 follow_fork_mode_ask.
9975 (_initialize_infrun): Update "set follow-fork-mode" help text.
9976
0f0cffd2
AC
99772004-01-13 Andrew Cagney <cagney@redhat.com>
9978
9979 * configure.in: Update copyright year.
9980 (build_warnings): Add -Wunused-label.
9981 * configure: Re-generate.
9982
de38af99
AC
99832004-01-12 Andrew Cagney <cagney@redhat.com>
9984
954a7fba
AC
9985 * exec.h (exec_ops): Make "extern".
9986
de38af99
AC
9987 * mips-tdep.c (mips_pseudo_register_read): Don't return a value,
9988 the function is void.
9989 (mips_pseudo_register_write): Ditto.
9990
1a111ce3
AC
99912004-01-12 Andrew Cagney <cagney@redhat.com>
9992
9993 * stack.c (frame_info): Delete DEPRECATED_PRINT_EXTRA_FRAME_INFO
9994 call. Never defined.
9995 * sparc-tdep.h (struct frame_info): Add opaque declaration.
9996 * sparc64-tdep.h (struct gdbarch): Add opaque declaration.
9997 (struct sparc_gregset, struct regcache): Ditto.
9998 * sparc-nat.c: Update copyright. Specify "GNU/Linux".
9999
48efe704
AC
100002004-01-12 Andrew Cagney <cagney@redhat.com>
10001
10002 * mi/ChangeLog: Delete file. Renamed to ...
10003 * mi/ChangeLog-1999-2003: New file.
10004 * tui/ChangeLog: Delete file. Renamed to ...
10005 * tui/ChangeLog-1998-2003: New file.
fe61caab 10006
a54124c5
MK
100072004-01-11 Mark Kettenis <kettenis@gnu.org>
10008
2ca62865
MK
10009 * sparc64nbsd-tdep.c: Include "regset.h".
10010 (sparc64nbsd_sizeof_struct_reg, sparc64nbsd_sizeof_struct_fpreg):
10011 Remove variables.
10012 (fetch_core_registers): Remove function.
10013 (sparc64nbsd_core_fns): Remove variable.
10014 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): New
10015 functions.
10016 (sparc64nbsd_init_abi): Initialize TDEP->gregset,
10017 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
10018 (_initialize_sparc64nbsd_tdep): Remove call to add_core_fns.
10019
ca9d58e9
MK
10020 * sparc-tdep.c (sparc32_extract_struct_value_address): Rename from
10021 sparc_extract_struct_value_address.
10022 (sparc32_gdbarch_init): Set extract_struct_value_address.
10023 * sparc64-tdep.c (sparc64_extract_struct_value_address): New
10024 function.
10025 (sparc64_init_abi): Set extract_struct_value_address. Don't set
10026 return_value_on_stack.
10027
3cc87ec0
MK
10028 * NEWS: Mention that %cs and %ss have been added to the AMD64
10029 configurations
10030
5bf00f29
MK
10031 * frame.c: Update copyright year.
10032 (get_prev_frame): Improve comment.
10033
4f7ec84e
MK
10034 * sparc64fbsd-tdep.c: Include "regset.h".
10035 (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
10036 Remove variables.
10037 (fetch_core_registers): Remove function.
10038 (sparc64fbsd_core_fns): Remove variable.
10039 (sparc64fbsd_supply_gregset, sparc64fbsd_supply_fpregset): New
10040 functions.
10041 (sparc64fbsd_init_abi): Initialize TDEP->gregset,
10042 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
46b58ce9 10043 (_initialize_sparc64fbsd_tdep): Remove call to add_core_fns.
4f7ec84e 10044
4e7b0cd3
MK
10045 * sparcnbsd-tdep.c: Include "regset.h".
10046 (fetch_core_registers): Remove function.
10047 (sparcnbsd_core_fns, sparcnbsd_elfcore_fns): Remove varaibles.
10048 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): New
10049 functions.
10050 (sparc32nbsd_init_abi): Initialize TDEP->gregset and
10051 TDEP->fpregset.
46b58ce9 10052 (_initialize_sparcnbsd_tdep): Remove calls to add_core_fns.
4e7b0cd3 10053
a54124c5
MK
10054 * sparc-tdep.h (struct regset): Provide opaque declaration.
10055 (struct gdbarch_tdep): Add gregset, sizeof_gregset,
10056 fpregset and sizeof_fpregset members.
10057 * sparc-tdep.c (struct regset): Provide opaque declaration.
10058 (sparc_regset_from_core_section): New function.
10059 (sparc32_gdbarch_init): Initialize TDEP->gregset,
10060 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_fpregset.
10061 Set regset_from_core_section when appropriate.
10062
29ff87c5
MK
100632004-01-10 Mark Kettenis <kettenis@gnu.org>
10064
79b1ab3d
MK
10065 * x86-64-tdep.c (amd64_non_pod_p): New function.
10066 (amd64_classify_aggregate): Return class memory for non-POD
10067 C++ structure types.
10068
6470d250
MK
10069 * x86-64-tdep.c (amd64_push_arguments): Add struct_return
10070 argument. Use it to reserve a register if necessary.
10071 (amd64_push_dummy_call): Pass STRUCT_RETURN in call to
10072 amd64_push_arguments.
10073
562c50c2
MK
10074 * x86-64-tdep.c (amd64_classify_aggregate): Ignore static fields.
10075
af233647
MK
10076 * x86-64-tdep.c (amd64_register_info): Add %cs and %ss. Adjust
10077 register numbers in comments.
10078 * x86-64-tdep.h: Update copyright year.
10079 (X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM):
10080 Adjust for addition of %cs and %ss.
10081 * amd64fbsd-nat.c: Update copyright year.
10082 (reg_offset): Add register offsets for %cs and %ss.
10083 * amd64fbsd-tdep.c: Update copyright year.
10084 (amd64fbsd_r_reg_offset): Add register offsets for %cs and %ss.
10085 (amd64fbsd_sc_reg_offset): Likewise.
10086 * x86-64-linux-nat.c: Update copyright year.
10087 (x86_64_linux_gregset64_reg_offset): Add register offsets for %cs
10088 and %ss.
10089 * amd64nbsd-nat.c: Update copyright year.
10090 (amd64nbsd32_r_reg_offset): Add register offsets for %cs and %ss.
10091 * amd64nbsd-tdep.c: Update copyright year.
10092 (amd64nbsd_r_reg_offset): Add register offsets for %cs and %ss.
10093 * x86-64-linux-tdep.c: Update copyright year.
10094 (user_to_gdb_regmap): Add mapping for %cs and %ss.
10095 (x86_64_linux_sc_reg_offset): Adjust for addition of %cs and %ss.
10096 * regformats/reg-x86-64.dat: Add %cs and %ss.
10097
29ff87c5
MK
10098 * blockframe.c (inside_entry_func): Reformat. Introduce new local
10099 variables to prevent long lines. Update comments to reflect
10100 reality.
10101
38d518c9
EZ
101022004-01-09 David Carlton <carlton@kealia.com>
10103
10104 Checked in by Elena Zannoni <ezannoni@redhat.com>.
10105 * dwarf2read.c (read_namespace): Pull out name-generating code
10106 into namespace_name. Rename previous_namespace to previous_prefix
10107 and processing_current_namespace to processing_current_prefix..
10108 (namespace_name): New function.
10109 (add_partial_symbol): Substitute uses of pdi->name with
10110 actual_name.
10111 * cp-support.h: Rename processing_current_namespace to
10112 processing_current_prefix.
10113 Update copyright year.
10114 * cp-namespace.c: Rename processing_current_namespace to
10115 processing_current_prefix.
10116 Update copyright year.
fe61caab 10117
1e4728e7
AC
101182004-01-09 Andrew Cagney <cagney@redhat.com>
10119
10120 * jv-valprint.c, ser-unix.c: Add missing copyright years.
10121
c77c642a
MK
101222004-01-09 Mark Kettenis <kettenis@gnu.org>
10123
10124 * dbxread.c (read_dbx_symtab): Ignore N_PATCH stabs instead of
10125 complaining.
10126 (process_one_symbol): Deal with N_PATCH stabs.
10127
b44e9041
EZ
101282004-01-09 Elena Zannoni <ezannoni@redhat.com>
10129
10130 * dwarf2read.c (read_array_type): Discard FORTRAN_HACK macro and
10131 ifdeffed code.
10132 Update copyright year.
38d518c9 10133
eccfb640
MC
101342004-01-08 Michael Chastain <mec.gnu@mindspring.com>
10135
10136 * config/pa/tm-hppa.h: Update extern declarations for
10137 hppa32_hpux_frame_saved_pc_in_sigtramp,
10138 hppa32_hpux_frame_base_before_sigtramp, and
10139 hppa32_hpux_frame_find_saved_regs_in_sigtramp.
10140
848c5feb
MC
101412004-01-08 Michael Chastain <mec.gnu@mindspring.com>
10142
10143 * config/pa/tm-hppah.h: Update copyright years.
10144
3cc5d663
AC
101452004-01-08 Andrew Cagney <cagney@redhat.com>
10146
10147 * mips-tdep.c (mips_n32n64_reg_struct_has_addr): Delete function.
10148 (mips_o32_reg_struct_has_addr): Delete function.
10149 (mips_gdbarch_init): Update.
10150 (mips_extract_struct_value_address): Delete function.
10151
bfec0b41
JJ
101522004-01-08 David Mosberger <davidm@hpl.hp.com>
10153
10154 * ia64-linux-tdep.c: Update GATE_AREA_END value to reflect
10155 reality.
10156
16e109ca
AC
101572004-01-07 Andrew Cagney <cagney@redhat.com>
10158
6214a8a1
AC
10159 * mips-tdep.c (mips_gdbarch_init): Set elf_flags to the previous
10160 architecture's elf flags (when available).
10161
8d5838b5
AC
10162 * mips-tdep.c (mips_gdbarch_init): Move code determining the MIPS
10163 FPU to the start, check the MIPS FPU when looking for an old
10164 architecture.
10165 (set_mipsfpu_single_command): Update the architecture.
10166 (set_mipsfpu_double_command, set_mipsfpu_none_command): Ditto.
10167
480d3dd2
AC
10168 * mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Delete macro.
10169 (mips_mask_address_p): Add "tdep" parameter.
10170 (show_mask_address, mips_addr_bits_remove): Update.
10171 (mips_dump_tdep): Update.
10172 (MIPS_DEFAULT_STACK_ARGSIZE): Delete macro.
10173 (MIPS_STACK_ARGSIZE): Delete macro.
10174 (mips_stack_argsize, mips_eabi_push_dummy_call): Update.
10175 (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call): Update.
10176 (mips_o64_push_dummy_call, mips_o32_return_value): Update.
10177 (mips_dump_tdep): Update.
10178 (MIPS_SAVED_REGSIZE): Delete macro.
10179 (MIPS_DEFAULT_SAVED_REGSIZE): Delete macro.
10180 (mips_saved_regsize, mips_eabi_use_struct_convention): Update.
10181 (mips_eabi_reg_struct_has_addr, mips_find_saved_regs): Update.
10182 (mips_frame_saved_pc, mips16_heuristic_proc_desc): Update.
10183 (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call): Update.
10184 (mips_o32_push_dummy_call, mips_o64_push_dummy_call): Update.
10185 (mips_pop_frame, return_value_location): Update.
10186 (mips_n32n64_return_value, mips_dump_tdep): Update.
10187
ec03c1ac
AC
10188 * mips-tdep.c (mips_gdbarch_init): Clean up code selecting the
10189 MIPS ABI.
10190
16e109ca
AC
10191 * mips-tdep.c: Update copyright.
10192 (mips_gdbarch_init): Merge two code blocks handling the register
10193 name and number layout.
10194
15255275
MS
101952004-01-02 Pawel Ostrowski <pasza@zodiac.mimuw.edu.pl>
10196
10197 * tracepoint.c (validate_actionline): Fix segv at EOF
10198
9f9057da
MC
101992004-01-07 Michael Chastain <mec.gnu@mindspring.com>
10200
10201 * hpread.c (hpread_read_struct_type): Call SET_FIELD_PHYSNAME
10202 properly for static fields.
10203
0127c0d3 102042004-01-06 Jeff Johnston <jjohnstn@redhat.com>
91562f53 10205 Jason Molenda <jmolenda@apple.com>
0127c0d3
JJ
10206
10207 * disasm.c: Update copyright to include 2004.
10208 (do_mixed_source_and_assembly): For uiout asm list
10209 and tuple cleanups, initialize to null_cleanup instead of
fe61caab 10210 NULL and do so prior to loop. Only reset when we close off
0127c0d3 10211 the tuple/list. Move check for whether to close off the
fe61caab 10212 asm tuple/list to after dump_insns call where it will be run
0127c0d3
JJ
10213 on each loop iteration.
10214
5269965e
AC
102152004-01-05 Andrew Cagney <cagney@redhat.com>
10216
54f1137d
AC
10217 * ser-unix.c (ser_unix_async): Fix tipo, "NOTHING_SECHEDULED"
10218 should be a switch case and not a label.
10219 * mips-tdep.c (mips32_next_pc): Delete unused labels
10220 "greater_equal_branch" and "less_zero_branch".
10221 * jv-valprint.c (java_print_value_fields): Delete unused label
10222 "flush_it".
10223
5269965e
AC
10224 * target.c (unpush_target): Only close a target that is in the
10225 target stack.
10226
dbc22fa1
MK
102272004-01-05 Mark Kettenis <kettenis@gnu.org>
10228
9515395e
MK
10229 * sparc-tdep.c (sparc_extract_struct_value_address): Get the
10230 address from [sp + 64] instead of %o2.
10231
dbc22fa1
MK
10232 * frame.c (get_prev_frame): Don't try to unwind the PC. This
10233 fixes PR backtrace/1476.
10234
5439edaa
AC
102352004-01-05 Andrew Cagney <cagney@redhat.com>
10236
10237 * libunwind-frame.h (struct frame_id): Add opaque declaration,
10238 move to start of file.
10239 * i386-tdep.h (struct regcache): Add opaque declaration.
10240 * config/ia64/nm-linux.h (struct target_ops): Add opaque
10241 declaration.
10242 * ia64-tdep.c (ia64_find_proc_info_x): Do not use __FUNCTION__.
10243 (ia64_gdbarch_init): Use "GNU/Linux" in comment.
10244 * win32-nat.c (fake_create_process): Use ISO C style definition.
10245 * stabsread.c (define_symbol): Delete #ifndef
10246 DEPRECATED_USE_REGISTER_NOT_ARG wrapper around
10247 stabs_argument_has_addr call, macro never defined.
10248
19061abe
MC
102492004-01-04 Michael Chastain <mec.gnu@mindspring.com>
10250
10251 * op50-rom.c: Delete.
10252 * w89k-rom.c: Delete.
10253 * Makefile.in: Remove references.
10254
e53bef9f
MK
102552004-01-04 Mark Kettenis <kettenis@gnu.org>
10256
10257 * x86-64-tdep.c: Update copyright year.
10258 (struct amd64_register_info): Rename from x86_64_register_info.
10259 (amd64_register_info): Rename from x86_64_register_info.
10260 (AMD64_NUM_REGS): Rename from X86_64_NUM_REGS.
10261 (amd64_register_name): Rename from x86_64_register_name.
10262 (amd64_register_type): Rename from x86_64_register_type.
10263 (amd64_dwarf_regmap): Rename from x86_64_dwarf_regmap.
10264 (amd64_dwarf_regmap_len): Rename from x86_64_dwarf_regmap_len.
10265 (amd64_dwarf_reg_to_regnum): Rename from
10266 x86_64_dwarf_reg_to_regnum.
10267 (amd64_convert_register_p): Rename from x86_64_convert_register_p.
10268 (amd64_push_dummy_call): Rename from x86_64_push_dummy_call.
10269 (AMD64_NUM_SAVED_REGS): Rename from X86_64_NUM_SAVED_REGS.
10270 (struct amd64_frame_cache): Renamed from x86_64_frame_cache.
10271 (amd64_alloc_frame_cache): Renamed from x86_64_alloc_frame_cache.
10272 (amd64_analyze_prologue): Rename from x86_64_analyze_prologue.
10273 (amd64_skip_prologue): Rename from x86_64_skip_prologue.
10274 (amd64_frame_cache): Rename from x86_64_frame_cache.
10275 (amd64_frame_this_id): Rename from x86_64_frame_this_id.
10276 (amd64_frame_prev_register): Rename from
10277 x86_64_frame_prev_register.
10278 (amd64_frame_unwind): Rename from x86_64_frame_unwind.
10279 (amd64_frame_sniffer): Rename from x86_64_frame_sniffer.
10280 (amd64_sigtramp_frame_cache): Rename from
10281 x86_64_sigtramp_frame_cache.
10282 (amd64_sigtramp_frame_prev_register): Rename from
10283 x86_64_sigtramp_frame_prev_register.
10284 (amd64_sigtramp_frame_unwind): Rename from
10285 x86_64_sigtramp_frame_unwind.
10286 (amd64_sigtramp_frame_sniffer): Rename from
10287 x86_64_sigtramp_frame_sniffer.
10288 (amd64_frame_base_address): Rename from x86_64_frame_base_address.
10289 (amd64_frame_base): Rename from x86_64_frame_base.
10290 (amd64_unwind_dummy_id): Rename from x86_64_unwind_dummy_id.
10291 (amd64_frame_align): Rename from x86_64_frame_align.
10292 (amd64_supply_fpregset): Rename from x86_64_supply_fpregset.
10293 (amd64_regset_from_core_section): Rename from
10294 x86_64_regset_from_core_section.
10295 (x86_64_init_abi): Update comments.
10296
fca6aa58
NR
102972004-01-04 Nick Roberts <nick@nick.uklinux.net>
10298
10299 * MAINTAINERS (write after approval): Add myself.
10300
8ada74e3
MK
103012004-01-04 Mark Kettenis <kettenis@gnu.org>
10302
10303 * sparc64-tdep.c (sparc64_store_arguments): Fix handling of
10304 `float' arguments.
10305
5154b0cd
MK
103062004-01-04 Mark Kettenis <kettenis@gnu.org>
10307
10308 * sparc64-tdep.c (sparc64_store_floating_fields): Update comment
10309 such that it mentions a specific version of GCC that exhibits this
10310 bug.
10311
fb316966
MK
103122004-01-03 Mark Kettenis <kettenis@gnu.org>
10313
200cc553
MK
10314 * sparc64-tdep.c (sparc64_store_floating_fields): If TYPE is a
10315 structure that has a single `float' member, store it in %f1 in
10316 addition to %f0.
10317
e226a4a0
MK
10318 * sparc-sol2-nat.c: Add missing '\'.
10319
b9d4c5ed
MK
10320 * sparc-tdep.c (sparc32_return_value): New function.
10321 (sparc32_use_struct_convention, sparc32_return_value_on_stack):
10322 Remove functions.
10323 (sparc32_gdbarch_init): Set return_value, don't set
10324 extract_return_value, store_return_value, use_struct_convention
10325 and return_value_on_stack.
10326
fb316966
MK
10327 * sparc-sol2-nat.c: Add missing ')'.
10328
1af510a8
JB
103292004-01-03 J. Brobecker <brobecker@gnat.com>
10330
10331 * infrun.c (handle_step_into_function): New function.
10332 (handle_inferior_event): Extract out some code into the new
10333 function above.
10334
5cf4d23a
JB
103352004-01-03 J. Brobecker <brobecker@gnat.com>
10336
10337 * infrun.c (handle_inferior_event): Move the declaration of
10338 real_stop_pc inside the if blocks where it is used.
10339
60af1db2
MK
103402004-01-03 Mark Kettenis <kettenis@gnu.org>
10341
10342 * sparc64-tdep.c (sparc64_16_byte_align_p)
10343 (sparc64_store_floating_fields, sparc64_store_floating_fields):
10344 Use check_typedef to get subtypes of structures and unions.
10345 (sparc64_store_return_value): Fix calculation of the appropriate
10346 offset into VALBUF when storing a structure or union.
10347 (sparc64_return_value): New function.
10348 (sparc64_use_struct_convention): Remove function.
10349 (sparc64_init_abi): Set return_value, don't set
10350 extract_return_value, store_return_value and
10351 use_struct_convention.
10352
1a901d3f
EZ
103532004-01-03 Eli Zaretskii <eliz@elta.co.il>
10354
10355 * config/djgpp/fnchange.lst: Add lines for COPYING.LIBGLOSS,
10356 bfd/doc/ChangeLog-9103, bfd/elf32-m68hc1x.c,
10357 gdb/config/alpha/xm-alphaosf.h,
10358 gdb/config/powerpc/tm-ppcle-eabi.h,
10359 gdb/config/rs6000/tm-rs6000-aix4.h, gdb/gdbtk/ChangeLog-2001,
10360 gdb/gdbtk/ChangeLog-2002, gdb/gdbtk/ChangeLog-2003,
10361 gdb/gdbtk/plugins/intel-pentium/intel-pentium.tcl.in,
10362 gdb/gdbtk/plugins/rhabout/rhabout.tcl.in, gdb/i386-linux-nat.c,
10363 gdb/ia64-aix-nat.c, gdb/ia64-aix-tdep.c, gdb/ia64-linux-nat.c,
10364 gdb/ia64-linux-nat.c, gdb/ppc-linux-tdep.c, gdb/ppc-linux-nat.c,
10365 gdb/sparc64nbsd-nat.c, gdb/sparc64nbsd-tdep.c,
10366 gdb/sparc64-linux-nat.c, gdb/sparc64-linux-tdep.c,
10367 gdb/sparc64-nat.c, gdb/sparc64-tdep.c, gdb/sparc64-sol2-tdep.c,
10368 gdb/sparc-sol2-nat.c, gdb/sparc-sol2-tdep.c,
10369 gdb/testsuite/gdb.gdbtk/, gdb/testsuite/gdb.mi/mi-var-child.exp,
10370 nclude/ChangeLog-9103, include/coff/ChangeLog-9103,
10371 include/elf/ChangeLog-9103, include/opcode/ChangeLog-9103,
10372 opcodes/ChangeLog-0001, opcodes/ChangeLog-0203,
10373 opcodes/openrisc-dis.c, opcodes/openrisc-desc.h,
10374 sim/frv/profile-fr550.c, sim/frv/profile-fr550.h,
10375 sim/sh64/sem-compact-switch.c, sim/sh64/sem-media-switch.c,
10376 sim/testsuite/sim/sh64/compact/ldsl-mach.cgs,
10377 sim/testsuite/sim/sh64/compact/ldsl-macl.cgs,
10378 sim/testsuite/sim/sh64/compact/stsl-mach.cgs, and
10379 sim/testsuite/sim/sh64/compact/stsl-macl.cgs.
10380 Remove lines for .cvsignore files.
10381
ef52e463
JB
103822004-01-03 J. Brobecker <brobecker@gnat.com>
10383
10384 * infrun.c: Back out the previous change.
10385
cb1bf9dc
MK
103862004-01-03 Mark Kettenis <kettenis@gnu.org>
10387
f0424ef6
MK
10388 * NEWS: Mention revised SPARC target. Add sparc-*-lynxos* and
10389 sparc-*-sunos4* to the list of REMOVED configurations.
10390
cb1bf9dc
MK
10391 * configure.tgt: Add back sparc-*-vxworks*.
10392 * remote-vxsparc.c: Remove all includes except for "defs.h",
10393 "regcache.h", "vx-share/ptrace.h" and "vx-share/regPacket.h".
10394 Include "sparc-tdep.h".
10395 (SPARC_R_G1): New define.
10396 (vxsparc_gregset): New variable.
10397 (ext_format_sparc): Remove extern declaration.
10398 (vx_read_register): Rewrite to use sparc32_supply_gregset and
10399 sparc32_supply_fpregset.
10400 (vx_write_register): Rewrite to use sparc32_collect_gregset,
10401 sparc_collect_rwindow and sparc32_collect_fpregset.
10402 * config/sparc/tm-vxworks.h: New file, based on recently removed
10403 tm-vxsparc.h.
10404 * config/sparc/vxworks.mt: New file, based on recently removed
10405 vxworks.mt.
fe61caab 10406
5e938f9f
JB
104072004-01-03 J. Brobecker <brobecker@gnat.com>
10408
10409 * infrun.c (handle_step_into_function): New function.
10410 (handle_inferior_event): Extract out some code into the new
10411 function above.
10412
386c036b
MK
104132004-01-02 Mark Kettenis <kettenis@gnu.org>
10414
10415 * Makefile.in (ALLDEPFILES): Remove sparc-linux-nat.c and
10416 sparcl-tdep.c. Add sparc-linux-tdep.c, sparc-sol2-nat.c,
10417 sparc-sol2-tdep.c, sparc-sol2-nat.c, sparc-sol2-tdep.c,
10418 sparc64-linux-nat.c, sparc64-linux-tdep.c, sparc64-nat.c,
10419 sparc64-sol2-tdep.c, sparc64-tdep.c, sparc64fbsd-nat.c,
10420 sparc64fbsd-tdep.c, sparcnbsd-nat.c, sparcnbsd-tdep.c.
10421 (sparc_nat_h): New variable.
10422 (sparcbsd_nat_h, sparcnbsd_tdep_h): Remove variables.
10423 (tm-sun4os4.h): Remove dependency.
10424 (sparcbsd-nat.o, sparc-linux-nat.o): Remove dependencies.
10425 (sparc64fbsd-nat.o, sparc64fbsd-tdep.o, sparc64nbsd-nat.o,
10426 sparc64-tdep.o, sparc-nat.o, sparcnbsd-nat.o, sparcnbsd-tdep.o,
10427 sparc-tdep.o): Update dependencies.
10428 (sparc-linux-tdep.o, sparc-sol2-nat.o, sparc-sol2-tdep.o,
10429 sparc64-linux-nat.o, sparc64-linux-tdep.o, sparc64-nat.o,
10430 sparc64-sol2-tdep.o, sparc64-tdep.o, sparc64nbsd-tdep.o): New
10431 dependencies.
10432 * configure.host: Remove existing sparc-*-lynxos*,
10433 sparc-*-solaris*, sparc-*-sunos4*, sparc-*-sunos5*, sparc-*-*,
10434 ultrasparc-*-freebsd, sparcv9-*-freebsd, sparc64-*-linux*,
10435 sparcv9-*-* and sparc64-*-* triplets. Add new sparc64-*-linux*,
10436 sparc-*-solaris2*, sparcv9-*-solaris2* and sparc64-*-solaris2*
10437 triplets.
10438 * configure.tgt: Remove exitsing sparc-*-aout*, sparc-*-coff*,
10439 sparc-*-elf*, sparc*-lynxos*, sparc-*-solars2*, sparc-*-sunos4*,
10440 sparc-*-sunos5*, sparc-*-vxworks*, sparc64-*linux*, sparc64-*-*,
10441 sparcv9-*-* and commented out sparc64-*-solars2* triplets. Add
10442 new sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*,
10443 sparc64-*-linux, sparc-*-solaris2*, sparcv9-*-solaris*,
10444 sparc64-*-solaris2* and sparc64-*-* triplets.
10445 * sparc64-tdep.c: Update copyright year. Include "inferior.h",
10446 "symtab.h" and "objfiles.h".
10447 (BIAS): Remove define.
10448 (X_OP, X_RD, X_A, X_COND, X_OP2, X_IMM22, X_OP3, X_I, X_DISP22)
10449 (X_DISP19): Remove macros.
10450 (sparc_fetch_instruction): Remove function.
10451 (struct gdbarch_tdep): Remove definition.
10452 (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use ARRAY_SIZE.
10453 (sparc_breakpoint_from_pc): Remove function.
10454 (struct sparc64_frame_cache): Remove definition.
10455 (sparc64_alloc_frame_cache, sparc64_analyze_prologue,
10456 sparc64_unwind_pc): Remove functions.
10457 (sparc64_skip_prologue): Use `struct sparc_frame_cache' instead of
10458 `struct sparc64_frame_cache. Call sparc_analyze_prologue instead
10459 of sparc64_analyze_prologue. Mark constant as ULL instead of UL.
10460 (sparc64_frame_cache): Change return type to `struct
10461 sparc_frame_cache *'. Simply call sparc_frame_cache.
10462 (sparc64_frame_this_id, sparc64_frame_prev_register,
10463 sparc64_frame_base_address): Use `struct sparc_frame_cache'
10464 instead of `struct sparc64_frame_cache.
10465 (sparc_unwind_dummy_id, sparc_extract_struct_value_address,
10466 sparc_analyze_control_transfer, sparc_software_single_step,
10467 sparc64_gdbarch_init, sparc_supply_rwindow, sparc_fill_rwindow,
10468 _initialize_sparc64_tdep): Remove functions.
10469 (TSTATE_CWP, TSTATE_ICC, TSTATE_XCC): New macros.
10470 (PSR_S, PSR_ICC, PSR_VERS, PSR_IMPL, PSR_V8PLUS, PSR_XCC): New
10471 macros.
10472 (sparc64_supply_gregset, sparc64_collect_gregset,
10473 sparc64_supply_fpregset, sparc64_collect_fpregset): New functions.
10474 (sparc64_init_abi): New function.
10475 * sparc64-tdep.h: Update copyright year. Fix typo in multiple
10476 inclusion guard. Include "sparc-tdep.h".
10477 (BIAS): Define.
10478 (r_tstate_offset, r_fprs_offset): New defines.
10479 (enum sparc_regnum): Remove defenition.
10480 (enum sparc64_regnum): Reformat.
10481 (sparc_supply_rwindow, sparc_fill_rwindow): Remove prototypes.
10482 (sparc64_init_abi, sparc64_supply_gregset,
10483 sparc64_collect_gregset, sparc64_supply_fpregset,
10484 sparc64_collect_fpregset): New prototypes.
10485 (sparc64_sol2_gregset, sparc64nbsd_gregset, sparc64fbsd_gregset):
10486 Add extern declarations.
10487 (sparc64_sol2_init_abi): New prototype.
10488 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
10489 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
10490 prototypes.
10491 * sparc64fbsd-nat.c: Include "sparc-nat.h", don't include
10492 "sparnbsd-nat.h".
10493 (sparc64fbsd_reg_supplies_p, sparc64fbsd_fpreg_supplies_p): Remove
10494 functions.
10495 (_initialize_sparc64fbsd_nat): Remove initialization of
10496 sparcbsd_supply_reg, sparcbsd_fill_reg, sparcbsd_supply_fpreg,
10497 sparcbsd_fill_fpreg, sparcbsd_reg_supplies_p,
fe61caab 10498 sparcbsd_fpreg_supplies_p. Initialize sparc_gregset.
386c036b
MK
10499 * sparc64fbsd-tdep.c: Update copyright year. Include "frame.h",
10500 "frame-unwind.h", "trad-frame.h" and "gdb_assert.h".
10501 (sparc64fbsd_r_global_offset, sparc64fbsd_r_out_offset)
10502 (sparc64fbsd_r_fprs_offset, sparc64fbsd_r_tnpc_offset)
10503 (sparc64fbsd_r_tpc_offset, sparc64fbsd_r_tstate_offset)
10504 (sparc64fbsd_r_y_offset): Remove variables.
10505 (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
10506 Make static and const.
10507 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
10508 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
10509 functions.
10510 (sparc64fbsd_gregset): New variable.
10511 (fetch_core_registers): Replace calls to sparc64fbsd_supply_reg
10512 and sparc64fbsd_supply_fpreg with calls to sparc64_supply_gregset
10513 and sparc64_supply_fpregset.
10514 (sparc64fbsd_pc_in_sigtramp, sparc64fbsd_sigtramp_frame_cache)
10515 (sparc64fbsd_sigtramp_frame_this_id)
10516 (sparc64fbsd_sigtramp_frame_prev_register): New functions.
10517 (sparc64fbsd_sigtramp_frame_unwind): New variable.
10518 (sparc64fbsd_sigtramp_frame_sniffer): New function.
10519 (sparc64fbsd_init_abi): Set pc_in_sigtramp, append
10520 sparc64fbsd_sigtramp_frame_sniffer. Call sparc64_init_abi.
10521 * sparcnbsd-tdep.c: Update copyright year. Include
10522 "floatformat.h", "frame.h", "frame-unwind.h", "symtab.h",
10523 "trad-frame.h" and "gdb_assert.h", don't include "target.h",
10524 "value.h" and "sparcnbsd-tdep.h".
10525 (REG32_OFFSET_PSR, REG32_OFFSET_PC, REG32_OFFSET_NPC)
10526 (REG32_OFFSET_Y, REG32_OFFSET_GLOBAL, REG32_OFFSET_OUT)
10527 (REG64_OFFSET_TSTATE, REG64_OFFSET_PC, REG64_OFFSET_NPC)
10528 (REG64_OFFSET_Y, REG64_OFFSET_GLOBAL, REG64_OFFSET_OUT): Remove
10529 defines.
10530 (sparcnbsd_gregset): New variable.
10531 (sparcnbsd_supply_reg32, sparcnbsd_supply_reg64)
10532 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64)
10533 (sparcnbsd_supply_fpreg32, sparcnbsd_supply_fpreg64)
10534 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64): Remove functions.
10535 (sparc32nbsd_sigtramp_start, sparc32nbsd_sigtramp_end): New
10536 variables.
10537 (sparc32nbsd_pc_in_sigtramp, sparc32nbsd_sigcontext_frame_cache)
10538 (sparc32nbsd_sigcontext_frame_this_id)
10539 (sparc32nbsd_sigcontext_frame_prev_register): New functions.
10540 (sparc32nbsd_sigcontext_frame_unwind): New variable.
10541 (sparc32nbsd_sigtramp_frame_sniffer): New function.
10542 (sparcnbsd_get_longjmp_target_32,
10543 sparcnbsd_get_longjmp_target_64): Remove functions.
10544 (sparcnbsd_aout_in_solib_call_trampoline): Rewrite.
10545 (sparcnbsd_init_abi_common, sparcnbsd_init_aout,
10546 sparcnbsd_init_elf): Remove.
10547 (sparcnbsd_init_abi, sparcnbsd_aout_init_abi)
10548 (sparcnbsd_elf_init_abi): New functions.
10549 (_initialize_sparcnbsd_tdep): New prototype.
10550 (_initialize_sparnbsd_tdep): Update.
10551 * config/sparc/fbsd.mh (NATDEPFILES): Remove sparcbsd-nat.o and
10552 corelow.o. Add sparc64-nat.o and sparc-nat.o.
10553 * config/sparc/fbsd.mt (TDEPFILES): Add sparc-tdep.o and corelow.o.
10554 * config/sparc/linux.mh: Update comment.
10555 (XM_FILE, HOST_IPC): Remove variables.
10556 (NATDEPFILES): Add sparc-sol2-nat.o and core-regset.o. Remove
10557 sparc-linux-nat.o.
10558 * config/sparc/linux.mt: Update comment.
10559 (TDEPFILES): Add sparc-sol2-tdep.o and sparc-linux-tdep.o.
10560 * config/sparc/nbsd.mt: Reformat.
10561 * config/sparc/nbsd64.mh: Update comment.
10562 (NATDEPFILES): Add sparc-nat.o.
10563 * config/sparc/nbsd64.mt: Update comment.
10564 (TDEPFILES): Add sparc64-tdep.o and sparc64nbsd-tdep.o.
10565 (TM_FILE): Set to tm-nbsd.h.
10566 * config/sparc/nbsdelf.mh: Update comment.
10567 (NATDEPFILES): Add sparc-nat.o.
10568 (XM_FILE): Delete.
10569 * config/sparc/nbsdaout.mh: Update comment.
10570 (NATDEPFILES): Add sparc-nat.o
10571 (XM_FILE): Delete.
10572 * config/sparc/nm-linux.h: Update copyright year. Don't include
10573 "config/nm-svr4.h" and "solib.h". Add protection against multiple
10574 inclusion.
10575 (KERNEL_U_SIZE): Remove define.
10576 (kernel_u_size): Remove prototype.
10577 (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define.
10578 * config/sparc/nm-nbsd.h: Update copyright. Don't include
10579 "regcache.h".
10580 (CHILD_PREPARE_TO_STORE): Remove define.
10581 * config/sparc/nm-nbsdaout.h: Tweak some comments.
10582 * sparc-nat.c, sparc-tdep.c, sparc-tdep.h, sparc64nbsd-nat.c,
10583 sparcnbsd-nat.c: Rewrite files.
10584 * config/sparc/tm-linux.h, config/sparc/tm-nbsd.h: Rewrite files.
10585 * sparc-linux-nat.c, sparcbsd-nat.c, sparcbsd-nat.h,
10586 sparcnbsd-tdep.h: Remove files.
10587 * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4os4.h,
10588 config/sparc/nm-sun4sol2.h, config/sparc/sp64.mt,
10589 config/sparc/sp64linux.mt, config/sparc/sp64sol2.mt,
10590 config/sparc/sparc-em.mt, config/sparc/sparclynx.mh,
10591 config/sparc/sparclynx.mt, config/sparc/sun4os4.mh,
10592 config/sparc/sun4os4.mt, config/sparc/sun4sol2.mh,
10593 config/sparc/sun4sol2.mt, config/sparc/tm-sp64.h,
10594 config/sparc/tm-sp64linux.h, config/sparc/tm-sparc.h,
10595 config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h,
10596 config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h,
10597 config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt,
10598 config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h: Remove files.
10599 * sparc-linux-tdep.c, sparc-nat.h, sparc-sol2-nat.c,
10600 sparc-sol2-tdep.c, sparc64-linux-nat.c, sparc64-linux-t dep.c,
10601 sparc64-nat.c, sparc64-sol2-tdep.c, sparc64nbsd-tdep.c: New files.
10602 * config/sparc/linux64.mh, config/sparc/linux64.mt,
10603 config/sparc/nm-sol2.h, config/sparc/sol2-64.mt,
10604 config/sparc/sol2.mh, config/sparc/sol2.mt, config/sparc/sparc.mt,
10605 config/sparc/sparc64.mt, config/sparc/tm-sol2.h: New files.
10606
ee84457a
AC
106072004-01-02 Andrew Cagney <cagney@redhat.com>
10608
10609 From 2003-12-18 Kazuhiro Inaoka:
10610 * configure.host: Add m32r-linux target.
10611
0bc2134e
MC
106122004-01-02 Michael Chastain <mec.gnu@mindspring.com>
10613
10614 * top.c (print_gdb_version): Update year to 2004.
10615
89a72f9c
MM
106162004-01-02 Mark Mitchell <mark@codesourcery.com>
10617
10618 * MAINTAINERS: Add myself to the write-after-approval category.
10619
86b013ed
DJ
106202004-01-02 Daniel Jacobowitz <drow@mvista.com>
10621
10622 From Bernardo Innocenti <bernie@develer.com>:
10623 * configure.tgt: Add uClinux target.
10624
e42c9534
AC
106252004-01-02 Andrew Cagney <cagney@redhat.com>
10626
10627 * utils.c (do_my_cleanups): Make static, add forward declaration.
10628 * defs.h (do_my_cleanups): Delete declaration.
10629
162467d3
EZ
106302004-01-02 Eli Zaretskii <eliz@elta.co.il>
10631
10632 * config/djgpp/fnchange.lst: Add lines for gdb/ChangeLog-2003 and
10633 bfd/ChangeLog-0203.
10634
78434e59
MK
106352004-01-02 Mark Kettenis <kettenis@gnu.org>
10636
10637 * configure.in: Check for <machine/reg.h>. Check for `struct reg'
10638 in <machine/reg.h>.
10639 * configure, config.in: Regenerate.
10640
48efe704
AC
10641For older changes see ChangeLog-2003, mi/ChangeLog-1999-2003, and
10642tui/ChangeLog-1998-2003.
c906108c
SS
10643\f
10644Local Variables:
10645mode: change-log
10646left-margin: 8
10647fill-column: 74
10648version-control: never
10649End:
This page took 1.056228 seconds and 4 git commands to generate.