Add KEEP for certain section's *personality*
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
65596487
JB
12004-09-14 Joel Brobecker <brobecker@gnat.com>
2
3 * mips-tdep.c (mips_insn32_frame_cache): Pass frame cache in
4 call to heuristic_proc_desc. Remove code that became redundant
5 as a consequence.
6 (read_next_frame_reg): Remove special case for SP_REGNUM.
7 (set_reg_offset): Fix small typo.
8 (reset_saved_regs): New procedure.
9 (mips32_heuristic_proc_desc): No longer compute a fake
10 procedure descriptor. Compute the full frame cache instead.
11 Some minor comment reformatting.
12
95575b2e
AC
132004-09-14 Andrew Cagney <cagney@gnu.org>
14
f200c492
AC
15 * MAINTAINERS: Add Michael Chastain as the backup gdb.threads
16 maintainer.
17
95575b2e
AC
18 * thread-db.c (thread_db_new_objfile): Assume that there is a
19 child process.
20
69657671
JB
212004-09-13 Jim Blandy <jimb@redhat.com>
22
23 * valops.c (value_assign): Move 'buffer' to the enclosing block,
24 so that its storage isn't referenced after its lifetime ends.
25
6c4182dd
JB
26 * valops.c (value_assign): 'use_buffer' is initialized to zero,
27 and never assigned to. Delete it, and the 'if (use_buffer)'
28 clauses. Delete 'raw_buffer', since it is now unused.
29
ee31a58d
AC
302004-09-13 Andrew Cagney <cagney@gnu.org>
31
2c0fc042
AC
32 * configure.in (frags): Replace TM_FILE with DEPRECATED_TM_FILE.
33 * configure: Re-generate.
34 * nlm/Makefile.in (TAGS): Update.
35 * Makefile.in (TAGS): Update.
36 * config/vax/nbsd.mt (TM_FILE): Update.
37 * config/sparc/vxworks.mt (TM_FILE): Update.
38 * config/sparc/sol2.mt (TM_FILE): Update.
39 * config/sparc/sol2-64.mt (TM_FILE): Update.
40 * config/sparc/obsd64.mt (TM_FILE): Update.
41 * config/sparc/obsd.mt (TM_FILE): Update.
42 * config/sparc/nbsd64.mt (TM_FILE): Update.
43 * config/sparc/nbsd.mt (TM_FILE): Update.
44 * config/sparc/linux64.mt (TM_FILE): Update.
45 * config/sparc/linux.mt (TM_FILE): Update.
46 * config/sparc/fbsd.mt (TM_FILE): Update.
47 * config/sh/wince.mt (TM_FILE): Update.
48 * config/sh/nbsd.mt (TM_FILE): Update.
49 * config/sh/linux.mt (TM_FILE): Update.
50 * config/sh/embed.mt (TM_FILE): Update.
51 * config/s390/s390.mt (TM_FILE): Update.
52 * config/rs6000/rs6000lynx.mt (TM_FILE): Update.
53 * config/rs6000/rs6000.mt (TM_FILE): Update.
54 * config/rs6000/aix4.mt (TM_FILE): Update.
55 * config/powerpc/vxworks.mt (TM_FILE): Update.
56 * config/powerpc/ppc-sim.mt (TM_FILE): Update.
57 * config/powerpc/ppc-eabi.mt (TM_FILE): Update.
58 * config/powerpc/obsd.mt (TM_FILE): Update.
59 * config/powerpc/nbsd.mt (TM_FILE): Update.
60 * config/powerpc/linux.mt (TM_FILE): Update.
61 * config/powerpc/aix.mt (TM_FILE): Update.
62 * config/pa/obsd.mt (TM_FILE): Update.
63 * config/pa/linux.mt (TM_FILE): Update.
64 * config/pa/hppahpux.mt (TM_FILE): Update.
65 * config/pa/hppa64.mt (TM_FILE): Update.
66 * config/pa/hppa.mt (TM_FILE): Update.
67 * config/ns32k/nbsdaout.mt (TM_FILE): Update.
68 * config/mips/wince.mt (TM_FILE): Update.
69 * config/mips/vxmips.mt (TM_FILE): Update.
70 * config/mips/nbsd.mt (TM_FILE): Update.
71 * config/mips/linux.mt (TM_FILE): Update.
72 * config/mips/irix6.mt (TM_FILE): Update.
73 * config/mips/irix5.mt (TM_FILE): Update.
74 * config/mips/embed.mt (TM_FILE): Update.
75 * config/m68k/vxworks68.mt (TM_FILE): Update.
76 * config/m68k/st2000.mt (TM_FILE): Update.
77 * config/m68k/os68k.mt (TM_FILE): Update.
78 * config/m68k/obsd.mt (TM_FILE): Update.
79 * config/m68k/nbsd.mt (TM_FILE): Update.
80 * config/m68k/monitor.mt (TM_FILE): Update.
81 * config/m68k/linux.mt (TM_FILE): Update.
82 * config/m68k/cisco.mt (TM_FILE): Update.
83 * config/ia64/linux.mt (TM_FILE): Update.
84 * config/ia64/aix.mt (TM_FILE): Update.
85 * config/ia64/ia64.mt (TM_FILE): Update.
86 * config/i386/vxworks.mt (TM_FILE): Update.
87 * config/i386/obsd64.mt (TM_FILE): Update.
88 * config/i386/obsd.mt (TM_FILE): Update.
89 * config/i386/nto.mt (TM_FILE): Update.
90 * config/i386/nbsd64.mt (TM_FILE): Update.
91 * config/i386/nbsd.mt (TM_FILE): Update.
92 * config/i386/linux64.mt (TM_FILE): Update.
93 * config/i386/linux.mt (TM_FILE): Update.
94 * config/i386/i386sol2.mt (TM_FILE): Update.
95 * config/i386/i386lynx.mt (TM_FILE): Update.
96 * config/i386/fbsd64.mt (TM_FILE): Update.
97 * config/i386/fbsd.mt (TM_FILE): Update.
98 * config/i386/cygwin.mt (TM_FILE): Update.
99 * config/h8300/h8300.mt (TM_FILE): Update.
100 * config/frv/frv.mt (TM_FILE): Update.
101 * config/cris/cris.mt (TM_FILE): Update.
102 * config/arm/wince.mt (TM_FILE): Update.
103 * config/arm/nbsd.mt (TM_FILE): Update.
104 * config/arm/linux.mt (TM_FILE): Update.
105 * config/arm/embed.mt (TM_FILE): Update.
106 * config/alpha/nbsd.mt (TM_FILE): Update.
107 * config/alpha/fbsd.mt (TM_FILE): Update.
108 * config/alpha/alpha.mt (TM_FILE): Update.
109 * config/alpha/alpha-osf1.mt (TM_FILE): Update.
110 * config/alpha/alpha-linux.mt (TM_FILE): Update.
111
362646f5
AC
112 Eliminate event_loop_p, always has the value 1.
113 * defs.h (event_loop_p): Delete macro.
114 * breakpoint.c (until_break_command): Simplify.
115 * utils.c (prompt_for_continue): Simplify.
116 * tracepoint.c (read_actions): Simplify.
117 * top.c (throw_exception, execute_command, gdb_readline_wrapper)
118 (gdb_rl_operate_and_get_next, command_line_input, get_prompt)
119 (set_prompt, init_main): Simplify.
120 (init_signals, disconnect): Delete, unused.
121 * remote.c (remote_async_resume)
122 (extended_remote_async_create_inferior): Simplify.
123 * mi/mi-interp.c (mi_input): Delete, unused.
124 (mi_interpreter_resume, mi_command_loop): Simplify.
125 * interps.c (current_interp_command_loop): Simplify.
126 * infrun.c (proceed): Simplify.
127 * infcmd.c (run_command, continue_command, step_1, jump_command)
128 (until_command, advance_command, finish_command)
129 (interrupt_target_command): Simplify.
130 * event-top.c (gdb_setup_readline, gdb_disable_readline): Simplify.
131
ee31a58d
AC
132 * config/i386/nm-i386.h (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete.
133 * config/s390/nm-linux.h (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete.
134 * config/pa/nm-hppah.h (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete.
135 * config/ia64/nm-linux.h (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete.
136 * config/frv/tm-frv.h (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete.
137 * mips-tdep.c (mips_dump_tdep): Do not print same.
138
b7ffc4a8
AC
1392004-09-12 Andrew Cagney <cagney@gnu.org>
140
2bfb72ee
AC
141 * valprint.c (print_longest): Use fputs_filtered. Make "val"
142 const.
143 * Makefile.in (valprint.o): Delete explict rule.
144
4f17c3c1
AC
145 * config/m68k/nbsdelf.mh: Add missing trailing newline. Problem
146 reported by Dave Anderson.
147
f810308b
AC
148 * target.c (target_info): Delete #ifdef call to FILES_INFO_HOOK.
149
b7ffc4a8
AC
150 * inferior.h (STORE_STRUCT_RETURN): Delete macro.
151
28b41c52
AC
1522004-09-12 Salvador E. Tropea <set@users.sf.net>
153 Andrew Cagney <cagney@gnu.org>
154
155 * mi/mi-main.c (mi_cmd_data_list_changed_registers)
156 (mi_cmd_data_list_register_values)
157 (mi_cmd_data_write_register_values): Include the PSEUDO_REGS in
158 the register number computation.
159
5bf970f9
AC
1602004-09-12 Andrew Cagney <cagney@gnu.org>
161
162 * ppcnbsd-nat.c: Include "inf-ptrace.h".
163 (ppcnbsd_fetch_inferior_registers): Rename fetch_inferior_registers.
164 (ppcnbsd_store_inferior_registers): Rename store_inferior_registers.
165 (_initialize_ppcnbsd_nat): Create and add a NetBSD/PPC ptrace
166 target.
167 * config/powerpc/nbsd.mh (NATDEPFILES): Replace and inftarg.o with
168 inf-ptrace.o and inf-child.o.
169 * inf-ptrace.h, inf-ptrace.c, inf-child.h, inf-child.c: New files.
170 * Makefile.in: Update dependencies.
171
0759e0bf
AC
1722004-09-11 Andrew Cagney <cagney@gnu.org>
173
174 * language.c (hex_string, hex_string_custom): Move from here ...
175 * utils.c (hex_string, hex_string_custom): ... to here, rewrite.
176 (CELLSIZE): Increase to 50.
177 * language.h (hex_string, hex_string_custom): Move from here ...
178 * defs.h: ... to here.
179 * Makefile.in: Update all dependencies.
180
bb599908
PH
1812004-09-11 Paul N. Hilfinger <hilfinger@gnat.com>
182
183 * language.c (local_hex_format_custom): Remove.
184 (local_hex_string): Rename to hex_string, use C format, and move to
185 utils.c
186 (local_hex_string_custom): Rename to hex_string_custom and change
187 interface. Now uses C format. Move to utils.c
188 (local_octal_format_custom): Remove.
189 (local_decimal_format_custom): Remove.
190 (unknown_language_defn): Remove language-specific number
191 formatting entries.
192 (auto_language_defn): Ditto.
193 (local_language_defn): Ditto.
194 * language.h (struct language_format_info): Delete declaration.
195 (struct language_defn): Remove language_format_info fields
196 la_binary_format, la_octal_format, la_decimal_format, la_hex_format.
197 (local_binary_format): Remove macro.
198 (local_binary_format_prefix): Remove macro.
199 (local_binary_format_specifier): Remove macro.
200 (local_binary_format_suffix): Remove macro.
201 (local_octal_format): Remove macro.
202 (local_octal_format_prefix): Remove macro.
203 (local_octal_format_specifier): Remove macro.
204 (local_octal_format_suffix): Remove macro.
205 (local_decimal_format): Remove macro.
206 (local_decimal_format_prefix): Remove macro.
207 (local_decimal_format_specifier): Remove macro.
208 (local_decimal_format_suffix): Remove macro.
209 (local_hex_format): Remove macro.
210 (local_hex_format_prefix): Remove macro.
211 (local_hex_format_specifier): Remove macro.
212 (local_hex_format_suffix): Remove macro.
213 (local_decimal_format_custom): Remove.
214 (local_octal_format_custom): Remove.
215 (local_hex_format_custom): Remove.
216 (local_hex_string): Rename to hex_string and move to defs.h.
217 (local_hex_string_custom): Rename to hex_string_custom, change
218 interface, and move to defs.h.
219 * utils.c: (int_string): New function.
220 (hex_string): New function (from language.c).
221 (hex_string_custom): New function (from language.c).
222 (octal2str): New function.
223 (decimal2str): Add width parameter.
224 (paddr_u): Use new decimal2str interface.
225 (paddr_d): Ditto.
226 * defs.h (hex_string): Declare.
227 (hex_string_custom): Declare.
228 (int_string): Declare.
229 * printcmd.c (print_scalar_formatted): Remove localized binary
230 formatting.
231 * valprint.c (print_longest): Use int_string.
232 (print_floating): Use C hex format.
233 (print_hex_chars): Ditto.
234 (print_binary_chars): Remove language-specific formatting.
235 (print_octal_chars): Use C octal format.
236 (print_decimal_chars): Delocalize format.
237 (print_decimal): Remove.
238 * ada-lang.c (ada_language_defn): Remove language-specific number
239 formatting entries.
240 * p-lang.c (pascal_language_defn): Ditto.
241 * c-lang.c (c_language_defn): Ditto.
242 (cplus_language_defn): Ditto.
243 (asm_language_defn): Ditto.
244 (minimal_language_defn): Ditto.
245 * f-lang.c (f_language_defn): Ditto.
246 * jv-lang.c (java_language_defn): Ditto.
247 * m2-lang.c (m2_language_defn): Ditto.
248 * scm-lang.c (scm_language_defn): Ditto.
249 * objc-lang.c (objc_language_defn): Ditto.
250 * memattr.c (mem_info_command): Use renamed hex_string_custom with
251 new interface.
252 * pa64solib.c (pa64_sharedlibrary_info_command): Ditto.
253 * ui-out.c (ui_out_field_core_addr): Ditto.
254 * breakpoint.c (breakpoint_adjustment_warning): Ditto.
255 * exec.c (print_section_info): Ditto.
256 * i387-tdep.c (print_i387_status_word): Ditto.
257 (print_i387_control_word): Ditto.
258 (i387_print_float_info): Ditto.
259 * maint.c (maint_print_section_info): Ditto.
260 * solib.c (info_sharedlibrary_command): Ditto.
261 * somsolib.c (som_sharedlibrary_info_command): Ditto.
262 * symtab.c (print_msymbol_info): Ditto.
263 * tracepoint.c (tracepoints_info): Ditto.
264 * solib-frv.c (lm_base): Ditto.
265 (frv_current_sos): Ditto.
266 (enable_break2): Ditto.
267 (enable_break): Ditto.
268 * dbxread.c (read_dbx_symtab): Use renamed hex_string.
269 (process_one_symbol): Ditto.
270 * infcmd.c (program_info): Ditto.
271 * mdebugread.c (parse_partial_symbols): Ditto.
272 * symfile.c (add_symbol_file_command): Ditto.
273 * cli/cli-cmds.c (edit_command): Ditto.
274 (list_command): Ditto.
275 * infcall.c (call_function_by_hand): Ditto.
276 * remote-vx.c (vx_run_files_info): Ditto.
277 (vx_wait): Ditto.
278 (vx_attach): Ditto.
279 (vx_detach): Ditto.
280 (vx_kill): Ditto.
281 * aix-thread.c (pdc_symbol_addrs): Ditto.
282 (pdc_read_regs): Ditto.
283 (pdc_write_regs): Ditto.
284 (pdc_read_data): Ditto.
285 (pdc_write_data): Ditto.
286 * d10v-tdep.c (display_trace): Ditto.
287 * rs6000-nat.c (find_toc_address): Ditto.
288 * aix-thread.c: Don't include language.h.
289 * buildsym.c: Ditto.
290 * dbxread.c: Ditto.
291 * mdebugread.c: Ditto.
292 * rs6000-nat.c: Ditto.
293 * buildsym.c (make_blockvector): Use renamed hex_string.
294
33f2d567
JM
2952004-09-10 Jason Molenda (jmolenda@apple.com)
296
297 * cli/cli-script.c (read_next_line): Accept zero or more whitespace
298 chars after 'if' or 'while' commands in user-defined commands.
299
7b90c3f9
JB
3002004-09-08 Jim Blandy <jimb@redhat.com>
301
302 Fix bug reported and analyzed by Olivier Crete:
303 * symfile.c (copy_section_addr_info): New function.
304 (symbol_file_add_with_addrs_or_offsets): Use it to save the
305 original set of address arguments, instead of handwritten code
306 that uses one length to allocate and a different length to
307 initialize. Use make_cleanup_free_section_addr_info.
308 * symfile.h (copy_section_addr_info): New declaration.
309 * utils.c: #include "symfile.h".
310 (do_free_section_addr_info, make_cleanup_free_section_addr_info):
311 New functions.
312 * defs.h (make_cleanup_free_section_addr_info): New declaration.
313 * Makefile.in (utils.o): Update dependencies.
314
b26a6851
AC
3152004-09-08 Andrew Cagney <cagney@gnu.org>
316
317 * thread-db.c (keep_thread_db): Delete.
318 (thread_db_new_objfile, thread_db_create_inferior)
319 (thread_db_mourn_inferior): Simplify assuming !keep_thread_db.
320
be24b061
MK
3212004-09-08 Mark Kettenis <kettenis@gnu.org>
322
f6792ef4
MK
323 * i386-tdep.h (FPC_REGNUM, FCTRL_REGNUM, FSTAT_REGNUM, FTAG_REGNUM)
324 (FISEG_REGNUM, FIOFF_REGNUM, FOSEG_REGNUM, FOOFF_REGNUM)
325 (FOP_REGNUM, XMM0_REGNUM, MXCSR_REGNUM): Remove macros.
326 (i386_frameless_signal_p): Remove prototype.
327 * i386-linux-nat.c (GETFPREGS_SUPPLIES): Remove macro.
328 (GETFPXREGS_SUPPLIES): Define using I386_ST0_REGNUM and
329 I386_SSE_NUM_REGS.
330 * i386-nto-tdep.c (i386nto_supply_gregset): Use I386_NUM_GREGS
331 instead of FP0_REGNUM.
332 (i386nto_regset_id): Use I386_NUM_GREGS and I386_NUM_FREGS instead
333 of FP0_REGNUM and FPC_REGNUM.
334
eeefdaa7
MK
335 * solib-sunos.c (sunos_relocate_main_executable): Remove function.
336 (sunos_solib_create_inferior_hook): Don't call
337 sunos_relocate_main_executable.
338
be24b061
MK
339 * sparcnbsd-tdep.c (sparc32nbsd_elf_init_abi): Set
340 solib_svr4_fetch_link_map_offsets to
341 svr4_ilp32_fetch_link_map_offsets.
342 * sparcobsd-tdep.c: Don't include "nbsd-tdep.h".
343 (sparc32obsd_init_abi): Set solib_svr4_fetch_link_map_offsets to
344 svr4_ilp32_fetch_link_map_offsets.
345 * Makefile.in (sparcobsd-tdep.o): Update dependencies.
346
7c679d16
JB
3472004-09-07 Jim Blandy <jimb@redhat.com>
348
349 * frame.h (frame_register): Doc fix.
350
1f04aa62
AC
3512004-09-07 Andrew Cagney <cagney@gnu.org>
352
353 * vx-share/wait.h: Delete #ifdef USG.
354 * utils.c (request_quit): Ditto.
355 * tui/tui.c (tui_reset): Ditto.
356 * remote.c: Ditto.
357 * remote-sds.c: Ditto.
358 * remote-rdi.c: Ditto.
359 * mdebugread.c: Ditto.
360 * m68klinux-nat.c: Ditto.
361 * infttrace.c: Ditto.
362 * infptrace.c: Ditto.
363 * i386v-nat.c: Ditto.
364 * exec.c: Ditto.
365 * dbxread.c: Ditto.
366 * core-aout.c: Ditto.
367
90edbfbc
JB
3682004-09-05 Joel Brobecker <brobecker@gnat.com>
369
370 * mips-tdep.c (mips_insn16_frame_cache): Fix parameter in call to
371 heuristic_proc_desc.
372 (mips_insn32_frame_cache): Likewise.
373
01f4bf2b
JB
3742004-09-04 Joel Brobecker <brobecker@gnat.com>
375
376 * mips-tdep.c (mips32_heuristic_proc_desc): Remove code that was
377 left behind by error.
378
8511a048
JB
3792004-09-04 Joel Brobecker <brobecker@gnat.com>
380
381 * config/alpha/nm-osf.h (PTRACE_ARG3_TYPE): Remove define.
382 * config/powerpc/nm-aix.h (PTRACE_ARG3_TYPE): Likewise.
383
649dfe9f
JB
3842004-09-04 Joel Brobecker <brobecker@gnat.com>
385
386 * config/rs6000/xm-aix4.h: Remove this file.
387 * config/rs6000/aix4.mh (XM_FILE): Delete.
388
6e50f889
JB
3892004-09-04 Joel Brobecker <brobecker@gnat.com>
390
391 * config/rs6000/xm-rs6000.h: Remove this file.
392 * config/rs6000/rs6000.mh (XM_FILE): Remove.
393
b8c4aece
AC
3942004-09-03 Andrew Cagney <cagney@gnu.org>
395
fb603883
AC
396 * mips-tdep.c (PROC_DESC_IS_DUMMY, SET_PROC_DESC_IS_DUMMY)
397 (_PROC_MAGIC_, after_prologue, mips_dump_tdep): Delete macros and
398 only use.
399
c9343fd1
AC
400 * mips-tdep.c (temp_saved_regs): Delete.
401 (set_reg_offset): Replace saved_regs parameter with this_cache.
402 (heuristic_proc_desc, mips16_heuristic_proc_desc)
403 (mips32_heuristic_proc_desc): Add this_cache parameter.
404 (mips_insn32_frame_cache, mips_insn16_frame_cache)
405 (after_prologue): Pass a NULL this_cache.
406
9733cfe1
AC
407 * mips-tdep.c (mips_mdebug_frame_cache): Delete code handling
408 non-kernel trap prologues.
409
0d5febcc
AC
410 * mips-tdep.c (find_proc_desc): Delete function.
411 (mips_mdebug_frame_cache): Inline call to find_proc_desc,
412 simplify.
413 (mips_insn16_frame_cache): Replace find_proc_desc with code from
414 mips_insn32_frame_cache.
415
9733cfe1 416 * mips-tdep.c (after_prologue): Inline call to find_proc_desc.
283be873
AC
417 Simplify as NEXT_FRAME is NULL.
418 (find_proc_desc): Simplify as NEXT_FRAME is non-NULL.
419
177f84a3
AC
420 * mips-tdep.c (after_prologue): Replace proc_desc parameter with
421 local variable.
422 (mips_skip_prologue): Update.
423
465f7520
AC
424 * mips-tdep.c (find_proc_desc, heuristic_proc_desc): Delete
425 "cur_frame" parameter.
177f84a3
AC
426 (after_prologue, mips_mdebug_frame_cache, mips_insn16_frame_cache):
427 (mips_insn32_frame_cache, find_proc_desc): Update
465f7520 428
e38b8658
AC
429 * config/vax/nm-obsd.h: Delete file.
430 * config/vax/obsd.mh (NAT_FILE): Set to config/nm-bsd.h.
431 * config/vax/nm-nbsd.h: Delete file.
432 * config/vax/nm-nbsdaout.h: Include config/nm-nbsd.h.
433 * config/vax/nbsdelf.mh (NAT_FILE): Set to config/nm-nbsd.h.
434 * config/sh/nm-nbsd.h: Delete file.
435 * config/sh/nbsd.mh (NAT_FILE): Set to config/nm-nbsd.h.
436 * config/rs6000/nm-rs6000ly.h: Delete file.
437 * config/djgpp/fnchange.lst: Do not rename nm-rs6000ly.h.
438 * config/rs6000/rs6000lynx.mh (NAT_FILE): Set to config/nm-lynx.h.
439 * config/powerpc/nm-obsd.h: Delete file.
440 * config/powerpc/obsd.mh (NAT_FILE): Set to config/nm-bsd.h.
441 * config/powerpc/nm-nbsd.h: Delete file.
442 * config/powerpc/nbsd.mh (NAT_FILE): Set to config/nm-nbsd.h.
443 * config/pa/nm-obsd.h: Delete file.
444 * config/pa/obsd.mh (NAT_FILE): Set to config/nm-bsd.h.
445 * config/mips/nm-nbsd.h: Delete file.
446 * config/mips/nbsd.mh (NAT_FILE): Set to config/nm-nbsd.h.
447 * config/m88k/nm-obsd.h: Delete file.
448 * config/m88k/obsd.mh (NAT_FILE): Set to config/nm-bsd.h.
449 * config/m68k/nm-nbsd.h: Delete file.
450 * config/m68k/nm-nbsdaout.h: Include config/nm-nbsd.h.
451 * config/m68k/nbsdelf.mh (NAT_FILE): Set to config/nm-nbsd.h.
452 * config/i386/nm-nbsd.h: Delete file.
453 * config/i386/nm-nbsdaout.h: Include config/nm-nbsd.h.
454 * config/i386/obsd64.mh (NAT_FILE): Set to config/nm-nbsd.h.
455 * config/i386/nbsd64.mh (NAT_FILE): Set to config/nm-nbsd.h.
456 * config/i386/nbsdelf.mh (NAT_FILE): Set to config/nm-nbsd.h.
457 * config/i386/nm-i386lynx.h: Delete file.
458 * config/i386/i386lynx.mh (NAT_FILE): Set to config/nm-lynx.h.
459 * config/arm/nm-nbsd.h: Delete file.
460 * config/arm/nm-nbsdaout.h: Include config/nm-nbsd.h.
461 * config/arm/nbsdelf.mh (NAT_FILE): Set to config/nm-nbsd.h.
462
be1ed680
AC
463 * config/i386/tm-fbsd.h: Delete file.
464 * config/i386/fbsd64.mt (TM_FILE): Set to solib.h.
465 * config/i386/fbsd.mt (TM_FILE): Set to solib.h.
466
4b392b26
AC
467 * config/rs6000/tm-rs6000-aix4.h: Delete file.
468 * config/djgpp/fnchange.lst: Do not rename tm-rs6000-aix4.h.
469 * config/rs6000/aix4.mt (TM_FILE): Set to
470 config/rs6000/tm-rs6000.h.
471 * config/powerpc/tm-ppc-aix.h: Delete file.
472 * config/powerpc/aix.mt (TM_FILE): Set to
473 config/rs6000/tm-rs6000.h.
474 * config/m68k/tm-linux.h: Delete file.
475 * config/m68k/linux.mt (TM_FILE): Set to solib.h
476 * config/i386/tm-linux64.h: Delete file.
477 * config/i386/linux64.mt (TM_FILE): Set to solib.h.
478 * config/djgpp/fnchange.lst: Do not rename tm-linux.h.
479
f3219c75
AC
480 * config/m68k/tm-linux.h (SVR4_SHARED_LIBS): Delete.
481 * config/i386/tm-linux64.h (SVR4_SHARED_LIBS): Delete.
482 * config/i386/nm-i386sco5.h (SVR4_SHARED_LIBS): Delete.
483 * config/tm-linux.h (SVR4_SHARED_LIBS): Delete.
484 * config/nm-sysv4.h (SVR4_SHARED_LIBS): Delete.
485 * config/nm-linux.h (SVR4_SHARED_LIBS): Delete.
486 * config/nm-gnu.h (SVR4_SHARED_LIBS): Delete.
487 * sh64-tdep.c [SVR4_SHARED_LIBS]: Delete #ifdef wrapper.
488 * sh-tdep.c [SVR4_SHARED_LIBS]: Delete #ifdef wrapper.
489
b8c4aece
AC
490 * configure.in (GDB_TM_FILE): Fix typo, use gdb_target_cpu and not
491 gdb_host_cpu.
492
8ac2e020
JB
4932004-09-02 Joel Brobecker <brobecker@gnat.com>
494
495 * mips-tdep.c (mips_insn32_frame_cache): Remove some dead code.
496 Minor reformatting. Some code factoring.
497
c185a355
AC
4982004-09-02 Andrew Cagney <cagney@gnu.org>
499
63f22f0d
AC
500 * config/vax/nbsd.mt (TM_FILE): Set to solib.h.
501 * config/vax/tm-nbsd.h: Delete file.
502 * config/sparc/vxworks.mt (TM_FILE): Set to config/tm-vxworks.h.
503 * config/sparc/tm-vxworks.h: Delete file.
504 * config/sparc/nbsd.mt (TM_FILE): Set to solib.h.
505 * config/sparc/tm-nbsd.h: Delete file.
506 * config/sparc/linux64.mt (TM_FILE): Set to solib.h.
507 * config/sparc/linux.mt (TM_FILE): Set to solib.h.
508 * config/sparc/tm-linux.h: Delete file.
509 * config/s390/s390.mt (TM_FILE): Set to config/tm-linux.h
510 * config/s390/tm-linux.h: Delete file.
511 * config/pa/obsd.mt (TM_FILE): Set to solib.h.
512 * config/pa/tm-bsd.h: Delete file.
513 * config/m68k/obsd.mt (TM_FILE): Set to solib.h.
514 * config/m68k/tm-obsd.h: Delete file.
515 * config/m68k/nbsd.mt (TM_FILE): Set to solib.h.
516 * config/m68k/tm-nbsd.h: Delete file.
517 * config/i386/vxworks.mt (TM_FILE): Set to config/tm-vxworks.h.
518 * config/i386/tm-vxworks.h: Delete file.
519 * config/i386/obsd64.mt (TM_FILE): Set to solib.h.
520 * config/i386/obsd.mt (TM_FILE): Set to solib.h.
521 * config/i386/nbsd64.mt (TM_FILE): Set to solib.h.
522 * config/i386/nbsd.mt (TM_FILE): Set to solib.h.
523 * config/i386/tm-nbsd.h: Delete file.
524 * config/i386/i386lynx.mt (TM_FILE): Set to config/tm-lynx.h.
525 * config/i386/tm-i386lynx.h: Delete file.
526 * config/cris/cris.mt (TM_FILE): Set to solib.h.
527 * config/cris/tm-cris.h: Delete file.
528
0f475e27
AC
529 * configure.in: Let TM_FILE, XM_FILE and NAT_FILE specify a path.
530 * configure: Re-generate.
531 * config/arm/nbsd.mt (TM_FILE): Set to "solib.h".
532 * config/arm/tm-nbsd.h: Delete file.
533
458ed000
AC
534 * config/powerpc/tm-ppcle-sim.h: Delete.
535 * config/powerpc/tm-ppcle-eabi.h: Delete.
536 * config/powerpc/tm-nbsd.h: Delete.
537 * config/powerpc/nbsd.mt (TM_FILE): Set to tm-ppc-eabi.h.
538 * config/djgpp/fnchange.lst: Do not rename tm-ppcle-sim.h or
539 tm-ppcle-eabi.h.
540
f14375f3
AC
541 * config/i386/nto.mh (NAT_FILE): Delete.
542 * config/i386/nm-nto.h: Delete.
543
c34d127c
AC
544 * config/m68k/tm-vx68.h: Do not include "tm-m68k.h".
545 * config/m68k/tm-os68k.h: Ditto.
546 * config/m68k/tm-monitor.h: Ditto.
547 * config/m68k/tm-cisco.h: Ditto.
548 * config/m68k/st2000.mt (TM_FILE): Delete.
549 * config/m68k/tm-vx68.h (GET_LONGJMP_TARGET): Delete.
550 * config/m68k/tm-cisco.h (GET_LONGJMP_TARGET): Delete.
551 * config/m68k/tm-m68k.h (m68k_get_longjmp_target): Delete file.
552 * m68k-tdep.c (m68k_get_longjmp_target): Make static.
553
f7f0fe03
AC
554 * config/m68k/tm-st2000.h: Delete.
555 * config/m68k/st2000.mt (TM_FILE): Set to tm-m68k.h.
556 * config/sparc/fbsd.mt (TM_FILE): Delete.
557 * config/sparc/tm-fbsd.h: Delete.
558
a2558533
AC
559 * acconfig.h (GDB_MULTI_ARCH): Delete undef.
560 * defs.h (GDB_MULTI_ARCH_PARTIAL, GDB_MULTI_ARCH_TM)
561 (GDB_MULTI_ARCH_PURE, GDB_MULTI_ARCH): Delete macros.
562
b78960be
AC
563 * gdbarch.sh: Instead of GDB_MULTI_ARCH print GDB_NM_FILE,
564 GDB_TM_FILE and GDB_XM_FILE.
565 * gdbarch.c: Re-generate.
566 * configure.in (GDB_XM_FILE, GDB_NM_FILE, GDB_TM_FILE): Include
567 quotes in macro definition.
568 * configure.in: Re-generate.
569
4d60522e
AC
570 * gdbarch.sh: Delete check for GDB_MULTI_ARCH_PARTIAL when
571 validating architecture methods.
572 * gdbarch.c: Re-generate.
573
5010d38b
AC
574 * gdbarch.sh: Delete check for consistency between GDB_MULTI_ARCH
575 and GDB_TM_FILE. Check for GDB_TM_FILE instead of
576 GDB_MULTI_ARCH_PARTIAL.
577 * gdbarch.h: Re-generate.
578
c185a355
AC
579 * config/sparc/tm-vxworks.h (GDB_MULTI_ARCH): Delete.
580 * config/sparc/tm-sol2.h (GDB_MULTI_ARCH): Delete.
581 * config/sparc/tm-nbsd.h (GDB_MULTI_ARCH): Delete.
582 * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Delete.
583 * config/sparc/tm-fbsd.h (GDB_MULTI_ARCH): Delete.
584 * config/sh/tm-sh.h (GDB_MULTI_ARCH): Delete.
585 * config/rs6000/tm-rs6000.h (GDB_MULTI_ARCH): Delete.
586 * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Delete.
587 * config/mips/tm-mips.h (GDB_MULTI_ARCH): Delete.
588 * config/ia64/tm-ia64.h (GDB_MULTI_ARCH): Delete.
589 * config/cris/tm-cris.h (GDB_MULTI_ARCH): Delete.
590 * config/arm/tm-arm.h (GDB_MULTI_ARCH): Delete.
591
14aaa6ab
AC
5922004-09-01 Andrew Cagney <cagney@gnu.org>
593
594 * objfiles.h (struct entry_info): Delete fields main_func_lowpc
595 and main_func_highpc.
596 (INVALID_ENTRY_LOWPC, INVALID_ENTRY_HIGHPC): Delete macros.
597 * objfiles.c (init_entry_point_info, objfile_relocate): Update
598 * nlmread.c (nlm_symfile_read): Update.
599
a343eb3c
JB
6002004-09-01 Joel Brobecker <brobecker@gnat.com>
601
602 * mips-tdep.c (linked_proc_desc_table): Delete, not used.
603 (mips_insn32_frame_cache): Inline call to find_proc_desc.
604 (find_proc_desc): Remove dead code.
605
4fbbbd07
JB
6062004-09-01 Joel Brobecker <brobecker@gnat.com>
607
608 * mips-tdep.c (mips_mdebug_frame_cache): Minor reformatting.
609
84acb35a
JJ
6102004-09-01 Jeff Johnston <jjohnstn@redhat.com>
611
612 * observer.sh: Add struct so_list declaration.
613 * Makefile.in: Add dependencies on observer.h for solib.c and
614 breakpoint.c.
615 * breakpoint.c (disable_breakpoints_in_unloaded_shlib): New
616 function.
617 (_initialize_breakpoint): Register
618 disable_breakpoints_in_unloaded_shlib as an observer of the
619 "solib unloaded" observation event.
620 (re_enable_breakpoints_in_shlibs): For bp_shlib_disabled breakpoints,
621 call decode_line_1 so unfound breakpoint errors are silent.
622 * solib.c (update_solib_list): When a solib is discovered to have
623 been unloaded by the program, notify all observers of the
624 "solib unloaded" observation event.
625
c8cd9f6c
AC
6262004-09-01 Andrew Cagney <cagney@gnu.org>
627
628 * frame.c: Include "objfiles.h".
629 (inside_main_func): New function.
630 (get_prev_frame): Use new inside_main_func.
631 * Makefile.in (frame.o): Update dependencies.
632 * defs.h (inside_main_func): Delete declaration.
633 * blockframe.c (inside_main_func): Delete function.
634
1168df01
JB
6352004-08-31 Jim Blandy <jimb@redhat.com>
636
637 * dwarf2read.c (is_vtable_name): New function, based on logic from
638 read_structure_type, but passing the correct length to strncmp,
639 and using 'sizeof' instead of 'strlen'.
640 (read_structure_type): Call it.
641
f14f9744
JB
6422004-08-31 Joel Brobecker <brobecker@gnat.com>
643
644 * config/powerpc/aix.mh: Add comment.
645
386d4518
PG
6462004-08-31 Paul GIlliam <pgilliam@us.ibm.com>
647
648 * MAINTAINERS: Add self to Write-After-Approval.
649
7d97d5e2
MI
6502004-08-30 Manoj Iyer <manjo@austin.ibm.com>
651
652 * MAINTAINERS: Add self to Write-After-Approval.
653
68f53502
AC
6542004-08-30 Andrew Cagney <cagney@gnu.org>
655
656 Fix PR breakpoints/1757.
657 * infrun.c (struct execution_control_state): Replace
658 remove_breakpoints_on_following_step with
659 step_after_step_resume_breakpoint.
660 (init_execution_control_state): Update.
661 (handle_inferior_event): For signals, when stepping off a
662 breakpoint, set step_after_step_resume_breakpoint. When
663 BPSTAT_WHAT_STEP_RESUME, do a single-step off the breakpoint.
664 (keep_going): Delete code handling
665 remove_breakpoints_on_following_step.
666
7ca2d3a3
DL
6672004-08-29 David Lecomber <david@streamline-computing.com>
668
669 Fix PR gdb/648
670 * language.h (enum array_ordering): New enum.
671 * language.h (struct language_defn): New la_array_ordering
672 attribute.
673 * language.c (unknown_language_defn, auto_language_defn)
674 (local_language_defn): Ditto.
675 * ada-lang.c (ada_language_defn): Ditto.
676 * c-lang.c (c_language_defn, cplus_language_defn)
677 (asm_language_defn, minimal_language_defn): Ditto.
678 * f-lang.c (f_language_defn): Ditto.
679 * jv-lang.c (java_language_defn): Ditto.
680 * m2-lang.c (f_language_defn): Ditto.
681 * objc-lang.c (objc_language_defn): Ditto.
682 * p-lang.c (pascal_language_defn): Ditto.
683 * scm-lang.c (scm_language_defn): Ditto.
684 * eval.c (evaluate_subexp_standard): Assume Fortran arrays are
685 oriented large to small in type structure.
686 * dwarf2read.c (read_array_order): New function.
687 (read_array_type): Use read_array_order to check row/column
688 major ordering.
689
e354df01
NW
6902004-08-27 Nathan J. Williams <nathanw@wasabisystems.com>
691
692 * target.c (target_resize_to_sections): Check
693 current_target.to_sections for an old value when updating.
694
9185ddce
JB
6952004-08-27 Joel Brobecker <brobecker@gnat.com>
696
697 * procfs.c (dbx_link_bpt_addr): New static global variable.
698 (dbx_link_shadow_contents): New static global variable.
699 (procfs_wait, case <PR_SYSEXIT>): Handle syssgi events.
700 (procfs_wait, case <FLTBPT>): Remove the __dbx_link brekapoint
701 if we just hit it.
702 (procfs_init_inferior): Enable syssgi() syscall trace if appropriate.
703 Reset dbx_link_bpt_addr as the address of __dbx_link() may change
704 from run to run.
705 (procfs_create_inferior): Remove syssgi syscall-exit notifications
706 after the inferior has been forked.
707 (remove_dbx_link_breakpoint): New function.
708 (dbx_link_addr): New function.
709 (insert_dbx_link_bpt_in_file): New function.
710 (insert_dbx_link_bpt_in_region): New function.
711 (insert_dbx_link_breakpoint): New function.
712 (proc_trace_syscalls_1): New function, extracted from
713 proc_trace_syscalls.
714 (proc_trace_syscalls): Replace extract code by call to
715 proc_trace_syscalls_1.
716 * solib-irix.c (disable_break): Remove stop_pc assertion, as it
717 is no longer valid.
718
e6742ace
JB
7192004-08-25 Jim Blandy <jimb@redhat.com>
720
721 * gdbtypes.h (TYPE_CODE_ARRAY): Doc fix.
722
8fb3e588
AC
7232004-08-25 Andrew Cagney <cagney@gnu.org>
724
629a41ee
AC
725 * infrun.c (struct execution_control_state): Delete field
726 "stepping_through_sigtramp".
727 (init_execution_control_state): Do not set same.
728 (context_switch): Do not pass same to save_infrun_state and
729 load_infrun_state.
730 * gdbthread.h (struct thread_info): Delete field
731 stepping_through_sigtramp.
732 (save_infrun_state, load_infrun_state): Delete parameter
733 stepping_through_sigtramp.
734 * thread.c (load_infrun_state, save_infrun_state): Update.
735
8fb3e588
AC
736 * infrun.c: Re-indent. Move expression operators to the beginning
737 of the line. Remove long disabled #if 0 code.
738
49c54768
AC
7392004-08-24 Andrew Cagney <cagney@gnu.org>
740
741 * doublest.h (floatformat_ieee_quad): Rename
742 floatformat_ia64_quad.
743 * doublest.c (floatformat_ieee_quad): Rename
744 floatformat_ia64_quad.
745 (_initialize_doublest): Update.
746
5ca2e327
JB
7472004-08-24 Jim Blandy <jimb@redhat.com>
748
87808bd6
JB
749 * dwarf2expr.h (struct dwarf_expr_context): New members
750 'num_pieces' and 'pieces', for returning the result of an
751 expression that uses DW_OP_piece.
752 (struct dwarf_expr_piece): New struct type.
753 * dwarf2expr.c (new_dwarf_expr_context): Initialize num_pieces and
754 pieces.
755 (free_dwarf_expr_context): Free pieces, if any.
756 (add_piece): New function.
757 (execute_stack_op): Implement DW_OP_piece.
758 * dwarf2loc.c (dwarf2_evaluate_loc_desc): If the result of the
759 expression is a list of pieces, print an error message.
760 (dwarf2_loc_desc_needs_frame): If the expression yields
761 pieces, and any piece is in a register, then we need a frame.
762
5ca2e327
JB
763 * dwarf2loc.c (dwarf2_evaluate_loc_desc): Wait to fetch the top of
764 the stack until we've decided what sort of result the evaluation
765 has produced. Use separate variables, with more specific names.
766
2afeb6b8
RE
7672004-08-23 Richard Earnshaw <rearnsha@arm.com>
768
769 * armnbsd-tdep.c (arm_nbsd_arm_be_breakpoint): Define.
770 (arm_nbsd_thumb_[lb]e_breakpoint): Define.
771 (arm_netbsd_init_abi_common): Register them.
772
5885ab49
MK
7732004-08-22 Mark Kettenis <kettenis@gnu.org>
774
fda820a6
MK
775 * config/vax/vax.mh (NATDEPFILES): Add vax-nat.c.
776
1c5bf419
MK
777 * amd64obsd-tdep.c (amd64obsd_sigtramp_p): Use
778 safe_frame_unwind_memory instead of target_read_memory.
779
8cbba7c8
MK
780 * infptrace.c: Remove #ifdef'ed out inclusion of gdb_stat.h.
781 Reorder includes.
782 (fetch_register, store_register): Remove prototypes.
783 (child_resume): Reorganize code and comments such that it is
784 grouped a bit more logically.
785 (attach): Explicitly compare errno against 0.
786 (detach): Likewise. Use perror_with_name instead of
787 print_sys_errmsg.
788 * Makefile.in (infptrace.o): Update dependencies.
789
c5fa4245
MK
790 * ia64-linux-nat.c: Update copyright year.
791 (fetch_debug_register, store_debug_register)
792 (ia64_linux_stopped_by_watchpoint): Replace PTRACE_ARG3_TYPE with
793 PTRACE_TYPE_ARG3.
794 * config/ia64/nm-linux.h: Update copyright year.
795 (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove defines.
796
387c058c
MK
797 * amd64-linux-tdep.c (amd64_linux_sigtramp_start): Change argument
798 from CORE_ADDR to struct frame_info *. Use
799 safe_frame_unwind_memory instead of deprecated_read_memory_nobpt.
800 (amd64_linux_sigtramp_p): Adjust for changed signature of
801 and64_linux_sigtramp_start
802
277215a6
MK
803 * gdb_ptrace.h: GNU/Linux.
804
25f6178e
MK
805 * config/alpha/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE):
806 Remove defines.
807
652fc137
MK
808 * infptrace.c: Include "gdb_assert.h".
809 (PTRACE_XFER_TYPE): Remove define.
810 (offsetof): Only define if U_REGS_OFFSET isn't defined.
811 (fetch_register, store_register): Rewrite to use PTRACE_TYPE_RET.
812 Tweak comment.
813 (fetch_inferior_registers, store_inferior_registers): Remove
814 redundant culry braces. Tweak comment. s/regno/regnum.
815 * Makefile.in (infptrace.o): Update dependencies.
816
5885ab49
MK
817 * configure.in: Change test for return type of ptrace to default
818 to `long' instead of `int'.
819 * configure: Regenerate.
820
11003ae3
MK
8212004-08-21 Mark Kettenis <kettenis@gnu.org>
822
6b95110c
MK
823 * config/alpha/alpha-linux.mh (LOADLIBES): New variable.
824
bcb3dc3d
MK
825 * configure.in: Check for ttrace function.
826 * configure, config.in: Regenerate.
827
11003ae3
MK
828 * gdb_ptrace.h: New file.
829 * infptrace.c: Include "gdb_ptrace.h" instead of <ptrace.h> or
830 <sys/ptrace.h>.
831 (PT_READ_I, PT_READ_D, PT_READ_U, PT_WRITE_I, PT_WRITE_D)
832 (PT_WRITE_U, PT_CONTINUE, PT_STEP, PT_KILL): Remove defines.
833 (attach): Don't define PT_ATTACH.
834 (detach): Don't define PT_DETACH.
835 * Makefile.in (gdb_ptrace_h): New variable.
836 (infptrace.o): Update dependencies.
837
f8707cac
MK
8382004-08-16 Mark Kettenis <kettenis@gnu.org>
839
840 * inferior.h (PTRACE_ARG3_TYPE): Define as PTRACE_TYPE_ARG3
841 instead of `int' if not already defined.
842 (call_ptrace): Revert change that replaced PTRACE_ARG3_TYPE with
843 PTRACE_TYPE_ARG3.
844 * infptrace.c (call_ptrace): Revert change that replaced
845 PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
846
655c5466
MK
8472004-08-15 Mark Kettenis <kettenis@gnu.org>
848
156e5ba7
MK
849 * config/i386/nm-linux64.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE):
850 Remove defines.
851
de9a9e51
MK
852 * linux-nat.c (kill_inferior): Add missing third and fourth
853 arguments to ptrace call. Don't use PTRACE_ARG3_TYPE.
854
88800403
MK
855 * infptrace.c (child_xfer_memory): Replace PTRACE_XFER_TYPE with
856 PTRACE_TYPE_RET.
857
849a1d7c
MK
858 * proc-why.c (proc_prettyfprint_why): Fix format string.
859
61ad16d1
MK
860 * solib-osf.c (osf_current_sos): Remove unsused label.
861
a6ed5501
MK
862 * configure.in: Add <ncurses/ncurses.h> to the list of possible
863 curses headers.
864 * configure, config.in: Regenerate.
865 * gdb_curses.h [HAVE_NCURSES_NCURSES_H]: Include
866 <ncurses/ncurses.h>.
867
016ddeca
MK
868 * config/nm-bsd.h (PTRACE_ARG3_TYPE): Remove define.
869 * config/nm-nbsd.h: Update copyright year.
870 (PTRACE_ARG3_TYPE): Remove define.
871
49ec097f
MK
872 * sparc-nat.c (fetch_inferior_registers)
873 (store_inferior_registers, sparc_xfer_wcookie):
874 Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
875
9f8e0089
MK
876 * alphabsd-nat.c (fetch_inferior_registers):
877 (store_inferior_registers): Replace PTRACE_ARG3_TYPE with
878 PTRACE_TYPE_ARG3.
879 * amd64bsd-nat.c (fetch_inferior_registers)
880 (store_inferior_registers): Replace PTRACE_ARG3_TYPE with
881 PTRACE_TYPE_ARG3.
882 * armnbsd-nat.c: Update copyright year.
883 (fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs)
884 (store_register, store_regs, store_fp_register, store_fp_regs):
885 Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
886 * hppabsd-nat.c (fetch_inferior_registers)
887 (store_inferior_registers): Replace PTRACE_ARG3_TYPE with
888 PTRACE_TYPE_ARG3.
889 * i386bsd-nat.c (fetch_inferior_registers)
890 (store_inferior_registers, i386bsd_dr_set, i386bsd_dr_get_status):
891 Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
892 * m68kbsd-nat.c (fetch_inferior_registers)
893 (store_inferior_registers): Replace PTRACE_ARG3_TYPE with
894 PTRACE_TYPE_ARG3.
895 * m88kbsd-nat.c (fetch_inferior_registers)
896 (store_inferior_registers): Replace PTRACE_ARG3_TYPE with
897 PTRACE_TYPE_ARG3.
898 * mipsnbsd-nat.c: Update copyright year.
899 (fetch_inferior_registers, store_inferior_registers):
900 Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
901 * ns32knbsd-nat.c: Update copyright year.
902 (fetch_inferior_registers, store_inferior_registers):
903 Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
904 * ppcnbsd-nat.c (fetch_inferior_registers):
905 (store_inferior_registers): Replace PTRACE_ARG3_TYPE with
906 PTRACE_TYPE_ARG3.
907 * ppcobsd-nat.c (fetch_inferior_registers):
908 (store_inferior_registers): Replace PTRACE_ARG3_TYPE with
909 PTRACE_TYPE_ARG3.
910 * shnbsd-nat.c: Update copyright year.
911 (fetch_inferior_registers, store_inferior_registers):
912 Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
913 * vaxbsd-nat.c (fetch_inferior_registers)
914 (store_inferior_registers): Replace PTRACE_ARG3_TYPE with
915 PTRACE_TYPE_ARG3.
916
655c5466
MK
917 * inferior.h (call_ptrace): Replace PTRACE_ARG3_TYPE with
918 PTRACE_TYPE_ARG3.
919 * infptrace.c (call_ptrace, child_resume, attach, detach)
920 (U_REGS_OFFSET, fetch_register, store_register, child_xfer_memory)
921 (udot_info): Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
922 * inftarg.c (ptrace_me): Replace PTRACE_ARG3_TYPE with
923 PTRACE_TYPE_ARG3.
924
c40d0d10
MK
9252004-08-14 Mark Kettenis <kettenis@gnu.org>
926
5cb0ff31
MK
927 * defs.h: Remove out-of-date comment.
928 [!FCLOSE_PROVIDED] (fclose): Remove prototype.
929 [!GETENV_PROVIDED] (getenv): Remove prototype.
930
5f0f34cb
MK
931 * standalone.c: Remove file.
932 * Makefile.in (standalone.o): Remove dependency.
933
7532965f
MK
934 * i386-linux-nat.c (dummy_sse_values): Remove function and
935 prototype.
936 (i386_linux_dr_get): Fix typo in comment.
937 (LINUX_SYSCALL_REGNUM): Define as I386_EAX_REGNUM.
938
1bdc6c53
MK
939 * config/i386/obsd64.mt (TDEPFILES): Add i386obsd-tdep.o.
940
c40d0d10
MK
941 * defs.h (deprecated_error_hook): Remove RETURN and ATTR_NORETURN
942 from declaration.
943 * top.c (deprecated_error_hook): Remove RETURN and ATTR_NORETURN
944 from definition.
945
64218d3e
MK
9462004-08-13 Mark Kettenis <kettenis@gnu.org>
947
948 * configure.in (PTRACE_TYPE_ARG3, PTRACE_TYPE_ARG5): Don't use
949 parenthesis in definition.
950 * configure: Regenerated.
951
926c94e7
MC
9522004-08-12 Michael Chastain <mec.gnu@mindspring.com>
953
954 * PROBLEMS: Mention build/1411.
955
69489883
NN
9562004-08-09 Robert Millan <robertmh@gnu.org>
957
958 Committed by Nathanael Nerode.
959 * configure.host: Match kfreebsd*-gnu and knetbsd*-gnu.
960 * configure.tgt: Match kfreebsd*-gnu and knetbsd*-gnu.
961
ebb7c577
AC
9622004-08-12 Andrew Cagney <cagney@gnu.org>
963
964 * NEWS: Mention fixes in GDB 6.2.1.
965 * PROBLEMS: Remove mention of mips-irix.
966
232d697c
JB
9672004-08-11 Joel Brobecker <brobecker@gnat.com>
968
969 * config/powerpc/xm-aix.h: Delete.
970 * config/powerpc/aix.mh (MH_FILE): Remove.
971 * config/powerpc/aix432.mh (MH_FILE): Remove.
972
72f4e82b
JB
9732004-08-11 Joel Brobecker <brobecker@gnat.com>
974
975 * config/powerpc/aix.mh: Remove obsolete comment.
976 * config/powerpc/aix432.mh: Likewise.
977
0687ccb2
JB
9782004-08-11 Joel Brobecker <brobecker@gnat.com>
979
980 * config/powerpc/xm-aix.h (UINT_MAX): Remove undef.
981
dbf3ada7
JB
9822004-08-11 Joel Brobecker <brobecker@gnat.com>
983
e08e1886
JB
984 * config/rs6000/xm-aix4.h: Remove "config/xm-aix4.h" include,
985 this file is now empty.
986 * config/xm-aix4.h: Remove, this file is no longer included
987 anywhere.
988
9892004-08-11 Joel Brobecker <brobecker@gnat.com>
990
991 * config/powerpc/xm-aix.h: Remove "config/xm-aix4.h" include,
992 that file is now empty.
dbf3ada7
JB
993 (termdef): Remove prototype, function no longer used.
994
4c525ef6
JB
9952004-08-11 Joel Brobecker <brobecker@gnat.com>
996
997 * doc/gdbint.texinfo (Host Definition): Remove documentation
998 for USE_O_NOCTTY, no longer used.
999 * config/xm-aix4.h (USE_O_NOCTTY): Remove, no longer used.
1000 * config/rs6000/xm-rs6000.h (USE_O_NOCTTY): Likewise.
1001
82e0b968
JB
10022004-08-11 Joel Brobecker <brobecker@gnat.com>
1003
1004 * config/xm-aix4.h (FIVE_ARG_PTRACE): Remove, no longer used.
1005 * config/pa/nm-hppah.h (FIVE_ARG_PTRACE): Likewise.
1006 * config/rs6000/xm-rs6000.h (FIVE_ARG_PTRACE): Likewise.
1007
f2acbe1c
MK
10082004-08-11 Mark Kettenis <kettenis@gnu.org>
1009
daa98270
MK
1010 * infptrace.c (call_ptrace): Select code based on PTRACE_TYPE_ARG5
1011 instead of FIVE_ARG_PTRACE.
1012
f2acbe1c
MK
1013 * inflow.c (O_NOCTTY): Define to zero if not already defined.
1014 (new_tty): Use O_NOCTTY unconditionally.
1015
cc377e6b
MK
10162004-08-10 Mark Kettenis <kettenis@gnu.org>
1017
1018 * procfs.c (procfs_detach): Cleanup. Print process ID, not LWP
1019 ID. Use comma in output. Use gdb_flush on gdb_stdout instead of
1020 fflush on stdout.
1021
3bcc18fa
JB
10222004-08-10 Joel Brobecker <brobecker@gnat.com>
1023
1024 * xcoff_symfile_finish: Replace last call to xmfree by call
1025 to xfree.
1026
7936743b
AC
10272004-08-10 Andrew Cagney <cagney@gnu.org>
1028
cc503c8a
AC
1029 * main.c (captured_main): Delete call to init_malloc.
1030 * defs.h (init_malloc): Delete declaration.
1031 * utils.c (mmalloc, mrealloc, mcalloc, mfree)
1032 (init_malloc): Delete functions.
1033
2dc74dc1
AC
1034 * defs.h (xmfree): Delete.
1035 * utils.c (xmfree): Delete function.
1036 (xfree): Inline calls to xmfree and mfree.
1037 * symmisc.c (free_symtab_block, free_symtab): Use xfree.
1038 * symfile.c (reread_symbols, init_psymbol_list): Ditto.
1039 * source.c (forget_cached_source_info, find_and_open_source): Ditto.
1040 * somread.c (som_symfile_finish): Ditto.
1041 * objfiles.c (allocate_objfile, free_objfile):
1042 * nlmread.c (nlm_symfile_finish): Ditto.
1043 * hpread.c (hpread_symfile_finish): Ditto.
1044 * elfread.c (free_elfinfo, elf_symfile_finish): Ditto.
1045 * dbxread.c (dbx_symfile_finish, free_bincl_list): Ditto.
1046 * coffread.c (coff_symfile_finish): Ditto.
1047
aa2ee5f6
AC
1048 * defs.h (xmcalloc): Delete declaration.
1049 * utils.c (xmcalloc): Delete.
1050 (xcalloc): Inline calls to xmcalloc and mcalloc.
1051 * ada-lang.c (_initialize_ada_language): Use htab_create_alloc,
1052 xcalloc and xfree.
1053 * symtab.c (create_demangled_names_hash): Ditto.
1054
0efffb96
AC
1055 * defs.h (xmrealloc): Delete.
1056 * utils.c (xmrealloc): Delete.
1057 (xrealloc): Inline calls to xmrealloc, mmalloc and mrealloc.
1058 * symmisc.c (extend_psymbol_list): Use xrealloc.
1059 * source.c (find_source_lines): Ditto.
1060 * hpread.c (hpread_lookup_type): Ditto.
1061 * dbxread.c (add_bincl_to_list): Ditto.
1062
7936743b
AC
1063 * utils.c (xmmalloc): Delete.
1064 (xmalloc): Inline xmmalloc and mmalloc calls.
1065 (msavestring): Use xmalloc.
1066 * defs.h (xmmalloc): Delete declaration.
1067 * xcoffread.c (xcoff_symfile_init): Use xmalloc instead of
1068 xmmalloc.
1069 * symmisc.c (extend_psymbol_list): Ditto.
1070 * symfile.c (init_psymbol_list): Ditto.
1071 * source.c (find_source_lines): Ditto.
1072 * hpread.c (hpread_symfile_init, hpread_lookup_type): Ditto.
1073 * elfread.c (elf_symtab_read): Ditto.
1074 * dbxread.c (dbx_symfile_init, init_bincl_list): Ditto.
1075 * coffread.c (coff_symfile_init): Ditto.
1076
252ab814
DC
10772004-08-10 David Carlton <carlton@bactrian.org>
1078
1079 * MAINTAINERS: Remove David Carlton from c++ testsuite
1080 maintainers.
1081
8f5ba92b
JG
10822004-08-10 Jerome Guitton <guitton@gnat.com>
1083
1084 * symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure to
1085 print a line feed before the prompt.
1086
21749010
MK
10872004-08-10 Mark Kettenis <kettenis@gnu.org>
1088
1089 * procfs.c (procfs_pid_to_str): Use "%ld" to print LWP.
1090
1f011ce2
JB
10912004-08-09 Joel Brobecker <brobecker@gnat.com>
1092
1093 General cleanup of the AIX xm include file:
1094 * config/xm-aix4.h (fd_set): Remove undefine.
1095 Remove include of <sys/select.h>.
1096 (HAVE_TERMIO): Remove define.
1097 (USG): Likewise.
1098 (NULL): Remove redefine.
1099 (alloca): Remove #pragma.
1100 (vfork): Remove define.
1101 (termdef): Remove.
1102 (SIGWINCH_HANDLER): Remove.
1103 (SIGWINCH_HANDLER_BODY): Remove.
1104
cf4e7692
MK
11052004-08-09 Mark Kettenis <kettenis@gnu.org>
1106
1107 * configure.tgt (x86_64-*-openbsd*): Set gdb_osabi to
1108 GDB_OSABI_OPENBSD_ELF.
1109
ac5754fa
MK
11102004-08-07 Robert Millan <robertmh@gnu.org>
1111
1112 * bsd-kvm.c: Check for nlist.h before including it.
1113
086ec9eb
MK
11142004-08-09 Mark Kettenis <kettenis@gnu.org>
1115
bbe06c74
MK
1116 * i386bsd-nat.c (_initialize_i386bsd_nat): Remove `struct
1117 sigcontext' offset consistency checks for ancient BSD.
1118
3aa7b3b3
MK
1119 * gdb_curses.h [HAVE_CURSESX_H]: Include <cursesX.h>
1120
086ec9eb
MK
1121 * configure.in: Check for <sys/types.h>. Check return and
1122 argument types of ptrace.
1123 * configure, config.in: Regenerate.
1124
09991fa0
JB
11252004-08-09 Jim Blandy <jimb@redhat.com>
1126
1127 * rs6000-tdep.c (set_sim_regno, init_sim_regno_table,
1128 rs6000_register_sim_regno): Doc fixes.
1129
fed7ba43
JB
11302004-08-08 Joel Brobecker <brobecker@gnat.com>
1131
1132 * mips-tdep.c: Include "floatformat.h".
1133 (n32n64_floatformat_always_valid): New function.
1134 (floatformat_n32n64_long_double_big): New constant.
1135 (mips_gdbarch_init): Set size and format of long double
1136 for N32 and N64 ABIs.
1137 * Makefile.in (mips-tdep.o): Update dependencies.
1138
456fcf94
AC
11392004-08-08 Andrew Cagney <cagney@gnu.org>
1140
2f9b146e
AC
1141 * gdbarch.sh: Delete "fmt" and "attrib" fields. Always use %s to
1142 print. Improve script's error messages.
1143 * gdbarch.h: Re-generate.
1144
456fcf94
AC
1145 * gdbarch.sh (pformat): New function.
1146 (float_format, double_format, long_double_format): List with bit
1147 members. Use pformat when printing.
1148 * gdbarch.c, gdbarch.h: Re-generate.
1149
69e9e646
NW
11502004-08-08 Nathan J. Williams <nathanw@wasabisystems.com>
1151
1152 * ppcnbsd-nat.c: Include <machine/frame.h>, <machine/pcb.h>,
1153 "gdbcore.h", "regcache.h", and "bsd-kvm.h".
1154 (ppcnbsd_supply_pcb): New function.
1155 (_initialize_ppcnbsd_nat): New prototype and function.
1156 * config/powerpc/nbsd.mh (NATDEPFILES): Add bsd-kvm.o.
1157 (LOADLIBES): New variable.
1158 * Makefile.in (ppcnbsd-nat.o): Update dependencies.
1159
5ef2d0aa
AC
11602004-08-08 Andrew Cagney <cagney@gnu.org>
1161
1162 * gdbtypes.c (builtin_type_arm_ext, builtin_type_ieee_single)
1163 (builtin_type_ieee_double, builtin_type_ia64_quad)
1164 (builtin_type_ia64_spill, _initialize_gdbtypes): Add tables of
1165 BE/LE floating-point types.
1166 * gdbtypes.h (builtin_type_arm_ext, builtin_type_ieee_single)
1167 (builtin_type_ieee_double, builtin_type_ia64_quad)
1168 (builtin_type_ia64_spill): Declare.
1169 * doublest.c (_initialize_doublest, floatformat_ieee_single)
1170 (floatformat_ieee_double, floatformat_arm_ext)
1171 (floatformat_ia64_spill, floatformat_ia64_quad): Add tables
1172 of LE/BE floatformats.
1173 * doublest.h: (struct floatformat, floatformat_ieee_single)
1174 (floatformat_ieee_double, floatformat_arm_ext)
1175 (floatformat_ia64_spill, floatformat_ia64_quad): Declare.
1176
5c7f2947
MK
11772004-08-08 Mark Kettenis <kettenis@gnu.org>
1178
ecac404d
MK
1179 * i386gnu-nat.c (gnu_store_registers): Fix typo.
1180
9b8607ce
MK
1181 * i386gnu-nat.c (gnu_store_registers): Use regcache_raw_collect
1182 instead of regcache_raw_supply when storing the registers.
1183
f6052080
MK
1184 * i386gnu-nat.c: Update copyright year.
1185 (gnu_store_registers): Don't use deprecated_registers and
1186 deprecated_registers_valid. Use regcache_valid_p and
1187 regcache_raw_supply instead.
1188
17777823
MK
1189 * vax-tdep.c (vax_frame_this_id): Use frame_func_unwind instead of
1190 frame_pc_unwind.
1191
5240ceac
MK
1192 * procfs.c (procfs_pid_to_str): Remove redundant and unused
1193 variables. Incapitalized "process".
1194
5c7f2947
MK
1195 * configure.in: Add cursesX to the list of possible curses libs.
1196 Add cursesX.h to the list of possible curses headers.
1197 * configure, config.in: Regenerate.
1198
da7d81e3
NW
11992004-08-07 Nathan J. Williams <nathanw@wasabisystems.com>
1200
1201 * configure.in: Test for struct lwp in <sys/lwp.h>.
1202 * bsd-kvm.c (bsd_kvm_proc_cmd): If HAVE_STRUCT_LWP is defined, use
1203 the offset of l_addr in struct lwp.
1204
7f245d65
NW
12052004-08-07 Nathan J. Williams <nathanw@wasabisystems.com>
1206
1207 * bsd-kvm.c: Include "gdbcore.h"
1208 (bsd_kvm_open): Use get_exec_file() to set 'execfile'.
1209
47b3f456
AC
12102004-08-07 Andrew Cagney <cagney@gnu.org>
1211
70bd8e24
AC
1212 * gdbtypes.c (build_flt, build_complex): New functions.
1213 (gdbtypes_post_init): Use.
1214
9b0dea39
AC
1215 * doublest.c (floatformat_from_length): Fix tipo, "*" not "&".
1216
5cf7abac
AC
1217 * gdbtypes.c (_initialize_gdbtypes): Do not swap builtin_type_int8
1218 through to builtin_type_uint128.
1219
64d2b26d
AC
1220 * c-exp.y: Use builtin_type function to obtain builtin types.
1221
7ad6570d
AC
1222 * gdbtypes.h (struct builtin_type): Delete builtin_int0 through to
1223 builtin_uint128.
1224 * gdbtypes.c (gdbtypes_post_init): Update.
1225 (build_gdbtypes): Move initialization of builtin_type_int0
1226 through to builtin_type_uint128 from here ...
1227 (_initialize_gdbtypes): ... to here.
1228 * d10v-tdep.c (d10v_register_type): Update.
1229
47b3f456
AC
1230 * doublest.c: Update copyright.
1231 (floatformat_from_length): Call error when floatformat is NULL.
1232 (extract_floating_by_length): Remove NULL fmt check.
1233 (store_floating_by_length): Ditto.
1234
0a8146bf
AC
12352004-08-07 Andrew Cagney <cagney@gnu.org>
1236
1237 * regcache.c (regcache_raw_read): For the moment, #ifdef assert
1238 that the register is valid.
1239
c0ccb908
MK
12402004-08-05 Mark Kettenis <kettenis@chello.nl>
1241
8e6bed05
MK
1242 * i386-linux-tdep.c (i386_linux_sigtramp_start)
1243 (i386_linux_rt_sigtramp_start): Change argument from CORE_ADDR to
1244 struct frame_info *. Use safe_frame_unwind_memory instead of
1245 deprecated_read_memory_nobpt.
1246 (i386_linux_sigtramp_p, i386_linux_sigcontext_addr): Adjust for
1247 changed signature of i386_linux_sigtramp_start and
1248 i386_linux_rt_sigtramp_start.
1249
24f9f5e3
MK
1250 * i386nbsd-tdep.c (i386nbsd_sigtramp_offset): Change argument from
1251 CORE_ADDR to struct frame_info *. Use safe_frame_unwind_memory
1252 instead of deprecated_read_memory_nobpt.
1253 (i386nbsd_sigtramp_p): Adjust for changed signature of
1254 i386nbsd_sigtramp_offset.
1255
c822af0c
MK
1256 * i386obsd-tdep.c (i386obsd_sigtramp_p): Use
1257 safe_frame_unwind_memory instead of target_read_memory.
1258
c0ccb908
MK
1259 * infptrace.c: Include <sys/file.h> if HAVE_SYS_FILE_H instead of
1260 !NO_SYS_FILE.
1261 [KERNEL_U_ADDR_BSD]: Don't include <a.out.h>.
1262 [KERNEL_U_ADDR_BSD] (kernel_u_addr): Remove variable.
1263 (_initialize_kernel_u_addr): Remove prototype and function.
1264 * infttrace.c: Include <sys/file.h> if HAVE_SYS_FILE_H instead of
1265 !NO_SYS_FILE.
1266 * xcoffread.c: Likewise.
1267
b9e1c0d6
MK
12682004-08-06 Mark Kettenis <kettenis@gnu.org>
1269
1270 * vax-nat.c: New file.
1271 * vaxbsd-nat.c: Tweak comment.
1272 * Makefile.in (ALLDEPFILES): Add vax-nat.c, vaxbsd-nat.c and
1273 vaxnbsd-tdep.c.
1274 (vax-nat.o): New dependency.
1275 * configure.host (vax-*-bsd*, vax-*-ultrix*): Set gdb_host to vax.
1276 (vax-*-ultrix2*): Remove.
1277 * config/vax/vax.mh: New file.
1278 * config/vax/nm-vax.h (vax_kernel_u_addr): New extern declaration.
1279 (KERNEL_U_ADDR): Define as vax_kernel_u_addr.
1280 (vax_register_u_addr): New prototype.
1281 (REGISTER_U_ADDR): Define using vax_register_u_addr.
1282 * config/vax/vaxult2.mh: Remove file.
1283 * config/vax/vaxult.mh: Remove file.
1284 * config/vax/vaxbsd.mh: Remove file.
1285 * config/vax/vax.mt (TM_FILE): Remove.
1286 * config/vax/tm-vaxbsd.h: Remove file.
1287
9ad7bec7
JB
12882004-08-06 Joel Brobecker <brobecker@gnat.com>
1289
1290 * aix-thread.c (get_signaled_thread): New function.
1291 (iter_trap): Delete, no longer used.
1292 (iter_tid): New function.
1293 (pd_update): Find the thread that received the SIGTRAP signal
1294 by first locating the kernel thread, and then finding its
1295 associated thread.
1296
bf0d233d
UW
12972004-08-06 Ulrich Weigand <uweigand@de.ibm.com>
1298
1299 * lin-lwp.c (child_wait): Continue inferior after processing
1300 PTRACE_EVENT_CLONE event.
1301
d0f853e1
NN
13022004-08-05 Nathanael Nerode <neroden@gcc.gnu.org>
1303
1304 * MAINTAINERS: Add self to Write-After-Approval.
1305
ab14aeb0
JJ
13062004-08-05 Jeff Johnston <jjohnstn@redhat.com>
1307
1308 * libunwind-frame.c (LIBUNWIND_SO): Change to be of form:
1309 libunwind-xxxx.so" where xxxx is UNW_TARGET.
1310
9c8dbfa9
AC
13112004-08-05 Andrew Cagney <cagney@gnu.org>
1312
c8f3ca46
AC
1313 * config/xm-sysv4.h: Delete file.
1314 * config/mips/xm-irix5.h: Delete file.
1315 * config/mips/irix6.mh (XM_FILE, XM_CLIBS): Delete.
1316 * config/mips/irix5.mh (XM_FILE, XM_CLIBS): Delete.
1317 * config/ia64/xm-aix.h: Delete file.
1318 * config/ia64/aix.mh (XM_FILE): Delete.
1319 * config/pa/xm-hppah.h: Delete file.
1320 * config/pa/hpux11w.mh (XM_FILE): Delete.
1321 * config/pa/hpux11.mh (XM_FILE): Delete.
1322 * config/pa/hpux1020.mh (XM_FILE): Delete.
1323 * config/pa/hppahpux.mh (XM_FILE): Delete.
1324
5f7daaff
AC
1325 * config/alpha/xm-alphalinux.h: Delete file.
1326 * config/djgpp/fnchange.lst: Do not fix xm-alphalinux.h.
1327 * config/alpha/alpha-linux.mh (XM_FILE, LOADLIBES): Delete.
1328 * config/alpha/xm-alphaosf.h: Delete file.
1329 * config/djgpp/fnchange.lst: Do not fix xm-alphaosf.h.
1330 * config/alpha/alpha-osf3.mh (XM_FILE): Delete.
1331 * config/alpha/alpha-osf2.mh (XM_FILE): Delete.
1332 * config/alpha/alpha-osf1.mh (XM_FILE): Delete.
1333
69babf95
AC
1334 * config/i386/xm-i386v.h: Delete file.
1335 * config/i386/i386v.mh (XM_FILE, XM_CLIBS): Delete.
1336 * config/i386/i386sco5.mh (XM_FILE, XM_CLIBS): Delete.
1337 * config/i386/xm-i386sco.h: Delete file.
1338 * config/i386/i386sco4.mh (XM_FILE, XM_CLIBS, MH_CFLAGS): Delete.
1339 * config/i386/i386sco.mh (XM_FILE, XM_CLIBS, CC): Delete.
1340 * config/i386/xm-i386v4.h: Delete file.
1341 * config/djgpp/fnchange.lst: Do not fix xm-i386v4.h.
1342 * config/i386/ncr3000.mh (CC, CFLAGS, XM_FILE): Delete.
1343 * config/i386/i386v42mp.mh (XM_FILE, XM_CLIBS): Delete.
1344 * config/i386/i386v4.mh (XM_FILE, XM_CLIBS): Delete.
1345
6f009c8a
AC
1346 * config/vax/xm-vax.h: Delete file.
1347 * Makefile.in (xm-vaxult.h, xm-vaxbsd.h): Delete.
1348 * config/vax/xm-vaxult2.h: Delete file.
1349 * config/djgpp/fnchange.lst: Do not fix xm-vaxult2.h.
1350 * config/vax/vaxult2.mh (XM_FILE): Delete.
1351 * config/vax/xm-vaxult.h: Delete file.
1352 * config/vax/vaxult.mh (XM_FILE): Delete.
1353 * config/vax/xm-vaxbsd.h: Delete file.
1354 * config/vax/vaxbsd.mh (XM_FILE): Delete.
1355
9c8dbfa9
AC
1356 * gdbarch.sh (deprecated_frame_saved_pc): Delete.
1357 * gdbarch.h, gdbarch.c: Re-generate.
1358 * regcache.c (deprecated_read_fp, deprecated_write_sp): Delete.
1359 * inferior.h (deprecated_read_fp, deprecated_write_sp): Delete.
1360 * frame.h: Delete deprecated_read_fp from comments.
1361 * arch-utils.c (deprecated_init_frame_pc_default): Delete.
1362 * arch-utils.h (deprecated_init_frame_pc_default): Delete.
1363
84367a3e
MK
13642004-08-04 Mark Kettenis <kettenis@gnu.org>
1365
9c8e3411
MK
1366 * i386obsd-tdep.c (i386obsd_sigtramp_p): Adjust for changed signal
1367 trampoline in OpenBSD 3.5-current.
1368
b87bc0d8
MK
1369 * i387-tdep.c (i387_supply_fsave): Provide summy values for the
1370 SSE registers.
1371
84367a3e
MK
1372 * Makefile.in: Remove embedded page breaks.
1373
a44bddec
JB
13742004-08-04 Jim Blandy <jimb@redhat.com>
1375
7ab3286f
JB
1376 * regcache.c (regcache_raw_read): Assert that, after calling
1377 target_fetch_registers, the register we're reading is cached.
1378
a44bddec
JB
1379 * ppc-linux-nat.c (fetch_register): Replace 'gdb_assert (0)' with
1380 a call to 'internal_error', with a more helpful error message.
1381 * rs6000-tdep.c (e500_pseudo_register_read,
870d65d5 1382 e500_pseudo_register_write, rs6000_store_return_value): Same.
a44bddec 1383
35124113
AC
13842004-08-04 Andrew Cagney <cagney@gnu.org>
1385
1386 * Makefile.in: Update dependencies.
1387
9f643768
JB
13882004-08-04 Jim Blandy <jimb@redhat.com>
1389
6ced10dd
JB
1390 Change the layout of the PowerPC E500 raw register cache to allow
1391 the lower 32-bit halves of the GPRS to be their own raw registers,
1392 not pseudoregisters.
1393 * ppc-tdep.h (struct gdbarch_tdep): Remove ppc_gprs_pseudo_p flag;
1394 add ppc_ev0_upper_regnum flag.
1395 * rs6000-tdep.c: #include "reggroups.h".
1396 (spe_register_p): Recognize the ev upper half registers as SPE
1397 registers.
1398 (init_sim_regno_table): Build gdb->sim mappings for the upper-half
1399 registers.
1400 (e500_move_ev_register): New function.
1401 (e500_pseudo_register_read, e500_pseudo_register_write): The 'ev'
1402 vector registers are the pseudo-registers now, formed by splicing
1403 together the gprs and the upper-half registers.
1404 (e500_register_reggroup_p): New function.
1405 (P): Macro deleted.
1406 (P8, A4): New macro.
1407 (PPC_EV_REGS, PPC_GPRS_PSEUDO_REGS): Macros deleted.
1408 (PPC_SPE_GP_REGS, PPC_SPE_UPPER_GP_REGS, PPC_EV_PSEUDO_REGS): New
1409 macros.
1410 (registers_e500): Rearrange register set so that the raw register
1411 set contains 32-bit GPRs and upper-half registers, and the SPE
1412 vector registers become pseudo-registers.
1413 (rs6000_gdbarch_init): Don't initialize tdep->ppc_gprs_pseudo_p;
1414 it has been deleted. Initialize ppc_ev0_upper_regnum. Many other
1415 register numbers are now the same for the E500 as they are for
1416 other PowerPC variants. Register e500_register_reggroup_p as the
1417 register group function for the E500.
1418 * Makefile.in (rs6000-tdep.o): Update dependencies.
1419
1420 Adapt PPC E500 native support to the new raw regcache layout.
1421 * ppc-linux-nat.c (struct gdb_evrregset_t): Doc fixes.
1422 (read_spliced_spe_reg, write_spliced_spe_reg): Deleted.
1423 (fetch_spe_register, store_spe_register): Handle fetching/storing
1424 all the SPE registers at once, if regno == -1. These now take
1425 over the job of fetch_spe_registers and store_spe_registers.
1426 (fetch_spe_registers, store_spe_registers): Deleted.
1427 (fetch_ppc_registers, store_ppc_registers): Fetch/store gprs
1428 unconditionally; they're always raw. Fetch/store SPE upper half
1429 registers, if present, instead of ev registers.
1430 (fetch_register, store_register): Remove sanity checks: gprs are
1431 never pseudo-registers now, so we never need to even mention any
1432 registers that are ever pseudoregisters.
1433
9f643768
JB
1434 Use a fixed register numbering when communicating with the PowerPC
1435 simulator.
1436 * ppc-tdep.h (struct gdbarch_tdep): New member: 'sim_regno'.
1437 * rs6000-tdep.c: #include "sim-regno.h" and "gdb/sim-ppc.h".
1438 (set_sim_regno, init_sim_regno_table, rs6000_register_sim_regno):
1439 New functions.
1440 (rs6000_gdbarch_init): Register rs6000_register_sim_regno. Call
1441 init_sim_regno_table.
1442 * Makefile.in (gdb_sim_ppc_h): New variable.
1443 (rs6000-tdep.o): Update dependencies.
1444
1e2279c8
AC
14452004-08-02 Andrew Cagney <cagney@gnu.org>
1446
1d94326f
AC
1447 * cris-tdep.c (cris_register_size): Restore function, still used
1448 locally.
1449
331ae7ed
AC
1450 * gdbarch.sh (deprecated_target_read_fp)
1451 (deprecated_frame_locals_address, deprecated_frame_args_address)
1452 (deprecated_frame_chain_valid, deprecated_frame_chain)
1453 (deprecated_init_extra_frame_info, deprecated_pop_frame)
1454 (deprecated_frame_init_saved_regs, deprecated_get_saved_register)
1455 (deprecated_do_registers_info, deprecated_init_frame_pc): Delete.
1456 * gdbarch.h, gdbarch.c: Re-generate.
1457 * regcache.c (deprecated_read_fp): Do not call
1458 DEPRECATED_TARGET_READ_FP_P.
1459 * infcmd.c (default_print_registers_info): Do not call
1460 DEPRECATED_DO_REGISTERS_INFO.
1461 * frame-base.c (default_frame_locals_address): Do not call
1462 DEPRECATED_FRAME_LOCALS_ADDRESS.
1463 (default_frame_args_address): Do not call
1464 DEPRECATED_FRAME_ARGS_ADDRESS.
1465
1e2279c8
AC
1466 * gdbarch.sh (deprecated_register_raw_size)
1467 (deprecated_register_virtual_size:int): Delete.
1468 * gdbarch.h, gdbarch.c: Re-generate.
1469 * cris-tdep.c (cris_register_size): Delete.
1470 (cris_gdbarch_init): Update.
1471 * alpha-tdep.c (alpha_register_raw_size)
1472 (alpha_register_virtual_size): Delete.
1473 (alpha_gdbarch_init): Update.
1474
a90c06b4
AC
1475 * gdbarch.sh (deprecated_register_virtual_type)
1476 (deprecated_save_dummy_frame_tos, deprecated_push_return_address)
1477 (deprecated_dummy_write_sp): Delete.
1478 * gdbarch.h, gdbarch.c: Re-generate.
1479
f42accbe
AC
1480 * gdbarch.sh (deprecated_register_bytes): Delete.
1481 * gdbarch.h, gdbarch.c: Re-generate.
1482 * regcache.c (deprecated_register_bytes): New function.
1483 * regcache.h (deprecated_register_bytes): Declare.
1484 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1485 * v850-tdep.c (v850_gdbarch_init): Update.
1486 * sh64-tdep.c (sh64_gdbarch_init): Update.
1487 * ns32k-tdep.c (ns32k_gdbarch_init_32082): Update.
1488 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1489 * mcore-tdep.c (mcore_gdbarch_init): Update.
1490 * cris-tdep.c (cris_gdbarch_init): Update.
1491 * arm-tdep.c (arm_gdbarch_init): Update.
1492 * remote.c (init_remote_state): Update.
1493 * remote-vx.c (vx_prepare_to_store): Update.
1494 * remote-sds.c (sds_fetch_registers, sds_prepare_to_store): Update.
1495 * irix5-nat.c (fetch_core_registers): Update.
1496 * cris-tdep.c (cris_register_bytes_ok): Update.
1497 * config/nm-gnu.h (CHILD_PREPARE_TO_STORE): Update.
1498
45c9dd44
AC
1499 * mips-tdep.c (mips_gdbarch_init, mips_insn16_frame_cache)
1500 (mips_insn16_frame_this_id, mips_insn16_frame_prev_register)
1501 (mips_insn16_frame_unwind, mips_insn16_frame_sniffer)
1502 (mips_insn16_frame_base_address, mips_insn16_frame_base)
1503 (mips_insn16_frame_base_sniffer, mips_insn32_frame_cache)
1504 (mips_insn32_frame_this_id, mips_insn32_frame_prev_register)
1505 (mips_insn32_frame_unwind, mips_insn32_frame_sniffer)
1506 (mips_insn32_frame_base_address, mips_insn32_frame_base)
1507 (mips_insn32_frame_base_sniffer): Replace mips16 / mips32 prefix
1508 with mips_insn16 and mips_insn32.
1509
3acba339
AC
1510 Replace DEPRECATED_REGISTER_RAW_SIZE with register_size.
1511 * rs6000-tdep.c (rs6000_push_dummy_call)
1512 (rs6000_extract_return_value): Use register_size.
1513 * xstormy16-tdep.c (xstormy16_get_saved_register)
1514 (xstormy16_extract_return_value): Ditto.
1515 * valops.c (value_assign): Ditto.
1516 * v850ice.c (v850ice_fetch_registers, v850ice_store_registers):
1517 * v850-tdep.c (v850_extract_return_value): Ditto.
1518 * tracepoint.c (collect_symbol): Ditto.
1519 * target.c (debug_print_register): Ditto.
1520 * stack.c (frame_info): Ditto.
1521 * rs6000-nat.c (ARCH64, fetch_register, store_register): Ditto.
1522 * rom68k-rom.c (rom68k_supply_one_register): Ditto.
1523 * remote.c (struct packet_reg, remote_wait, remote_async_wait)
1524 (store_register_using_P): Ditto.
1525 * remote-vxmips.c (vx_read_register, vx_write_register): Ditto.
1526 * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register): Ditto.
1527 * remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
1528 * remote-e7000.c (fetch_regs_from_dump, sub2_from_pc): Ditto.
1529 * regcache.c (deprecated_read_register_bytes)
1530 (deprecated_write_register_bytes, read_register)
1531 (write_register): Ditto.
1532 * ppc-linux-nat.c (fetch_altivec_register, fetch_register)
1533 (supply_vrregset, store_altivec_register, fill_vrregset): Ditto.
1534 * monitor.c (monitor_supply_register, monitor_fetch_register)
1535 (monitor_store_register): Ditto.
1536 * mn10300-tdep.c (mn10300_pop_frame_regular)
1537 (mn10300_print_register): Ditto.
1538 * mipsv4-nat.c (fill_fpregset): Ditto.
1539 * mips-linux-tdep.c (supply_32bit_reg, fill_fpregset)
1540 (mips64_fill_fpregset): Ditto.
1541 * mi/mi-main.c (register_changed_p, get_register)
1542 (mi_cmd_data_write_register_values): Ditto.
1543 * lynx-nat.c (fetch_inferior_registers, store_inferior_registers):
1544 * irix5-nat.c (fill_gregset, fetch_core_registers):
1545 * infrun.c (write_inferior_status_register): Ditto.
1546 * infptrace.c (fetch_register, store_register): Ditto.
1547 * infcmd.c (default_print_registers_info): Ditto.
1548 * ia64-linux-nat.c (COPY_REG, fill_fpregset): Ditto.
1549 * ia64-aix-nat.c (COPY_REG, fill_gregset): Ditto.
1550 * i386gnu-nat.c (gnu_store_registers, fill): Ditto.
1551 * hpux-thread.c (hpux_thread_fetch_registers)
1552 (hpux_thread_store_registers): Ditto.
1553 * hppah-nat.c (store_inferior_registers, fetch_register):
1554 * findvar.c (value_from_register): Ditto.
1555 * dve3900-rom.c (fetch_bitmapped_register):
1556 * cris-tdep.c (cris_gdbarch_init): Ditto.
1557 * alpha-tdep.h: Ditto.
1558 * aix-thread.c (pd_enable, fill_sprs64, fill_sprs32): Ditto.
1559
01e1877c
AC
1560 * regcache.h: Delete DEPRECATED_REGISTER_VIRTUAL_SIZE and
1561 DEPRECATED_REGISTER_RAW_SIZE from comments.
1562 * regcache.c (init_regcache_descr, regcache_dump): Do not check or
1563 use DEPRECATED_REGISTER_VIRTUAL_SIZE and
1564 DEPRECATED_REGISTER_RAW_SIZE.
1565 * findvar.c (value_of_register): Simplify by assuming that the
1566 registers raw and virtual sizes are identical.
1567 * regcache.h: Delete DEPRECATED_REGISTER_VIRTUAL_TYPE in
1568 comment.
1569 * arch-utils.c (generic_register_size): Simplify by assuming
1570 register_type.
1571
73f458fb
AC
1572 * regcache.c (legacy_read_register_gen, real_register)
1573 (legacy_write_register_gen): Delete, not used.
1574
336a3131
AC
1575 * regcache.c (struct regcache_descr): Delete legacy_p.
1576 (init_legacy_regcache_descr): Delete function.
1577 (init_regcache_descr): Delete call to init_legacy_regcache_descr.
1578 Do not use deprecated register functions.
1579 (regcache_raw_read, deprecated_write_register_gen):
1580 (deprecated_read_register_gen, regcache_raw_write): Delete code
1581 predicated on legacy_p.
1582 (register_size): Delete check against register raw size.
1583
c1d546cd
AC
1584 * cris-tdep.c (cris_register_type): Replace
1585 cris_register_virtual_type.
1586 (cris_gdbarch_init): Update, set register_type.
1587
48c2c0a6
AC
1588 * gdbarch.sh (deprecated_frameless_function_invocation): Delete.
1589 * gdbarch.h, gdbarch.c: Re-generate.
1590 * arm-tdep.c (arm_frameless_function_invocation): Delete.
1591 (arm_gdbarch_init) Do not set frameless function invocation.
1592 * frame.h (legacy_frameless_look_for_prologue): Delete declaration.
1593 * blockframe.c (legacy_frameless_look_for_prologue): Delete function.
1594 * frv-tdep.c (frv_frameless_function_invocation): Delete.
1595 (frv_gdbarch_init): Do not set frameless function invocation.
1596 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
1597 * sh-tdep.c (sh_gdbarch_init): Ditto.
1598 * m32r-tdep.c (m32r_gdbarch_init): Ditto.
1599 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1600 * avr-tdep.c (avr_gdbarch_init): Ditto.
1601
474093a6
AC
1602 * blockframe.c (legacy_frame_chain_valid): Delete function.
1603
3c109c8b
AC
1604 * dummy-frame.c (struct dummy_frame): Delete call_lo, call_hi, top
1605 and pc. Update comments.
1606 (pc_in_dummy_frame): Delete function.
1607 (deprecated_pc_in_call_dummy): Inline old pc_in_dummy_frame code,
1608 use the "id".
1609 (dummy_frame_push, dummy_frame_sniffer): Instead of call_lo,
1610 call_hi, top and pc, use the id.
1611 (fprint_dummy_frames): Do not print call_lo, call_hi, top and pc.
1612
96860204
AC
1613 * dummy-frame.c: Include "gdb_string.h".
1614 (generic_save_call_dummy_addr, generic_push_dummy_frame)
1615 (generic_save_dummy_frame_tos): Delete.
1616 (dummy_frame_push): New function, replaces above.
1617 * dummy-frame.h: Update copyright.
1618 (dummy_frame_push): Declare.
1619 * frame.h (generic_save_dummy_frame_tos, generic_push_dummy_frame)
1620 (generic_save_call_dummy_addr): Delete declarations.
1621 * infcall.c: Include "dummy-frame.h".
1622 (call_function_by_hand): Add locals caller_regcache,
1623 caller_regcache_cleanup and dummy_id. Replace push_dummy_frame
1624 with call to frame_save_as_regcache plus cleanup. Delete calls to
1625 generic_save_call_dummy_addr and generic_save_dummy_frame_tos.
1626 Move clear_proceed_status to just before the resume, add call to
1627 dummy_frame_push (discard cleanup).
1628 * Makefile.in (infcall.o): Add $(dummy_frame_h).
1629 (dummy-frame.o): Add $(gdb_string_h).
1630
d67ec5db
AC
16312004-08-01 Andrew Cagney <cagney@gnu.org>
1632
1633 * dummy-frame.h (dummy_frame_unwind): Replace dummy_frame_sniffer.
1634 * frame-unwind.c (frame_unwind_init): Use dummy_frame_unwind.
1635 * dummy-frame.c (find_dummy_frame): Delete.
1636 (struct dummy_frame_cache, dummy_frame_sniffer)
1637 (dummy_frame_prev_register, dummy_frame_this_id)
1638 (dummy_frame_unwinder, dummy_frame_unwind): Re-implement dummy
1639 frame unwinder using a dummy_frame_cache.
1640
a81dcb05
AC
16412004-08-01 Andrew Cagney <cagney@gnu.org>
1642
1643 * frame.h (frame_save_as_regcache): Declare.
1644 * frame.c (frame_save_as_regcache): New function.
1645 (do_frame_read_register): Replace do_frame_unwind_register.
1646 (frame_pop): Use frame_save_as_regcache.
1647 * dummy-frame.c (generic_push_dummy_frame): Use
1648 frame_save_as_regcache.
1649
aa495d11
JB
16502004-08-01 Joel Brobecker <brobecker@gnat.com>
1651
1652 * dwarf2read.c (dwarf_decode_lines): Do not consider the current
1653 file as included until we record the first line in the linetable.
1654
ff65ac78
AC
16552004-08-01 Andrew Cagney <cagney@gnu.org>
1656
1657 * frame.h (deprecated_pop_dummy_frame)
1658 (deprecated_read_register_dummy)
1659 (deprecated_generic_find_dummy_frame): Delete.
1660 * dummy-frame.c (deprecated_generic_find_dummy_frame)
1661 (deprecated_read_register_dummy)
1662 (deprecated_find_dummy_frame_regcache)
1663 (discard_innermost_dummy)
1664 (deprecated_pop_dummy_frame): Delete.
1665 (dummy_frame_this_id): Simplify.
1666 (struct dummy_frame): Delete "fp" and "sp".
1667 (find_dummy_frame): Simplify.
1668 (generic_push_dummy_frame): Do not set "fp" or "sp".
1669 (fprint_dummy_frames): Do not print "fp" and "sp"
1670
37bdc87e
MK
16712004-08-01 Mark Kettenis <kettenis@gnu.org>
1672
1673 * i386-tdep.c (I386_MAX_INSN_LEN): New define.
1674 (struct i386_insn): New structure.
1675 (i386_match_insn): New function.
1676 (i386_frame_setup_skip_insns): New variable.
1677 (i386_analyze_frame_setup): Change to use i386_match_insn and the
1678 array i386_frame_setup_insns of instructions that should be
1679 skipped inside the frame setup sequence.
1680
8241eaa6
AC
16812004-08-01 Andrew Cagney <cagney@gnu.org>
1682
5bc602c7
AC
1683 * frame.h (deprecated_frame_xmalloc_with_cleanup)
1684 (frame_saved_regs_zalloc, frame_extra_info_zalloc)
1685 (get_frame_extra_info, deprecated_get_frame_saved_regs): Delete.
1686 * stack.c (frame_info): Delete references to
1687 DEPRECATED_FRAME_INIT_SAVED_REGS and
1688 deprecated_get_frame_saved_regs.
1689 * frame.c (struct frame_info): Delete saved_regs and extra_info.
1690 (frame_pc_unwind): Do not use DEPRECATED_FRAME_SAVED_PC.
1691 (frame_register): Do not use DEPRECATED_GET_SAVED_REGISTER.
1692 (frame_unwind_register_signed)
1693 (frame_unwind_register_unsigned)
1694 (frame_unwind_unsigned_register): Use register_size.
1695 (create_new_frame): Do not use DEPRECATED_INIT_EXTRA_FRAME_INFO.
1696 (deprecated_frame_xmalloc_with_cleanup)
1697 (frame_saved_regs_zalloc, frame_extra_info_zalloc)
1698 (get_frame_extra_info, deprecated_get_frame_saved_regs): Delete.
1699
03d363a1
AC
1700 * sh-tdep.c (sh_gdbarch_init): Disable call to sh64_gdbarch_init.
1701 * config/sh/nbsd.mt (TDEPFILES): Remove sh64-tdep.o.
1702 * config/sh/linux.mt (TDEPFILES): Remove sh64-tdep.o.
1703 * config/sh/embed.mt (TDEPFILES): Remove sh64-tdep.o.
1704
8241eaa6
AC
1705 * infcall.c (call_function_by_hand): Do not use
1706 DEPRECATED_PUSH_RETURN_ADDRESS, DEPRECATED_DUMMY_WRITE_SP,
1707 DEPRECATED_SAVE_DUMMY_FRAME_TOS, DEPRECATED_TARGET_READ_FP,
1708 DEPRECATED_FP_REGNUM, DEPRECATED_STORE_STRUCT_RETURN, and
1709 DEPRECATED_STACK_ALIGN.
1710
f00df8b7
AC
17112004-07-30 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
1712
1713 Committed by Andrew Cagney.
1714 * arm-tdep.c: Remove references to add_setshow_cmd_full for apcs32 .
1715
eec63939
AC
17162004-08-01 Andrew Cagney <cagney@gnu.org>
1717
1718 * mips-tdep.c (mips16_frame_cache)
1719 (mips16_frame_this_id, mips16_frame_prev_register)
1720 (mips16_frame_unwind, mips16_frame_sniffer)
1721 (mips16_frame_base_address, mips16_frame_base)
1722 (mips16_frame_base_sniffer, mips32_frame_cache)
1723 (mips32_frame_this_id, mips32_frame_prev_register)
1724 (mips32_frame_unwind, mips32_frame_sniffer)
1725 (mips32_frame_base_address, mips32_frame_base)
1726 (mips32_frame_base_sniffer): Clone the mdebug unwinder into
1727 separate heuristic mips16 and mips32 unwinders.
1728 (mips_stub_frame_cache, mips_stub_frame_this_id)
1729 (mips_stub_frame_prev_register)
1730 (mips_stub_frame_unwind, mips_stub_frame_sniffer)
1731 (mips_stub_frame_base_address, mips_stub_frame_base)
1732 (mips_stub_frame_base_sniffer): Add a simple stub unwinder.
1733 (mips_mdebug_frame_base_sniffer, mips_mdebug_frame_sniffer): Only
1734 match true mdebug frames.
1735 (non_heuristic_proc_desc): Add forward declaration.
1736
e66299b3
AC
17372004-08-01 Andrew Cagney <cagney@gnu.org>
1738
83cbbf3e
AC
1739 * config/mips/tm-irix6.h: Delete file.
1740 * config/mips/tm-irix5.h: Delete file.
1741 * config/mips/irix5.mt (TM_FILE): Set to tm-mips.h
1742 * config/mips/irix6.mt (TM_FILE): Set to tm-mips.h
1743
22d41b37
AC
1744 * config/ia64/tm-linux.h (IA64_GNULINUX_TARGET): Delete.
1745 * config/alpha/nm-osf2.h (PROCFS_SIGPEND_OFFSET): Delete.
1746 * config/nm-gnu.h (NO_CORE_OPS): Delete.
1747 * config/pa/nm-hppah.h (MAY_SWITCH_FROM_INFERIOR_PID): Delete.
1748 * config/i386/nm-i386v4.h (LOSING_POLL): Delete.
1749 * config/alpha/nm-osf2.h (LOSING_POLL): Delete.
1750 * config/tm-nto.h (RAW_SIGNAL_LO, RAW_SIGNAL_HI): Delete.
1751 * config/m68k/tm-vx68.h (VX_SIZE_FPREGS): Delete.
1752 * config/nm-linux.h (USE_THREAD_STEP_NEEDED): Delete.
1753 * config/pa/nm-hppah.h (USE_THREAD_STEP_NEEDED): Delete.
1754 * config/tm-nto.h (TARGET_SIGNAL_RAW_TABLE) Delete.
1755 (TARGET_SIGNAL_RAW_VALUES): Delete.
1756 * config/pa/nm-hppah.h (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT):
1757 Delete.
1758 * config/frv/tm-frv.h (TARGET_HW_BREAK_LIMIT)
1759 (TARGET_HW_WATCH_LIMIT): Delete.
1760 * Makefile.in (minimon_h, HFILES_NO_SRCDIR): Remove minimon.h.
1761 * minimon.h: Delete file.
1762
e66299b3
AC
1763 * trad-frame.c (trad_frame_get_this_base)
1764 (trad_frame_set_this_base, trad_frame_set_reg_realreg): New
1765 functions.
1766 * trad-frame.h (trad_frame_set_this_base)
1767 (trad_frame_get_this_base, trad_frame_set_reg_realreg): Declare.
1768
1f67027d
AC
17692004-07-31 Andrew Cagney <cagney@gnu.org>
1770
1771 * trad-frame.c (trad_frame_get_prev_register): Rename
1772 trad_frame_get_prev_register.
1773 * vax-tdep.c (vax_frame_prev_register): Update.
1774 * trad-frame.h: Update.
1775 * trad-frame.c (trad_frame_get_register): Update.
1776 * sparcobsd-tdep.c (sparc32obsd_frame_prev_register): Update.
1777 * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_prev_register):
1778 Update.
1779 * sparc64obsd-tdep.c (sparc64obsd_frame_prev_register): Update.
1780 * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_frame_prev_register):
1781 Update.
1782 * sparc64fbsd-tdep.c (sparc64fbsd_sigtramp_frame_prev_register):
1783 Update.
1784 * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_prev_register):
1785 Update.
1786 * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_prev_register):
1787 Update.
1788 * sparc-linux-tdep.c (sparc32_linux_sigtramp_frame_prev_register):
1789 Update.
1790 * s390-tdep.c (s390_frame_prev_register)
1791 (s390_stub_frame_prev_register)
1792 (s390_sigtramp_frame_prev_register): Update.
1793 * rs6000-tdep.c (rs6000_frame_prev_register): Update.
1794 * ppc-linux-tdep.c (ppc_linux_sigtramp_prev_register): Update.
1795 * mips-tdep.c (mips_mdebug_frame_prev_register): Update.
1796 * m88k-tdep.c (m88k_frame_prev_register)
1797 * m68hc11-tdep.c (m68hc11_frame_prev_register)
1798 * m32r-tdep.c (m32r_frame_prev_register): Update.
1799 * hppa-tdep.c (hppa_frame_prev_register_helper)
1800 * frv-tdep.c (frv_frame_prev_register): Update.
1801 * d10v-tdep.c (d10v_frame_prev_register): Update.
1802 * cris-tdep.c (cris_frame_prev_register): Update.
1803 * avr-tdep.c (avr_frame_prev_register): Update.
1804 * arm-tdep.c (arm_prologue_prev_register)
1805 (arm_sigtramp_prev_register): Update.
1806
c1bf6f65
AC
18072004-07-31 Andrew Cagney <cagney@gnu.org>
1808
1809 * frame.h (legacy_saved_regs_unwind)
1810 (legacy_frame_chain_valid, legacy_frame_p)
1811 (enum frame_type): Delete UNKNOWN_FRAME.
01fbbd97
AC
1812 * dummy-frame.c (dummy_frame_this_id): Simplify.
1813 * frame-unwind.c (frame_unwind_find_by_frame): Simplify.
c1bf6f65
AC
1814 * frame.c (struct frame_info): Delete the field "type".
1815 (legacy_saved_regs_prev_register, legacy_get_prev_frame)
1816 (legacy_saved_regs_this_id, legacy_saved_regs_unwinder)
1817 (legacy_saved_regs_unwind, legacy_frame_p)
1818 (frame_type_from_pc): Delete.
1819 (get_frame_id, frame_pop, frame_register_unwind, get_prev_frame_1)
1820 (fprint_frame, create_new_frame, fprint_frame_type): Simplify.
1821
dc856692
MK
18222004-07-31 Mark Kettenis <kettenis@gnu.org>
1823
5a5effe1
MK
1824 * sparc64obsd-tdep.c (sparc64obsd_pc_in_sigtramp): Fix
1825 indentation.
1826
d4fd50a6
MK
1827 * mips-nat.c: Remove file.
1828 * Makefile.in (ALLDEPFILES): Remove mips-nat.c
1829 (mips-nat.o): Remove dependency.
1830
2689df5a
MK
1831 * infptrace.c: Update copyright year.
1832 (fetch_register): Pass NULL in regcache_raw_supply call instead of
1833 explicitly setting the buffer to all zeroes.
1834
dc856692
MK
1835 * sparc64obsd-tdep.c (sparc64obsd_sigreturn_offset): New variable.
1836 (sparc64obsd_pc_in_sigtramp): Reorganize to avoid goto.
1837
763910e0
AC
18382004-07-30 Andrew Cagney <cagney@gnu.org>
1839
1840 * GDB 6.2 released from gdb_6_2-branch.
1841
0b66e38c
EZ
18422004-07-30 Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr>
1843
1844 * defs.h (OPF_TRY_CWD_FIRST, OPF_SEARCH_IN_PATH): New macros.
1845
1846 * exec.c (exec_file_attach):
1847 * nto-tdep.c (nto_find_and_open_solib):
1848 * pa64solib.c (pa64_solib_sizeof_symbol_table):
1849 * solib.c (solib_open):
1850 * somsolib.c (som_solib_sizeof_symbol_table):
1851 * source.c (is_regular_file, openp, open_source_file):
1852 * symfile.c (symfile_bfd_open):
1853 * wince.c (upload_to_device): Differentiate between the search for
1854 binary and source files.
1855
be7d7357
AC
18562004-07-30 Andrew Cagney <cagney@gnu.org>
1857
1858 * complaints.c (_initialize_complaints): Pass NULL to
1859 add_setshow_zinteger_cmd for help_doc.
1860 * cli/cli-decode.c (add_setshow_cmd_full): Handle a NULL help_doc.
1861
ddc9cd0f
AC
18622004-07-30 Andrew Cagney <cagney@gnu.org>
1863
1864 Fix PR i18n/761.
1865 * Makefile.in (.SUFFIXES): Add po .gmo, and .pox.
1866 (.PHONY): Add all-po install-po, uninstall-po, clean-po,
1867 $(PACKAGE).pot and update-po.
1868 (all-po, .po.gmo, .po.pox, install-po, $(PACKAGE).pot)
1869 (po/$(PACKAGE).pot, clean-po, uninstall-po, install-po)
1870 (update-po): New rules.
1871 (localedir): Define using autoconf.
1872 (diststuff): Add $(PACKAGE).pot and $(CATALOGS)
1873 (GDB_CFLAGS): Define LOCALEDIR using $(localedir).
1874 (XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): Define.
1875 * configure.in: Generate CATALOGS and LINGUAS from contents of
1876 src/gdb/po/ directory. Set @localedir@ in Makefile.in.
1877 * configure: Re-generate.
1878 * po/gdbtext: New file
1879
e92f3704
JG
18802004-07-30 Jerome Guitton <guitton@gnat.com>
1881
1882 * MAINTAINERS: Reorder Write After Approval list in alphabetical
1883 order.
1884
b0f35d58
DL
18852004-07-30 David Lecomber <dsl@sources.redhat.com>
1886
1887 * dwarf2read.c (read_file_scope): Set producer if attribute
1888 present.
1889 (struct dwarf2_cu): Added new member producer.
1890
ce7d4522
JG
18912004-07-30 Jerome Guitton <guitton@gnat.com>
1892
1893 * inflow.c (kill_command): release file handles in BFD.
1894 * exec.c (exec_file_attach): Ditto.
1895 * symfile.c (symbol_file_add_with_addrs_or_offsets): Ditto.
1896
05ee07c7
AC
18972004-07-29 Andrew Cagney <cagney@gnu.org>
1898
1899 * PROBLEMS (mips-irix): Note that it is broken.
1900
62eceb47
AC
19012004-07-29 Andrew Cagney <cagney@gnu.org>
1902
e57b8d41
AC
1903 * config/mips/xm-irix5.h (REGISTER_U_ADDR): Move from here ...
1904 * config/mips/nm-irix5.h (REGISTER_U_ADDR): ... to here.
1905
d334389b
AC
1906 * config/xm-nbsd.h: Delete file.
1907 * config/arm/xm-nbsd.h: Delete file.
1908 * config/i386/xm-nbsd.h: Delete file.
1909 * config/ns32k/xm-nbsd.h: Delete file.
1910 * config/ns32k/nbsdaout.mh (XM_FILE): Delete.
1911 * config/i386/nbsdelf.mh (XM_FILE): Delete.
1912 * config/i386/nbsdaout.mh (XM_FILE): Delete.
1913 * config/arm/nbsdelf.mh (XM_FILE): Delete.
1914 * config/arm/nbsdaout.mh (XM_FILE): Delete.
1915
e910f676
AC
1916 * config/i386/xm-i386v.h (KERNEL_U_ADDR): Move from here ...
1917 * config/i386/nm-i386v42mp.h (KERNEL_U_ADDR): ... to here, ...
1918 * config/i386/nm-i386v4.h (KERNEL_U_ADDR): ... here, ...
1919 * config/i386/nm-i386v.h (KERNEL_U_ADDR): ... and here.
1920 * config/vax/xm-vax.h (KERNEL_U_ADDR): Move from here ...
1921 * config/vax/nm-vax.h (KERNEL_U_ADDR): ... to here.
1922
6fa856b9
AC
1923 * config/powerpc/xm-linux.h: Delete empty file.
1924 * config/powerpc/ppc64-linux.mh (XM_FILE): Delete.
1925 * config/powerpc/linux.mh (XM_FILE): Delete.
1926 * config/m68k/xm-linux.h: Delete empty file.
1927 * config/m68k/linux.mh (XM_FILE): Delete.
1928 * config/ia64/xm-linux.h: Delete empty file.
1929 * config/ia64/linux.mh (XM_FILE): Delete.
1930 * config/arm/xm-linux.h: Delete empty file.
1931 * config/arm/linux.mh (XM_FILE): Delete.
1932
471ae5ae
AC
1933 * config/powerpc/xm-linux.h (KERNEL_U_ADDR): Move from here ...
1934 * config/powerpc/nm-linux.h (KERNEL_U_ADDR): ... to here.
1935 * config/m68k/xm-linux.h (KERNEL_U_ADDR): Move from here ...
1936 * config/m68k/nm-linux.h (KERNEL_U_ADDR): ... to here.
1937 * config/ia64/xm-linux.h (KERNEL_U_ADDR): Move from here ...
1938 * config/ia64/nm-linux.h (KERNEL_U_ADDR): ... to here.
1939 * config/arm/xm-linux.h (KERNEL_U_ADDR): Move from here ...
1940 * config/arm/nm-linux.h (KERNEL_U_ADDR): ... to here.
1941
62eceb47
AC
1942 * config/m68k/xm-m68k.h: Delete file.
1943 * config/m68k/xm-linux.h: Do not include "m68k/xm-m68k.h". Update
1944 copyright.
1945 (HOST_LONG_DOUBLE_FORMAT): Delete macro.
1946 * config/pa/xm-linux.h: Delete empty file.
1947 * config/pa/linux.mh (XM_FILE): Delete.
1948 * config/i386/xm-i386.h: Delete empty file.
1949 * config/i386/xm-nbsd.h, config/i386/xm-go32.h: Do not include
1950 "i386/xm-i386.h".
1951 * config/i386/obsdaout.mh (XM_FILE): Delete.
1952 * config/i386/obsd64.mh (XM_FILE): Delete.
1953 * config/i386/fbsd64.mh (XM_FILE): Delete.
1954 * config/i386/nto.mh (XM_FILE): Delete.
1955 * config/i386/obsd.mh (XM_FILE): Delete.
1956 * config/i386/linux64.mh (XM_FILE): Delete.
1957 * config/i386/linux.mh (XM_FILE): Delete.
1958 * config/i386/i386sol2.mh (XM_FILE): Delete.
1959 * config/i386/i386gnu.mh (XM_FILE): Delete.
1960 * config/i386/fbsd.mh (XM_FILE): Delete.
1961 * config/i386/nbsd64.mh (XM_FILE): Delete.
1962
c35f4ffc
AC
19632004-07-29 Andrew Cagney <cagney@gnu.org>
1964
1965 * config/pa/xm-linux.h: Do not include "floatformat.h".
1966 (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
1967 (HOST_LONG_DOUBLE_FORMAT): Delete macros.
1968 * config/i386/xm-i386.h: Do not include "floatformat.h".
1969 (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
1970 (HOST_LONG_DOUBLE_FORMAT): Delete macros.
1971 * doublest.c (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
1972 (HOST_LONG_DOUBLE_FORMAT): Delete macros. Use
1973 GDB_HOST_FLOAT_FORMAT, GDB_HOST_DOUBLE_FORMAT and
1974 GDB_HOST_LONG_DOUBLE_FORMAT instead.
1975 * configure.in (GDB_HOST_FLOAT_FORMAT, GDB_HOST_DOUBLE_FORMAT)
1976 (GDB_HOST_LONG_DOUBLE_FORMAT): Define.
1977 * configure, config.in: Regenerate.
1978 * configure.host (gdb_host_float_format, gdb_host_double_format)
1979 (gdb_host_long_double_format): Set according to the host.
1980
624a44a3
AC
19812004-07-29 Andrew Cagney <cagney@gnu.org>
1982
1983 * Makefile.in (CONFIG_CLEAN): Delete duplicate definition.
1984
0dea2468
AC
19852004-07-28 Andrew Cagney <cagney@gnu.org>
1986
1987 * PROBLEMS: Mention threads/1650.
1988 * NEWS: Mention the NPTL fix.
1989
b3f42336
AC
19902004-07-28 Andrew Cagney <cagney@gnu.org>
1991
1992 * cli/cli-decode.c (add_setshow_cmd): Delete function.
1993 (add_setshow_cmd_full): Make static.
1994 * command.h (add_setshow_cmd, add_setshow_cmd_full): Delete.
1995 (add_setshow_filename_cmd, add_setshow_string_cmd): Declare.
1996 * cli/cli-decode.c (add_setshow_filename_cmd)
1997 (add_setshow_string_cmd): New functions.
1998 * nto-tdep.c (_initialize_nto_tdep): Update. Fix parameters.
1999 * mips-tdep.c (_initialize_mips_tdep): Update.
2000 * m32r-rom.c (_initialize_m32r_rom): Update. Update copyright.
2001 * cli/cli-logging.c (_initialize_cli_logging): Update.
2002 * complaints.c (_initialize_complaints): Update.
2003 * remote.c (_initialize_remote): Update.
2004
3b64bf98
AC
20052004-07-28 Andrew Cagney <cagney@gnu.org>
2006
2007 * cli/cli-decode.c (add_setshow_zinteger_cmd)
2008 (add_setshow_cmd, add_setshow_auto_boolean_cmd)
2009 (add_setshow_boolean_cmd, add_setshow_cmd_full): Add help_doc and
2010 print parameters. Make string parameters constant.
2011 * command.h: Update. Update copyright.
2012 * remote.c (add_packet_config_cmd, _initialize_remote): Ditto.
2013 * observer.c (_initialize_observer): Ditto.
2014 * frame.c (_initialize_frame): Ditto.
2015 * complaints.c (_initialize_complaints): Ditto.
2016 * maint.c (_initialize_maint_cmds): Ditto.
2017 * target.c (initialize_targets): Ditto.
2018 * cli/cli-logging.c (_initialize_cli_logging): Ditto.
2019 * infcall.c (_initialize_infcall): Ditto.
2020 * arm-tdep.c (_initialize_arm_tdep): Ditto.
2021 * m32r-rom.c (_initialize_m32r_rom): Ditto.
2022 * remote-rdi.c (_initialize_remote_rdi): Ditto.
2023 * d10v-tdep.c (_initialize_d10v_tdep): Ditto.
2024 * mips-tdep.c (_initialize_mips_tdep): Ditto.
2025
e9667a65
AC
20262004-07-28 Andrew Cagney <cagney@gnu.org>
2027
54a5b07d
AC
2028 * gdbtypes.c (lookup_primitive_typename): Delete function.
2029 * gdbtypes.h (lookup_primitive_typename): Delete declaration.
2030 * ada-lex.l: Use language_lookup_primitive_type_by_name.
2031 * gdbtypes.c (lookup_typename): Ditto.
2032 * f-exp.y (yylex): Ditto.
2033 * c-exp.y (yylex): Ditto, eliminate assignment in "if".
2034
e9667a65
AC
2035 * scm-lang.c (c_builtin_types): Delete extern declaration.
2036 (scm_language_defn): Replace
2037 string_char_type and primitive_type_vector with
2038 la_language_arch_info.
2039 * jv-lang.c (java_language_defn): Replace
2040 string_char_type and primitive_type_vector with
2041 la_language_arch_info.
2042 * config/i386/i386sco4.mh (NATDEPFILES): Remove reference to
2043 c_builtin_types in comment.
2044 * c-lang.h (struct language_arch_info): Declare opaque.
2045 (c_language_arch_info): Declare.
2046 (c_builtin_types): Delete declaration.
2047 * c-lang.c (c_language_arch_info): Set string_char_type to
2048 builtin_char, not builtin_true_char. Make global.
2049 (c_builtin_types): Delete array.
2050 (asm_language_defn, minimal_language_defn): Replace
2051 string_char_type and primitive_type_vector with
2052 la_language_arch_info.
2053
685419e2
AC
20542004-07-28 Andrew Cagney <cagney@gnu.org>
2055
2056 * gdbtypes.h (struct builtin_type): Rename true_char to
2057 builtin_true_char.
2058 * gdbtypes.c (gdbtypes_post_init): Update.
2059 * c-lang.c (arch_info): New function.
2060 (enum c_primitive_types): New enum.
2061 (c_language_defn): Instead of string_char_type and
2062 primitive_type_vector set la_language_arch_info.
2063
5a44ea29
AC
20642004-07-28 Andrew Cagney <cagney@gnu.org>
2065
2066 * language.h (struct language_arch_info): Fix typo
2067 s/primative/primitive/.
2068 * gdbtypes.c (lookup_primitive_typename): Ditto.
2069 * language.c (language_lookup_primitive_type_by_name)
2070 (unknown_language_arch_info): Ditto.
2071
f290d38e
AC
20722004-07-27 Andrew Cagney <cagney@gnu.org>
2073
2074 * defs.h (enum language): Add nr_languages.
2075 * language.h (struct language_arch_info): Define.
2076 (struct language_defn): Add la_language_arch_info.
2077 (language_lookup_primative_type_by_name): Declare.
2078 (language_string_char_type): Declare.
2079 * language.c (_initialize_language, language_gdbarch_post_init)
2080 (struct language_gdbarch, language_gdbarch_data): Implement
2081 per-architecture language information.
2082 (unknown_language_arch_info, language_string_char_type)
2083 (language_lookup_primative_type_by_name): New functions.
2084 (unknown_language_defn, auto_language_defn)
2085 (local_language_defn): Set la_language_arch_info to
2086 unknown_language_arch_info.
2087 (unknown_builtin_types): Delete.
2088 * gdbtypes.c (lookup_primitive_typename): Use
2089 language_lookup_primative_type_by_name.
2090 (create_string_type): Use language_string_char_type.
2091 * values.c (value_from_string): Use language_string_char_type.
2092 * scm-lang.c (scm_language_defn): Add NULL la_language_arch_info.
2093 * p-lang.c (pascal_language_defn): Ditto.
2094 * m2-lang.c (m2_language_defn): Ditto.
2095 * jv-lang.c (java_language_defn): Ditto.
2096 * objc-lang.c (objc_language_defn): Ditto.
2097 * f-lang.c (f_language_defn): Ditto.
2098 * c-lang.c (c_language_defn, cplus_language_defn)
2099 (asm_language_defn, minimal_language_defn): Ditto.
2100
000177f0
AC
21012004-07-27 Andrew Cagney <cagney@gnu.org>
2102
2103 * gdbtypes.h (struct builtin_type): Declare.
2104 (builtin_type): Declare.
2105 * d10v-tdep.c (d10v_register_type): Use builtin_type.
2106 * gdbtypes.c (_initialize_gdbtypes): Register gdbtypes_post_init.
2107 (gdbtypes_post_init): New function.
2108 (builtin_type): New function.
2109
e22f895c
KI
21102004-07-27 Kei Sakamoto <sakamoto.kei@renesas.com>
2111
2112 * remote-m32r-sdi.c: Fix breakpoint bug.
2113 (send_cmd, send_one_arg_cmd, send_two_arg_cmd, send_three_arg_cmd,
2114 recv_char_data, recv_long_data): New functions to replace communication
2115 sequences.
2116
536517dd
MC
21172004-07-26 Michael Chastain <mec.gnu@mindspring.com>
2118
2119 Document PR threads/1650.
2120 * PROBLEMS (Threads): Document problem with many threads
2121
a0a44d18
AC
21222004-07-26 Andrew Cagney <cagney@gnu.org>
2123
2124 * gdb-mi.el: Move from here ...
2125 * mi/gdb-mi.el: ... to here.
2126
7ac4ac06
AC
21272004-07-26 Andrew Cagney <cagney@gnu.org>
2128
2129 Problem reported by Ashley Pittman <ashley@quadrics.com>.
2130 * main.c (captured_main): When in batch mode always detach.
2131
a1b461bf
AC
21322004-07-26 Andrew Cagney <cagney@gnu.org>
2133
2134 * MAINTAINERS: Mark the xstormy16, sh64, ns32k, mn10300, mcore,
2135 and h8300 as broken.
2136 * NEWS: END-OF-LIFE frame compatibility module.
2137 * PROBLEMS: For "Stack backtraces", remove powerpc, hppa and mips
2138 specific comments.
2139
cb1a6d5f
AC
21402004-07-26 Andrew Cagney <cagney@gnu.org>
2141
2142 * cli/cli-decode.c (deprecated_add_show_from_set): Deprecate.
2143 * xcoffsolib.c (_initialize_xcoffsolib): Update.
2144 * wince.c (_initialize_wince): Update.
2145 * win32-nat.c (_initialize_win32_nat): Update.
2146 * varobj.c (_initialize_varobj): Update.
2147 * valops.c (_initialize_valops): Update.
2148 * utils.c (initialize_utils, initialize_utils): Update.
2149 * tui/tui-win.c (_initialize_tui_win): Update.
2150 * top.c (init_main): Update.
2151 * symfile.c (_initialize_symfile): Update.
2152 * source.c (_initialize_source): Update.
2153 * somsolib.c (_initialize_som_solib): Update.
2154 * solib.c (_initialize_solib): Update.
2155 * solib-frv.c (_initialize_frv_solib): Update.
2156 * serial.c (_initialize_serial): Update.
2157 * ser-go32.c (_initialize_ser_dos, _initialize_ser_dos): Update.
2158 * remote.c (_initialize_remote, _initialize_remote): Update.
2159 * remote-vx.c (_initialize_vx): Update.
2160 * remote-utils.c (_initialize_sr_support): Update.
2161 * remote-sds.c (_initialize_remote_sds): Update.
2162 * remote-mips.c (_initialize_remote_mips): Update.
2163 * remote-e7000.c (_initialize_remote_e7000): Update.
2164 * proc-api.c (_initialize_proc_api): Update.
2165 * printcmd.c: Update.
2166 * parse.c (_initialize_parse): Update.
2167 * pa64solib.c (_initialize_pa64_solib): Update.
2168 * p-valprint.c (_initialize_pascal_valprint): Update.
2169 * monitor.c (_initialize_remote_monitors): Update.
2170 * mips-tdep.c (_initialize_mips_tdep): Update.
2171 * mcore-tdep.c (_initialize_mcore_tdep): Update.
2172 * maint.c (_initialize_maint_cmds): Update.
2173 * lin-lwp.c (_initialize_lin_lwp): Update.
2174 * language.c (_initialize_language): Update.
2175 * kod.c (_initialize_kod): Update.
2176 * infrun.c (set_schedlock_func, _initialize_infrun): Update.
2177 * i386-tdep.c (_initialize_i386_tdep): Update.
2178 * gdbtypes.c (build_gdbtypes, _initialize_gdbtypes): Update.
2179 * gdbarch.sh: Update.
2180 * gdbarch.c: Re-generate.
2181 * gdb-events.sh: Update.
2182 * gdb-events.c: Re-generate.
2183 * frame.c (_initialize_frame): Update.
2184 * exec.c: Update.
2185 * demangle.c (_initialize_demangler): Update.
2186 * dcache.c (_initialize_dcache): Update.
2187 * cris-tdep.c (_initialize_cris_tdep, cris_version_update): Update.
2188 * cp-valprint.c (_initialize_cp_valprint): Update.
2189 * corefile.c (_initialize_core): Update.
2190 * command.h: Update.
2191 * cli/cli-decode.h: Update.
2192 * cli/cli-cmds.c (init_cli_cmds): Update.
2193 * charset.c (_initialize_charset): Update.
2194 * breakpoint.c (_initialize_breakpoint): Update.
2195 * arm-tdep.c (_initialize_arm_tdep_initialize_arm_tdep): Update.
2196 * alpha-tdep.c (_initialize_alpha_tdep): Update.
2197 * aix-thread.c (_initialize_aix_thread): Update.
2198
b4632131
MK
21992004-07-24 Mark Kettenis <kettenis@gnu.org>
2200
2201 Partial fix for PR backtrace/1718.
2202 * i386-tdep.c (i386_analyze_frame_setup): Handle more instructions
2203 that GCC migrates into the prolugue. Don't handle any
2204 instructions that clobber %ebx.
2205
822c9732
AC
22062004-07-23 Andrew Cagney <cagney@gnu.org>
2207
2208 Use regcache_raw_collect instead of regcache_collect.
2209 * regcache.h (regcache_collect): Delete declaration.
2210 * regcache.c (regcache_colect): Delete function.
2211 * win32-nat.c (do_child_store_inferior_registers): Update.
2212 * sol-thread.c (sol_thread_store_registers): Update.
2213 * shnbsd-tdep.c (shnbsd_fill_reg): Update.
2214 * rs6000-nat.c (store_register): Update.
2215 * remote.c (store_register_using_P, remote_store_registers): Update.
2216 * ppcnbsd-tdep.c (ppcnbsd_fill_reg): Update.
2217 * ppc-linux-nat.c (store_altivec_register, store_spe_register)
2218 (fill_vrregset, store_spe_registers, fill_gregset)
2219 (fill_gregset): Update.
2220 * nto-procfs.c (procfs_store_registers): Update.
2221 * mipsnbsd-tdep.c (mipsnbsd_fill_reg): Update.
2222 * mips-linux-tdep.c (fill_gregset, mips64_fill_gregset): Update.
2223 * m68klinux-nat.c (store_register, fill_gregset): Update.
2224 * m68k-tdep.c (fill_gregset): Update.
2225 * infptrace.c (store_register): Update.
2226 * i386-nto-tdep.c (i386nto_regset_fill): Update.
2227 * i386-linux-nat.c (store_register, fill_gregset): Update.
2228 * hppa-linux-nat.c (fill_gregset): Update.
2229 * go32-nat.c (store_register): Update.
2230 * armnbsd-nat.c (store_register, store_regs, store_fp_register)
2231 (store_fp_regs): Update.
2232 * arm-linux-nat.c (store_nwfpe_single, store_nwfpe_double)
2233 (store_nwfpe_extended, store_fpregister, store_fpregs)
2234 (store_register, store_regs, fill_gregset, fill_fpregset): Update.
2235 * alpha-tdep.c (alpha_fill_int_regs, alpha_fill_fp_regs): Update.
2236 * aix-thread.c (fill_gprs64, fill_fprs, fill_sprs64, fill_sprs32)
2237 (store_regs_user_thread, store_regs_kernel_thread): Update.
2238
32b05c07
MK
22392004-07-24 Mark Kettenis <kettenis@gnu.org>
2240
2241 * dwarf2-frame.c (struct dwarf2_cie): Delete `addr_size' member.
2242 (decode_frame_entry_1): Use DW_EH_PE_absptr as default for CIE
2243 encoding.
2244 (dwarf2_build_frame_info): Adjust for removal of `addr_size'
2245 member of `struct comp_unit'.
2246
8567c30f
AC
22472004-07-23 Andrew Cagney <cagney@gnu.org>
2248
2249 * infrun.c (handle_inferior_event): Separate the STEP_OVER_ALL and
2250 DEPRECATED_IGNORE_HELPER_CALL cases, only #ifdef the latter.
2251
f6da8dd8
MH
22522004-07-23 Martin Hunt <hunt@redhat.com>
2253 Kevin Buettner <kevinb@redhat.com>
2254
2255 * dwarf2-frame.c (execute_cfa_program): Fix typo in which the
2256 alignment was being added to the offset instead of multiplied.
2257
bd921882
MK
22582004-07-23 Mark Kettenis <kettenis@gnu.org>
2259
24f033e8
MK
2260 * sparc64obsd-tdep.c (sparc64obsd_pc_in_sigtramp): Adjust for
2261 changed signal trampoline in OpenBSD 3.5-current.
2262
90f3cecd
MK
2263 * sparc64nbsd-nat.c: Include "regcache.h", <sys/types.h>,
2264 <machine/pcb.h> and "bsd-kvm.h".
2265 (sparc64nbsd_supply_pcb): New function.
2266 (_initialize_sparc64nbsd_nat): Renamed from
2267 _initialize_sparcnbsd_nat. Enable libkvm interface.
2268 * Makefile.in (sparc64nbsd-nat.o): Update dependencies.
2269 * config/sparc/nbsd64.mh (NATDEPFILES): Add bsd-kvm.o
2270 (LOADLIBES): New variable.
2271
a4954a62
MK
2272 * config/sparc/obsd64.mt (TDEPFILES): Add sparcobsd-tdep.o.
2273
bd921882
MK
2274 * sparcnbsd-nat.c (sparc32nbsd_supply_pcb): Fix typo in comment.
2275
23a6d369
AC
22762004-07-21 Andrew Cagney <cagney@gnu.org>
2277
2278 Use regcache_raw_supply instead of supply_register.
2279 * regcache.h (supply_register): Delete declaration.
2280 * regcache.c (supply_register): Delete function.
2281 * wince.c (do_child_fetch_inferior_registers): Update.
2282 * win32-nat.c (do_child_fetch_inferior_registers)
2283 (fetch_elf_core_registers): Update.
2284 * v850ice.c (v850ice_fetch_registers): Update.
2285 * thread-db.c (thread_db_store_registers): Update.
2286 * sol-thread.c (sol_thread_store_registers): Update.
2287 * shnbsd-tdep.c (shnbsd_supply_reg): Update.
2288 * rs6000-nat.c (fetch_register): Update.
2289 * rom68k-rom.c (rom68k_supply_one_register): Update.
2290 * remote.c (remote_wait, remote_async_wait): Update.
2291 * remote-st.c (get_hex_regs): Update.
2292 * remote-sim.c (gdbsim_fetch_register): Update.
2293 * remote-sds.c (sds_fetch_registers): Update.
2294 * remote-rdp.c (remote_rdp_fetch_register): Update.
2295 * remote-rdi.c (arm_rdi_fetch_registers): Update.
2296 * remote-mips.c (mips_wait, mips_fetch_registers): Update.
2297 * remote-m32r-sdi.c (m32r_fetch_register): Update.
2298 * remote-hms.c (init_hms_cmds): Update.
2299 * remote-est.c (init_est_cmds): Update.
2300 * remote-e7000.c (get_hex_regs, fetch_regs_from_dump)
2301 (e7000_fetch_registers, sub2_from_pc, e7000_wait): Update.
2302 * ppcnbsd-tdep.c (ppcnbsd_supply_reg, ppcnbsd_supply_fpreg): Update.
2303 * ppc-linux-nat.c (fetch_altivec_register, fetch_spe_register)
2304 (fetch_register, supply_vrregset, supply_vrregset)
2305 (fetch_spe_registers): Update.
2306 * ppc-bdm.c (bdm_ppc_fetch_registers): Update.
2307 * monitor.c (monitor_supply_register): Update.
2308 * mipsv4-nat.c (supply_gregset, supply_fpregset): Update.
2309 * mipsnbsd-tdep.c (mipsnbsd_supply_reg)
2310 (mipsnbsd_supply_fpreg): Update.
2311 * mips-nat.c (fetch_inferior_registers)
2312 (fetch_core_registers): Update.
2313 * mips-linux-tdep.c (supply_32bit_reg, supply_gregset)
2314 (supply_fpregset, mips64_supply_gregset)
2315 (mips64_supply_fpregset): Update.
2316 * m68klinux-nat.c (fetch_register, supply_gregset)
2317 (supply_fpregset): Update.
2318 * m68k-tdep.c (supply_gregset, supply_fpregset): Update.
2319 * m32r-rom.c (init_m32r_cmds, init_mon2000_cmds): Update.
2320 * lynx-nat.c (fetch_inferior_registers, fetch_core_registers): Update.
2321 * irix5-nat.c (supply_gregset, supply_fpregset): Update.
2322 * infptrace.c (fetch_register): Update.
2323 * ia64-linux-nat.c (supply_gregset, supply_fpregset): Update.
2324 * ia64-aix-nat.c (supply_gregset, supply_fpregset): Update.
2325 * i386gnu-nat.c (fetch_fpregs, supply_gregset)
2326 (gnu_fetch_registers, gnu_store_registers): Update.
2327 * i386-nto-tdep.c (i386nto_supply_gregset): Update.
2328 * i386-linux-nat.c (fetch_register, supply_gregset)
2329 (dummy_sse_values): Update.
2330 * hpux-thread.c (hpux_thread_fetch_registers): Update.
2331 * hppah-nat.c (fetch_register): Update.
2332 * hppa-linux-nat.c (fetch_register, supply_gregset)
2333 (supply_fpregset): Update.
2334 * go32-nat.c (fetch_register): Update.
2335 * dve3900-rom.c (fetch_bitmapped_register)
2336 (_initialize_r3900_rom): Update.
2337 * cris-tdep.c (supply_gregset): Update.
2338 * abug-rom.c (init_abug_cmds): Update.
2339 * core-aout.c (fetch_core_registers): Update.
2340 * armnbsd-nat.c (supply_gregset, supply_fparegset)
2341 (fetch_register, fetch_fp_register): Update.
2342 * arm-linux-nat.c (fetch_nwfpe_single, fetch_nwfpe_none)
2343 (fetch_nwfpe_extended, fetch_fpregister, fetch_fpregs)
2344 (fetch_register, fetch_regs, supply_gregset, supply_fpregset): Update.
2345 * alphanbsd-tdep.c (fetch_core_registers): Update.
2346 * alpha-tdep.c (alpha_supply_int_regs, alpha_supply_fp_regs): Update.
2347 * alpha-nat.c (fetch_osf_core_registers)
2348 (fetch_osf_core_registers, fetch_osf_core_registers): Update.
2349 * aix-thread.c (supply_gprs64, supply_reg32, supply_fprs)
2350 (supply_sprs64, supply_sprs32, fetch_regs_kernel_thread): Update.
2351
73cc75f3
AC
23522004-07-21 Andrew Cagney <cagney@gnu.org>
2353
2354 * PROBLEMS: Mention breakpoints/1702.
2355 * NEWS: For signal trampolines, cite s390 GNU/Linux as a system
2356 that is known to work.
2357
a53c66de
AC
23582004-07-21 Andrew Cagney <cagney@gnu.org>
2359
2360 * config/mips/tm-mips.h (DEPRECATED_IGNORE_HELPER_CALL): Deprecate.
2361 * mips-tdep.c (mips_dump_tdep, mips_ignore_helper): Update.
2362 * infrun.c (DEPRECATED_IGNORE_HELPER_CALL): Delete macro.
2363 (handle_inferior_event): Wrap call to deprecated
2364 IGNORE_HELPER_CALL in #ifdef.
2365 * config/mips/tm-nbsd.h: Update.
2366
708ff411
JB
23672004-07-20 Jim Blandy <jimb@redhat.com>
2368
412b3060
JB
2369 * rs6000-tdep.c (rs6000_gdbarch_init): The register set used for
2370 bfd_mach_ppc has no segment registers.
2371
13ac140c
JB
2372 Include PowerPC SPR numbers for special-purpose registers.
2373 * rs6000-tdep.c (struct reg): Add new member, 'spr_num'.
2374 (R, R4, R8, R16, F, P, R32, R64, R0): Include value for
2375 new member in initializer.
2376 (S, S4, SN4, S64): New macros for defining special-purpose
2377 registers.
2378 (PPC_UISA_SPRS, PPC_UISA_NOFP_SPRS, PPC_OEA_SPRS, registers_power,
2379 registers_403, registers_403GC, registers_505, registers_860,
2380 registers_601, registers_602, registers_603, registers_604,
2381 registers_750, registers_e500): Use them.
2382
708ff411
JB
2383 * rs6000-tdep.c (rs6000_gdbarch_init): Delete variable 'power';
2384 replace references with expression used to initialize variable.
2385
1f602b35
AC
23862004-07-20 Andrew Cagney <cagney@gnu.org>
2387
2388 * breakpoint.c (deprecated_read_memory_nobpt): Rename
2389 read_memory_nobpt.
2390 * sparc-linux-tdep.c (sparc_linux_sigtramp_start): Update.
2391 * s390-tdep.c (s390_readinstruction, s390_in_function_epilogue_p)
2392 (s390_sigtramp_frame_sniffer): Update.
2393 * mn10300-tdep.c (mn10300_analyze_prologue): Update.
2394 * mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset): Update.
2395 * mips-tdep.c (mips_fetch_instruction, mips16_fetch_instruction)
2396 (mips32_fetch_instruction): Update.
2397 * mcore-tdep.c (get_insn): Update.
2398 * m68klinux-tdep.c (m68k_linux_pc_in_sigtramp): Update.
2399 * i386nbsd-tdep.c (i386nbsd_sigtramp_offset): Update.
2400 * i386ly-tdep.c (i386lynx_saved_pc_after_call): Update.
2401 * i386-linux-tdep.c (i386_linux_sigtramp_start)
2402 (i386_linux_rt_sigtramp_start): Update.
2403 * i386-linux-nat.c (child_resume): Update.
2404 * hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Update.
2405 * hppa-linux-tdep.c (insns_match_pattern): Update.
2406 * gdbcore.h: Update.
2407 * frv-tdep.c (frv_gdbarch_adjust_breakpoint_address): Update.
2408 * frame.c (safe_frame_unwind_memory): Update.
2409 * amd64-linux-tdep.c (amd64_linux_sigtramp_start): Update.
2410 * alphanbsd-tdep.c (alphanbsd_sigtramp_offset): Update.
2411 * alpha-tdep.c (alpha_read_insn): Update.
2412
2cd8546d
AC
24132004-07-20 Andrew Cagney <cagney@gnu.org>
2414
2415 * tramp-frame.h (struct tramp_frame): Change "insn" to a struct
2416 containing both bytes and mask. Add "frame_type".
2417 * tramp-frame.c (tramp_frame_start): Update.
2418 (tramp_frame_prepend_unwinder): Update.
2419 * mips-linux-tdep.c (mips_linux_o32_sigframe)
2420 (mips_linux_o32_rt_sigframe, mips_linux_n32_rt_sigframe)
2421 (mips_linux_n64_rt_sigframe): Update. Make "static const".
2422 * ppcnbsd-tdep.c (tramp_frame ppcnbsd_sigtramp): Update.
2423
f928dd62
EZ
24242004-07-19 Eli Zaretskii <eliz@gnu.org>
2425
2426 * config/djgpp/fnchange.lst: Add remapping for bfd/elf32-cr*.c,
2427 bfd/elf32-sh-symbian.c, bfd/elf32-sh64-com.c,
2428 sim/testsuite/sim/mips/hilo-hazard-[123].s, and
2429 sim/testsuite/sim/mips/fpu64-ps-sb1.s.
2430
d5c560f7
AC
24312004-07-17 Andrew Cagney <cagney@gnu.org>
2432
860660cb
AC
2433 * NEWS, PROBLEMS: Update for 6.2.
2434
8c266f54
AC
2435 * README: Update to 6.2.
2436
a552edd9
AC
2437 * utils.c (xvasprintf): Call xstrvprintf.
2438
c4a172b5
AC
2439 * parse.c: Update copyright.
2440 (null_post_parser): Eliminate ARGSUSED.
2441
da745b36
AC
2442 * ppc-linux-nat.c (store_spe_registers): Eliminate K&R C.
2443 * tui/tui-win.c (tui_get_cmd_list): Ditto.
2444 * symfile-mem.c (_initialize_symfile_mem): Ditto.
2445
9cbc6ef0
AC
2446 * ppc-linux-tdep.c (ppc_linux_init_abi): Add [sic] to Linux.
2447 * ppc-linux-nat.c: Use "Linux kernel".
2448 * hppa-linux-tdep.c: Use GNU/Linux.
2449 * hppa-linux-nat.c: Use GNU/Linux.
2450 * dwarfread.c: Add [sic] to use of Linux.
2451
1b89295f
AC
2452 * hppa-linux-nat.c: Do not include <string.h>.
2453 (supply_fpregset): Remove "register" attribute.
2454
d5c560f7
AC
2455 * solib-frv.c (fetch_loadmap): Use xfree, not free.
2456
7ddd7709
MK
24572004-07-17 Mark Kettenis <kettenis@gnu.org>
2458
b1d19a62
MK
2459 * configure.in: Define _MSE_INT_H on Solaris 9 too.
2460 * configure, config.in: Regenerated.
2461
7ddd7709
MK
2462 * vaxbsd-nat.c: Include <sys/types.h>, <machine/pcb.h> and
2463 "bsd-kvm.h".
2464 (vaxbsd_supply_pcb): New function.
2465 (_initialize_vaxbsd_nat): New prototype and function.
2466 * config/vax/nbsdaout.mh (NATDEPFILES): Add bsd-kvm.o, solib.o and
2467 solib-sunos.o.
2468 (LOADLIBES): New variable.
2469 * config/vax/nbsdelf.mh (NATDEPFILES): Add bsd-kvm.o.
2470 (LOADLIBES): New variable.
2471 * config/vax/obsd.mh (NATDEPFILES): Add bsd-kvm.o.
2472 (LOADLIBES): New variable.
2473 * Makefile.in (vaxbsd-nat.o): Update dependencies.
2474
2c07db7a
AC
24752004-07-16 Andrew Cagney <cagney@gnu.org>
2476
2477 * defs.h (event_loop_p): Replace variable declaration with macro,
2478 always 1.
2479 * main.c (captured_main): Delete options "-async" and "-noasync".
2480 (event_loop_p): Delete variable.
2481 * NEWS: Mention that "-async" and "-noasync" were removed.
2482
717eb1cf
AC
24832004-07-16 Andrew Cagney <cagney@gnu.org>
2484
2485 * remote-m32r-sdi.c: Re-indent.
2486
c101bc14
JB
24872004-07-16 Jim Blandy <jimb@redhat.com>
2488
5109a438
JB
2489 * ppc-tdep.h (ppc_spr_asr): Add missing OEA SPR.
2490 (ppc_spr_mi_dbcam, ppc_spr_mi_dbram0, ppc_spr_mi_dbram1)
2491 (ppc_spr_md_cam, ppc_spr_md_ram0, ppc_spr_md_ram1): Add
2492 missing MPC823 SPRs.
2493 (ppc_spr_m_twb): Renamed from ppc_spr_md_twb; the old name was
2494 incorrect. (This was corrected in GDB's register name tables on
2495 2004-07-14.)
2496
c101bc14
JB
2497 * rs6000-tdep.c (registers_602): Correct register name: "esassr"
2498 should be "esasrr" ("ESA Save and Restore Register").
2499
7ce450bd
AC
25002004-07-16 Andrew Cagney <cagney@gnu.org>
2501
2502 * infrun.c (insert_step_resume_breakpoint): Delete gdb_assert
2503 calls, no longer applicable. Update comments and rename parameter
2504 "step_frame" to "return_frame".
2505
ca73dd9d
AC
25062004-07-16 Andrew Cagney <cagney@gnu.org>
2507
2508 * frame.c (fprint_field): New function.
2509 (fprint_frame_id): Use fprint_field.
2510
31941f6d
JB
25112004-07-15 Joel Brobecker <brobecker@gnat.com>
2512
2513 * ada-lang.c (ada_language_defn): Remove commented out code.
2514
f86a7158
JB
25152004-07-15 Jim Blandy <jimb@redhat.com>
2516
2517 * ppc-tdep.h (struct gdbarch_tdep): New member: ppc_sr0_regnum.
2518 * rs6000-tdep.c (rs6000_gdbarch_init): Initialize it.
2519
c24791ec
JB
25202004-07-14 Jim Blandy <jimb@redhat.com>
2521
29bb1356
JB
2522 * rs6000-tdep.c (COMMON_UISA_NOFP_REGS): Delete; unused.
2523
cc98b5cc
JB
2524 * ppc-tdep.h (ppc_num_vrs): New enum constant.
2525
8f088af7
JB
2526 * ppc-tdep.h (ppc_num_srs): New enum constant.
2527
0ea0ec5f
JB
2528 * ppc-tdep.h (ppc_spr_mq, ppc_spr_xer, ppc_spr_rtcu, ppc_spr_rtcl)
2529 (ppc_spr_lr, ppc_spr_ctr, ppc_spr_cnt, ppc_spr_dsisr, ppc_spr_dar)
2530 (ppc_spr_dec, ppc_spr_sdr1, ppc_spr_srr0, ppc_spr_srr1)
2531 (ppc_spr_eie, ppc_spr_eid, ppc_spr_nri, ppc_spr_sp, ppc_spr_cmpa)
2532 (ppc_spr_cmpb, ppc_spr_cmpc, ppc_spr_cmpd, ppc_spr_icr)
2533 (ppc_spr_der, ppc_spr_counta, ppc_spr_countb, ppc_spr_cmpe)
2534 (ppc_spr_cmpf, ppc_spr_cmpg, ppc_spr_cmph, ppc_spr_lctrl1)
2535 (ppc_spr_lctrl2, ppc_spr_ictrl, ppc_spr_bar, ppc_spr_vrsave)
2536 (ppc_spr_sprg0, ppc_spr_sprg1, ppc_spr_sprg2, ppc_spr_sprg3)
2537 (ppc_spr_ear, ppc_spr_tbl, ppc_spr_tbu, ppc_spr_pvr)
2538 (ppc_spr_spefscr, ppc_spr_ibat0u, ppc_spr_ibat0l, ppc_spr_ibat1u)
2539 (ppc_spr_ibat1l, ppc_spr_ibat2u, ppc_spr_ibat2l, ppc_spr_ibat3u)
2540 (ppc_spr_ibat3l, ppc_spr_dbat0u, ppc_spr_dbat0l, ppc_spr_dbat1u)
2541 (ppc_spr_dbat1l, ppc_spr_dbat2u, ppc_spr_dbat2l, ppc_spr_dbat3u)
2542 (ppc_spr_dbat3l, ppc_spr_ic_cst, ppc_spr_ic_adr, ppc_spr_ic_dat)
2543 (ppc_spr_dc_cst, ppc_spr_dc_adr, ppc_spr_dc_dat, ppc_spr_dpdr)
2544 (ppc_spr_dpir, ppc_spr_immr, ppc_spr_mi_ctr, ppc_spr_mi_ap)
2545 (ppc_spr_mi_epn, ppc_spr_mi_twc, ppc_spr_mi_rpn, ppc_spr_mi_cam)
2546 (ppc_spr_mi_ram0, ppc_spr_mi_ram1, ppc_spr_md_ctr, ppc_spr_m_casid)
2547 (ppc_spr_md_ap, ppc_spr_md_epn, ppc_spr_md_twb, ppc_spr_md_twc)
2548 (ppc_spr_md_rpn, ppc_spr_m_tw, ppc_spr_md_dbcam, ppc_spr_md_dbram0)
2549 (ppc_spr_md_dbram1, ppc_spr_ummcr0, ppc_spr_upmc1, ppc_spr_upmc2)
2550 (ppc_spr_usia, ppc_spr_ummcr1, ppc_spr_upmc3, ppc_spr_upmc4)
2551 (ppc_spr_zpr, ppc_spr_pid, ppc_spr_mmcr0, ppc_spr_pmc1)
2552 (ppc_spr_sgr, ppc_spr_pmc2, ppc_spr_dcwr, ppc_spr_sia)
2553 (ppc_spr_mmcr1, ppc_spr_pmc3, ppc_spr_pmc4, ppc_spr_sda)
2554 (ppc_spr_tbhu, ppc_spr_tblu, ppc_spr_dmiss, ppc_spr_dcmp)
2555 (ppc_spr_hash1, ppc_spr_hash2, ppc_spr_icdbdr, ppc_spr_imiss)
2556 (ppc_spr_esr, ppc_spr_icmp, ppc_spr_dear, ppc_spr_rpa)
2557 (ppc_spr_evpr, ppc_spr_cdbcr, ppc_spr_tsr, ppc_spr_602_tcr)
2558 (ppc_spr_403_tcr, ppc_spr_ibr, ppc_spr_pit, ppc_spr_esasrr)
2559 (ppc_spr_tbhi, ppc_spr_tblo, ppc_spr_srr2, ppc_spr_sebr)
2560 (ppc_spr_srr3, ppc_spr_ser, ppc_spr_hid0, ppc_spr_dbsr)
2561 (ppc_spr_hid1, ppc_spr_iabr, ppc_spr_dbcr, ppc_spr_iac1)
2562 (ppc_spr_dabr, ppc_spr_iac2, ppc_spr_dac1, ppc_spr_dac2)
2563 (ppc_spr_l2cr, ppc_spr_dccr, ppc_spr_ictc, ppc_spr_iccr)
2564 (ppc_spr_thrm1, ppc_spr_pbl1, ppc_spr_thrm2, ppc_spr_pbu1)
2565 (ppc_spr_thrm3, ppc_spr_pbl2, ppc_spr_fpecr, ppc_spr_lt)
2566 (ppc_spr_pir, ppc_spr_pbu2): New enum constants for PowerPC
2567 special-purpose register numbers.
2568
c24791ec
JB
2569 * rs6000-tdep.c (registers_860): Correct register name. (No PPC
2570 manual mentions 'md_twb', but many mention 'm_twb', and at that
2571 point in the register list.)
2572
d833db3b
AC
25732004-07-14 Andrew Cagney <cagney@gnu.org>
2574
2575 * utils.c (internal_warning_problem): Fix typo, "internal-warning"
2576 instead of "internal-error".
2577
080228b2
JB
25782004-07-10 Joel Brobecker <brobecker@gnat.com>
2579
2580 * hppa-hpux-tdep.c: Fix a compilation failure due to a comment
2581 that was inserted inside a comment.
2582
c268433a
RC
25832004-07-10 Randolph Chung <tausq@debian.org>
2584
2585 * hppa-hpux-tdep.c (hppa_hpux_som_find_global_pointer): New
2586 function.
2587 (hppa_hpux_push_dummy_code): New function.
2588 (hppa_hpux_init_abi): Set push_dummy_code and call_dummy_location.
2589 Set find_global_pointer method.
2590
71009278
MK
25912004-07-10 Mark Kettenis <kettenis@gnu.org>
2592
2593 * NEWS: Mention BSD libkvm interface.
2594
b2fa5097
MS
25952004-07-10 Michael Snyder <msnyder@redhat.com>
2596
2597 * symfile.c (generic_load): Comment typo.
2598 * stack.c (get_selected_block): Ditto.
2599 * regcache.c (regcache_cooked_read): Ditto.
2600 * monitor.c (monitor_debug): Ditto.
2601 * mips-tdep.c (mips_read_pc): Ditto.
2602 * i386-linux-nat.c (ps_get_thread_area): Ditto.
2603 * gdb_mbuild.sh: Ditto.
2604 * gdbarch.sh: Ditto.
2605 * gdbarch.h: Ditto.
2606
c3e5cd34
PH
26072004-07-09 Paul N. Hilfinger <Hilfinger@gnat.com>
2608
8a2225b2
PH
2609 * ada-tasks.c: Remove file.
2610
c3e5cd34
PH
2611 Remove ARI problems:
2612
2613 * ada-exp.y (write_var_from_sym): Reformat to put operator at
2614 beginning of line.
2615
2616 * ada-lang.c (MAX_OF_SIZE): Rename max_of_size.
2617 Add comment.
2618 Add comment concerning MAX_OF_TYPE and MIN_OF_TYPE.
2619 (MIN_OF_SIZE): Rename min_of_size. Add comment.
2620 (UMAX_OF_SIZE): Renmae umax_of_size. Add comment.
2621 (UMIN_OF_SIZE): Remove.
2622 (max_of_type): New function to replace orphan macro in gdbtypes.h
2623 (min_of_type): Ditto.
2624 (discrete_type_high_bound): Use max_of_type.
2625 (discrete_type_low_bound): Use min_of_type.
2626 (possible_user_operator_p): Move operator to beginning of line.
2627 (ada_is_variant_part): Ditto.
2628 (ensure_lval): Rewrite to avoid deprecated operations.
2629 (ada_finish_decode_line_1): Use gdbarch_convert_from_func_ptr_addr
2630 rather than adding DEPRECATED_FUNCTION_START_OFFSET.
2631 (ada_enum_name): Remove assignments in 'if' statements.
2632 (build_ada_types): Add gdbarch parameter.
2633 (_initialize_ada_language): Replace deprecated_register_gdbarch_swap
2634 with gdbarch_data_register_post_init.
2635 Use add_setshow_uinteger_cmd rather than add_set_cmd and
2636 add_show_from_set.
2637
2638 * ada-valprint.c (inspect_it): Remove declaration.
2639 (repeat_count_threshold): Remove declaration.
2640 (ada_print_floating): Remove assignments in 'if' statements.
2641 (print_str): Move operator to beginning of line.
2642
61ce229a
JB
26432004-07-08 Jim Blandy <jimb@redhat.com>
2644
2645 * rs6000-tdep.c (registers_powerpc_nofp): Unused; deleted.
2646
09bcec80
BR
26472004-07-08 Bob Rossi <bob@brasko.net>
2648
2649 * symtab.c (lookup_symtab): check return value of symtab_to_fullname
2650
31c27f77
JJ
26512004-07-06 Jeff Johnston <jjohnstn@redhat.com>
2652
2653 * language.h (struct_language_defn): Add new function pointer:
2654 la_class_name_from_physname. Also add new prototype for
2655 language_class_name_from_physname.
2656 * language.c (language_class_name_from_physname): New function.
2657 (unk_lang_class_name): Ditto.
2658 (unknown_language_defn, auto_language_defn): Change
2659 to add unk_lang_class_name function pointer for
2660 la_class_name_from_physname.
2661 (local_language_defn): Ditto.
2662 * dwarf2read.c (guess_structure_name): Change to call
2663 language_class_name_from_physname.
2664 (determine_class_name): Ditto.
2665 * cp-support.c (class_name_from_physname): Renamed.
2666 (cp_class_name_from_physname): New name of function.
2667 * cp-support.h: Ditto.
2668 * c-lang.c (c_language_defn): Change to add NULL
2669 for class_name_from_physname function pointer.
2670 (cplus_language_defn): Change to add cp_class_name_from_physname.
2671 * jv-lang.c (java_class_name_physname): New function.
2672 (java_find_last_component): New static routine.
2673 (java_language_defn): Add java_class_name_from_physname pointer.
2674 * ada-lang.c (ada_language_defn): Change to add NULL
2675 for class_name_from_physname function pointer.
2676 * f-lang.c (f_language_defn): Ditto.
2677 * m2-lang.c (m2_language_defn): Ditto.
2678 * objc-lang.c (objc_language_defn): Ditto.
2679 * p-lang.c (pascal_language_defn): Ditto.
2680 * scm-lang.c (scm_language_defn): Ditto.
2681
ee28ca0f
AC
26822004-07-06 Andrew Cagney <cagney@gnu.org>
2683
2684 Patch from Bart Robinson.
2685 * corelow.c (core_open): Add variable "flags", or in O_LARGEFILE.
2686 (O_LARGEFILE): Define to 0, if not defined.
2687
fdb1bf9d
MK
26882004-07-03 Mark Kettenis <kettenis@gnu.org>
2689
cb162ff6
MK
2690 * m68kbsd-nat.c: Include "gdbcore.h", <sys/types.h>,
2691 <machine/pcb.h> and "bsd-kvm.h".
2692 (PCB_REGS_FP, PCB_REGS_SP): Define if not already defined.
2693 (m68kbsd_supply_pcb): New function.
2694 (_initialize_m68kbsd_nat): New prototype and function.
2695 * Makefile.in (m68kbsd-nat.o): Update dependencies.
2696 * config/m68k/nbsdelf.mh (NATDEPFILES): Add bsd-kvm.o.
2697 (LOADLIBES): New variable.
2698 * config/m68k/obsd.mh (NATDEPFILES): Add bsd-kvm.o.
2699 (LOADLIBES): New variable.
2700
fdb1bf9d
MK
2701 * bsd-kvm.c (bsd_kvm_cmdlist): Remove unecessary initialization.
2702
963c4174
MK
27032004-07-03 Mark Kettenis <kettenis@gnu.org>
2704
2705 * bsd-kvm.c: Include "cli/cli-cmds.h", "command.h", "value.h" and
2706 <sys/proc.h>.
2707 (bsd_kvm_cmdlist): New variable.
2708 (bsd_kvm_cmd, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): New functions.
2709 (bsd_kvm_add_target): Register "kvm" command prefix, "kvm pcb"
2710 command and "kvm proc" command.
2711 * Makefile.in (bsd-kvm.o): Update dependencies.
2712
533f1d8f
MK
27132004-07-02 Mark Kettenis <kettenis@gnu.org>
2714
2715 * osabi.c: Update copyright year.
2716 (generic_elf_osabi_sniffer): Tweak comment. Look for OS-specific
2717 notes if EI_OSABI is set to ELFOSABI_HPUX.
2718
6780dcde
MS
27192004-07-01 Michael Snyder <msnyder@redhat.com>
2720
2721 * win32-nat.c (core_dll_symbols_add): Re-indent a small section
2722 that seems to have gotten whacked out of line.
2723
67bebe79
MK
27242004-07-01 Mark Kettenis <kettenis@gnu.org>
2725
2726 * dbxread.c (process_one_symbol) [PCC_SOL_BROKEN]: Remove dead
2727 code.
2728
0b5d8877
PH
27292004-07-01 Paul N. Hilfinger <Hilfinger@gnat.com>
2730
2731 * ada-lang.c (decode_packed_array): Minor change to comment.
2732 (ada_value_slice_ptr): New function.
2733 (ada_value_slice): New function.
2734 (ada_evaluate_subexp): Remove XVS-suffix code from subscripting
2735 test. Don't know why it is there.
2736 Change slice code to use ada_value_slice_ptr and ada_value_slice, and
2737 to avoid dereferencing huge arrays from which one is slicing.
2738 (empty_array): Correct to return an array rather than
2739 a subrange value.
2740 * ada-valprint.c (print_optional_low_bound): Don't print lower bound
2741 on empty arrays (let'em use 'FIRST instead).
2742
19c1ef65
PH
27432004-07-01 Paul N. Hilfinger <Hilfinger@gnat.com>
2744
2745 Address complaints from gdb_ari.sh:
2746
2747 * ada-exp.y: Include gdb_string.h rather than string.h.
2748 (convert_char_literal): Reformat declaration.
2749 * ada-lang.h: Include opaque struct declaration for struct frame_info.
2750 * ada-lex.l: Change use of free to xfree (the macro would do so
2751 anyway, but this is harmless).
2752 Include gdb_string.h rather than string.h.
2753 * ada-valprint.c (ada_val_print_stub): Change PTR => void*.
2754
2755 * ada-lang.c (parse): Remove K&Rism in parameter list.
2756 (is_name_suffix): Correct Linux => GNU/Linux in comment.
2757
d81cbc94
MK
27582004-06-30 Mark Kettenis <kettenis@gnu.org>
2759
2760 * dbxread.c (process_one_symbol) [SUN_FIXED_LBRAC_BUG]: Remove
2761 dead code.
2762
07681759
MK
27632004-06-30 Mark Kettenis <kettenis@gnu.org>
2764
2765 * alphabsd-nat.c: Update copyright year.
2766 (getregs_supplies): Use ALPHA_PC_REGNUM instead of PC_REGNUM.
2767
f7948b5f
JB
27682004-06-29 Joel Brobecker <brobecker@gnat.com>
2769
6e0cdd28 2770 * i386-cygwin-tdep.c (i386_cygwin_skip_trampoline_code): New function.
f7948b5f
JB
2771 (i386_cygwin_in_solib_call_trampoline): New function.
2772 (i386_cygwin_init_abi): Initialize the in_solib_call_trampoline
2773 and skip_trampoline_code gdbarch methods.
2774
8f113c9a
JB
27752004-06-29 Jim Blandy <jimb@redhat.com>
2776
2777 * Makefile.in (gdb_callback_h): Renamed from callback_h to the
2778 name actually used in the dependency lists.
2779
97dc871c
RC
27802004-06-29 Randolph Chung <tausq@debian.org>
2781
2782 * NEWS (New native configurations): Mention GNU/Linux/hppa.
2783
47216e51
CV
27842004-06-29 Corinna Vinschen <vinschen@redhat.com>
2785
2786 * win32-nat.c (child_pid_to_exec_file): New function.
6780dcde 2787 (init_child_ops): Add child_pid_to_exec_file as to_pid_to_exec_file
47216e51
CV
2788 functionality.
2789
e623b504
AC
27902004-06-28 Andrew Cagney <cagney@gnu.org>
2791
2792 * defs.h (xstrvprintf): Declare.
2793 * utils.c (xstrvprintf): New function.
2794 (internal_vproblem, xstrprintf, xasprintf)
2795 (vfprintf_maybe_filtered, vfprintf_unfiltered): Use xstrvprintf.
2796 * serial.c (serial_printf): Ditto.
2797 * complaints.c (vcomplaint): Ditto.
2798
79acc9b3
CV
27992004-06-29 Corinna Vinschen <vinschen@redhat.com>
2800
2801 * infcmd.c (attach_command): Move call to target_terminal_inferior
2802 behind loading symbol table.
2803
1daf35d9
AC
28042004-06-28 Andrew Cagney <cagney@gnu.org>
2805
2806 * rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Revert 2004-06-24
2807 change - add back extern deprecated_ui_loop_hook declaration.
2808
b435e160
AC
28092004-06-28 Andrew Cagney <cagney@gnu.org>
2810
2811 * xcoffsolib.c (xcoff_solib_address): Replace xasprintf with
2812 xstrprintf.
2813 * varobj.c (varobj_gen_name, create_child, c_name_of_child)
2814 (c_value_of_variable): Ditto.
2815 * utils.c (internal_vproblem): Ditto.
2816 * solib-aix5.c (build_so_list_from_mapfile): Ditto.
2817 * remote.c (add_packet_config_cmd): Ditto.
2818 * remote-rdp.c (rdp_set_command_line): Ditto.
2819 * regcache.c (regcache_dump): Ditto.
2820 * frv-tdep.c (new_variant, new_variant): Ditto.
2821 * fbsd-proc.c (child_pid_to_exec_file): Ditto.
2822 (fbsd_find_memory_regions): Ditto.
2823 * breakpoint.c (create_thread_event_breakpoint)
2824 (create_breakpoints): Ditto.
2825 * aix-thread.c (aix_thread_pid_to_str): Ditto.
2826 * ada-lang.c (is_package_name): Ditto. Also delete xmalloc call.
2827
06d5cf63
JB
28282004-06-28 Joel Brobecker <brobecker@gnat.com>
2829
2830 * ada-lang.c: Re-indent file, with some massaging to help indent
2831 a bit when the result is otherwise really too ugly.
2832
35809fad
UW
28332004-06-27 Ulrich Weigand <uweigand@de.ibm.com>
2834
2835 * frame.h (struct frame_id): Change bit field type of stack_addr_p,
2836 code_addr_p and special_addr_p to 'unsigned int'.
2837
40e20472
MK
28382004-06-27 Mark Kettenis <kettenis@gnu.org>
2839
2840 * i386v4-nat.c: Update copyright year and tweak comment.
2841 (regmap): Remove trailing comma.
2842 (supply_gregset): Rename local variable i to regnum. Call
2843 regcache_raw_supply instead of supply_register.
2844 (fill_gregset): Rename argument regno to regnum. Call
2845 regcache_raw_collect instead of regcache_collect.
2846
12b0b6de
UW
28472004-06-27 Ulrich Weigand <uweigand@de.ibm.com>
2848
2849 * frame.h (struct frame_id): New fields stack_addr_p, code_addr_p
2850 and special_addr_p.
2851 (frame_id_build, frame_id_build_special): Update comments.
2852 (frame_id_build_wild): New prototype.
2853 * frame.c (frame_id_build, frame_id_build_special): Fill in new
2854 struct frame_id fields.
2855 (frame_id_build_wild): New function.
2856 (frame_id_eq, frame_id_inner): Use new struct frame_id fields.
2857
47b42a3e
MK
28582004-06-27 Mark Kettenis <kettenis@gnu.org>
2859
2860 * config/djgpp/fnchange.lst: Add entries for hppabsd-nat.c and
2861 hppabsd-tdep.c.
2862
1265e4aa
JB
28632004-06-27 Joel Brobecker <brobecker@gnat.com>
2864
2865 * ada-lang.c: Minor reformatting to conform to GNU coding standards.
2866
76a01679
JB
28672004-06-27 Joel Brobecker <brobecker@gnat.com>
2868
2869 * ada-lang.c: Re-indent file.
2870
7aca490a
JB
28712004-06-27 Joel Brobecker <brobecker@gnat.com>
2872
2873 * ada-lang.c (symtab_symbol_info): Remove unused declaration.
2874 (no_symtab_msg): Likewise.
2875
5e987968
AS
28762004-06-27 Andreas Schwab <schwab@suse.de>
2877
2878 * source.c: Fix whitespace.
2879
315c4276
MK
28802004-06-27 Mark Kettenis <kettenis@gnu.org>
2881
d15be926
MK
2882 * configure.in: Include <sys/param.h> for td_pcb test.
2883 * configure: Regenerated.
2884
9062529b
MK
2885 * i386nbsd-nat.c: New file.
2886 * Makefile.in (ALLDEPFILES): Add i386nbsd-nat.c, i386nbsd-tdep.c,
2887 i386obsd-nat.c and i386obsd-tdep.c.
2888 (i386nbsd-nat.o): New dependency.
2889 * config/i386/obsd.mh (NATDEPFILES): Add i386nbsd-nat.o and
2890 bsd-kvm.o.
2891 (LOADLIBES): New variable.
2892 * config/i386/nbsdelf.mh (NATDEPFILES): Add i386nbsd-nat.o and
2893 bsd-kvm.o.
2894 (LOADLIBES): New variable.
2895
8010310e
MK
2896 * config/i386/fbsd64.mh (NATDEPFILES): Add bsd-kvm.o.
2897 (LOADLIBES): New variable.
2898
efe1d7b9
MK
2899 * bsd-kvm.c (bsd_kvm_fetch_registers): Directly return after
2900 fetching from BSD_KVM_PADDR. Correctly lookup address for
2901 "_thread0".
2902
315c4276
MK
2903 * amd64fbsd-nat.c: Include <sys/types.h, <machine/pcb.h> and
2904 "bsd-kvm.h".
2905 (amd64fbsd_supply_pcb): New funcion.
2906 (_initialize_amd64fbsd_nat): Enable libkvm interface.
2907
399cfac6
DL
29082004-06-27 <david@streamline-computing.com>
2909
2910 Partial fix for PR cli/1056.
2911 * valarith.c: Check for zero in division and remainder
2912 evaluation.
2913
6235f9c8
MK
29142004-06-27 Mark Kettenis <kettenis@gnu.org>
2915
2916 * i387-tdep.c: Remove excessive whitespace.
2917
2726dafc
AC
29182004-06-26 Andrew Cagney <cagney@gnu.org>
2919
2920 * gdb-events.sh (deprecated_set_gdb_event_hooks): Deprecated.
2921 * gdb-events.h, gdb-events.c: Re-generate.
2922 * tui/tui-hooks.c (tui_install_hooks): Update.
2923 (tui_remove_hooks): Update.
2924 * mi/mi-cmd-break.c (mi_cmd_break_insert): Update.
2925
0e56aeaf
MK
29262004-06-26 Mark Kettenis <kettenis@gnu.org>
2927
cb461069
MK
2928 * amd64fbsd-nat.c: Don't include <sys/procfs.h> and "gregset.h".
2929 (gregset_t, fpregset_t): Remove typedefs.
2930 (REG_OFFSET): Rename argument.
2931 (amd64bsd_r_reg_offset): Rename from reg_offset.
2932 (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset):
2933 Remove functions.
2934 (_initialize_amd64fbsd_nat): Use amd64fbsd64_r_reg_offset instead
2935 of reg_offset.
2936 * Makefile.in (amd64fbsd-nat.o): Update dependencies.
2937
ecba89de
MK
2938 * amd64-nat.c (amd64_supply_native_gregset): Fix comment.
2939
4cd80476
MK
2940 * vax-tdep.c: Tweak comment.
2941
0e56aeaf
MK
2942 Add OpenBSD/hppa support.
2943 * NEWS (New native configurations): Mention OpenBSD/hppa.
2944 * hppabsd-nat.c, hppabsd-tdep.c, config/pa/obsd.mh,
2945 config/pa/obsd.mt, config/pa/nm-obsd.h, config/pa/tm-bsd.h: New
2946 files.
2947 * Makefile.in (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c.
2948 (hppabsd-nat.o, hppabsd-tdep.c): New dependencies.
2949 * configure.host: Add hppa*-*-openbsd*.
2950 * configure.tgt: Add hppa*-*-openbsd*.
2951
98bbd631
AC
29522004-06-25 Andrew Cagney <cagney@gnu.org>
2953
2954 * defs.h (deprecated_ui_loop_hook): Deprecated.
2955 * wince.c (child_wait): Update.
2956 * win32-nat.c (child_wait): Update.
2957 * v850ice.c (v850ice_wait): Update.
2958 * top.c (deprecated_ui_loop_hook): Update.
2959 * serial.h: Update.
2960 * ser-unix.c (do_hardwire_readchar, do_hardwire_readchar)
2961 (do_unix_readchar): Update.
2962 * ser-tcp.c (net_open): Update.
2963 * remote-sim.c (gdb_os_poll_quit): Update.
2964 * rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Update.
2965
769d7dc4
AC
29662004-06-24 Andrew Cagney <cagney@gnu.org>
2967
2968 * defs.h (deprecated_pre_add_symbol_hook)
2969 (deprecated_post_add_symbol_hook): Deprecated.
2970 * symfile.c (symbol_file_add_with_addrs_or_offsets)
2971 (symbol_file_add_with_addrs_or_offsets): Update references.
2972
11c949aa
AC
29732004-06-24 Andrew Cagney <cagney@gnu.org>
2974
2975 * defs.h (post_add_symbol_hook, pre_add_symbol_hook)
2976 (ui_loop_hook, selected_frame_level_changed_hook): Declare.
2977 * wince.c (ui_loop_hook): Delete extern declaration.
2978 * win32-nat.c (ui_loop_hook): Delete extern declaration..
2979 * v850ice.c (ui_loop_hook): Delete extern declaration..
2980 * ser-unix.c (ui_loop_hook): Delete extern declaration..
2981 * ser-tcp.c (ui_loop_hook): Delete extern declaration..
2982 * remote-sim.c (ui_loop_hook): Delete extern declaration..
2983 * rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Delete extern.
2984 ui_loop_hook declaration.
2985
eedc19af
AC
29862004-06-24 Andrew Cagney <cagney@gnu.org>
2987
2988 * objfiles.h (struct entry_info): Delete entry_func_lowpc and
2989 entry_func_highpc fields.
2990 * objfiles.c (init_entry_point_info): Do not clear
2991 entry_func_lowpc and entry_func_highpc.
2992 (objfile_relocate): Do not relocate entry_func_lowpc and
2993 entry_func_highpc.
2994 * dwarfread.c (read_func_scope): Do not set entry_func_lowpc and
2995 entry_func_highpc.
2996 * dwarf2read.c (read_func_scope): Do not set entry_func_lowpc and
2997 entry_func_highpc.
2998 * blockframe.c (legacy_frame_chain_valid): Replace tests against
2999 entry_func_lowpc and entry_func_highpc with call to
3000 inside_entry_func.
3001
d47079be
MK
30022004-06-24 Mark Kettenis <kettenis@gnu.org>
3003
3004 * sparc64-tdep.c (sparc64_store_arguments): Fix passing
3005 quad-precision floating point arguments in registers.
3006
2107e348
MK
30072004-06-24 Mark Kettenis <kettenis@gnu.org>
3008
3009 From Michael Mueller <m.mueller99@kay-mueller.de>:
3010 * sparc64-tdep.c (sparc64_frame_base_address): Take BIAS into
3011 account.
3012
46587c42
JJ
30132004-06-22 Jeff Johnston <jjohnstn@redhat.com>
3014
3015 * infrun.c (handle_inferior_event): Initialize stopped_by_watchpoint
3016 to -1.
3017 * breakpoint.c (bpstat_stop_status): Move check for ignoring
3018 untriggered watchpoints to a separate if clause. Update function
3019 comment regarding STOPPED_BY_WATCHPOINT argument.
3020
226f5cf4
JB
30212004-06-22 Jim Blandy <jimb@redhat.com>
3022
3023 * gdbarch.sh: Doc fix.
3024
f10683bb
MH
30252004-06-21 Martin Hunt <hunt@redhat.com>
3026 Kevin Buettner <kevinb@redhat.com>
3027
3028 * config/mips/tm-mips.h (SP_REGNUM): Delete define.
3029 * mips-tdep.h (MIPS_SP_REGNUM): Define.
3030 * mips-tdep.c (mips_gdbarch_init): Set SP_REGNUM via call
3031 to set_gdbarch_sp_regnum(). Use cooked register number.
3032 (SP_REGNUM): Replace all occurrences with MIPS_SP_REGNUM.
3033
412d5987
AC
30342004-06-21 Andrew Cagney <cagney@gnu.org>
3035
3036 * gdbarch.sh: When the macro field is empty, do not generate a
3037 macro definition. When the macro field is "=", generate the macro
3038 name from the upper-case function name.
3039 (NUM_REGS, NUM_PSEUDO_REGS, SP_REGNUM, PC_REGNUM, PS_REGNUM)
3040 (FP0_REGNUM, STAB_REG_TO_REGNUM, ECOFF_REG_TO_REGNUM)
3041 (DWARF_REG_TO_REGNUM, SDB_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM)
3042 (REGISTER_NAME, DEPRECATED_REGISTER_VIRTUAL_TYPE)
3043 (DEPRECATED_REGISTER_BYTES, DEPRECATED_REGISTER_BYTE)
3044 (DEPRECATED_REGISTER_RAW_SIZE, DEPRECATED_REGISTER_VIRTUAL_SIZE)
3045 (DEPRECATED_SAVE_DUMMY_FRAME_TOS, DEPRECATED_FP_REGNUM)
3046 (DEPRECATED_TARGET_READ_FP, DEPRECATED_PUSH_ARGUMENTS)
3047 (DEPRECATED_PUSH_RETURN_ADDRESS, DEPRECATED_DUMMY_WRITE_SP)
3048 (DEPRECATED_REGISTER_SIZE, CALL_DUMMY_LOCATION)
3049 (DEPRECATED_DO_REGISTERS_INFO, REGISTER_SIM_REGNO)
3050 (REGISTER_BYTES_OK, CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER)
3051 (GET_LONGJMP_TARGET, DEPRECATED_INIT_FRAME_PC)
3052 (BELIEVE_PCC_PROMOTION, DEPRECATED_GET_SAVED_REGISTER)
3053 (CONVERT_REGISTER_P, REGISTER_TO_VALUE, VALUE_TO_REGISTER)
3054 (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER, INTEGER_TO_ADDRESS)
3055 (DEPRECATED_POP_FRAME, DEPRECATED_STORE_STRUCT_RETURN)
3056 (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE)
3057 (DEPRECATED_EXTRACT_RETURN_VALUE, DEPRECATED_STORE_RETURN_VALUE)
3058 (DEPRECATED_USE_STRUCT_CONVENTION)
3059 (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS)
3060 (DEPRECATED_FRAME_INIT_SAVED_REGS)
3061 (DEPRECATED_INIT_EXTRA_FRAME_INFO, SKIP_PROLOGUE, INNER_THAN)
3062 (BREAKPOINT_FROM_PC, MEMORY_INSERT_BREAKPOINT)
3063 (MEMORY_REMOVE_BREAKPOINT, DECR_PC_AFTER_BREAK)
3064 (DEPRECATED_FUNCTION_START_OFFSET, FRAME_ARGS_SKIP)
3065 (DEPRECATED_FRAMELESS_FUNCTION_INVOCATION, DEPRECATED_FRAME_CHAIN)
3066 (DEPRECATED_FRAME_CHAIN_VALID, DEPRECATED_FRAME_SAVED_PC)
3067 (DEPRECATED_FRAME_ARGS_ADDRESS, DEPRECATED_FRAME_LOCALS_ADDRESS)
3068 (DEPRECATED_SAVED_PC_AFTER_CALL, FRAME_NUM_ARGS)
3069 (DEPRECATED_STACK_ALIGN, DEPRECATED_REG_STRUCT_HAS_ADDR)
3070 (FRAME_RED_ZONE_SIZE, ADDR_BITS_REMOVE, SMASH_TEXT_ADDRESS)
3071 (SOFTWARE_SINGLE_STEP, SKIP_TRAMPOLINE_CODE)
3072 (IN_SOLIB_CALL_TRAMPOLINE, IN_SOLIB_RETURN_TRAMPOLINE)
3073 (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL)
3074 (NAME_OF_MALLOC, CANNOT_STEP_BREAKPOINT)
3075 (HAVE_NONSTEPPABLE_WATCHPOINT, ADDRESS_CLASS_TYPE_FLAGS)
3076 (FETCH_POINTER_ARGUMENT): Replace the macro name with "=".
3077
68908a3e
AC
30782004-06-21 Andrew Cagney <cagney@gnu.org>
3079
48f7351b
AC
3080 * gdbarch.sh: For gdbarch_dump, print the "function" rather than
3081 macro name, and the function rather than macro value. Only wrap
3082 macro print statements in #ifdef. Move format logic to where it
3083 is needed.
3084 * gdbarch.c: Re-generate.
3085
283354d8
AC
3086 * gdbarch.sh (read): Delete "print_p" and "description", add
3087 "garbage_at_eol". Check for non-empty garbage at end-of-line.
3088 Delete references to print_p.
3089 (TARGET_ARCHITECTURE): Delete print predicate.
3090 * gdbarch.c: Re-generate.
3091
68908a3e
AC
3092 * gdbarch.sh: Check that multi-arch methods do not provide a
3093 macro.
3094 (register_type, unwind_dummy_id, push_dummy_call, push_dummy_code)
3095 (print_registers_info, print_float_info, print_vector_info)
3096 (adjust_breakpoint_address, remote_translate_xfer_address)
3097 (construct_inferior_arguments, skip_solib_resolver, unwind_pc)
3098 (address_class_type_flags_to_name, unwind_sp): Remove the macro
3099 name from the multi-arch definition.
3100
a2428dbe
AC
31012004-06-20 Andrew Cagney <cagney@gnu.org>
3102
3103 * gdbarch.sh: Sort by the function, instead of macro name.
3104 * gdbarch.c: Re-generate.
3105
750eb019
AC
31062004-06-20 Andrew Cagney <cagney@gnu.org>
3107
66d659b1
AC
3108 * gdbarch.sh: Use the function, instead of macro name in
3109 errors and the log file.
3110 (return_value): Remove stray ":" in spec.
3111
750eb019
AC
3112 * gdbarch.sh (RETURN_VALUE): Default to legacy_return_value.
3113 * gdbarch.h, gdbarch.c: Re-generate.
3114 * Makefile.in (arch-utils.o): Update dependencies.
3115 * values.c (using_struct_return): Move code calling
3116 USE_STRUCT_CONVENTION to legacy_return_value, simplify.
3117 * stack.c (return_command): Move code calling STORE_RETURN_VALUE
3118 to legacy_return_value, simplify.
3119 * infcmd.c (print_return_value): Move code calling
3120 DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS and EXTRACT_RETURN_VALUE
3121 to legacy_return_value, simplify.
3122 * infcall.c (call_function_by_hand): Move code calling
3123 EXTRACT_RETURN_VALUE to legacy_return_value, simplify.
3124 * arch-utils.c: Update copyright. Include "gdbcore.h".
3125 (legacy_return_value): New function.
3126 * arch-utils.h: Update copyright.
3127 (legacy_return_value): Declare.
3128
b5622e8d
AC
31292004-06-20 Andrew Cagney <cagney@gnu.org>
3130
3131 * gdbarch.sh (DEPRECATED_USE_STRUCT_CONVENTION): Deprecated.
3132 * gdbarch.h, gdbarch.c: Re-generate.
3133 * values.c (using_struct_return): Update call.
3134 * mcore-tdep.c: Update comment.
3135 * infcall.c (call_function_by_hand): Update comment.
3136 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
3137 * arch-utils.h (always_use_struct_convention): Update.
3138 * v850-tdep.c (v850_gdbarch_init): Update.
3139 * sh64-tdep.c (sh64_gdbarch_init): Update.
3140 * sh-tdep.c (sh_gdbarch_init): Update.
3141 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
3142 * mips-tdep.c (mips_gdbarch_init): Update.
3143 * mcore-tdep.c (mcore_gdbarch_init): Update.
3144 * m32r-tdep.c (m32r_gdbarch_init): Update.
3145 * ia64-tdep.c (ia64_gdbarch_init): Update.
3146 * h8300-tdep.c (h8300_gdbarch_init): Update.
3147 * frv-tdep.c (frv_gdbarch_init): Update.
3148 * cris-tdep.c (cris_gdbarch_init): Update.
3149 * arm-tdep.c (arm_gdbarch_init): Update.
3150 * alpha-tdep.c (alpha_gdbarch_init): Update.
3151
5191de37
MC
31522004-06-18 Michael Chastain <mec.gnu@mindspring.com>
3153
3154 * PROBLEMS: Add more specific information, and a work-around,
3155 for PR gdb/1458.
3156
782263ab
AC
31572004-06-18 Andrew Cagney <cagney@gnu.org>
3158
3159 * gdbarch.sh (DEPRECATED_FUNCTION_START_OFFSET): Deprecated.
3160 * gdbarch.h, gdbarch.c: Re-generate.
3161 * ada-lang.c (ada_finish_decode_line_1): Update.
3162 * infrun.c (handle_inferior_event): Update.
3163 * infcall.c (find_function_addr): Update.
3164 * linespec.c (minsym_found): Update.
3165 * symtab.c (find_function_start_sal, skip_prologue_using_sal):
3166 Update.
3167 * blockframe.c (legacy_frameless_look_for_prologue): Update.
3168 * cli/cli-cmds.c (disassemble_command): Update.
3169 * vax-tdep.c (vax_gdbarch_init): Update.
3170
2f305df1
MK
31712004-06-18 Mark Kettenis <kettenis@gnu.org>
3172
3173 * i386-tdep.c (i386_collect_fpregset): Fix comment.
3174
e5fe55f7
AC
31752004-06-17 Andrew Cagney <cagney@gnu.org>
3176
3177 GDB 6.1.1 released from the GDB 6.1 branch.
3178 * NEWS: Merge in 6.1.1 NEWS from 6.1 branch.
3179 * PROBLEMS: Ditto.
3180
473b7be6
DJ
31812004-06-16 Daniel Jacobowitz <dan@debian.org>
3182
3183 PR gdb/1658
3184 * dwarf2read.c (dwarf_decode_lines): Read the length of the extended
3185 operation as a uleb128. Found by Michael Coulter.
3186
96d887e8
PH
31872004-06-16 Paul N. Hilfinger <Hilfinger@gnat.com>
3188
3189 * ada-tasks.c: Rename build_task_list to ada_build_task_list, and
3190 make it non-static.
3191 * ada-lang.h (task_control_block): declaration moved from ada-task.c
3192 to ada-lang.h; this is needed to be able to implement the kill command
3193 in multi-task mode.
3194 (task_ptid): Ditto.
3195 (task_entry): Ditto.
3196 (task_list): Ditto.
3197 (ada_build_task_list): Ditto.
3198
3199 * ada-lang.c: Conditionalize routines and data structures related
3200 to breakpoints, exceptions, completion, and symbol caching on
3201 GNAT_GDB, since these are not yet used in the submitted public sources.
3202 (ada_main_name): Editorial: Move definition out of exception-related
3203 code.
3204
31eef181
AC
32052004-06-15 Andrew Cagney <cagney@gnu.org>
3206
3207 * mips-tdep.c (non_heuristic_proc_desc): Delete call to
3208 deprecated_pc_in_call_dummy.
3209
2c500098
AM
32102004-06-15 Alan Modra <amodra@bigpond.net.au>
3211
3212 * dsrec.c (load_srec, make_srec): Use bfd_get_section_size instead of
3213 bfd_get_section_size_before_reloc or _raw_size.
3214 * dwarf2-frame.c (dwarf2_build_frame_info): Likewise.
3215 * dwarf2read.c (dwarf2_locate_sections): Likewise.
3216 (dwarf2_read_section): Likewise.
3217 * elfread.c (elf_locate_sections): Likewise.
3218 * gcore.c (derive_heap_segment): Likewise.
3219 * mipsread.c (read_alphacoff_dynamic_symtab): Likewise.
3220 * remote-e7000.c (e7000_load): Likewise.
3221 * remote-m32r-sdi.c (m32r_load): Likewise.
3222 * remote-mips.c (mips_load_srec): Likewise.
3223 (pmon_load_fast): Likewise.
3224 * remote.c (compare_sections_command): Likewise.
3225 * symfile.c (add_section_size_callback): Likewise.
3226 (load_section_callback): Likewise.
3227 (pc_in_unmapped_range): Likewise.
3228 (pc_in_mapped_range): Likewise.
3229 (sections_overlap): Likewise.
3230 (list_overlays_command): Likewise.
3231 (simple_overlay_update_1): Likewise.
3232 (simple_overlay_update): Likewise.
3233 * tracepoint.c (remote_set_transparent_ranges): Likewise.
3234 * win32-nat.c (core_section_load_dll_symbols): Likewise.
3235
90f943f1
RC
32362004-06-14 Randolph Chung <tausq@debian.org>
3237
3238 * Makefile.in (hppa-hpux-tdep.o): Update dependency.
3239 * hppa-hpux-tdep.c (hp_cxx_exception_support_initialized): Make
3240 static.
3241 (hppa_hpux_inferior_created): New function.
3242 (hppa_hpux_init_abi): Register observer.
3243 * symfile.c (hp_cxx_exception_support_initialized)
3244 (RESET_HP_UX_GLOBALS): Remove HPUXHPPA specific hacks.
3245 (symbol_file_add_main_1, symbol_file_clear): Likewise.
3246
700c15aa
RC
32472004-06-14 Randolph Chung <tausq@debian.org>
3248
3973a7d3
AC
3249 * MAINTAINERS (Write After Approval): Alphabetize my entry
3250 correctly.
700c15aa 3251
cea4838c
AC
32522004-06-14 Andrew Cagney <cagney@gnu.org>
3253
3254 * MAINTAINERS (testsuite): List Michael Chastain as the lead
3255 testsuite maintainer.
3256
97092415
AC
32572004-06-13 Andrew Cagney <cagney@gnu.org>
3258
e8c3165b
AC
3259 * infcmd.c (print_return_value): Fix logic, allow
3260 DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS when struct_return.
3261
bceabdd8
AC
3262 * gdbarch.sh: For predicates, do not check GDB_MULTI_ARCH when
3263 defining any macros.
3264 * gdbarch.h: Re-generate.
3265
57010b1c
AC
3266 * gdbarch.sh: Delete "level" attribute. Only check for a macro
3267 redefinition when multi-arch greater than GDB_MULTI_ARCH_PARTIAL.
3268 * gdbarch.h: Re-generate.
3269
bc87dfa0
AC
3270 * values.c (generic_use_struct_convention): Don't check gcc_p.
3271
15ac804d
AC
3272 * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE)
3273 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Delete.
3274 * gdbarch.h, gdbarch.c: Regenerate.
3275 * ns32k-tdep.h (NS32K_MAX_REGISTER_RAW_SIZE)
3276 (NS32K_MAX_REGISTER_VIRTUAL_SIZE): Delete macros.
3277 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
3278 deprecated_max_register_raw_size and
3279 deprecated_max_register_virtual_size.
3280 * v850-tdep.c (v850_gdbarch_init): Ditto.
3281 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
3282 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
3283 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
3284 * cris-tdep.c (cris_gdbarch_init): Ditto.
3285
97092415
AC
3286 * gdbarch.sh (RETURN_VALUE_ON_STACK): Delete method.
3287 * gdbarch.h, gdbarch.c: Re-generate.
3288 * m68hc11-tdep.c (m68hc11_return_value_on_stack): Delete function.
3289 (m68hc11_use_struct_convention): Delete function.
3290 (m68hc11_extract_struct_value_address): Delete function.
3291 (m68hc11_return_value): New function.
3292 (m68hc11_gdbarch_init): Instead of store_return_value,
3293 extract_return_value, return_value_on_stack,
3294 deprecated_extract_struct_value_address and use_struct_convention,
3295 set return_value.
3296 * values.c (using_struct_return): Do not call
3297 RETURN_VALUE_ON_STACK.
3298 * arch-utils.h (generic_return_value_on_stack_not): Delete
3299 declaration.
3300 * arch-utils.c (generic_return_value_on_stack_not): Delete
3301 function.
3302
44e5158b
AC
33032004-06-12 Andrew Cagney <cagney@gnu.org>
3304
3305 * values.c (register_value_being_returned): Delete function.
3306 * infcmd.c (legacy_return_value): Delete function.
3307 * infcall.c (call_function_by_hand): Inline
3308 "register_value_being_returned", simplify.
3309 * values.c (using_struct_return): Update comment, refer to
3310 print_return_value instead of register_value_being_returned.
3311 * infcmd.c (print_return_value): Inline calls to
3312 register_value_being_returned and legacy_return_value. Simplify.
3313
b887c273
RC
33142004-06-11 Randolph Chung <tausq@debian.org>
3315
3316 * somread.c (som_symtab_read): Exclude gcc local symbols.
3317
1b2bfbb9
RC
33182004-06-11 Randolph Chung <tausq@debian.org>
3319
3973a7d3
AC
3320 * infrun.c (handle_inferior_event): Handle the case when a
3321 trampoline ends up in the runtime resolver, and if the trampoline
3322 has no name. Rearrange the code so that all the trampoline
3323 processing happens before other step-out-of-range handling.
1b2bfbb9 3324
a9d61c86
MH
33252004-06-11 Martin Hunt <hunt@redhat.com>
3326
3327 * mips-tdep.c (mips_gdbarch_init): Recognize vr4120
3328 has no fpu.
3329
2c87cf5a
AC
33302004-06-10 Andrew Cagney <cagney@gnu.org>
3331
3332 * blockframe.c (legacy_inside_entry_func): Delete.
3333 (legacy_frame_chain_valid): Inline call to
3334 legacy_inside_entry_func, simplify.
3335
0b67b468 33362004-06-10 Bob Rossi <bob@brasko.net>
57c22c6c
BR
3337
3338 * dbxread.c (read_dbx_symtab): Set pst->dirname when known.
3973a7d3
AC
3339 * dwarf2read.c (partial_die_info): Add dirname field.
3340 (dwarf2_build_psymtabs_hard): Set pst->dirname when known.
3341 (read_partial_die): Save away DW_AT_comp_dir.
3342 * defs.h (symtab_to_filename): Removed.
3343 * source.c (find_and_open_source): Added.
57c22c6c 3344 (open_source_file): Just calls find_and_open_source.
3973a7d3
AC
3345 (symtab_to_filename): Removed.
3346 (symtab_to_fullname, psymtab_to_fullname): Added.
57c22c6c
BR
3347 * source.h (psymtab_to_fullname,symtab_to_fullname): Added.
3348 * symtab.c (lookup_symtab): Call symtab_to_fullname instead of
3349 symtab_to_filename.
3350 * symtab.h (partial_symtab): Add dirname field.
3351 * mi/mi-cmd-file.c (FILENAME,FULLNAME): Added.
3973a7d3
AC
3352 (mi_cmd_file_list_exec_source_file): Call new function
3353 symtab_to_fullname to find fullname.
57c22c6c 3354 (mi_cmd_file_list_exec_source_files): Added.
3973a7d3 3355 * mi/mi-cmds.c (mi_cmd_mi_cmds): Add -file-list-exec-source-files.
57c22c6c
BR
3356 * mi/mi-cmds.h (mi_cmd_file_list_exec_source_files): Added.
3357
9a1dd1ad
AC
33582004-06-10 Andrew Cagney <cagney@gnu.org>
3359
239ae8c7
AC
3360 * avr-tdep.c (avr_gdbarch_init): Do not set use_struct_convention
3361 to generic_use_struct_convention, the default value.
3362
fc720350
AC
3363 * mn10300-tdep.c (mn10300_type_align): Call internal_error instead
3364 of abort.
3365
9a1dd1ad
AC
3366 * ns32k-tdep.c (ns32k_push_arguments): New function.
3367 (ns32k_gdbarch_init): Set deprecated_push_arguments.
3368 * infcall.c (call_function_by_hand): Call error instead of
3369 legacy_push_arguments.
3370 * value.h (legacy_push_arguments): Delete declaration.
3371 * valops.c (legacy_push_arguments): Delete function.
3372 (value_push): Delete function.
3373
fea25152
BF
33742004-06-10 Brian Ford <ford@vss.fsi.com>
3375
3376 * coffread.c (coff_symfile_read): Prevent mixed debugging formats
3377 from corrupting/reinitializing the psymtab. Support DWARF 2 frame
3378 info.
3379 * dbxread.c (elfstab_build_psymtabs): Remove bogus comment.
3380
30a4a8e0
AC
33812004-06-10 Andrew Cagney <cagney@gnu.org>
3382
3383 * gdbarch.sh (DEPRECATED_PC_IN_CALL_DUMMY): Delete.
3384 * gdbarch.h, gdbarch.c: Re-generate.
3385 * frame.h (deprecated_pc_in_call_dummy): Delete "sp" and "fp"
3386 parameters.
3387 * dummy-frame.c (deprecated_pc_in_call_dummy): Update.
3388 * arm-tdep.c (arm_pc_is_thumb_dummy): Call
3389 deprecated_pc_in_call_dummy instead of
3390 DEPRECATED_PC_IN_CALL_DUMMY.
3391 (arm_skip_prologue): Ditto.
3392 * xstormy16-tdep.c (xstormy16_pop_frame, xstormy16_scan_prologue)
3393 (xstormy16_frame_saved_pc, xstormy16_frame_chain): Ditto.
3394 * v850-tdep.c (v850_find_callers_reg, v850_frame_chain)
3395 (v850_pop_frame, v850_frame_saved_pc, v850_frame_init_saved_regs):
3396 Ditto.
3397 * sh64-tdep.c (sh64_frame_chain, sh64_get_saved_pr)
3398 (sh64_init_extra_frame_info, sh64_get_saved_register)
3399 (sh64_pop_frame): Ditto.
3400 * mips-tdep.c (non_heuristic_proc_desc): Ditto.
3401 * mcore-tdep.c (mcore_find_callers_reg, mcore_frame_saved_pc)
3402 (mcore_pop_frame, mcore_init_extra_frame_info): Ditto.
3403 * h8300-tdep.c (h8300_frame_chain, h8300_frame_saved_pc)
3404 (h8300_pop_frame): Ditto.
3405 * blockframe.c (legacy_inside_entry_func)
3406 (legacy_frame_chain_valid): Ditto.
3407 * frame.c (frame_type_from_pc, legacy_get_prev_frame): Update call
3408 to deprecated_pc_in_call_dummy.
3409
81cfbe54
AC
34102004-06-09 Andrew Cagney <cagney@gnu.org>
3411
a1f4a1b6
AC
3412 * gdbarch.sh (REGISTER_TO_VALUE, VALUE_TO_REGISTER): Do not
3413 provide a default value.
3414 (CONVERT_REGISTER_P): Default to generic_convert_register_p.
3415 * gdbarch.h, gdbarch.c: Re-generate.
3416 * arch-utils.c (generic_convert_register_p): Rename
3417 legacy_convert_register_p
3418 (legacy_register_to_value, legacy_value_to_register): Delete
3419 functions.
3420 * arch-utils.h (generic_convert_register_p): Rename
3421 legacy_convert_register_p.
3422 (legacy_register_to_value, legacy_value_to_register): Delete
3423 declarations.
3424
9730f241
AC
3425 * gdbarch.sh (DEPRECATED_REGISTER_CONVERT_TO_RAW)
3426 (DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL)
3427 (DEPRECATED_REGISTER_CONVERTIBLE): Delete.
3428 * gdbarch.h, gdbarch.c: Re-generate.
3429 * infcmd.c (default_print_registers_info): Simplify.
3430 * findvar.c (value_of_register): Simplify.
3431 * mi/mi-main.c (get_register): Simplify.
3432 * arch-utils.c (legacy_convert_register_p): Always return 0.
3433 (legacy_register_to_value, legacy_value_to_register): Always call
3434 internal_error.
3435
8a1bf479
AC
3436 * infptrace.c (child_xfer_memory) [CLEAR_INSN_CACHE]: Delete
3437 #ifdef CLEAR_INSN_CACHE code.
3438 * target.c (generic_mourn_inferior) [CLEAR_DEFERRED_STORES]:
3439 Delete #ifdef CLEAR_DEFERRED_STORES code.
3440
4b38d6f1
AC
3441 * solib-svr4.c [HANDLE_SVR4_EXEC_EMULATORS]: Delete #ifdef code.
3442
2d62ecc7
AC
3443 * config/ia64/tm-linux.h (TARGET_ELF64): Delete macro, Update
3444 copyright.
3445 * config/ia64/tm-aix.h (TARGET_ELF64): Ditto.
3446
be4f7469
AC
3447 * config/mips/mipsv4.mh: Delete file.
3448
81cfbe54
AC
3449 * config/pa/tm-hppa64.h (HPREAD_ADJUST_STACK_ADDRESS): Delete
3450 unreferenced macro.
3451 (hpread_adjust_stack_address): Delete declaration.
3452
d966f0cb
AC
34532004-06-08 Andrew Cagney <cagney@gnu.org>
3454
3455 * infptrace.c [ATTACH_DETACH]: Remove #ifdef wrappers.
3456 (attach, detach): When neither PT_ATTACH / PT_DETACH nor
3457 PTRACE_ATTACH / PTRACE_DETACH available call error.
3458 (PT_ATTACH, PT_DETACH): Move definition to attach / detach.
3459 * infttrace.c (update_thread_state_after_attach, attach, detach):
3460 Remove #ifdef wrappers.
3461 * inftarg.c (child_attach, child_detach): Remove #ifdef wrappers.
3462 * gnu-nat.c [ATTACH_DETACH]: Remove #ifdef wrappers.
3463 * config/nm-bsd.h (ATTACH_DETACH): Delete.
3464 * config/nm-sysv4.h (ATTACH_DETACH): Delete.
3465 * config/nm-nbsd.h (ATTACH_DETACH): Delete.
3466 * config/nm-linux.h (ATTACH_DETACH): Delete.
3467 * config/rs6000/nm-rs6000.h (ATTACH_DETACH): Delete.
3468 * config/pa/nm-hppah.h (ATTACH_DETACH): Delete.
3469 * config/i386/nm-i386sco5.h (ATTACH_DETACH): Delete.
3470 * config/i386/nm-i386sco4.h (ATTACH_DETACH): Delete.
3471 * config/i386/nm-i386gnu.h (ATTACH_DETACH): Delete.
3472
d91670b9
CV
34732004-06-08 Corinna Vinschen <vinschen@redhat.com>
3474
3475 * configure.in: Set $configdir to the right OS specific value.
3476 Use value when setting $tcldir and $tkdir.
3477 * configure: Regenerate.
3478
28ba0b33
PB
34792004-06-06 Paul Brook <paul@codesourcery.com>
3480
3481 * gdb/dwarf2-frame.c (decode_frame_entry_1): Decode version 3 CIE
3482 records.
3483
f26caa11
PH
34842004-06-08 Paul N. Hilfinger <Hilfinger@gnat.com>
3485
3486 * ada-lang.c (lookup_symbol_in_language): New function to allow
3487 re-use of another language's symbol lookup code. (Placed here
3488 temporarily while Ada support is being integrated into the public
3489 tree).
3490 (restore_language): New auxiliary function for
3491 lookup_symbol_in_language.
3492 * ada-lang.h (lookup_symbol_in_language): Declare (Placed here
3493 temporarily while Ada support is being integrated into the public
3494 tree).
3495
d560a54b
AO
34962004-06-08 Alexandre Oliva <aoliva@redhat.com>
3497
e75d110c
AO
3498 * Makefile.in (check//%): New.
3499
d560a54b
AO
3500 * mn10300-tdep.c (mn10300_extract_return_value): Rewrite.
3501 (mn10300_store_return_value): Rewrite.
3502 (mn10300_type_align): New.
3503 (mn10300_use_struct_convention): Rewrite.
3504 (mn10300_return_value): New, using all of the above.
3505 (mn10300_pop_frame_regular): Add saved_regs_size.
3506 (mn10300_gdbarch_init): Remove deprecated rewritten entry points.
3507
a72fbdb7
AO
3508 * mn10300-tdep.c (mn10300_analyze_prologue): Don't compute saved
3509 regs if PC is on movm.
3510
01904826
JB
35112004-06-07 Jim Blandy <jimb@redhat.com>
3512
3513 Add native Linux support for the PowerPC E500.
3514 * ppc-tdep.h (struct gdbarch_tdep): New member: 'ppc_gprs_pseudo_p'.
3515 * rs6000-tdep.c (rs6000_gdbarch_init): Initialize it to false on
3516 all architectures except the E500.
3517 * ppc-linux-nat.c: (PTRACE_GETEVRREGS, PTRACE_SETEVRREGS): New
3518 #definitions.
3519 (struct gdb_evrregset_t): New type.
3520 (have_ptrace_getsetevrregs): New variable.
3521 (get_spe_registers, read_spliced_spe_reg, fetch_spe_register,
3522 fetch_spe_registers): New functions.
3523 (fetch_register): Call fetch_spe_register as appropriate.
3524 Assert that we're only passed raw register numbers.
3525 (fetch_ppc_registers): Call fetch_spe_registers as appropriate.
3526 Don't fetch gprs if they're pseudoregisters.
3527 (set_spe_registers, write_spliced_spe_reg, store_spe_register,
3528 store_spe_registers): New functions.
3529 (store_register): Call store_spe_register as appropriate.
3530 Assert that we're only passed raw register numbers.
3531 (store_ppc_registers): Call store_spe_registers as appropriate.
3532 Don't store gprs if they're pseudoregisters.
3533
f90ef764
JJ
35342004-06-07 Jeff Johnston <jjohnstn@redhat.com>
3535
3536 * thread-db.c (thread_get_info_callback): Fill in the thread_info
3537 struct if one exists, even if we are dealing with a zombie thread.
3538
45b75230
AC
35392004-06-07 Andrew Cagney <cagney@gnu.org>
3540
3541 * target.h (PC_REQUIRES_RUN_BEFORE_USE): Delete definition.
3542 * config/pa/tm-hppa.h (DEPRECATED_PC_REQUIRES_RUN_BEFORE_USE):
3543 Rename PC_REQUIRES_RUN_BEFORE_USE.
3544 * breakpoint.c (breakpoint_sals_to_pc): Update. Wrap reference in
3545 #ifdef.
3546
1658da49
RC
35472004-06-07 Randolph Chung <tausq@debian.org>
3548
3549 * hppa-tdep.c (hppa_frame_cache): Handle the cases when we start
3550 unwinding after sp has been saved to the stack but before the end
3551 of the prologue, and after the fp has been modified but before it has
3552 been saved to the stack.
3553 (hppa_frame_base_address, hppa_frame_base, hppa_frame_base_sniffer):
3554 Remove superfluous definitions.
3555 (hppa_gdbarch_init): Remove superfluous frame base sniffer.
3556
9a727a3c
RC
35572004-06-07 Guy Martin <gmsoft@gentoo.org>
3558
3559 Committed by Randolph Chung.
3560 * hppa-linux-nat.c: Include the correct version of the header file
3561 depending on the kernel version.
3562
9e500012
RC
35632004-06-06 Randolph Chung <tausq@debian.org>
3564
3565 * infrun.c (trap_expected_after_continue): Remove HP_OS_BUG workaround.
3566 (proceed, init_wait_for_inferior, handle_inferior_event): Likewise.
3567
3388d7ff
RC
35682004-06-06 Randolph Chung <tausq@debian.org>
3569
3570 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline)
3571 (hppa_hpux_skip_trampoline_code): Don't cache symbol values.
3572 * hppa-linux-tdep.c (hppa_linux_in_dyncall): Likewise.
3573 * hppa-tdep.c (hppa_symbol_address): New function definition.
3574 * hppa-tdep.h (hppa_symbol_address): New function declaration.
3575
d49771ef
RC
35762004-06-06 Randolph Chung <tausq@debian.org>
3577
3578 * hppa-tdep.h (struct value): Forward declaration.
3579 (gdbarch_tdep): Define tdep find_global_pointer method.
3580 * hppa-tdep.c (hppa32_push_dummy_call): Find the global pointer
3581 associated with the function we are trying to call, and write it
3582 to the gp register.
3583 (hppa32_convert_from_funct_ptr_addr): New function.
3584 (hppa_find_global_pointer): New function.
3585 (hppa_gdbarch_init): Set default find_global_pointer method; set
3586 convert_from_func_ptr_addr method.
3587 * hppa-linux-tdep.c (hppa_linux_find_global_pointer): New function.
3588 (hppa_linux_init_abi): Set find_global_pointer method.
3589 * Makefile.in (hppa-linux-tdep.o): Add value.h dependency.
3590
7d9b040b
RC
35912004-06-06 Randolph Chung <tausq@debian.org>
3592
3593 * gdbarch.sh (PUSH_DUMMY_CALL): Change CORE_ADDR func_addr argument
3594 to struct value *function.
3595 * gdbarch.c: Regenerate.
3596 * gdbarch.h: Likewise.
3597 * infcall.c (call_function_by_hand): Pass entire function value
3598 to push_dummy_call.
3599
3600 * Makefile.in (alpha-tdep.o, frv-tdep.o, ia64-tdep.o, mips-tdep.o)
3601 (ppc-sysv-tdep.o, rs6000-tdep.o): Update dependencies.
3602 * alpha-tdep.c (alpha_push_dummy_call): Update call signature.
3603 * amd64-tdep.c (amd64_push_dummy_call): Likewise.
3604 * arm-tdep.c (arm_push_dummy_call): Likewise.
3605 * avr-tdep.c (avr_push_dummy_call): Likewise.
3606 * cris-tdep.c (cris_push_dummy_call): Likewise.
3607 * d10v-tdep.c (d10v_push_dummy_call): Likewise.
3608 * frv-tdep.c (frv_push_dummy_call): Likewise.
3609 * h8300-tdep.c (h8300_push_dummy_call): Likewise.
3610 * hppa-tdep.c (hppa32_push_dummy_call)
3611 (hppa64_push_dummy_call): Likewise.
3612 * i386-tdep.c (i386_push_dummy_call): Likewise.
3613 * ia64-tdep.c (ia64_push_dummy_call): Likewise.
3614 * m32r-tdep.c (m32r_push_dummy_call): Likewise.
3615 * m68hc11-tdep.c (m68hc11_push_dummy_call): Likewise.
3616 * m68k-tdep.c (m68k_push_dummy_call): Likewise.
3617 * m88k-tdep.c (m88k_push_dummy_call): Likewise.
3618 * mips-tdep.c (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call)
3619 (mips_o32_push_dummy_call, mips_o64_push_dummy_call): Likewise.
3620 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call)
3621 (ppc64_sysv_abi_push_dummy_call): Likewise.
3622 * ppc-tdep.h (ppc_sysv_abi_push_dummy_call)
3623 (ppc64_sysv_abi_push_dummy_call): Likewise.
3624 * rs6000-tdep.c (rs6000_push_dummy_call): Likewise.
3625 * s390-tdep.c (s390_push_dummy_call): Likewise.
3626 * sh-tdep.c (sh_push_dummy_call_fpu)
3627 (sh_push_dummy_call_nofpu): Likewise.
3628 * sparc-tdep.c (sparc32_push_dummy_call): Likewise.
3629 * sparc64-tdep.c (sparc64_push_dummy_call): Likewise.
3630 * vax-tdep.c (vax_push_dummy_call): Likewise.
3631
4a19ea35
JB
36322004-06-04 Jim Blandy <jimb@redhat.com>
3633
8327ccee
JB
3634 * ppc-linux-nat.c (fetch_register): Don't forget to pass the
3635 gdbarch argument to register_size.
3636
a3c001ce
JB
3637 * rs6000-tdep.c (rs6000_store_return_value): Use
3638 regcache_cooked_write_part instead of
3639 deprecated_write_register_bytes.
3640 (rs6000_gdbarch_init): Register it for gdbarch_store_return_value,
3641 not gdbarch_deprecated_store_return_value.
3642
4a19ea35
JB
3643 * ppc-linux-nat.c (store_register, fetch_register): Remove
3644 incorrect assertions. Simplify and generalize handling of
3645 transfers whose sizes are not multiples of, or less than, sizeof
3646 (PTRACE_XFER_TYPE).
3647
b9b5d7ea
JJ
36482004-06-04 Jeff Johnston <jjohnstn@redhat.com>
3649
3650 * infrun.c (handle_inferior_event): Don't treat an invalid ptid
3651 as a new thread event.
720c7d64 3652 * thread-db.c (thread_get_info_callback): If the thread is a
b9b5d7ea 3653 zombie, return TD_THR_ZOMBIE.
720c7d64 3654 (thread_from_lwp): If thread_get_info_callback returns
b9b5d7ea
JJ
3655 TD_THR_ZOMBIE, check if the thread is still on the thread list
3656 and return a -1 ptid if not found.
3657 (thread_db_wait): If thread_from_lwp returns a -1 ptid, then
3658 change the status to TARGET_WAITKIND_SPURIOUS.
3659
c8a3b559
CV
36602004-06-03 Corinna Vinschen <vinschen@redhat.com>
3661
3662 * sh-tdep.c (sh3e_sh4_store_return_value): Correctly store
3663 double values in little endian mode.
3664
20605361
AC
36652004-06-02 Albert Chin-A-Young <china@thewrittenword.com>
3666
3667 Committed by Andrew Cagney.
3668 * gdb/dictionary.c, gdb/gdbtypes.h: Remove trailing comma
3669 after last enum constant to avoid error from IBM C
3670 compiler.
3671
bc97b3ba
JB
36722004-06-02 Jim Blandy <jimb@redhat.com>
3673
3674 * ppc-linux-nat.c (store_register, fetch_register): Rename 'mess'
3675 to 'message', and make it local to the lone block that uses it.
3676
1da28ab0
JB
3677 * ppc-linux-nat.c (store_register): Remove unused local 'offset'.
3678
4c4b4cd2
PH
36792004-06-02 Paul N. Hilfinger <hilfinger@gnat.com>
3680
8a2225b2
PH
3681 * ada-exp.y: Update copyright notice.
3682 Include block.h.
3683
3684 Replace REGNAME, LAST, INTERNAL_VARIABLE with
3685 SPECIAL_VARIABLE and unify the treatment of these cases.
3686
3687 (write_attribute_call0): Remove.
3688 (write_attribute_call1): Remove.
3689 (write_attribute_calln): Remove.
3690 (save_qualifier): Add missing semicolon.
3691
3692 (simple_exp,exp): Decomment (i.e., reactivate) code that was
3693 temporarily disabled to allow compilation with FSF head version.
3694
3695 (simple_exp syntax): Remove use of OP_ADA_ATTRIBUTE and
3696 use individual operators (OP_*) for all attributes.
3697 (exp syntax): Use write_int.
3698 Handle STRING literals with OP_STRING.
3699 (variable syntax): Add limit parameter to calls to
3700 write_object_renaming.
3701
3702 (temp_parse_space): New definition to hold entities that need
3703 only live until the next call to ada_parse.
3704 (string_to_operator): Rename fields of ada_opname_table entries.
3705
3706 (write_var_from_sym): Record block.
3707 (write_var_from_name): Minor reformatting.
3708 Make sure saved name is properly encoded in the case of multiple
3709 matches, and set its language to Ada.
3710 Update comment.
3711 Modify to indicate unresolved name as symbol in the UNRESOLVED
3712 namespace, allocated in temp_parse_space.
3713 (write_int): New function.
3714
3715 (write_object_renaming): Add max_depth parameter to limit
3716 chains of object renamings.
3717 Handle case where root of renaming expression is itself a renaming.
3718 Use temp_parse_space for temporary name buffer.
3719 Handle renamings to dereferenced pointers (___XEXA suffices).
3720
3721 (ada_parse, yyerror, string_to_operator,
3722 write_var_from_sym, write_var_from_name, write_attribute_call0,
3723 write_attribute_call1, write_attribute_calln,
3724 write_object_renaming): Protoize.
3725
3726 (_initialize_ada_exp): New function.
3727
3728 * ada-lang.c: Update copyright notice.
3729 General terminology change to conform to GNAT compiler usage:
3730 mangle => encode, demangle => decode
3731 Include gdb_obstack.h.
3732 Include gdb_regex.h
3733 Include frame.h
3734 Include hashtab.h
3735 Include completer.h
3736 Include gdb_stat.h
3737 Include block.h
3738 Include infcall.h
3739
3740 (ADA_RETAIN_DOTS): Make sure this is defined.
3741 (TRUNCATION_TOWARDS_ZERO): Define.
3742 (struct string_vector): Define.
3743 (unresolved_names): Remove definition.
3744 (xnew_string_vector): New function.
3745 (string_vector_append): New function.
3746 (extract_string): Make static.
3747 (ada_unqualified_name): New function.
3748 (add_angle_brackets): New function.
3749 (function_name_from_pc): New function.
3750 (place_on_stack): Rename to ensure_lval.
3751
3752 (ensure_lval): Renamed from place_on_stack.
3753 Make identity on lvals.
3754 Update comment.
3755 (is_nonfunction): New interface.
3756 Only symbols in LOC_CONST class can be enumerals.
3757 (fill_in_ada_prototype): Remove; now independent of language.
3758 (add_defn_to_vec): Add obstack and symtab arguments.
3759 Use obstack to hold collected definitions.
3760 (num_defns_collected): New function.
3761 (defns_collected): New function.
3762 (ada_resolve_subexp): Rename to resolve_subexp.
3763 (resolve_subexp): Renamed from ada_resolve_subexp.
3764 (ada_op_name): Return non-const result.
3765 (ada_decoded_op_name): Renamed from ada_op_name, now used for
3766 other purposes.
3767
3768 (to_fixed_array_type): Add declaration.
3769 (coerce_unspec_val_to_type): Remove offset parameter.
3770 (find_sal_from_funcs_and_line): New interface.
3771 (find_line_in_linetable): Ditto.
3772
3773 (all_sals_for_line): Rename to ada_sals_for_line and make
3774 global.
3775 Add new parameter. When set, do not ask the user to choose the
3776 instance, but use the first one found instead.
3777 Use given line number in returned sals.
3778 Fix comment.
3779 Skip the prologue if funfirstline is set.
3780 Correct for memory leak when 0 lines found.
3781
3782 (value_pos_atr): Use pos_atr.
3783 (pos_atr): New function.
3784 (standard_lookup): Add block parameter.
3785
3786 (makeTimeStart): Remove declaration and uses.
3787 (makeTimeStop): Remove declaration and uses.
3788
3789 (ada_completer_word_break_characters): Allow for VMS.
3790 (ADA_MAIN_PROGRAM_SYMBOL_NAME): Make into constant.
3791 (raise_sym_name): New constant.
3792 (raise_unhandled_sym_name): New constant.
3793 (raise_assert_sym_name): New constant.
3794 (process_raise_exception_name): New constant.
3795 (longest_exception_template): New constant.
3796 (warning_limit): New variable to limit warnings during expression
3797 evaluation.
3798 (warnings_issued): New variable to keep track of warnings issued.
3799 (known_runtime_file_name_patterns): New constant.
3800 (known_auxiliary_function_name_patterns): New constant.
3801 (symbol_list_obstack): New variable.
3802
3803 (field_name_match,is_suffix,is_suppressed_name,ada_encode,
3804 ada_decode,ada_match_name,encoded_ordered_before,equiv_types,
3805 lesseq_defined_than,is_nondebugging_type,is_name_suffix,wild_match,
3806 find_sal_from_funcs_and_line, ada_breakpoint_rewrite,
3807 ada_is_tagged_type, ada_is_parent_field, ada_is_wrapper_field,
3808 ada_variant_discrim_name, field_alignment, dynamic_template_type,
3809 ada_is_character_type, ada_is_aligner_type, ada_is_vax_floating_type):
3810 Replace use of deprecated STREQ and STREQN macros by calls to strncmp
3811 and strcmp.
3812
3813 (ada_get_field_index): New function.
3814 (lim_warning): New function.
3815 (ada_translate_error_message): New function.
3816 (MAX_OF_SIZE): New function.
3817 (MIN_OF_SIZE): New function.
3818 (UMAX_OF_SIZE): New function.
3819 (UMIN_OF_SIZE): New function.
3820 (discrete_type_high_bound): New function.
3821 (discrete_type_low_bound): New function.
3822 (base_type): New function.
3823 (do_command): Remove.
3824
3825 (ada_update_initial_language): Use language_ada, not language_unknown.
3826 (ada_encode): Renamed from ada_mangle.
3827 Obey ADA_RETAIN_DOTS.
3828 (ada_decode): Renamed from ada_demangle.
3829 Update coding conventions.
3830 (decoded_names_store): New hash table.
3831 (ada_decode_symbol): New function.
3832 (ada_la_decode): New function.
3833
3834 (modify_general_field): Correct computations of offset and bit
3835 position.
3836 (desc_base_type): Handle ref types, too.
3837 (ada_is_direct_array_type): New function.
3838
3839 (ada_is_simple_array): Rename to ada_is_simple_array_type.
3840 (ada_is_array_descriptor): Rename to ada_is_array_descriptor_type.
3841 (ada_is_bogus_array_descriptor,ada_type_of_array,
3842 ada_coerce_to_simple_array_ptr,ada_coerce_to_simple_array,
3843 ada_type_match,convert_actual,ada_evaluate_subexp): Use renamed
3844 ada_is_array_descriptor_type.
3845
3846 (ada_coerce_to_simple_array_type): Fix incorrect value freeing.
3847 (ada_is_packed_array_type): Handle pointers or
3848 references to packed arrays as well.
3849 (packed_array_type): Uncomment use of TYPE_FLAG_FIXED_INSTANCE.
3850 (decode_packed_array_type): Search for the packed array type
3851 symbol in the currently selected block and associated
3852 superblocks too.
3853 Use lookup_symbol again.
3854
3855 (decode_packed_array): Handle pointers and references.
3856 Update call to coerce_unspec_val_to_type.
3857 (decode_packed_array_type,value_subscript_packed): Limit warnings.
3858 (ada_value_primitive_packed_val): Improve comment.
3859
3860 (ada_index_type): Substitute int type for "undefined".
3861 (ada_index_type,ada_array_bound_from_type,ada_array_bound,
3862 ada_array_langth, ada_is_string_type): Use renamed
3863 ada_is_simple_array_type.
3864 (empty_array): New function.
3865
3866 (ada_resolve): Rename to resolve.
3867 (resolve): Make static.
3868 Call renamed resolve_subexp.
3869 Update comment.
3870 (ada_resolve_subexp): Rename to resolve_subexp.
3871 (resolve_subexp): Update comment.
3872 Decomment disabled code.
3873 Add LOC_COMPUTED* cases.
3874 Modify to use temporary struct symbols (marked as being in
3875 UNDEF_NAMESPACE) to indicate unresolved names, instead of
3876 OP_UNRESOLVED_VALUE.
3877 Remove OP_ATTRIBUTE; use individual opcodes for attributes.
3878 Add OP_STRING case.
3879 Remove OP_ARRAY.
3880 Use SYMBOL_PRINT_NAME instead of ada_demangle.
3881 Use new ada_lookup_symbol_list interface.
3882 Use new ada_resolve_function interface.
3883 Remove OP_TYPE case.
3884
3885 (ada_args_match): Idiot proof against null actuals.
3886 Use intermediate variables to clarify.
3887 (ada_resolve_function): Update comment and interface.
3888 (mangled_ordered_before): Rename to encoded_ordered_before and
3889 update comment.
3890 (sort_choices): Update comment and interface.
3891 Use SYMBOL_LINKAGE_NAME in place of SYMBOL_NAME.
3892 (user_select_syms): New interface.
3893 Use new sort_choices interface.
3894 Use SYMBOL_PRINT_NAME rather than SYMBOL_SOURCE_NAME.
3895 (possible_user_operator_p): Idiot-proof against null values.
3896 (ada_simple_renamed_entity): Don't make cleanup; rely on
3897 caller to free result string.
3898 Remove const from return type.
3899 (make_array_descriptor): Rename uses of place_on_stack to
3900 ensure_lval.
3901 Make sure that arrays are on stack.
3902
3903 (HASH_SIZE): Define.
3904 (struct cache_entry): Define.
3905 (cache_space): Define.
3906 (cache): Define.
3907 (clear_ada_sym_cache): New function.
3908 (find_entry): New function.
3909 (lookup_cached_symbol): New function.
3910 (defn_vector_size): Define.
3911 (cache_symbol): New function.
3912 (defn_symbols): Remove.
3913
3914 (standard_lookup): Use lookup_symbol_in_language to get effect of
3915 C lookup.
3916 Cache results.
3917
3918 (symbol_completion_match): New function.
3919 (symbol_completion_add): New function.
3920 (ada_make_symbol_completion_list): New function.
3921
3922 (ada_lookup_partial_symbol,ada_lookup_simple_minsym,
3923 add_symbols_from_enclosing_procs,remove_extra_symbols): Replace
3924 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
3925 (symtab_for_sym): Handle LOC_COMPUTED, LOC_COMPUTED_ARG.
3926
3927 (ada_lookup_simple_minsym): New function.
3928 (ada_lookup_minimal_symbol): Use ada_lookup_simple_minsym.
3929
3930 (add_symbols_from_enclosing_procs): New interface.
3931 Conditionalize more helpfully.
3932 Don't bother if program isn't running.
3933 Use new interface to get_frame_block.
3934 Limit number of levels searched with MAX_LEXICAL_LEVELS, just in case.
3935
3936 (remove_extra_symbols): New interface.
3937 (xget_renaming_scope): New function.
3938 (is_package_name): New function.
3939 (renaming_is_visible): New function.
3940 (remove_out_of_scope_renamings): New function.
3941
3942 (ada_lookup_symbol_list): New interface.
3943 Properly reinitialize the symbol list obstack.
3944 Don't call add_symbols_from_enclosing_procs if we start from a
3945 static or global block.
3946 Use new interfaces to ada_add_block_symbols, add_defn_to_vec,
3947 add_symbols_from_enclosing_procs.
3948 Add symtab data to cached entries.
3949 Handle symbols prefixed with
3950 "standard__" specially; strip prefix and don't look in local symbols.
3951 Do not include out of scope renaming symbols in list of
3952 symbols returned.
3953 Add const to block parameter.
3954 Move check for non-local, non-global symbols earlier.
3955 Remove timing stuff.
3956 (ada_lookup_symbol): New interface.
3957 Find symtab as well.
3958 (ada_lookup_symbol_nonlocal): New function.
3959
3960 (is_name_suffix): Enhance suffix detection to recognize
3961 an optional "__[:digit:]+" before any "\.[:digit:]+" suffix.
3962 (is_dot_digits_suffix): New function.
3963 (wild_match): Ignore ".[:digit:]*" suffixes during matches.
3964
3965 (ada_add_block_symbols): New interface. Use obstack to return results
3966 in a vector of struct ada_symbol_infos. Add symtab argument.
3967 Use new interface to add_defn_to_vec.
3968 Remove calls to fill_in_ada_prototype.
3969 Use BLOCK_BUCKETS, BLOCK_BUCKET.
3970
3971 (ada_finish_decode_line_1): Add const qualification to local to fix
3972 warning.
3973 Start looking in static block for functions to avoid attempts
3974 to search frame chain for up-level variables.
3975 Adapt to new ada_sals_for_line interface.
3976 Use new interfaces to ada_lookup_symbol_list and user_select_syms.
3977 Handle quoting of the function name inside the spec string.
3978 Skip prologue when funfirstline is set and update the
3979 function documentation to that effect.
3980
3981 (debug_print_lines, debug_print_block, debug_print_blocks,
3982 debug_print_symtab): Remove.
3983
3984 (ada_main_name): New function.
3985 (ada_exception_breakpoint_type): New function.
3986 (is_known_support_routine): New function.
3987 (ada_find_printable_frame): Renamed from find_printable_frame and made
3988 global.
3989 Remove level parameter.
3990 Use new interface to select_frame.
3991
3992 (begin_command): Remove.
3993 (ada_adjust_exception_stop): New function.
3994 (ada_print_exception_stop): New function.
3995 (exception_name_from_cond): New function.
3996 (ada_report_exception_break): Replace disabled code with
3997 conditionalization on GNAT_GDB.
3998 Get the exception name from the condition string.
3999 Remove and move functionality into new functions
4000 ada_print_exception_breakpoint_task and
4001 ada_print_exception_breakpoint_nontask.
4002 (error_breakpoint_runtime_sym_not_found): New function.
4003 (is_runtime_sym_defined): New function.
4004 (ada_breakpoint_rewrite): Uncomment suppressed code.
4005 Use symbolic error-message and runtime-symbol names.
4006 Surround runtime symbol names in quotes.
4007 Allow non-specific breakpoints on exceptions and assertions before
4008 program starts.
4009
4010 (ada_is_tagged_type): Add parameter.
4011 (ada_is_tag_type): New function.
4012 (ada_tag_type): Use new ada_lookup_struct_elt_type interface.
4013 (ada_variant_discrim_type): Ditto.
4014 (value_tag_from_contents_and_address): New function.
4015 (type_from_tag): New function.
4016 (struct tag_args): New structure used to communicate with
4017 ada_tag_name_1.
4018 (ada_tag_name_1): New function.
4019 (ada_tag_name): New function.
4020
4021 (ada_scan_number): Update comment.
4022 (find_struct_field): New function.
4023 (ada_search_struct_field): Make static.
4024 (ada_value_struct_elt): New version that returns references when
4025 given pointers or references to structs.
4026 (ada_lookup_struct_elt_type): Add 'refok' parameter.
4027 (ada_which_variant_applies): Use new ada_lookup_struct_elt_type
4028 interface.
4029 (ada_value_ind): Use new ada_to_fixed_value interface.
4030 (ada_coerce_ref): Ditto.
4031 (field_offset): Remove.
4032
4033 (ada_find_any_symbol): New function, extracted from ada_find_any_type.
4034 (ada_find_renaming_symbol): New function.
4035 (ada_prefer_type): Prefer named types over unnamed ones.
4036 (variant_field_index): New function.
4037 (contains_variant_part): Removed: subsumed by variant_field_index.
4038 (ada_template_to_fixed_record_type): New function, mostly from
4039 template_to_fixed_record_type.
4040 (template_to_fixed_record_type):
4041 Do not scan the type fields beyond the last one; prevents a
4042 potential SEGV.
4043 Handle case where variant field is listed BEFORE discriminant it
4044 depends on.
4045 Fix calculation of record length when bit length is
4046 not evenly divisible by char length.
4047 Move code to ada_template_to_fixed_record_type and call it.
4048
4049 (template_to_static_fixed_type): Revise comment.
4050 Modify to work on ordinary record types as well as templates,
4051 so as to handle fields that use ___XVE or ___XVU encodings.
4052 (to_record_with_fixed_variant_part): Fill out comment.
4053 Initialize C++ stuff in right type.
4054 Allow case where DVAL is null.
4055 Handle case where variant field is not last.
4056 Fix typo concerning record length.
4057 (to_fixed_record_type): Decomment disabled code.
4058 (to_fixed_record_type): Use variant_field_index instead of
4059 contains_variant_part.
4060 (to_fixed_variant_branch_type): Ditto.
4061 (to_fixed_array_type): Decomment disabled code.
4062 (ada_to_fixed_type): Convert tagged types to the specific type.
4063 Deactivate the size-check for array types in order to avoid
4064 some false size alarms.
4065 (to_static_fixed_type): Decomment disabled code.
4066 Modify to call template_to_static_fixed_type
4067 on ordinary structs, not just ___XVE- and ___XVU-encoded fields.
4068 (ada_to_fixed_value_create): Renamed version of old ada_to_fixed_value.
4069 Remove valaddr argument, as it is never really used.
4070 (ada_to_fixed_value): Change interface to act on single struct value*
4071 operand.
4072 (adjust_pc_past_prologue): New function.
4073 (ada_attribute_name): Modify to take enum exp_opcode argument.
4074
4075 (ada_enum_name): Recognize new homonym-distinguishing convention.
4076 Adjust local variable's type to remove compiler warning.
4077 Fix a small problem in the part that unqualifies the enumeration name.
4078 (ada_value_binop): New function.
4079 (ada_value_equal): New function.
4080
4081 (ada_evaluate_subexp): Use new ada_lookup_struct_elt_type interface.
4082 Don't give error message when not doing normal evaluation
4083 and a tagged type doesn't seem to contain a structure member.
4084 Give error message for packed arrays.
4085 For indexing arrays, handle pointers to packed arrays correctly.
4086 Handle case of 'first and 'last attributes of bare integral type
4087 without encoded subtype info.
4088 Remove some unnecessary casts.
4089 Fix uninitialized value of type in computing 'first, 'last, or 'length
4090 of array object.
4091 Add BINOP_EQUAL and BINOP_NOTEQUAL cases.
4092 Remove binop_user_defined_p tests and value_x_binop and value_x_unop
4093 calls.
4094 Attributes are now exp_opcode values.
4095 Correct treatment of 'modulus.
4096 Better error message for taking 'length of wrong kind of type;
4097 improve comment.
4098 Change EVAL_NORMAL to noside for consistency.
4099 Use ada_value_binop for DIV, MOD, REM.
4100 Make special case out of array of length 0, since an argument
4101 of 0 upsets some platforms' malloc.
4102 Use OP_STRING instead of OP_ARRAY.
4103 For slice, add check that we have an array type before extracting
4104 a slice out of it. Avoids a SEGV.
4105 When evaluating an array slice, if the array type is a reference to
4106 an aligner type, then replace the aligner type by the actual type.
4107 Decomment disabled code.
4108 Remove some dead code.
4109 Use temporary struct symbols (marked as being in UNDEF_NAMESPACE)
4110 to indicate unresolved names, instead of OP_UNRESOLVED_VALUE.
4111 Rename BINOP_MBR to BINOP_IN_BOUNDS, TERNOP_MBR to TERNOP_IN_RANGE,
4112 and UNOP_MBR to UNOP_IN_RANGE.
4113 If an array type has a parallel ___XVE type, then use it.
4114 Turn arrays into pointers for lvalue arrays.
4115 Change TERNOP_SLICE code to work even when bounds are unknown, ignoring
4116 bounds error and handle 0-length slices.
4117 Use lim_warning.
4118 When selecting fields, apply ada_to_fixed_value (because the fields
4119 might have ___XVU or ___XVE encodings even if not dynamic.)
4120 Use ada_to_fixed_value_create and new ada_to_fixed_value interface.
4121 (ada_is_system_address_type): New function.
4122
4123 (get_var_value): Use new interface to ada_lookup_symbol_list.
4124 (get_int_var_value): New interface.
4125 (to_fixed_range_type): Allow unknown bound, with warning.
4126 (ada_is_modular_type): Decomment disabled code.
4127 (ADA_OPERATORS): New definition.
4128 (ada_operator_length): New function.
4129 (ada_expr_op_name): New function.
4130 (ada_forward_operator_length): New function.
4131 (ada_dump_subexp_body): New function.
4132 (ada_print_subexp): New function.
4133 (ada_exp_descriptor): New constant.
4134 (ada_op_print_tab): Add 'size. Remove FIXMEs.
4135 (ada_language_defn): Add ada_exp_descriptor entry.
4136 Change ada_parse => parse.
4137 Add post-parser entry.
4138 Use ada-specific non-local symbol lookup.
4139 Don't use C-style arrays.
4140 String lower-bound is 1.
4141 Decomment disabled code.
4142 (parse): New function.
4143 New fields ada_translate_error_message, ada_lookup_symbol,
4144 ada_lookup_minimal_symbol.
4145
4146 * ada-lang.h: Update copyright dates.
4147 Replace the mangle/demangle terminology throughout by the
4148 more appropriate encode/decode one.
4149 Include breakpoint.h.
4150 Forward declare struct partial_symbol, struct block.
4151 (ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS): Define.
4152 (EXTRACT_ADDRESS): Remove.
4153 (EXTRACT_INT): Remove.
4154 (ADA_KNOWN_AUXILIARY_FUNCTION_NAME_PATTERNS): Define.
4155 (MAX_ENCLOSING_FRAME_LEVELS): Define.
4156 (MAX_RENAMING_CHAIN_LENGTH): Define.
4157 (struct ada_opname_map): mangled => decoded, demangled=>encoded.
4158
4159 (enum task_states): Remove.
4160 ada_task_states: Remove.
4161 (fat_string): Remove.
4162 (struct entry_call): Remove.
4163 (struct task_fields): Remove.
4164 (struct task_entry): Remove.
4165
4166 (struct ada_symbol_info): Define.
4167 (enum ada_attribute): Remove.
4168 (enum ada_operator): Define.
4169
4170 (ada_get_field_index): Declare.
4171 (ada_coerce_to_simple_array): Rename to ada_coerce_to_simple_array_ptr.
4172 (ada_is_simple_array): Rename to ada_is_simple_array_type.
4173 (ada_is_array_descriptor): Rename to ada_is_array_descriptor_type.
4174 (ada_lookup_symbol_list): New interface.
4175 (ada_decode_symbol): Declare.
4176 (ada_decode): Declare.
4177 (ada_lookup_symbol): New interface.
4178 (ada_update_initial_language): Declare.
4179 (ada_lookup_simple_minsym): Declare.
4180 (user_select_syms): New interface.
4181 (ada_sals_for_line): Declare.
4182 (ada_is_tagged_type): New interface.
4183 (ada_tag_name): Declare.
4184 (ada_lookup_struct_elt_type): Remove declaration.
4185 (ada_search_struct_field): Remove declaration.
4186 (ada_attribute_name): New interface.
4187 (ada_is_system_address_type): Declare.
4188 (ada_to_fixed_value): Remove declaration.
4189 (ada_template_to_fixed_record_type_1): Declare.
4190 (get_int_var_value): New interface.
4191 (ada_find_any_symbol): Declare.
4192 (ada_find_renaming_symbol): Declare.
4193 (ada_mangle): Rename to ada_encode.
4194 (ada_simple_renamed_entity): Remove const.
4195 (ada_main_name): Declare.
4196 (get_current_task): Rename to ada_get_current_task.
4197 (get_entry_number): Remove declaration.
4198 (ada_report_exception_break): Remove declaration.
4199 (ada_print_exception_breakpoint_nontask): Declare.
4200 (ada_print_exception_breakpoint_task): Declare.
4201 (ada_find_printable_frame): Declare.
4202
4203 * ada-lex.l: Update copyright notices.
4204 Use xmalloc and xfree instead of malloc and free.
4205 Use new interface to name_lookup.
4206 Use new interface to
4207 ada_mangle=>ada_encode.
4208 Redo handling of '$...' variable to parallel current treatment
4209 in c-exp.y.
4210 (resize_tempbuf, canonicalizeNumeral, is_digit_in_base,
4211 digit_to_int, strtoulst, processInt, processReal, processId,
4212 block_lookup, name_lookup, find_dot_all, subseqMatch, processAttribute,
4213 yywrap): Protoize.
4214
4215 (processInt): Use cast to remove harmless warning.
4216 (processReal): Modify to get rid of compiler warning on scan formats.
4217
4218 (processId): Replace xmalloc with obstack_alloc for name and remove
4219 call to ada_name_string_cleanup.
4220 Remove obsolete disabled code.
4221 (name_lookup): Ditto.
4222 New interface.
4223 Use obsavestring on temp_parse_space instead of savestring
4224 on name, and remove call to ada_name_string_cleanup.
4225 Free string returned from ada_simple_renamed_entity.
4226 Use new interface to ada_lookup_symbol_list.
4227 Decomment disabled code.
4228 Treat LOC_COMPUTED and LOC_COMPUTED_ARG symbols as variables,
4229 not types.
4230 When a type name lookup succeeds as a result of
4231 lookup_primitive_typename, check for regular type entry that has not
4232 yet been read in.
4233 Limit length of chain of renamed symbols we are willing to follow.
4234 Do not break names beginning with "standard__" into segments.
4235 (block_lookup): Use new interface to ada_lookup_symbol_list.
4236
4237 * ada-typeprint.c: Update copyright notice.
4238 (demangled_type_name): Rename to decoded_type_name.
4239 (ada_typedef_print): Use SYMBOL_PRINT_NAME.
4240 (print_range_bound): Correct handling of negative
4241 bounds that make the index type looked unsigned under STABS.
4242 (print_dynamic_range_bound): Use new interface to get_int_var_value.
4243 (print_range_type_named): Use the builtin int type if no type
4244 corresponding to the given type name could be found.
4245 (print_array_type): ada_is_simple_array => ada_is_simple_array_type.
4246 Add some bullet-proofing.
4247 (print_variant_clauses): Allow for variant branches with ___XVU
4248 encodings that are not dynamic fields.
4249 Use new interface to ada_is_tagged_type.
4250 (print_record_type): Allow for fields with ___XVE encodings that
4251 are not dynamic fields.
4252 Use new interface to ada_is_tagged_type.
4253 (ada_print_type): ada_is_array_descriptor =>
4254 ada_is_array_descriptor_type.
4255
4256 * ada-valprint.c: Update copyright notice.
4257 Include gdb_string.h
4258 Include infcall.h
4259 (ui_memcpy): New function.
4260 (ada_print_floating): New function.
4261 (ada_print_str): Order arguments correctly.
4262 Correct handling of empty arrays and arrays of 0-length items.
4263 ada_is_array_descriptor => ada_is_array_descriptor_type
4264 Print values of type System.Address in hexadecimal format.
4265 Use ada_print_floating to print floating-point numbers in Ada format.
4266 Print class tag values with type names.
4267 No longer print the address of reference values. Avoids
4268 a potential confusion.
4269 (ada_value_print): Stop printing the object type for reference
4270 values, but preserve that behavior for access types. Avoids
4271 a potential confusion.
4272 Simplify one conditional expression, as the first part is now
4273 necessarily true.
4274 ada_is_array_descriptor => ada_is_array_descriptor_type
4275 Add check for arrays for null records, and print them by hand.
4c4b4cd2 4276
f65f91b5
JB
42772004-06-01 Jim Blandy <jimb@redhat.com>
4278
4279 * ppc-tdep.h: Delete unused 'regoff' member.
4280 * rs6000-tdep.c (rs6000_gdbarch_init): Don't initialize it.
4281
d4687fa0
MC
42822004-06-01 Michael Chastain <mec.gnu@mindspring.com>
4283
4284 Fix PR symtab/1661.
4285 * hpread.c (hpread_pxdb_needed): Call memset after alloca.
4286 (hpread_read_struct_type): Likewise.
4287
de169ec9
AC
42882004-06-01 Andrew Cagney <cagney@gnu.org>
4289
c6902d46
AC
4290 * mi/mi-cmd-env.c (env_execute_cli_command): Use xstrprintf
4291 instead of xasprintf.
4292 * mi/mi-main.c (mi_error_last_message, mi_cmd_exec_interrupt)
4293 (mi_cmd_thread_select, mi_cmd_thread_list_ids)
4294 (mi_cmd_data_list_register_names)
4295 (mi_cmd_data_list_changed_registers)
4296 (mi_cmd_data_list_register_values)
4297 (get_register, mi_cmd_data_write_register_values)
4298 (mi_cmd_data_write_register_values)
4299 (mi_cmd_data_assign, mi_cmd_data_evaluate_expression)
4300 (mi_cmd_target_download, mi_cmd_target_select)
4301 (mi_cmd_data_read_memory, mi_cmd_data_write_memory)
4302 (mi_execute_cli_command, mi_execute_async_cli_command)
4303 (mi_execute_async_cli_command): Ditto.
4304 * mi/mi-interp.c (mi_cmd_interpreter_exec) Ditto.
4305 * mi/mi-cmd-var.c (mi_cmd_var_create): Ditto.
4306
6085fc2d
AC
4307 * mi/mi-cmds.h (mi_error_last_message): Delete declaration.
4308 * mi/mi-interp.c (mi_cmd_interpreter_exec): Call
4309 error_last_message instead of mi_error_last_message.
4310 * mi/mi-main.c (mi_error_last_message): Delete function.
4311
de169ec9
AC
4312 * mi/mi-main.c (mi_cmd_data_read_memory): Add missing return for
4313 "invalid number of columns" error. Delete redundant "out of
4314 memory" check.
4315
1fc7d519
MK
43162004-05-31 Mark Kettenis <kettenis@gnu.org>
4317
6cfb2041
MK
4318 * i386bsd-nat.c: Don't include <sys/procfs.h>.
4319 (gregset_t, fpregset_t): Remove typedefs.
4320 (CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): Remove macros.
4321 (REG_OFFSET): Rename argument.
4322 (i386bsd_r_reg_offset): Rename from reg_offset.
4323 (REG_ADDR): Remove macro.
4324 (cannot_fetch_register, supply_gregset, fill_gregset): Remove
4325 functions.
4326 (i386bsd_supply_gregset, i386bsd_collect_gregset): New functions.
4327 (fetch_inferior_registers): Use `struct reg' and `struct fpreg'
4328 instead of gregset_t and fpregset_t. Use i386bsd_supply_gregset
4329 instead of supply_gregset.
4330 (store_inferior_registers): Use `struct reg' and `struct fpreg'
4331 instead of gregset_t and fpregset_t. Use i386bsd_collect_gregset
4332 instead of fill_gregset.
4333 (register_u_addr): Use i386_r_reg_offset instead of REG_ADDR.
4334
1fc7d519
MK
4335 * i386bsd-nat.c: Don't include "gregset.h".
4336 (supply_gregset, fill_gregset): Make static.
4337 (supply_fpregset, fill_fpregset): Remove.
4338 * Makefile.in (i386bsd-nat.o): Update dependencies.
4339
2c34abbe
MK
43402004-05-30 Mark Kettenis <kettenis@gnu.org>
4341
448724fb
MK
4342 * fbsd-proc.c: Include "regcache.h", "regset.h" and
4343 "gdb_assert.h". Con't include "gregset.h".
4344 (fbsd_make_corefile_notes): Use regset-based core file support
4345 instead off fill_gregset and fill_fpregset.
4346 * Makefile.in (fbsd-proc.o): Update dependencies.
4347
5ca8ca7c
MK
4348 * m88k-tdep.c (m88k_analyze_prologue): Fix handling of branch
4349 instructions.
4350 (m88k_frame_prev_register): Simplify code a bit.
4351
593adc23
MK
4352 * amd64-tdep.c (amd64_supply_fpregset): Adjust comment.
4353 (amd64_collect_fpregset): New function.
4354 (amd64_regset_from_core_section): Use amd64_collect_fpregset.
4355
8d1b517b
MK
4356 * hppa-tdep.h (hppa_regnum): Add HPPA_R31_REGNUM.
4357
7fdafb5a
MK
4358 * i386-tdep.c (i386_supply_gregset): Adjust comment.
4359 (i386_collect_gregset): New function.
4360 (i386_supply_fpregset): Adjust comment.
4361 (i386_collect_fpregset): New function.
4362 (i386_regset_from_core_section): Use i386_collect_gregset and
4363 i386_collect_fpregset.
4364
8693c419
MK
4365 * hppa-tdep.c (hppa_frame_prev_register_helper): Reimplement to
4366 handle VALUEP being null.
4367
2c34abbe
MK
4368 * regset.h (collect_regset_ftype): Unconstify fourth argument.
4369
45d134d8
MK
43702004-05-29 Mark Kettenis <kettenis@gnu.org>
4371
1698f4e7
MK
4372 * MAINTAINERS: Undelete m88k. Add myself as maintainer.
4373
45d134d8
MK
4374 * amd64obsd-tdep.c (amd64obsd_sigtramp_p): Adjust for new
4375 assembler in OpenBSD 3.5-current.
4376 (amd64obsd_sigcontext_addr): Likewise.
4377
691d145a
JB
43782004-05-28 Jim Blandy <jimb@redhat.com>
4379
4380 * rs6000-tdep.c: Use the modern gdbarch methods for handling the
4381 register set, so our regcache isn't declared "legacy" and our E500
4382 pseudoregister read and write functions aren't ignored.
4383 (rs6000_register_byte, rs6000_register_raw_size,
4384 rs6000_register_virtual_type, rs6000_register_convertible,
4385 rs6000_register_convert_to_virtual,
4386 rs6000_register_convert_to_raw): Deleted.
4387 (rs6000_register_type, rs6000_convert_register_p,
4388 rs6000_register_to_value, rs6000_value_to_register): New
4389 functions.
4390 (rs6000_gdbarch_init): Don't register
4391 gdbarch_deprecated_register_size,
4392 gdbarch_deprecated_register_bytes,
4393 gdbarch_deprecated_register_byte,
4394 gdbarch_deprecated_register_raw_size,
4395 gdbarch_deprecated_register_virtual_type,
4396 gdbarch_deprecated_register_convertible,
4397 gdbarch_deprecated_register_convert_to_virtual, or
4398 gdbarch_deprecated_register_convert_to_raw methods. Instead,
4399 register gdbarch_register_type, gdbarch_convert_register_p,
4400 gdbarch_register_to_value, and gdbarch_value_to_register methods.
4401
18ed0c4e
JB
44022004-05-26 Jim Blandy <jimb@redhat.com>
4403
4404 * rs6000-tdep.c (rs6000_dwarf2_stab_reg_to_regnum): Deleted.
4405 (rs6000_stab_reg_to_regnum, rs6000_dwarf2_reg_to_regnum): New
4406 functions, updated to match the register numberings used in GCC.
4407 (rs6000_gdbarch_init): Register rs6000_stab_reg_to_regnum and
4408 rs6000_dwarf2_reg_to_regnum as register number conversions
4409 functions for STABS and Dwarf2.
4410
779af9e3
RC
44112004-05-26 Randolph Chung <tausq@debian.org>
4412
4413 * infttrace.h (target_waitkind): Forward declare type instead of pulling
4414 in header file.
4415
c23968a2
JB
44162004-05-25 Joel Brobecker <brobecker@gnat.com>
4417
4418 * NEWS: Document new "start" command.
4419
3a7d1c27
RC
44202004-05-25 Randolph Chung <tausq@debian.org>
4421
4422 * hppa-linux-tdep.c (hppa_linux_init_abi): sizeof(long double) == 8 on
4423 hppa-linux.
4424
43613416
RC
44252004-05-25 Randolph Chung <tausq@debian.org>
4426
4427 * hppa-hpux-tdep.c (offsetof): Define.
4428 (hppa_hpux_pc_in_sigtramp, hppa32_hpux_frame_saved_pc_in_sigtramp)
4429 (hppa32_hpux_frame_base_before_sigtramp)
4430 (hppa32_hpux_frame_find_saved_regs_in_sigtramp)
4431 (hppa64_hpux_frame_saved_pc_in_sigtramp)
4432 (hppa64_hpux_frame_base_before_sigtramp)
4433 (hppa64_hpux_frame_find_saved_regs_in_sigtramp): Remove unused
4434 functions.
4435 (struct hppa_hpux_sigtramp_unwind_cache, hppa_hpux_tramp_reg)
4436 (hppa_hpux_sigtramp_frame_unwind_cache)
4437 (hppa_hpux_sigtramp_frame_this_id)
4438 (hppa_hpux_sigtramp_frame_prev_register)
4439 (hppa_hpux_sigtramp_frame_unwind)
4440 (hppa_hpux_sigtramp_unwind_sniffer): New signal trampoline unwinder.
4441 (hppa_hpux_init_abi): Register sigtramp unwinder.
4442 * Makefile.in (hppa-hpux-tdep.o): Update dependencies.
4443
6d1be3f1
RC
44442004-05-25 Randolph Chung <tausq@debian.org>
4445
4446 * hppa-tdep.c (hppa_fallback_frame_cache): Handle stack adjustment,
4447 and multiple stack unwinds.
4448 (hppa_stub_unwind_sniffer): Handle unwind from pc == 0.
4449
97c34f65
AC
44502004-05-25 Andrew Cagney <cagney@gnu.org>
4451
4452 * symfile.h (symbol_file_add_from_memory): Delete declaration.
4453 * symfile-mem.h: Delete file.
4454 * symfile-mem.c: Do not include "symfile-mem.h".
4455 (symbol_file_add_from_memory): Make static. Use "struct bfd" and
4456 "struct bfd_section". When an error do not bother returning NULL.
4457 (add_symbol_file_from_memory_command): Use "struct bfd" and
4458 "struct bfd_section".
4459 * Makefile.in (symfile_mem_h): Delete.
4460 (symfile-mem.o): Update dependencies.
4461
e23cbd82
NR
44622004-05-25 Nick Roberts <nickrob@gnu.org>
4463
4464 * gdb-mi.el: New file.
4465
20d2ca3e
AC
44662004-05-25 Andrew Cagney <cagney@gnu.org>
4467
4468 * inftarg.c: Include "observer.h".
4469 (child_attach, child_create_inferior): Notify inferior_created.
4470 * corelow.c: Include "observer.h".
4471 (core_open): Notify inferior_created.
4472 * Makefile.in (inftarg.o, corelow.o): Update dependencies.
4473
c27cda74
AC
44742004-05-25 Andrew Cagney <cagney@gnu.org>
4475
4476 * target.h (struct target_ops): Add from_tty to
4477 to_create_inferior.
4478 (target_create_inferior, find_default_create_inferior): Update.
4479 * infcmd.c (run_command): Update.
4480 * wince.c (child_create_inferior): Update.
4481 * win32-nat.c (child_create_inferior): Update.
4482 * uw-thread.c (uw_thread_create_inferior): Update.
4483 * thread-db.c (thread_db_create_inferior): Update.
4484 * target.c (debug_to_create_inferior)
4485 (find_default_create_inferior): Update.
4486 (maybe_kill_then_create_inferior): Update.
4487 * sol-thread.c (sol_thread_create_inferior): Update.
4488 * remote.c (extended_remote_async_create_inferior)
4489 (extended_remote_create_inferior): Update.
4490 * remote-vx.c (vx_create_inferior): Update.
4491 * remote-st.c (st2000_create_inferior): Update.
4492 * remote-sim.c (gdbsim_create_inferior): Update.
4493 * remote-sds.c (sds_create_inferior): Update.
4494 * remote-rdp.c (remote_rdp_create_inferior): Update.
4495 * remote-rdi.c (arm_rdi_create_inferior): Update.
4496 * remote-m32r-sdi.c (m32r_create_inferior): Update.
4497 * remote-e7000.c (e7000_create_inferior): Update.
4498 * procfs.c (procfs_create_inferior): Update.
4499 * ocd.c (ocd_create_inferior): Update.
4500 * ocd.h (ocd_create_inferior): Update.
4501 * nto-procfs.c (procfs_create_inferior): Update.
4502 * monitor.c (monitor_create_inferior): Update.
4503 * lin-lwp.c (lin_lwp_create_inferior): Update.
4504 * inftarg.c (child_create_inferior): Update.
4505 * hpux-thread.c (hpux_thread_create_inferior): Update.
4506 * gnu-nat.c (gnu_create_inferior): Update.
4507
1db2a798
AC
45082004-05-25 Andrew Cagney <cagney@gnu.com>
4509
4510 * MAINTAINERS: Update e-mail address.
4511
007d08bb
RC
45122004-05-24 Randolph Chung <tausq@debian.org>
4513
4514 * thread.c (info_threads_command, thread_apply_all_command)
4515 (thread_apply_command, thread_command, do_captured_thread_select):
4516 Remove HPUXHPPA-specific code.
4517
69e7b95e
RC
45182004-05-24 Randolph Chung <tausq@debian.org>
4519
4520 * hppa-tdep.c (SR4EXPORT_LDIL_OFFSET, SR4EXPORT_LDO_OFFSET): Remove
4521 unused symbols.
4522 * hppa-tdep.h (HPPA_INSTRUCTION_SIZE): Remove, since there are no more
4523 references.
4524
a4d5f2e0
JB
45252004-05-24 Joel Brobecker <brobecker@gnat.com>
4526
4527 * infcmd.c (kill_if_already_running): New function, extracted
4528 from run_command().
4529 (run_command): Replace extracted code by call to
4530 kill_if_already_running().
4531 (start_command): New function.
4532 (_initialize_infcmd): Add "start" command.
4533
bf2ca189
MK
45342004-05-24 Mark Kettenis <kettenis@gnu.org>
4535
4536 Add OpenBSD/m88k support.
4537 * NEWS (New native configurations): Mention OpenBSD/m88k.
4538 * m88k-tdep.c, m88k-tdep.h, m88kbsd-nat.c, config/m88k/nm-obsd.h,
4539 config/m88k/obsd.mh, config/m88k/obsd.mt: New files.
4540 * Makefile.in (m88k_tdep_h): New variable.
4541 (ALLDEPFILES): Add m88k-tdep.c and m88kbsd-nat.c.
4542 (m88kbsd-nat.o, m88k-tdep.o): New dependencies.
4543 * configure.host: Add m88*-*-openbsd*.
4544 * configure.tgt: Add m88*-*-openbsd*.
4545
80fadb11
JB
45462004-05-24 Jim Blandy <jimb@redhat.com>
4547
4548 * MAINTAINERS (tracing bytecode stuff): Allow global maintainers
4549 to approve changes.
4550
19e2d14b
KB
45512004-05-24 Kevin Buettner <kevinb@redhat.com>
4552
4553 * symtab.c (fixup_section): Search section table when lookup by
4554 name fails.
4555
1b07b470
RC
45562004-05-24 Randolph Chung <tausq@debian.org>
4557
4558 * hppa-tdep.c: Fix handling of 8-byte structures; they should not
4559 be "small_struct".
4560
368702b1
MK
45612004-05-24 Mark Kettenis <kettenis@gnu.org>
4562
5df97fde
MK
4563 * m68kbsd-nat.c (m68kbsd_collect_gregset): Specify correct
4564 register number in regcache_raw_collect call.
4565 (m68kbsd_collect_fpregset): Likewise.
4566 * vaxbsd-nat.c (vaxbsd_collect_gregset): Likewise.
4567
368702b1
MK
4568 * regset.h (struct regset): Add back `regset' member.
4569
a770d4ec
MK
45702004-05-23 Mark Kettenis <kettenis@gnu.org>
4571
70f9f479
MK
4572 * configure.in: Check for td_pcb in `struct thread'.
4573 * configure, config.in: Regenerated.
4574
2e16d79e
MK
4575 * dpx2-nat.c: Remove file.
4576 * Makefile.in (ALLDEPFILES): Remove dpx2-nat.c.
4577 (dpx2-nat.o): Remove dependencies.
4578
492cf391
MK
4579 * amd64obsd-nat.c: Include "gdbcore.h", "regcache.h",
4580 <sys/types.h>, <machine/frame.h>, <machine/pcb.h> and "bsd-kvm.h".
4581 (amd64obsd_supply_pcb): New function.
4582 (_initialize_amd64obsd_nat): Enable libkvm interface.
4583 * Makefile.in (amd64obsd-nat.o): Update dependencies.
4584 * config/i386/obsd64.mh (NATDEPFILES): Add bsd-kvm.o
4585 (LOADLIBES): New variable.
4586
a770d4ec
MK
4587 * sparcnbsd-nat.c: Include "gdbcore.h", "regcache.h",
4588 <sys/types.h>, <machine/pcb.h> and "bsd-kvm.h".
4589 (sparc32nbsd_supply_pcb): New function.
4590 (_initialize_sparcnbsd_nat): Enable libkvm interface.
4591 * Makefile.in (sparcnbsd-nat.o): Update dependencies.
4592 * config/sparc/nbsdelf.mh (NATDEPFILES): Add bsd-kvm.o.
4593 (LOADLIBES): New variable.
4594
9ea75c57
MK
45952004-05-22 Mark Kettenis <kettenis@gnu.org>
4596
2e0c3539
MK
4597 * bsd-kvm.c, bsd-kvm.h: New files.
4598 * i386fbsd-nat.c: Include <sys/types.h>, <machine/pcb.h> and
4599 "bsd-kvm.h".
4600 (i386fbsd_supply_pcb): New function.
4601 * Makefile.in (ALLDEPFILES): Add bsd-kvm.c.
4602 (i386fbsd-nat.o): Update dependencies.
4603 (bsd_kvm_h): New variable.
4604 (bsd-kvm.o): New dependency.
4605 * config/i386/fbsd.mh (NATDEPFILES): Add bsd-kvm.o.
4606 (LOADLIBES): New variable.
4607
9ea75c57
MK
4608 * regset.c: Tweak comment.
4609 (regset_alloc): Remove descr argument. Use GDBARCH_OBSTACK_ZALLOC
4610 macro.
4611 * regset.h: Update copyright year.
4612 (struct regset): Remove `descr' member, add `gdbarch' member.
4613 (regset_alloc): Adjust prototype and comment.
4614 * i386-tdep.c (i386_supply_gregset): Get TDEP from REGSET->arch.
4615 (i386_supply_fpregset): Likewise.
4616 (i386_regset_from_core_section): Update call to regset_alloc.
4617 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get TDEP from
4618 REGSET->arch.
4619 (i386obsd_aout_regset_from_core_section): Update call to
4620 regset_alloc.
4621 * i386nbsd-tdep.c (i386nbsd_aout_supply_regset): Get TDEP from
4622 REGSET->arch.
4623 (i386nbsd_aout_regset_from_core_section): Update call to
4624 regset_alloc.
4625 * amd64-tdep.c (amd64_supply_fpregset): Get TDEP from
4626 REGSET->arch.
4627 (amd64_regset_from_core_section): Update call to regset_alloc.
4628 * amd64obsd-tdep.c (amd64obsd_supply_regset): Get TDEP from
4629 REGSET->arch.
4630 (amd64obsd_regset_from_core_section): Update call to regset_alloc.
4631 * sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Directly pass
4632 &sparc32nbsd_gregset in sparc32_supply_gregset call.
4633 (sparc32nbsd_init_abi): Update call to regset_alloc.
4634 * sparc64obsd-tdep.c (sparc64obsd_supply_gregset): Directly pass
4635 &sparc64obsd_core_gregset in sparc64_supply_gregset call.
4636 (sparc64obsd_init_abi): Update call to regset_alloc.
4637 * sparc64nbsd-tdep.c (sparc64nbsd_supply_gregset): Directly pass
4638 &sparc64nbsd_gregset in sparc64_supply_gregset call.
4639 (sparc64nbsd_init_abi): Update call to regset_alloc.
4640 * sparc64fbsd-tdep.c (sparc64fbsd_supply_gregset): Directly pass
4641 &sparc64fbsd_gregset in sparc64_supply_gregset call.
4642 (sparc64fbsd_init_abi): Update call to regset_alloc.
4643
867e2dc5
JB
46442004-05-22 Jim Blandy <jimb@redhat.com>
4645
4646 * ppc-tdep.h (spe_register_p): New declaration.
4647 (struct gdbarch_tdep): New members: ppc_acc_regnum and
4648 ppc_spefscr_regnum.
4649 * rs6000-tdep.c (spe_register_p): New function.
4650 (rs6000_dwarf2_stab_reg_to_regnum): Recognize numbers for acc and
4651 spefscr.
4652 (rs6000_gdbarch_init): Initialize the new members of the tdep
4653 structure.
4654
617a4cba
JB
46552004-05-21 Jim Blandy <jimb@redhat.com>
4656
0397dee1
JB
4657 * ppc-linux-nat.c (fetch_register): Move code back to be next
4658 to the comment that describes it. (Moved code, instead of
4659 comment, for symmetry with store_register.)
4660
617a4cba
JB
4661 Allocate regset structures in the gdbarch's obstack, not using
4662 xmalloc.
4663 * regset.c (regset_alloc): Renamed from regset_xmalloc.
4664 Add 'arch' argument. Allocate the regset on arch's obstack, not
4665 using xmalloc.
4666 * regset.h (regset_alloc): Update declaration.
4667 * am64-tdep.c (amd64_regset_from_core_section): Update call; pass
4668 gdbarch argument.
4669 * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Same.
4670 * i386-tdep.c (i386_regset_from_core_section): Same.
4671 * i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Same.
4672 * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Same.
4673 * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Same.
4674 * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Same.
4675 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Same.
4676 * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Same.
4677
9aa3914d
JB
46782004-05-21 Joel Brobecker <brobecker@gnat.com>
4679
4680 * config/djgpp/fnchange.lst: Undo previous change, was useless.
4681
99c87dab
JB
46822004-05-21 Jim Blandy <jimb@redhat.com>
4683
4684 * dwarf2expr.c (execute_stack_op): Add 'break' statements after
4685 cases for DW_OP_div and DW_OP_shr. (Thanks to Reva Cuthbertson.)
4686
c2b6b4aa
JB
46872004-05-20 Jim Blandy <jimb@redhat.com>
4688
4689 * rs6000-tdep.c (rs6000_push_dummy_call): Formatting fixes.
4690
144529d0
MK
46912004-05-20 Mark Kettenis <kettenis@gnu.org>
4692
4693 * regset.h: Make prototype const-correct.
4694 * regset.c (regset_xmalloc): Make const-correct.
4695
4725b721
PH
46962004-05-20 Paul N. Hilfinger <hilfinger@gnat.com>
4697
4698 * symtab.h (SYMBOL_SEARCH_NAME): New definition.
4699 (SYMBOL_MATCHES_SEARCH_NAME): New definition.
4700 (symbol_search_name): Declare.
4701
4702 * dictionary.c (iter_name_first_hashed): Match on SYMBOL_SEARCH_NAME.
4703 (iter_name_next_hashed): Ditto.
4704 (iter_name_next_linear): Ditto.
4705 (insert_symbol_hashed): Hash on SYMBOL_SEARCH_NAME.
4706
4707 * symtab.c (lookup_partial_symbol): Assume symbols ordered by
4708 search name, using SYMBOL_SEARCH_NAME and SYMBOL_MATCHES_SEARCH_NAME.
4709 (symbol_search_name): New function.
4710
4711 * symfile.c (compare_psymbols): Order by SYMBOL_SEARCH_NAME.
4712
4713 * minsyms.c (build_minimal_symbol_hash_tables): Change
4714 test for adding to demangled hash table to check for difference
4715 between SYMBOL_SEARCH_NAME and SYMBOL_LINKAGE_NAME.
4716
be07a590
JB
47172004-05-19 Jim Blandy <jimb@redhat.com>
4718
4719 Use a constructor function to create regset structures.
4720 * regset.h (supply_regset_ftype, collect_regset_ftype): New typedefs.
4721 (struct regset): Use supply_regset_ftype. Add new
4722 'collect_regset' member.
4723 (regset_xmalloc): New declaration.
4724 * regset.c: New file.
4725 * am64-tdep.c (amd64_regset_from_core_section): Use
4726 regset_xmalloc to construct regset structures.
4727 * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Same.
4728 * i386-tdep.c (i386_regset_from_core_section): Same.
4729 * i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Same.
4730 * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Same.
4731 * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Same.
4732 * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Same.
4733 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Same.
4734 * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Same.
4735 * Makefile.in (COMMON_OBS): Add regset.o.
4736 (regset.o): New rule.
4737
604368f5
JB
47382004-05-19 Joel Brobecker <brobecker@gnat.com>
4739
4740 * config/djgpp/fnchange.lst: Add entries for pthread_cond_wait.exp
4741 and pthread_cond_wait.c.
4742
82d69f8b
JB
47432004-05-18 Jim Blandy <jimb@redhat.com>
4744
4745 * rs6000-tdep.c (rs6000_gdbarch_init): Initialize tdep fields
4746 before the mach-specific switch, and then let the individual cases
4747 override the defaults, rather than leaving them uninitialized
4748 until the switch and then setting them in each case.
4749
5859efe5
RC
47502004-05-18 Randolph Chung <tausq@debian.org>
4751
4752 * hppa-tdep.c (hppa_frame_cache): Check for validity of r31 for
4753 millicode functions.
4754
9ca80cf8
RC
47552004-05-18 Randolph Chung <tausq@debian.org>
4756
4757 * somsolib.c (som_solib_remove_inferior_hook): Make all the size
4758 references to dld_flags_buffer consistent.
4759
ed70ba00
RC
47602004-05-18 Randolph Chung <tausq@debian.org>
4761
4762 * hppa-tdep.c (hppa_frame_cache): If a frame pointer is available, use
4763 it for unwinding the stack.
4764
63100632
RC
47652004-05-18 Randolph Chung <tausq@debian.org>
4766
4767 * config/pa/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE, SKIP_TRAMPOLINE_CODE)
4768 Undefine these so we can overide them using gdbarch.
4769
090ccbb7
RC
47702004-05-18 Randolph Chung <tausq@debian.org>
4771
4772 * hppa-tdep.c (hppa_stub_frame_unwind_cache): Don't do export stub
4773 handling for 64-bit HPUX (elf).
4774
594706e6
DJ
47752004-05-18 Daniel Jacobowitz <dan@debian.org>
4776
4777 * alpha-tdep.c (alpha_gdbarch_init): Use LL suffix for large
4778 constants.
4779 * amd64-tdep.c (amd64_skip_prologue): Likewise.
4780 * ia64-tdep.c (examine_prologue): Likewise.
4781 * ns32k-tdep.c (ns32k_fix_call_dummy): Remove unused function.
4782 * v850-tdep.c (v850_fix_call_dummy): Likewise.
4783
e5483145
MK
47842004-05-18 Mark Kettenis <kettenis@gnu.org>
4785
4786 * vax-tdep.c (vax_return_value): Implement
4787 RETURN_VALUE_ABI_RETURNS_ADDRESS.
4788
caed1a45
MK
47892004-05-17 Mark Kettenis <kettenis@gnu.org>
4790
4791 * vax-tdep.c (vax_return_value): Fix typo.
4792
3c0b7db2
AC
47932004-05-17 Andrew Cagney <cagney@redhat.com>
4794
5aae53e5
AC
4795 * MAINTAINERS: Mark Salter was also responsible for
4796 testsuite/config/
4797
3c0b7db2
AC
4798 * NEWS: Mention signal fixes.
4799
22b0923d
RC
48002004-05-17 Randolph Chung <tausq@debian.org>
4801
4802 * hppa-tdep.c (hppa_stub_frame_unwind_cache): For HPUX stub unwinding,
4803 check to see if we are unwinding an export stub. Export stubs clobber
4804 the %rp in the call path and stores the original rp in a stack slot.
4805
22f2b2f3
JB
48062004-05-17 Jim Blandy <jimb@redhat.com>
4807
4808 * MAINTAINERS: Update address for J.T. Conklin.
4809
cea96d64
RC
48102004-05-17 Randolph Chung <tausq@debian.org>
4811
4812 * hppa-tdep.c: Remove superfluous #include's.
4813 * Makefile.in (hppa-tdep.o): Update dependencies.
4814
f08f6a4a
RC
48152004-05-17 Randolph Chung <tausq@debian.org>
4816
4817 * hppa-tdep.c (THREAD_INITIAL_FRAME_SYMBOL): Delete unused symbol.
4818 (THREAD_INITIAL_FRAME_SYM_LEN): Likewise.
4819 (unwind_command, hppa_alignof, prologue_inst_adjust_sp)
4820 (is_branch, inst_saves_gr, inst_saves_fr, compare_unwind_entries)
4821 (read_unwind_info, internalize_unwinds, record_text_segment_lowaddr):
4822 Remove static function declarations.
4823
51da707a
MK
48242004-05-17 Mark Kettenis <kettenis@gnu.org>
4825
caed1a45
MK
4826 * alphabsd-nat.c: Update copyright year.
4827 (getregs_supplies): Replace PC_REGNUM with ALPHA_PC_REGNUM.
4828
c0c2b0db
MK
4829 * m68k-tdep.h (m68k_regnum): Add M68K_D2_REGNUM, M68K_D7_REGNUM
4830 and M68K_A2_REGNUM.
4831
51da707a
MK
4832 * m68k-tdep.c (m68k_svr4_return_value): Implement
4833 RETURN_VALUE_ABI_RETURNS_ADDRESS.
4834
8d027a04
MK
48352004-05-16 Mark Kettenis <kettenis@gnu.org>
4836
4837 * sol-thread.c Update copyright year. Fix various coding
4838 standards violations. Tweak a few comments.
4839 (td_err_string, td_state_string, thread_to_lwp, lwp_to_thread):
4840 Delete prototypes.
4841
0d99fdb9
RC
48422004-05-15 Randolph Chung <tausq@debian.org>
4843
4844 * hppa-tdep.h (hppa_frame_prev_register_helper): Pass save_regs
4845 as pointer instead of array reference since HPUX compiler does
4846 not accept unsized array arguments.
4847 * somsolib.c (dld_flags_buffer): Use constant array size.
4848
f7e3843a
MK
48492004-05-15 Mark Kettenis <kettenis@gnu.org>
4850
0fe85704
MK
4851 * amd64obsd-tdep.c (amd64obsd_sigtramp_p): Replace hexadecimal
4852 offset with decimal offset.
4853 (amd64obsd_sigcontext_addr): Return correct address for entire
4854 signal trampoline.
4855
a54f9a00
MK
4856 * vax-tdep.c (vax_frame_num_args): Use get_frame_base_address
4857 instead of get_frame_base.
4858
feae6502
MK
4859 * i386bsd-nat.c (supply_gregset): Use regcache_raw_supply.
4860 (fill_gregset): Use regcache_raw_collect.
4861
0382d099
MK
4862 * config/djgpp/fnchange.lst: Add entries for ppcobsd-nat.c and
4863 ppcobsd-tdep.c.
4864
f7e3843a
MK
4865 * config/sparc/tm-nbsd64.h: Remove file.
4866 * config/tm-sunos.h: Remove file.
4867
773df3e5
JB
48682004-05-15 Joel Brobecker <brobecker@gnat.com>
4869
4870 * rs6000-tdep.c (store_param_on_stack_p): New function,
4871 an improved version of some code extracted from skip_prologue().
4872 (skip_prologue): Use store_param_on_stack_p() to detect
4873 instructions saving a parameter on the stack. Detect when r0
4874 is used to save a parameter.
4875 Do not mark "li rx, SIMM" instructions as part of the prologue,
4876 unless the following instruction is also part of the prologue.
4877
95918acb
AC
48782004-05-14 Andrew Cagney <cagney@redhat.com>
4879
06f32659
AC
4880 * infrun.c (handle_inferior_event): Simplify
4881 STEP_OVER_UNDEBUGGABLE.
4882
95918acb
AC
4883 * infrun.c (handle_step_into_function): Delete function.
4884 (handle_inferior_event): Inline calls to
4885 handle_step_into_function.
4886
40711ff1 48872004-05-14 Jerome Guitton <guitton@gnat.com>
42203e46
JG
4888
4889 * rs6000-nat.c: Fix a comment.
4890
02f60eae
JB
48912004-05-12 David Anderson <davea@sgi.com>
4892
4893 Committed by Jim Blandy <jimb@redhat.com>:
4894 * regcache.c (struct regcache_descr): fix comment spelling.
4895
552e377b
JB
48962004-05-13 J. Brobecker <brobecker@gnat.com>
4897
4898 * aix-thread.c: s/ppc_floating_point_p/ppc_floating_point_unit_p/.
4899 Fixes a link link failure.
4900
349766b2
JB
49012004-05-13 J. Brobecker <brobecker@gnat.com>
4902
4903 * aix-thread.c (store_regs_kernel_thread): Fix a little obvious
4904 error that was causing the build to fail.
4905
0d4d5484
JB
49062004-05-13 J. Brobecker <brobecker@gnat.com>
4907
4908 * aix-thread.c: #include "gdb_string.h". Needed for memset and memcopy.
4909 * Makefile.in (aix-thread.o): Add dependency on gdb_string.h.
4910
0b30808c
AC
49112004-05-13 Andrew Cagney <cagney@redhat.com>
4912
4913 * infrun.c (handle_inferior_event): Check for
4914 STEP_OVER_UNDEBUGGABLE after signal trampolines and function
4915 calls. Update comments.
4916
cdf2c5f5
JB
49172004-05-13 Jim Blandy <jimb@redhat.com>
4918
063715bf
JB
4919 * aix-thread.c (pdc_read_regs, supply_gprs64, supply_fprs)
4920 (fetch_regs_user_thread, fetch_regs_kernel_thread)
4921 (store_regs_user_thread, store_regs_kernel_thread): Use
4922 ppc_num_gprs and ppc_num_fprs instead of '32' and '31'.
4923 * ppc-linux-nat.c (fill_gregset): Same.
4924 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
4925 (ppc_linux_sigtramp_cache): Same.
4926 * ppcnbsd-tdep.c (ppcnbsd_supply_reg, ppcnbsd_fill_reg)
4927 (ppcnbsd_sigtramp_cache_init): Same.
4928 * rs6000-nat.c (fetch_core_registers): Same.
4929 * rs6000-tdep.c (ppc_supply_gregset, ppc_collect_gregset)
4930 (rs6000_frame_cache): Same.
4931
cdf2c5f5
JB
4932 * aix-thread.c (supply_gprs64, fetch_regs_user_thread)
4933 (store_regs_user_thread): Use tdep->ppc_gp0_regnum, instead
4934 of assuming that the gprs are numbered starting with zero.
4935 * ppc-linux-nat.c (fill_gregset): Same.
4936 * ppc-linux-tdep.c (ppc_linux_supply_gregset): Same.
4937 * ppcnbsd-nat.c (getregs_supplies): Same.
4938 * ppcnbsd-tdep.c (ppcnbsd_supply_reg, ppcnbsd_fill_reg): Same.
4939 * rs6000-nat.c (fetch_core_registers): Same.
4940 * rs6000-tdep.c (ppc_supply_gregset, ppc_collect_gregset): Same.
4941
450bd37b
MS
49422004-05-07 Michael Snyder <msnyder@redhat.com>
4943
4944 * tracepoint.c (scope_info): Add handling for LOC_COMPUTED,
4945 LOC_COMPUTED_ARG, and LOC_INDIRECT.
4946
4a72a2a6
AC
49472004-05-13 Andrew Cagney <cagney@redhat.com>
4948
4949 * infrun.c (handle_inferior_event): Use frame_unwind_id.
4950
8edfa926
BM
49512004-05-13 Bryce McKinlay <mckinlay@redhat.com>
4952
4953 * dwarf2loc.c (find_location_expression): Use ANOFFSET to adjust
4954 base_address for shared libraries.
4955
723e0e3d
BM
49562004-05-13 Bryce McKinlay <mckinlay@redhat.com>
4957
4958 * MAINTAINERS (write after approval): Add myself.
4959
00d4360e
UW
49602004-05-13 Ulrich Weigand <uweigand@de.ibm.com>
4961
4962 * breakpoint.c (bpstat_stop_status): Add new argument
4963 STOPPED_BY_WATCHPOINT. Use it instead of testing
4964 target_stopped_data_address agaist 0 to check whether
4965 or not we stopped due to a hardware watchpoint.
4966 * breakpoint.h (bpstat_stop_status): Adapt prototype.
4967 * infrun.c (handle_inferior_event): Call bpstat_stop_status
4968 with new argument.
4969
ec76baa5
JB
49702004-05-12 Jim Blandy <jimb@redhat.com>
4971
4972 * configure.in: When checking whether we should use the -bbigtoc
4973 option, don't forget to restore the original value of LDFLAGS.
4974 * configure: Regenerated.
4975
f2c9ca08
AC
49762004-05-12 Andrew Cagney <cagney@redhat.com>
4977
4978 * thread.c (load_infrun_state): Delete step_sp.
4979 * infrun.c (context_switch): Ditto.
4980 * inferior.h (step_sp): Ditto.
4981 * infcmd.c (step_sp, step_1, step_once, until_next_command): Ditto.
4982 * gdbthread.h (struct thread_info, save_infrun_state)
4983 (restore_infrun_state): Ditto.
4984
090ddb2a
UW
49852004-05-12 Ulrich Weigand <uweigand@de.ibm.com>
4986
4987 * MAINTAINERS (write after approval): Add myself.
4988
8aad930b
AC
49892004-05-12 Andrew Cagney <cagney@redhat.com>
4990
4991 * infrun.c (adjust_pc_after_break): Rewrite decr logic,
4992 eliminate reference to step_sp.
4993 (struct execution_control_state, init_execution_control_state)
4994 (handle_inferior_event, keep_going): Delete update_step_sp and
4995 step_sp.
4996 * infcmd.c (step_sp): Note that variable is unused.
4997
922d5ae0
AC
49982004-05-11 Andrew Cagney <cagney@redhat.com>
4999
5000 * infrun.c (step_over_function): Delete function.
5001 (handle_step_into_function): Use insert_step_resume_breakpoint.
5002 (insert_step_resume_breakpoint): Fix assertion.
5003
017c5ca5
NR
50042004-05-11 Nick Roberts <nickrob@gnu.org>
5005
5006 * utils.c (defaulted_query): Just use the normal query input type
5007 when printing the annotations.
5008
42edda50
AC
50092004-05-11 Andrew Cagney <cagney@redhat.com>
5010
5011 * infrun.c (handle_inferior_event): Simplify code handling
5012 step-into or return-from a signal trampoline.
5013
d28b44a7
AC
50142004-05-11 Andrew Cagney <cagney@redhat.com>
5015
5016 * ppcnbsd-tdep.c: Include "gdb_assert.h".
5017 * Makefile.in (ppcnbsd-tdep.o): Update dependencies.
5018
383f0f5b
JB
50192004-05-10 Jim Blandy <jimb@redhat.com>
5020
d0b57c3a
JB
5021 * ppc-bdm.c (bdm_ppc_fetch_registers): Replace utterly broken code
5022 with a call to internal_error.
5023
383f0f5b
JB
5024 * ppc-tdep.h (struct gdbarch_tdep): Change definition of
5025 ppc_fp0_regnum and ppc_fpscr_regnum: if they are -1, then this
5026 processor variant lacks those registers.
5027 (ppc_floating_point_unit_p): Change description to make it clear
5028 that this returns info about the ISA, not the ABI.
5029 * rs6000-tdep.c (ppc_floating_point_unit_p): Decide whether to
5030 return true or false by checking tdep->ppc_fp0_regnum and
5031 tdep->ppc_fpscr_regnum. The original code replicated the BFD
5032 arch/mach switching done in rs6000_gdbarch_init; it's better to
5033 keep that logic there, and just check the results here.
5034 (rs6000_gdbarch_init): On the E500, set tdep->ppc_fp0_regnum and
5035 tdep->ppc_fpscr_regnum to -1 to indicate that we have no
5036 floating-point registers.
5037 (ppc_supply_fpregset, ppc_collect_fpregset)
5038 (rs6000_push_dummy_call, rs6000_extract_return_value)
5039 (rs6000_store_return_value): Assert that we have floating-point
5040 registers.
5041 (rs6000_dwarf2_stab_reg_to_regnum): Add FIXME.
5042 (rs6000_frame_cache): Don't note the locations at which
5043 floating-point registers were saved if we have no fprs.
5044 * aix-thread.c (supply_fprs, fill_fprs): Assert that we have FP
5045 registers.
5046 (fetch_regs_user_thread, fetch_regs_kernel_thread)
5047 (store_regs_user_thread, store_regs_kernel_thread): Only call
5048 supply_fprs / fill_fprs if we actually have floating-point
5049 registers.
5050 (special_register_p): Check ppc_fpscr_regnum before matching
5051 against it.
5052 (supply_sprs64, supply_sprs32, fill_sprs64, fill_sprs32): Don't
5053 supply / collect fpscr if we don't have it.
5054 * ppc-bdm.c: #include "gdb_assert.h".
5055 (bdm_ppc_fetch_registers, bdm_ppc_store_registers): Assert that we
5056 have floating-point registers, since I can't test this code on
5057 FP-free systems to adapt it.
5058 * ppc-linux-nat.c (ppc_register_u_addr): Don't match against the
5059 fpscr and floating point register numbers if they don't exist.
5060 (fetch_register): Assert that we have floating-point registers
5061 before we reach the code that handles them.
5062 (store_register): Same. And use tdep instead of calling
5063 gdbarch_tdep again.
5064 (fill_fpregset): Don't try to collect FP registers and fpscr if we
5065 don't have them.
5066 (ppc_linux_sigtramp_cache): Don't record the saved locations of
5067 fprs and fpscr if we don't have them.
5068 (ppc_linux_supply_fpregset): Don't supply fp regs and fpscr if we
5069 don't have them.
5070 * ppcnbsd-nat.c: #include "gdb_assert.h".
5071 (getfpregs_supplies): Assert that we have floating-point registers.
5072 * ppcnbsd-tdep.c (ppcnbsd_supply_fpreg, ppcnbsd_fill_fpreg): Same.
5073 * ppcobsd-tdep.c: #include "gdb_assert.h".
5074 (ppcobsd_supply_gregset, ppcobsd_collect_gregset): Assert that we
5075 have floating-point registers.
5076 * rs6000-nat.c (regmap): Don't match against the fpscr and
5077 floating point register numbers if they don't exist.
5078 (fetch_inferior_registers, store_inferior_registers,
5079 fetch_core_registers): Only fetch / store / supply the
5080 floating-point registers and the fpscr if we have them.
5081 * Makefile.in (ppc-bdm.o, ppc-linux-nat.o, ppcnbsd-nat.o)
5082 (ppcobsd-tdep.o): Update dependencies.
5083
15960608
AC
50842004-05-10 Andrew Cagney <cagney@redhat.com>
5085
5086 * infrun.c (through_sigtramp_breakpoint): Delete variable.
5087 (context_switch): Do not switch through_sigtramp_breakpoint.
5088 * gdbthread.h (save_infrun_state, load_infrun_state)
5089 (struct thread_info): Delete through_sigtramp_breakpoint parameter
5090 and structure member.
5091 * thread.c (load_infrun_state, save_infrun_state): Update.
5092
5ab5aa0f
MK
50932004-05-10 Mark Kettenis <kettenis@gnu.org>
5094
5095 * m68kbsd-tdep.c (m68kbsd_elf_init_abi): Call m68k_svr4_init_abi.
5096
da78b0e7
DJ
50972004-05-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5098
5099 * acinclude.m4: Quote macro names being defined by AC_DEFUN
5100 throughout.
5101 * aclocal.m4: Regenerate.
5102
cca0d3b0
NW
51032004-05-10 Nathan J. Williams <nathanw@wasabisystems.com>
5104
5105 * alphanbsd-tdep.c: Fix include of "gdb_string.h".
5106
d303a6c7
AC
51072004-05-10 Andrew Cagney <cagney@redhat.com>
5108
5109 * infrun.c (check_sigtramp2): Delete function.
5110 (handle_inferior_event): When single stepping, and taking a
5111 signal, set a breakpoint at the signal return address. Delete
5112 redundant calls to check_sigtramp2.
5113 (insert_step_resume_breakpoint): New function.
5114 (through_sigtramp_breakpoint, handle_inferior_event)
5115 (follow_exec, wait_for_inferior, fetch_inferior_event)
5116 (currently_stepping, keep_going): Delete most uses of
5117 through_sigtramp_breakpoint, not that it should be deleted.
5118 (delete_breakpoint_current_contents): Delete function.
5119
03f4cc20
RC
51202004-05-10 Randolph Chung <tausq@debian.org>
5121
5122 * config/pa/linux.mt (TM_FILE): Use new tm-linux.h for hppa-linux
5123 target.
5124 * config/pa/tm-linux.h: New file.
5125
37fc812e
DJ
51262004-05-10 Daniel Jacobowitz <drow@mvista.com>
5127
5128 * cli/cli-setshow.c (cmd_show_list): Check for "show" in the middle
5129 of prefixes. Don't print the prefix twice in the CLI.
5130
26c0b942
JB
51312004-05-10 Jim Blandy <jimb@redhat.com>
5132
2e56e9c1
JB
5133 * rs6000-tdep.c (ppc_collect_gregset): When regnum == -1, do
5134 collect all the gprs.
5135
26c0b942
JB
5136 * rs6000-tdep.c (ppc_collect_gregset): Correct off-by-one error in
5137 loop collecting gprs.
5138
dc497459
AC
51392004-05-09 Andrew Cagney <cagney@redhat.com>
5140
5141 * remote-vx.c (net_step): Delete step-range code.
5142 * remote.c (remote_resume, init_all_packet_configs)
5143 (set_remote_protocol_E_packet_cmd)
5144 (show_remote_protocol_E_packet_cmd)
5145 (remote_protocol_E, show_remote_cmd, _initialize_remote)
5146 (remote_protocol_e, set_remote_protocol_e_packet_cmd)
5147 (show_remote_protocol_e_packet_cmd): Ditto.
5148
0543f387
MK
51492004-05-09 Mark Kettenis <kettenis@gnu.org>
5150
c481d1ca
MK
5151 * hppa-tdep.h (enum hppa_regnum): Name enum, add HPPA_R1_REGNUM.
5152
f626a069
MK
5153 * hppa-tdep.h: Update copyright year.
5154 (struct trad_frame_saved_reg): Add opaque declaration.
5155
6fa57a7d
MK
5156 * amd64-tdep.c (amd64_return_value): Implement
5157 RETURN_VALUE_ABI_RETURNS_ADDRESS.
5158
e47577ab
MK
5159 * m68k-tdep.c (m68k_convert_register_p, m68k_register_to_value)
5160 (m68k_value_to_register): New functions.
5161 (m68k_gdbarch_init): Set convert_register_p, register_to_value and
5162 value_to_register.
5163
31db7b6c
MK
5164 * defs.h (enum return_value_convention): Add
5165 RETURN_VALUE_ABI_RETURNS_ADDRESS and
5166 RETURN_VALUE_ABI_PRESERVES_ADDRESS.
5167 * infcmd.c (legacy_return_value): New function.
5168 (print_return_value): Rwerite to implement
5169 RETURN_VALUE_ABI_RETURNS_ADDRESS.
5170 * values.c (using_struct_return): Check for inequality to
5171 RETURN_VALUE_REGISTER_CONVENTION instead of equality to
5172 RETURN_VALUE_STRUCT_CONVENTION.
5173 * i386-tdep.c (i386_return_value): Implement
5174 RETURN_VALUE_ABI_RETURNS_ADDRESS.
5175
0543f387
MK
5176 * vax-tdep.c: Tweak comments. Reorder include files. Don't
5177 include "symtab.h", "opcode/vax.h" and "inferior.h".
5178 (vax_skip_prologue): Replace calls to read_memory_integer by calls
5179 to read_memory_unsigned_integer.
5180 (vax_gdbarch_init): Reorder.
5181 (_initialize_vax_tdep): Spell out prototype.
5182 * Makefile.in (vax-tdep.o): Update dependencies.
5183
0c93b7b6
AC
51842004-05-08 Andrew Cagney <cagney@redhat.com>
5185
e6b55ae2
AC
5186 * infrun.c (resume): Delete call to DO_DEFERRED_STORES.
5187 * target.c (target_detach, target_disconnect): Ditto.
5188
1ac839b8
AC
5189 * infcall.c (call_function_by_hand): When no
5190 DEPRECATED_SAVE_DUMMY_FRAME_TOS call generic_save_dummy_frame_tos.
5191 * rs6000-tdep.c (rs6000_gdbarch_init): Do not set
5192 DEPRECATED_SAVE_DUMMY_FRAME_TOS.
5193 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
5194 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
5195
28954179
AC
5196 * gdbarch.sh (DEPRECATED_FIX_CALL_DUMMY): Delete.
5197 * gdbarch.h, gdbarch.c: Re-generate.
5198 * ns32k-tdep.c (ns32k_gdbarch_init): Do not set
5199 deprecated_fix_call_dummy.
5200 * v850-tdep.c (v850_gdbarch_init): Ditto.
5201 * infcall.c (call_function_by_hand): Do not call
5202 DEPRECATED_FIX_CALL_DUMMY.
5203
434b87dd
AC
5204 * gdbarch.sh (DEPRECATED_CALL_DUMMY_WORDS)
5205 (DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Delete.
5206 * gdbarch.h, gdbarch.c: Re-generate.
5207 * arm-linux-tdep.c (arm_linux_call_dummy_words)
5208 (arm_linux_init_abi): Do not set deprecated_call_dummy_words or
5209 deprecated_sizeof_call_dummy_words.
5210 * arm-tdep.c (arm_call_dummy_words, arm_gdbarch_init): Ditto.
5211 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
5212 * v850-tdep.c (v850_gdbarch_init): Ditto.
5213 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
5214 * ns32k-tdep.c (ns32k_call_dummy_words, ns32k_gdbarch_init): Ditto.
5215 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
5216 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
5217 * arch-utils.h (legacy_call_dummy_words)
5218 (legacy_sizeof_call_dummy_words): Delete declarations.
5219 * arch-utils.c (legacy_call_dummy_words)
5220 (legacy_sizeof_call_dummy_words): Delete variables.
5221
58d28df8
AC
5222 * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Delete.
5223 * gdbarch.h, gdbarch.c: Re-generate.
5224 * inferior.h (PUSH_DUMMY_FRAME): Delete macro.
5225 * infcall.c (call_function_by_hand): Eliminate call to
5226 DEPRECATED_PUSH_DUMMY_FRAME.
5227 * ns32k-tdep.c (ns32k_gdbarch_init): Do not set deprecated
5228 push_dummy_frame.
5229 (ns32k_push_dummy_frame): Delete function.
5230
e4a2df64
AC
5231 * ns32k-tdep.c (ns32k_gdbarch_init): Do not set
5232 deprecated_call_dummy_breakpoint_offset or
5233 deprecated_call_dummy_start_offset.
5234 * dummy-frame.c, arm-tdep.c: Update comments.
5235 * gdbarch.sh (DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET)
5236 (DEPRECATED_CALL_DUMMY_START_OFFSET): Delete.
5237 * gdbarch.h, gdbarch.c: Re-generate.
5238
d3712828
AC
5239 * infcall.c (legacy_push_dummy_code): Delete function.
5240 (push_dummy_code): Delete call.
5241
7a882905
AC
5242 * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Delete.
5243 * gdbarch.h, gdbarch.c: Re-generate.
5244 * blockframe.c (legacy_frame_chain_valid): Simplify by eliminating
5245 DEPRECATED_USE_GENERIC_DUMMY_FRAMES.
5246 * infcall.c (legacy_push_dummy_code, call_function_by_hand): Ditto.
5247 * frame.c (frame_type_from_pc, legacy_get_prev_frame): Ditto.
5248
0ec5872b
AC
5249 * breakpoint.h (deprecated_frame_in_dummy): Delete declaration.
5250 (struct frame_info): Delete opaque declaration.
5251 * breakpoint.c (deprecated_frame_in_dummy): Delete function.
5252 * frame.c (get_frame_type): Delete call.
5253
0c93b7b6
AC
5254 * ns32k-tdep.c (ns32k_gdbarch_init): Do not set deprecated
5255 pc_in_call_dummy.
5256 * inferior.h (deprecated_pc_in_call_dummy_on_stack): Delete.
5257 * blockframe.c (deprecated_pc_in_call_dummy_on_stack): Delete.
5258
75536971
MK
52592004-05-08 Mark Kettenis <kettenis@gnu.org>
5260
527ca6bb
MK
5261 * alphanbsd-tdep.c: Include "gdb_string.h".
5262 * armnbsd-tdep.c: Update copyright year.
5263 Include "gdb_string.h".
5264 * Makefile.in (alphanbsd-tdep.o, armnbsd-tdep.o): Update
5265 dependencies.
5266
d39fdc61
MK
5267 * delta68-nat.c: Remove file.
5268 * m68k-tdep.c (delta68_in_sigtramp, delta68_frame_args_address)
5269 (delta68_frame_saved_pc, delta68_frame_num_args): Remove functions.
5270 * Makefile.in (ALLDEPFILES): Remove delta68-nat.c.
5271 (delta68-nat.o): Remove dependency.
5272
75536971
MK
5273 * m68k-tdep.c (m68k_frameless_function_invocation): Remove
5274 function.
5275 (m68k_gdbarch_init): Don't set
5276 deprecated_frameless_function_invocation.
5277
f4ca1d1f
RC
52782004-05-07 Randolph Chung <tausq@debian.org>
5279
5280 * hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Use
5281 read_memory_nobpt for code reading when doing frame unwinding.
5282 * hppa-linux-tdep.c (insns_match_pattern): Likewise.
5283
2f0e8c7a
RC
52842004-05-07 Randolph Chung <tausq@debian.org>
5285
5286 * hppa-linux-tdep.c (hppa_linux_sigtramp_find_sigcontext): Pass in pc
5287 instead of sp, handle sigaltstack case.
5288 (hppa_linux_sigtramp_frame_unwind_cache): Adjust calls to
5289 hppa_linux_sigtramp_find_sigcontext, and set base to the frame of the
5290 signal handler and not that of the caller.
5291 (hppa_linux_sigtramp_unwind_sniffer): Adjust calls to
5292 hppa_linux_sigtramp_find_sigcontext.
5293
959464ff
RC
52942004-05-07 Randolph Chung <tausq@debian.org>
5295
5296 * Makefile.in (ALLDEPFILES): Add hppa-linux-tdep.c and
5297 hppa-linux-nat.c.
5298 (hppa-linux-tdep.o, hppa-linux-nat.o): Define rules.
5299 * hppa-linux-nat.c (fetch_register, store_register): Define.
5300 (fetch_inferior_registers, store_inferior_registers): Define.
5301 (supply_gregset): Add comment and clean up some unneeded code.
5302 (fill_gregset): Add comment and fix so that it saves registers in
5303 the right place in the gregset.
5304 (fill_fpregset): Fix buffer overrun problem.
5305 * config/pa/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
5306
0da28f8a
RC
53072004-05-07 Randolph Chung <tausq@debian.org>
5308
5309 * hppa-tdep.c (hppa_frame_prev_register_helper): New function to
5310 do common handling of the pcoqt register.
5311 (hppa_frame_prev_register, hppa_stub_frame_prev_register): Convert
5312 to use helper function.
5313 (hppa_frame_unwind_sniffer): Only use if unwind entry is present.
5314 (hppa_fallback_frame_cache, hppa_fallback_frame_this_id)
5315 (hppa_fallback_frame_prev_register, hppa_fallback_frame_unwind): New
5316 generic fallback unwinder when all else fails.
5317 (hppa_gdbarch_init): Add fallback sniffer.
5318 * hppa-tdep.h (hppa_frame_prev_register_helper): Prototype.
5319 * hppa-linux-tdep.c (hppa_linux_sigtramp_frame_prev_register): Convert
5320 to use helper function.
5321
b9ec757a
JB
53222004-05-08 Joel Brobecker <brobecker@gnat.com>
5323
5324 * config/djgpp/fnchange.lst: Add translation rules for
5325 gdb.arch/powerpc-aix-prologue.c and gdb.arch/powerpc-aix-prologue.exp.
5326
756e95f1
MK
53272004-05-08 Mark Kettenis <kettenis@gnu.org>
5328
5329 * frame.c (get_prev_frame_1): Work around GCC bug.
5330 * frame.h: Add comment about GCC bug.
5331
2b4855ab
AC
53322004-05-07 Andrew Cagney <cagney@redhat.com>
5333
5334 * observer.c: Include "commands.h" and "gdbcmd.h".
5335 (observer_debug, _initialize_observer): Add the
5336 command "set/show debug observer".
5337 * observer.sh: When observer debugging, log notify calls.
5338 * Makefile.in (observer.o): Update dependencies.
5339
ba3e8e46
JM
53402004-05-07 Jason Molenda (jmolenda@apple.com)
5341
5342 * cli/cli-decode.c: Fix "SHOW_DOR" comment typeos.
5343
16796152
JB
53442004-05-07 Jim Blandy <jimb@redhat.com>
5345
daf6dc85
JB
5346 * aix-thread.c (fetch_regs_kernel_thread, fill_gprs64,
5347 fill_gprs32, store_regs_kernel_thread): Use tdep->ppc_gp0_regnum
5348 to recognize gpr regnums, instead of assuming that
5349 tdep->ppc_fp0_regnum marks the end of the general-purpose
5350 registers.
5351
16796152
JB
5352 * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Assert that
5353 the given architecture has floating-point registers.
5354
c69b8bfc
AC
53552004-05-07 Andrew Cagney <cagney@redhat.com>
5356
5357 * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Replace with
5358 macro defined to 1.
5359 * gdbarch.h, gdbarch.c: Re-generate.
5360 * ns32k-tdep.c (ns32k_gdbarch_init): Do not set
5361 deprecated_use_generic_dummy_frames.
5362
7243600a
BF
53632004-05-07 Brian Ford <ford@vss.fsi.com>
5364
5365 * NEWS: Mention Cygwin DWARF 2 support.
5366
73c1e0a1
AC
53672004-05-07 Andrew Cagney <cagney@redhat.com>
5368
5369 * objfiles.h (struct entry_info): Delete unused fields
5370 deprecated_entry_file_lowpc and deprecated_entry_file_highpc.
5371 * objfiles.c (init_entry_point_info, objfile_relocate): Update.
5372 * mipsread.c (mipscoff_symfile_read): Update.
5373 * mdebugread.c (parse_partial_symbols): Update.
5374 * dwarfread.c (read_file_scope): Update.
5375 * dwarf2read.c (read_file_scope): Update.
5376 * dbxread.c (read_dbx_symtab, read_dbx_symtab): Update.
5377 * coffread.c (complete_symtab): Update.
5378
1d3056ac
MK
53792004-05-07 Mark Kettenis <kettenis@gnu.org>
5380
5381 * infcall.c (_initialize_infcall): Fix typo.
5382
15170568
AC
53832004-05-07 Andrew Cagney <cagney@redhat.com>
5384
5385 * cli/cli-decode.c (add_setshow_zinteger_cmd): New function.
5386 * command.h (add_setshow_zinteger_cmd): Declare.
5387
34f75cc1
RC
53882004-05-06 Randolph Chung <tausq@debian.org>
5389
5390 * config/pa/tm-hppa.h (RO_REGNUM, FLAGS_REGNUM, RP_REGNUM)
5391 (HPPA_FP_REGNUM, HPPA_SP_REGNUM, SAR_REGNUM, IPSW_REGNUM)
5392 (PCOQ_HEAD_REGNUM, PCSQ_HEAD_REGNUM, PCOQ_TAIL_REGNUM, PCSQ_TAIL_REGNUM)
5393 (EIEM_REGNUM, IIR_REGNUM, ISR_REGNUM, IOR_REGNUM, SR4_REGNUM)
5394 (RCR_REGNUM, PID0_REGNUM, PID1_REGNUM, PID2_REGNUM, PID3_REGNUM)
5395 (CCR_REGNUM, TR0_REGNUM, CR27_REGNUM, HPPA_FP0_REGNUM, FP4_REGNUM)
5396 (ARG0_REGNUM, ARG1_REGNUM, ARG2_REGNUM, ARG3_REGNUM): Move *_REGNUM
5397 definitions ...
5398 * hppa-tdep.h: ... to here, with HPPA_ prefix.
5399 * Makefile.in (hppah-nat.o): Add $(hppa_tdep_h)
5400 * hppa-hpux-tdep.c (hppa32_hpux_frame_find_saved_regs_in_sig)
5401 (hppa64_hpux_frame_find_saved_regs_in_sig)
5402 (child_get_current_exception_event): Add HPPA_ prefix to *_REGNUM usage.
5403 * hppa-linux-nat.c (GR_REGNUM, TR_REGNUM, greg_map): Likewise.
5404 * hppa-linux-tdep.c (hppa_dwarf_reg_to_regnum)
5405 (hppa_linux_target_write_pc, hppa_linux_sigtramp_frame_unwind_cache)
5406 (hppa_linux_sigtramp_frame_prev_register): Likewise.
5407 * hppa-tdep.c (hppa32_return_value, hppa64_return_value)
5408 (hppa32_push_dummy_call, hppa64_push_dummy_call, hppa64_frame_align)
5409 (hppa_target_read_pc, hppa_target_write_pc, hppa_frame_cache)
5410 (hppa_frame_prev_register, hppa_stub_frame_unwind_cache)
5411 (hppa_stub_frame_prev_register, hppa_unwind_dummy_id)
5412 (hppa_skip_permanent_breakpoint, hppa_instruction_nullified)
5413 (hppa32_register_type, hppa_cannot_store_register)
5414 (hppa_fetch_pointer_argument, hppa_pseudo_register_read): Likewise.
5415 * hppah-nat.c (store_inferior_registers, fetch_register): Likewise.
5416 * hpread.c (hpread_process_one_debug_symbol): Likewise.
5417 * pa64solib.c (pa64_solib_have_load_event)
5418 (pa64_solib_have_unload_event, pa64_solib_loaded_library_pathname)
5419 (pa64_solib_unloaded_library_pathname): Likewise.
5420 * somsolib.c (som_solib_have_load_event, som_solib_have_unload_event)
5421 (som_solib_library_pathname): Likewise.
5422
0a5e7efe
JI
54232004-05-05 Jim Ingham <jingham@apple.com>
5424
5425 * breakpoint.c (create_breakpoints): Copy the ignore count and
5426 thread id over from the pended breakpoint to the actual
5427 breakpoint.
5428
10a4b113
AC
54292004-05-05 Andrew Cagney <cagney@redhat.com>
5430
5431 * gdbarch.sh (PARM_BOUNDARY): Delete.
5432 gdbarch.h, gdbarch.c: Re-generate.
5433 * valops.c (PARM_BOUNDARY): Delete macro.
5434 (value_push): Delete PARM_BOUNDARY code.
5435 * m68k-tdep.c (m68k_gdbarch_init): Do not set parm_boundary.
5436
366f009f
JB
54372004-05-04 Jim Blandy <jimb@redhat.com>
5438
32b99774
JB
5439 * ppc-linux-nat.c (fetch_ppc_registers, store_ppc_registers):
5440 Don't assume that the gprs, fprs, and UISA sprs are
5441 contiguous, start at register number zero, and end with fpscr.
5442 Instead, use the numbers from the tdep structure.
5443
366f009f
JB
5444 * config/rs6000/tm-rs6000.h (FP0_REGNUM): Document that this
5445 should no longer be used in code specific to the RS6000 and its
5446 derivatives.
5447 * ppc-tdep.h (struct gdbarch_tdep): Add 'ppc_fp0_regnum' member.
5448 * rs6000-tdep.c (rs6000_gdbarch_init): Initialize
5449 tdep->ppc_fp0_regnum.
5450 (ppc_supply_fpregset, ppc_collect_fpregset)
5451 (rs6000_push_dummy_call, rs6000_extract_return_value)
5452 (rs6000_dwarf2_stab_reg_to_regnum, rs6000_store_return_value)
5453 (rs6000_frame_cache): Use tdep->ppc_fp0_regnum instead of
5454 FP0_REGNUM.
5455 * aix-thread.c (supply_fprs, fetch_regs_kernel_thread)
5456 (fill_gprs64, fill_gprs32, fill_fprs, store_regs_kernel_thread):
5457 Same.
5458 * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_fetch_registers,
5459 bdm_ppc_store_registers): Same.
5460 * ppc-linux-nat.c (ppc_register_u_addr, fetch_register)
5461 (store_register, fill_fpregset): Same.
5462 * ppc-linux-tdep.c (ppc_linux_sigtramp_cache)
5463 (ppc_linux_supply_fpregset): Same.
5464 * ppcnbsd-nat.c (getfpregs_supplies): Same.
5465 * ppcnbsd-tdep.c (ppcnbsd_supply_fpreg, ppcnbsd_fill_fpreg):
5466 Same.
5467 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call,
5468 do_ppc_sysv_return_value, ppc64_sysv_abi_push_dummy_call,
5469 ppc64_sysv_abi_return_value): Same.
5470 * rs6000-nat.c (regmap, fetch_inferior_registers)
5471 (store_inferior_registers, fetch_core_registers): Same.
5472
827f338d
MK
54732004-05-01 Mark Kettenis <kettenis@gnu.org>
5474
5475 * m68knbsd-nat.c: Remove file.
5476 * m68knbsd-tdep.c: Remove file.
5477 * Makefile.in: (m68knbsd-nat.o, m68knbsd-tdep.o): Remove
5478 dependencies.
5479 * configure.host: Add m68k-*-netbsdelf*.
5480 * configure.tgt (m68k-*-netbsd*): Set gdb_target to nbsd.
5481 * config/m68k/nbsdaout.mh (NATDEPFILES): Add m68kbsd-nat.o,
5482 solib.o and solib-sunos.o. Remove m68knbsd-nat.o, corelow.o.
5483 (XM_FILE): Remove.
5484 * config/m68k/nbsdelf.mh: New file.
5485 * config/m68k/nbsd.mt: New file.
5486 * config/m68k/nbsdaout.mt: Remove file.
5487 * config/m68k/tm-nbsd.h: Don't include <sys/param.h>,
5488 <machine/vmparam.h> and "m68k/tm-m68k.h". Include "solib.h".
5489 (BPT_VECTOR, STACK_END_ADDR): Remove defines.
5490 (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Likewise.
5491 (use_struct_convention): Remove prototype.
5492 (USE_STRUCT_CONVENTION): Remove define.
5493 * config/m68k/xm-nbsd.h: Remove file.
5494
66894781
MS
54952004-05-04 Michael Snyder <msnyder@redhat.com>
5496
5497 * m68k-tdep.c (m68k_gdbarch_init): Default to using
5498 reg_struct_return method (as gcc usually does for cross targets).
5499
f0f63663
AC
55002004-05-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5501
5502 Committed by Andrew Cagney.
5503 * s390-tdep.c (s390_sigtramp_frame_unwind_cache): Account for
5504 alignment padding when accessing ucontext struct members.
5505
edf61169
JB
55062004-05-04 Jim Blandy <jimb@redhat.com>
5507
8bf659e8
JB
5508 * config/ppc-tdep.h (struct gdbarch_tdep): Delete
5509 'ppc_gplast_regnum' member.
5510 (ppc_num_gprs): New enum constant.
5511 * ppc-linux-nat.c (ppc_register_u_addr): Use tdep->ppc_gp0_regnum
5512 and ppc_num_gprs instead of tdep->ppc_gplast_regnum.
5513 * rs6000-nat.c (regmap, fetch_inferior_registers,
5514 store_inferior_registers): Same.
5515 * rs6000-tdep.c (e500_pseudo_register_read)
5516 (e500_pseudo_register_write): Same.
5517 (rs6000_gdbarch_init): Don't initialize tdep->ppc_gplast_regnum.
5518
b967e06f
JB
5519 * config/rs6000/tm-rs6000.h (FPLAST_REGNUM): Delete #definition.
5520 * ppc-tdep.h (ppc_num_fprs): New enum constant.
5521 * aix-thread.c (fetch_regs_kernel_thread, fill_fprs,
5522 store_regs_kernel_thread): Use FP0_REGNUM + ppc_num_fprs, not
5523 FPLAST_REGNUM.
5524 * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers):
5525 Same.
5526 * ppc-linux-nat.c (ppc_register_u_addr): Same.
5527 * rs6000-nat.c (regmap, fetch_inferior_registers)
5528 (store_inferior_registers): Same.
5529
edf61169
JB
5530 * aix-thread.c (fill_fprs): Fix off-by-one error comparing regno
5531 with FPLAST_REGNUM.
5532
58a9656e
JB
55332004-05-03 Joel Brobecker <brobecker@gnat.com>
5534
5535 * dwarf2read.c (dwarf2_create_include_psymtab): Fix build
5536 failure detected by recent versions of GCC.
5537 (psymtab_to_symtab_1): No longer use the PST_PRIVATE macro
5538 to be consistent with the usage in dwarf2_create_include_psymtab.
5539
dc305454
MS
55402004-05-03 Michael Snyder <msnyder@redhat.com>
5541
5542 * mips-tdep.c (mips_gdbarch_init): Fix typo in comment.
5543 (heuristic_proc_start): Whitespace cleanup.
5544
29972665
MK
55452004-05-04 Mark Kettenis <kettenis@gnu.org>
5546
6b57680d
MK
5547 * sun3-nat.c: Remove file.
5548 * Makefile.in (tm-sun3.h tm-altos.h tm-sun2.h tm-3b1.h): Remove
5549 dependencies.
5550 (ALLDEPFILES): Remove sun3-nat.c.
5551 (sun3-nat.o): Remove dependencies.
5552
29972665
MK
5553 * i386-interix-nat.c, i386-interix-tdep.c,
5554 config/i386/nm-interix.h, config/i386/interix.mh,
5555 config/i386/interix.mt: Remove files.
5556 * Makefile.in (i386-interix-nat.o, i386-interix-tdep.o): Remove
5557 dependencies.
5558
f595cb19
MK
55592004-05-03 Mark Kettenis <kettenis@gnu.org>
5560
5561 * m68k-tdep.h (struct gdbarch_tdep): Add member
5562 struct_value_regnum.
5563 (m68k_svr4_init_abi): New prototype.
5564 * m68k-tdep.c: Include "floatformat.h". Add comment about all the
5565 different calling conventions.
5566 (m68k_extract_return_value): Remove code dealing with single-field
5567 structs.
5568 (m68k_store_return_value): Remove code dealing with single-field
5569 structs. Correctly store return values of 5, 6, 7 or 8 bytes.
5570 (m68k_extract_struct_value_address): Remove function.
5571 (m68k_svr4_extract_return_value,m68k_svr4_store_return_value)
5572 (m68k_reg_struct_return_p, m68k_return_value)
5573 (m68k_svr4_return_value): New functions.
5574 (m68k_use_struct_convention): Remove function.
5575 (m68k_push_dummy_call): Use new struct_value_regnum member of
5576 `struct gdbarch_tdep' instead of hardcoded register number to
5577 store STRUCT_ADDR.
5578 (m68k_svr4_init_abi): New function.
5579 (m68k_gdbarch_init): Don't set extract_return_value,
5580 store_return_values, deprecated_extract_struct_value_address and
5581 use_struct_convention. Set return_value instead. Initialize new
5582 struct_value_regnum member of `struct gdbarch_tdep'.
5583 * m68klinux-tdep.c: Update copyright year.
5584 (m68k_linux_extract_return_value, m68k_linux_store_return_value)
5585 (m68k_linux_extract_struct_value_address): Remove function.
5586 (m68k_linux_init_abi): Don't set extract_return_value,
5587 store_return_values, deprecated_extract_struct_value_address and
5588 use_struct_convention. Call m68k_svr4_init_abi but override the
5589 new struct_value_regnum member of `struct gdbarch_tdep'.
5590 * Makefile.in (m68k-tdep.o): Update dependencies.
5591
aaa75496
JB
55922004-05-03 J. Brobecker <brobecker@gnat.com>
5593
5594 * dwarf2read.c (line_header): Add new included_p field in
5595 field file_names.
5596 (partial_die_info): New field has_stmt_list. New field line_offset.
5597 (dwarf2_create_include_psymtab): New function.
5598 (dwarf2_build_include_psymtabs): New function.
5599 (add_file_name): Add forward declaration. Initialize new field.
5600 (dwarf_decode_lines): Add new parameter. Enhance this procedure
5601 to be able to determine the list of files included by the
5602 given unit, and build their associated psymtabs.
5603 (dwarf2_build_psymtabs_hard): Build the psymtabs for the included
5604 files as well.
5605 (psymtab_to_symtab_1): Build the symtabs of all dependencies as well.
5606 (read_file_scope): Update call to dwarf_decode_lines.
5607 (read_partial_die): Handle DW_AT_stmt_list attributes.
5608
c848556f
MC
56092004-05-02 Michael Chastain <mec.gnu@mindspring.com>
5610
5611 Unfix PR gdb/1626.
5612 * configure.in: Revert special case for osf5.*.
5613 * configure: Regenerate.
5614
eb4556d7
JB
56152004-05-02 Jim Blandy <jimb@redhat.com>
5616
5617 Move the symbol-file-from-memory functions into their own file.
5618 * symfile-mem.c, symfile-mem.h: New files.
5619 * symfile.c (symbol_file_add_from_bfd): New function.
5620 (symbol_file_add): Call symbol_file_add_from_bfd.
5621 (symbol_file_add_from_memory, add_symbol_file_from_memory_command):
5622 Moved to symfile-mem.c.
5623 (_initialize_symfile): Move definition of
5624 add-symbol-file-from-memory command to symfile-mem.c.
5625 * symfile.h (symbol_file_add_from_bfd): New declaration.
5626 * config/i386/linux.mt (TDEPFILES): Add symfile-mem.o.
5627 * config/powerpc/linux.mt (TDEPFILES): Same.
5628 * Makefile.in (SFILES): Add symfile-mem.c.
5629 (symfile_mem_h): New variable.
5630 (HFILES_NO_SRCDIR): Add symfile-mem.h.
5631 (symfile-mem.o): New rule.
5632
80bb239e
AC
56332004-05-01 Andrew Cagney <cagney@redhat.com>
5634
7789d0fa
AC
5635 * breakpoint.c (insert_bp_location): Use get_frame_id, and
5636 frame_find_by_id instead of frame_relative_level.
5637 (do_enable_breakpoint): Ditto.
5638 * thread.c: Update copyright.
5639 (info_threads_command): Ditto, simplify.
5640
80bb239e
AC
5641 * frame.c (deprecated_generic_get_saved_register): Delete
5642 function, moved to "xstormy16-tdep.c".
5643 * xstormy16-tdep.c (xstormy16_get_saved_register): Inline
5644 deprecated_generic_get_saved_register from "frame.c".
5645 (xstormy16_frame_saved_register): Call
5646 xstormy16_get_saved_register.
5647 * dummy-frame.c (deprecated_find_dummy_frame_regcache): Make
5648 static.
5649 * dummy-frame.h (deprecated_find_dummy_frame_regcache): Delete.
5650 * frame.h (deprecated_generic_get_saved_register): Delete.
5651
b2a871dd
MC
56522004-05-01 Michael Chastain <mec.gnu@mindspring.com>
5653
5654 * dwarfread.c: Update documentation on the state of dwarf-1.
5655
0e100dab
AC
56562004-05-01 Andrew Cagney <cagney@redhat.com>
5657
acd8056e
AC
5658 * stack.c (select_frame_command): Delete call to
5659 frame_relative_level.
5660 (print_frame, set_backtrace_limit_command, backtrace_limit_info):
5661 Delete #if0 code.
5662 (frame_info): Do not print FRAMELESS.
5663 (print_block_frame_labels): Replace DEPRECATED_STREQ.
5664 (catch_info): Delete #if0 code.
5665
0e100dab
AC
5666 * frame.c (create_sentinel_frame): Set type to SENTINEL_FRAME.
5667 * dummy-frame.c (dummy_frame_this_id): Use get_frame_type, instead
5668 of frame_relative_level.
5669 * sentinel-frame.c (sentinel_frame_unwinder): Set unwinder's type
5670 to SENTINEL_FRAME.
5671 * frame.h (enum frame_type): Add SENTINEL_FRAME.
5672 * s390-tdep.c (s390_prologue_frame_unwind_cache): Delete calls to
5673 frame_relative_level.
5674
55699d59
AC
5675 * frame.h (deprecated_set_frame_type): Delete declaration.
5676 * frame.c (deprecated_set_frame_type): Delete function, update
5677 comments.
5678
fcf70625
AC
5679 * gdbarch.sh (DEPRECATED_PC_IN_SIGTRAMP): Delete.
5680 * gdbarch.h, gdbarch.c: Re-generate.
5681 * shnbsd-tdep.c (shnbsd_init_abi): Do not set pc_in_sigtramp.
5682 (shnbsd_pc_in_sigtramp): Delete.
5683 * i386-interix-tdep.c (i386_interix_init_abi): Do not set
5684 pc_in_sigtramp.
5685 * hppa-hpux-tdep.c (hppa_hpux_init_abi): Do not set
5686 pc_in_sigtramp.
5687 * frame.h: Update comments.
5688 * ppc-linux-tdep.c: Update comments.
5689 * breakpoint.c (bpstat_what): Update comments.
5690
ac5eccb7
AC
5691 * Makefile.in (m68klinux-tdep.o, m68klinux-nat.o): Fix
5692 m68klinux-tdep.o's dependencies, were previously added to
5693 m68klinux-nat.o.
5694
f2524b93
AC
5695 * alpha-tdep.c (alpha_sigtramp_frame_sniffer): Use pc_in_sigtramp.
5696 * alpha-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp.
5697 * alphafbsd-tdep.c (alphafbsd_init_abi): Update.
5698 * alpha-osf1-tdep.c (alpha_osf1_init_abi): Update.
5699 * alpha-linux-tdep.c (alpha_linux_init_abi): Update.
5700
17e20bce
AC
5701 * Makefile.in (m68klinux-nat.o): Update dependencies.
5702 * m68klinux-tdep.c: Include "trad-frame.h" and "frame-unwind.h".
5703 (m68k_linux_sigtramp_frame_cache)
5704 (m68k_linux_sigtramp_frame_this_id)
5705 (m68k_linux_sigtramp_frame_prev_register)
5706 (m68k_linux_sigtramp_frame_unwind)
5707 (m68k_linux_sigtramp_frame_sniffer)
5708 (struct m68k_linux_sigtramp_info, m68k_linux_init_abi): Code from
5709 m68k-tdep.h and m68k-tdep.c, add "linux" to function and variable
5710 names, use trad-frame.h.
5711 * m68k-tdep.h (struct gdbarch_tdep): Delete get_sigtramp_info.
5712 (struct m68k_sigtramp_info): Delete.
5713 * m68k-tdep.c (m68k_sigtramp_frame_cache)
5714 (m68k_sigtramp_frame_this_id, m68k_sigtramp_frame_prev_register)
5715 (m68k_sigtramp_frame_unwind, m68k_sigtramp_frame_sniffer)
5716 (m68k_gdbarch_init): Delete all the sigtramp code, moved to
5717 "m68klinux-tdep.c".
5718
c8864fa2
AC
5719 * infrun.c (check_sigtramp2): Delete check for
5720 DEPRECATED_PC_IN_SIGTRAMP and INNER_THAN.
5721
511dd2cd
MK
57222004-05-01 Mark Kettenis <kettenis@gnu.org>
5723
5724 * m68k-tdep.h (m68kbsd_fpreg_offset): New prototype.
5725
8c6b0e06
AC
57262004-05-01 Andrew Cagney <cagney@redhat.com>
5727
9df0bb3f
AC
5728 * frv-linux-tdep.c: Include "trad-frame.h" and "frame-unwind.h".
5729 (frv_linux_sigtramp_frame_cache)
5730 (frv_linux_sigtramp_frame_this_id)
5731 (frv_linux_sigtramp_frame_prev_register)
5732 (frv_linux_sigtramp_frame_unwind)
5733 (frv_linux_sigtramp_frame_sniffer): Copied from frv-tdep.c,
5734 include "linux" in function and variable names, directly call
5735 frv_linux_pc_in_sigtramp and frv_linux_sigcontext_reg_addr, use
5736 the latest trad-frame code.
5737 (frv_linux_init_abi): Append frv_linux_sigtramp_frame_sniffer, do
5738 not set frv_sigcontext_reg_addr or deprecated_pc_in_sigtramp
5739 * Makefile.in (frv-linux-tdep.o): Update dependencies.
5740 * frv-tdep.h (frv_set_sigcontext_reg_addr): Delete declaration.
5741 * frv-tdep.c (frv_sigtramp_frame_cache)
5742 (frv_sigtramp_frame_this_id, frv_sigtramp_frame_prev_register)
5743 (frv_sigtramp_frame_unwind, frv_sigtramp_frame_sniffer): Moved to
5744 frv-linux-tdep.c.
5745 (frv_gdbarch_init): Do not append a sigtramp sniffer.
5746 (struct gdbarch_tdep): Delete sigcontext_reg_addr.
5747 (frv_set_sigcontext_reg_addr): Delete function.
5748
8c6b0e06
AC
5749 * gdbarch.sh (DEPRECATED_SIGTRAMP_START)
5750 (DEPRECATED_SIGTRAMP_END): Delete.
5751 * gdbarch.h, gdbarch.c: Re-generate.
5752 * arch-utils.c (legacy_pc_in_sigtramp): Simplify.
5753 * config/vax/tm-vaxbsd.h: Update copyright.
5754 (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete.
5755 (DEPRECATED_IN_SIGTRAMP): Define.
5756 * config/m68k/tm-nbsd.h: Update copyright.
5757 (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete.
5758 (DEPRECATED_IN_SIGTRAMP): Define.
5759
50ea7769
MK
57602004-05-01 Mark Kettenis <kettenis@gnu.org>
5761
03ac2a74
MK
5762 * dwarf2-frame.c (read_encoded_value): Handle DW_EH_PE_funcrel
5763 encondings. Fixes PR gdb/1628.
5764
50ea7769
MK
5765 * dwarf2-frame.c (execute_cfa_program): Complain if we encounter a
5766 DW_CFA_restore state without a matching DW_CFA_remember_state
5767 instead of aborting. Fixes PR backtrace/1589.
5768
9a5d7be1
JB
57692004-04-30 Joel Brobecker <brobecker@gnat.com>
5770
5771 * MAINTAINERS: Add self as AIX maintainer.
5772 Update my e-mail address in write-after-approval section.
5773
2593d1cd
AC
57742004-04-30 Andrew Cagney <cagney@redhat.com>
5775
ce12bbf9
AC
5776 * frame.c (frame_type_from_pc): Delete call to PC_IN_SIGTRAMP.
5777 (legacy_get_prev_frame): Ditto.
5778
36710c63
AC
5779 * mips-tdep.c (mips_pc_in_sigtramp): Delete.
5780 (mips_gdbarch_init): Do not set pc_in_sigtramp.
5781 * mipsread.c (sigtramp_address): Delete extern variable.
5782 (mipscoff_new_init): Delete reference.
5783 * mdebugread.c (sigtramp_address, sigtramp_end): Delete variables.
5784 (fixup_sigtramp): Delete function.
5785 * config/mips/tm-mips.h (sigtramp_address, sigtramp_end)
5786 (fixup_sigtramp): Delete declarations.
5787
2593d1cd
AC
5788 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Do not set
5789 deprecated_pc_in_sigtramp.
5790 (ppcnbsd_pc_in_sigtramp): Delete function.
5791
2a25f91c
MK
57922004-05-01 Mark Kettenis <kettenis@gnu.org>
5793
5794 * config/m68k/nm-nbsd.h: Tweak comments.
5795 * config/m68k/nm-nbsdaout.h: Likewise.
5796
0b281939
AC
57972004-04-30 Andrew Cagney <cagney@redhat.com>
5798
5799 * arm-tdep.c (arm_sigtramp_unwind_sniffer): Call
5800 legacy_pc_in_sigtramp.
5801 * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Ditto.
5802
8f2d3ea0
MK
58032004-05-01 Mark Kettenis <kettenis@gnu.org>
5804
5805 Add OpenBSD/m68k support.
5806 * NEWS (New native configurations): Mention OpenBSD/m68k.
5807 * m68kbsd-tdep.c: New file.
5808 * m68kbsd-nat.c: New file.
5809 * Makefile.in (ALLDEPFILES): Add m68kbsd-nat.c and m68kbsd-tdep.c.
5810 (m68kbsd-nat.o, m68kbsd-tdep.o): New dependencies.
5811 * configure.host: Add m68k-*-openbsd.
5812 * configure.tgt: Add m68k-*-openbsd.
5813 * config/m68k/tm-obsd.h: New file.
5814 * config/m68k/obsd.mt: New file.
5815 * config/m68k/obsd.mh: New file.
5816 * config/djgpp/fnchange.lst: Add entries for m68kbsd-nat.c and
5817 m68kbsd-tdep.c.
5818
c40f49a4
AC
58192004-04-30 Andrew Cagney <cagney@redhat.com>
5820
5821 * mipsnbsd-tdep.c (mipsnbsd_pc_in_sigtramp): Delete function.
5822 (mipsnbsd_init_abi): Do not set pc_in_sigtramp.
5823
e81554cd
MK
58242004-04-30 Mark Kettenis <kettenis@gnu.org>
5825
5826 * m68k-tdep.c (REMOTE_BPT_VECTOR): Remove define.
5827 * config/m68k/tm-nbsd.h (REMOTE_BPT_VECTOR): Remove define.
5828
d4dc1a91
BF
58292004-04-30 Brian Ford <ford@vss.fsi.com>
5830
5831 Revert 2004-04-16 change.
5832 * i386-tdep.c (i386_gdbarch_init): Fix comment typos.
5833 (i386_coff_init_abi): Remove.
5834 * i386-tdep.h (i386_coff_init_abi): Remove.
5835 * i386-cygwin-tdep.c (i386_cygwin_init_abi): Remove call to above.
5836
2f72f850
AC
58372004-04-30 Andrew Cagney <cagney@redhat.com>
5838
e492f9d6
AC
5839 * blockframe.c (find_pc_partial_function): Delete use of
5840 DEPRECATED_PC_IN_SIGTRAMP, DEPRECATED_SIGTRAMP_START and
5841 DEPRECATED_SIGTRAMP_END.
5842
7b7adad0
AC
5843 * config/mips/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Delete.
5844 * config/mips/tm-irix6.h (DEPRECATED_IN_SIGTRAMP): Delete.
5845 * config/mips/tm-nbsd.h: Delete undef DEPRECATED_IN_SIGTRAMP.
5846 * config/mips/tm-irix5.h (DEPRECATED_IN_SIGTRAMP): Delete.
5847 * config/arm/tm-embed.h (DEPRECATED_IN_SIGTRAMP): Delete.
5848
2f72f850
AC
5849 * defs.h (deprecated_inside_entry_file): Delete declaration.
5850 * blockframe.c (deprecated_inside_entry_file): Delete function.
5851 (legacy_frame_chain_valid): Delete call.
5852 * sh64-tdep.c (sh64_frame_chain): Delete call.
5853 * objfiles.h: Update comments.
5854 * i386-interix-tdep.c (i386_interix_frame_chain_valid): Delete
5855 call.
5856 * frame.c (get_prev_frame): Delete call, update comments.
5857
283f90a7
BF
58582004-04-30 Brian Ford <ford@vss.fsi.com>
5859
5860 * MAINTAINERS (Write After Approval): Add myself.
5861
8ee56bcf
AC
58622004-04-30 Andrew Cagney <cagney@redhat.com>
5863
5864 * gdbarch.sh (BELIEVE_PCC_PROMOTION_TYPE): Delete.
5865 * gdbarch.h, gdbarch.c: Re-generate.
5866 * stabsread.c (define_symbol): Delete BELIEVE_PCC_PROMOTION_TYPE
5867 code.
5868
ee27e1b6
AC
58692004-04-30 Andrew Cagney <cagney@redhat.com>
5870
5871 * gdb-events.sh (selected_thread_changed)
5872 (selected_frame_level_changed, target_changed): Delete.
5873 * gdb-events.h, gdb-events.c: Re-generate.
5874 * valops.c (value_assign): Update.
5875 * stack.c (select_frame_command, up_silently_base)
5876 (down_silently_base): Update.
5877
d5ac5a39
AC
58782004-04-29 Andrew Cagney <cagney@redhat.com>
5879
5880 * mips-tdep.c (mips_register_type): Re-write, handle 32-bit ABI
5881 registers correctly.
5882 (print_gp_register_row, mips32_heuristic_proc_desc)
5883 (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call)
5884 (mips_o64_push_dummy_call, mips_eabi_push_dummy_call): Eliminate
5885 references to mips_isa_regsize.
5886
ceae6e75
AC
58872004-04-29 Andrew Cagney <cagney@redhat.com>
5888
5889 * mips-tdep.c (struct gdbarch_tdep): Delete
5890 mips_fp_register_double.
5891 (FP_REGISTER_DOUBLE): Delete macro, replace with test for
5892 mips_abi_regsize.
5893 (mips_gdbarch_init): Do not set mips_fp_register_double.
5894 (mips_dump_tdep): Do not print FP_REGISTER_DOUBLE.
5895
a587af0b
AC
58962004-04-29 Joel Brobecker <brobecker@gnat.com>
5897
5898 Committed by Andrew Cagney.
5899 * infrun.c (handle_inferior_event): Rely on frame IDs to detect
5900 function calls.
5901
13326b4e
AC
59022004-04-29 Andrew Cagney <cagney@redhat.com>
5903
5904 * mips-tdep.c (mips_abi_regsize): Replace tdep parameter with
5905 gdbarch, use mips_abi, update callers.
5906 (mips_stack_argsize): Replace tdep parameter with gdbarch, use
5907 mips_abi_regsize, update callers.
5908 (struct gdbarch_tdep): Delete mips_default_stack_argsize and
5909 mips_default_abi_regsize.
5910 (mips_gdbarch_init): Do not set mips_default_stack_argsize and
5911 mips_default_abi_regsize.
5912
711cc5cd
AC
59132004-04-29 Andrew Cagney <cagney@redhat.com>
5914
1b13c4f6
AC
5915 * mips-tdep.c (mips_abi_regsize): Rename mips_saved_regsize.
5916 (mips_abi_regsize_string): Rename mips_saved_regsize_string.
5917 (struct gdbarch_tdep): Rename mips_default_saved_regsize to
5918 mips_default_abi_regsize.
5919 (mips_isa_regsize): Rename mips_regisze.
5920 * mipsnbsd-tdep.c: Update.
5921 * mips-linux-tdep.c: Update.
5922 * irix5-nat.c: Update.
5923 * mips-tdep.h (mips_isa_regsize): Update.
5924
711cc5cd
AC
5925 * gdb-events.sh (WITH_GDB_EVENTS): Delete macro and references.
5926 Delete all disabled code.
5927 * gdb-events.h, gdb-events.c: Re-generate.
5928
e63bbc88
MK
59292004-04-19 Jerome Guitton <guitton@gnat.com>
5930 Mark Kettenis <kettenis@gnu.org>
5931
5932 * i386-tdep.c (i386_skip_prologue): follow the last jump only if
5933 the function begins with a branch instruction.
5934
fd35795f
MK
59352004-04-29 Mark Kettenis <kettenis@gnu.org>
5936
5937 * i386-tdep.c: Fix spelling mistakes.
5938
c960c18f
AC
59392004-04-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5940 Andrew Cagney <cagney@redhat.com>
5941
5942 * configure.in (mips-sgi-irix5*): Define _KMEMUSER for
5943 <sys/proc.h>.
5944 * acconfig.h: Provide default _KMEMUSER value.
5945 * config.in, configure: Re-generate.
5946 * NEWS: Mention fix.
5947
50306a9d
RC
59482004-04-24 Randolph Chung <tausq@debian.org>
5949
5950 * configure.host (hppa*-*-linux*): New target.
5951 * configure.tgt (hppa*-*-linux*): Likewise.
5952 * hppa-tdep.c (hppa_gdbarch_init): Set cannot_fetch_register, move
5953 gdbarch_init_osabi() call earlier so that osabi-specific frame
5954 unwinders can be registered first.
5955 * config/djgpp/fnchange.lst: Add entries for hppa-linux-tdep.c and
5956 hppa-linux-nat.c.
5957 * config/pa/tm-hppa.h (ISR_REGNUM, PID0_REGNUM, PID1_REGNUM)
5958 (PID2_REGNUM, PID3_REGNUM): Add definitions of some register numbers.
5959 * config/pa/linux.mh: New file.
5960 * config/pa/linux.mt: New file.
5961 * config/pa/nm-linux.h: New file.
5962 * config/pa/xm-linux.h: New file.
5963 * hppa-linux-nat.c: New file.
5964 * hppa-linux-tdep.c: New file.
5965
2a6228ef
RC
59662004-04-28 Randolph Chung <tausq@debian.org>
5967
5968 * hppa-tdep.c (hppa32_return_value): Handle both 4- and 8-byte fp
5969 return values.
5970 (hppa32_push_dummy_call): Fix small struct and floating point argument
5971 passing, and make sure the stack frame is properly aligned.
5972
82c10df6
AC
59732004-04-28 Andrew Cagney <cagney@redhat.com>
5974
d762c46a
AC
5975 * stack.c (print_stack_frame): Fix description.
5976
82c10df6
AC
5977 * NEWS: Mention gdb/gdbserver/configure execute permission
5978 changed. PR server/519.
5979
0faf0076
AC
59802004-04-28 Andrew Cagney <cagney@redhat.com>
5981
5982 * stack.c (print_stack_frame_stub): Delete declaration.
5983 (struct print_stack_frame_args, print_stack_frame)
5984 (print_frame_info, print_frame): Replace "source" with print what.
5985 Replace "print" with "print_level". Replace "args" with
5986 "print_args".
5987 * frame.h (show_and_print_stack_frame, print_stack_frame)
5988 (print_frame_info): Update declarations.
5989 * stack.c (select_and_print_frame, frame_command)
5990 (current_frame_command, up_command, down_command): Update calls -
5991 use get_selected_frame, pass "enum print_what" for source, do not
5992 call frame_relative_level.
5993 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Ditto.
5994 * remote-rdp.c (remote_rdp_open): Ditto.
5995 * remote-mips.c (common_open): Ditto.
5996 * remote-e7000.c (e7000_start_remote): Ditto.
5997 * ocd.c (ocd_start_remote): Ditto.
5998 * mi/mi-main.c (mi_cmd_exec_return): Ditto.
5999 * infrun.c (normal_stop): Ditto.
6000 * inflow.c (kill_command): Ditto.
6001 * infcmd.c (finish_command): Ditto.
6002 * corelow.c (core_open): Ditto.
6003 * tracepoint.c (finish_tfind_command): Ditto.
6004 * thread.c (info_threads_command, info_threads_command)
6005 (restore_current_thread, do_captured_thread_select): Ditto.
6006 * ada-tasks.c (task_command): Ditto.
6007
f4c5303c
OF
60082004-04-26 Orjan Friberg <orjanf@axis.com>
6009
6010 * frame.c: Include "observer.h".
6011 (frame_observer_target_changed): New function.
6012 (_initialize_frame): Attach target_changed observer.
6013 * regcache.c: Include "observer.h".
6014 (regcache_observer_target_changed): New function.
6015 (_initialize_regcache): Attach target_changed observer.
6016 * valops.c: Include "observer.h".
6017 (value_assign): Notify target_changed event when modifying register.
6018 * Makefile.in (frame.o, regcache.o, valops.o): Add $(observer_h).
6019
7270d8f2
OF
60202004-04-26 Orjan Friberg <orjanf@axis.com>
6021
6022 From Paul Koning <pkoning@equallogic.com>:
6023 * breakpoint.c (free_valchain): New function.
6024 (insert_bp_location, delete_breakpoint): Use free_valchain.
6025 (remove_breakpoint): Do not remove the valchain.
6026 (bpstat_stop_status): If not stopped by watchpoint, skip
6027 watchpoints when generating stop status list.
6028 * infrun.c (handle_inferior_event): Make
6029 stepped_after_stopped_by_watchpoint a global variable.
6030 * remote.c (remote_stopped_data_address): Return watch data
6031 address rather than zero if stepped_after_stopped_by_watchpoint is
6032 set.
6033
02d62932
MC
60342004-04-25 Michael Chastain <mec.gnu@mindspring.com>
6035
6036 Fix PR gdb/1626.
6037 * configure.in: Check for curses after termcap.
6038 On osf5.*, do not check for ncurses.
6039 * configure: Regenerate.
6040
3e9a183c
MK
60412004-04-25 Mark Kettenis <kettenis@gnu.org>
6042
c79ac407
MK
6043 * ppcobsd-nat.c: Include "ppc-tdep.h".
6044 * Makefile.in (ppcobsd-nat.o): Update dependencies.
6045
3e9a183c
MK
6046 * stack.c (return_command): Use CHECK_TYPEDEF on the return type.
6047 Fixes PR tdep/1623 and PR tdep/1624.
6048
38cc9c28
MC
60492004-04-24 Michael Chastain <mec.gnu@mindspring.com>
6050
6051 * xmodem.h, xmodem.c: Remove files.
6052 * Makefile.in: Remove references to xmodem.h, xmodem.c.
6053
7f07c5b6
RC
60542004-04-23 Randolph Chung <tausq@debian.org>
6055
6056 * hppa-tdep.c (hppa_stub_unwind_cache, hppa_stub_frame_unwind_cache)
6057 (hppa_stub_frame_this_id, hppa_stub_frame_prev_register)
6058 (hppa_stub_frame_unwind, hppa_stub_unwind_sniffer): New stub unwinder
6059 for handling stackless frames.
6060 (hppa_gdbarch_init): Link in hppa_stub_unwind_sniffer.
6061
9f7194c3
RC
60622004-04-23 Randolph Chung <tausq@debian.org>
6063
6064 * hppa-tdep.c (hppa_frame_cache): Handle the case when frame unwind
6065 starts at a pc before the frame is created.
6066
dcff6009
JB
60672004-04-23 Joel Brobecker <brobecker@gnat.com>
6068
6069 * ChangeLog-2002: Fix year in one of the ChangeLog entries.
6070
40711ff1 60712004-04-23 Jerome Guitton <guitton@gnat.com>
65951cd9
JG
6072
6073 * rs6000-tdep.c (rs6000_extract_return_value): When extracting a float,
6074 use convert_typed_floating to get the appropriate format.
6075
abc485a1
RC
60762004-04-22 Randolph Chung <tausq@debian.org>
6077
6078 * hppa-tdep.h (find_unwind_entry, hppa_get_field, hppa_extract_5_load)
6079 (hppa_extract_5R_store, hppa_extract_5r_store, hppa_extract_17)
6080 (hppa_extract_21, hppa_extract_14, hppa_low_sign_extend)
6081 (hppa_sign_extend): Add prototype.
6082 * hppa-tdep.c (get_field, extract_5_load, extract_5R_store)
6083 (extract_5r_store, extract_17, extract_21, extract_14, low_sign_extend)
6084 (sign_extend): Rename with hppa_ prefix and make non-static. Other
6085 hppa targets will also use these functions.
6086 (find_unwind_entry): Remove prototype (moved to hppa-tdep.h).
6087 (hppa_in_solib_call_trampoline, hppa_in_solib_return_trampoline)
6088 (hppa_skip_trampoline_code): Move to hppa-hpux-tdep.c
6089 (hppa_gdbarch_init): Remove gdbarch setting of
6090 skip_trampoline_code, in_solib_call_trampoline and
6091 in_solib_return_trampoline.
6092 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline)
6093 (hppa64_hpux_in_solib_call_trampoline): New functions, split from
6094 hppa_in_solib_call_trampoline.
6095 (hppa_hpux_in_solib_return_trampoline, hppa_hpux_skip_trampoline_code):
6096 Moved from hppa-tdep.c.
6097 (hppa_hpux_init_abi): Set gdbarch for skip_trampoline_code,
6098 in_solib_call_trampoline and in_solib_return_trampoline.
6099
369aa520
RC
61002004-04-22 Randolph Chung <tausq@debian.org>
6101
6102 * hppa-tdep.c (hppa_debug): New variable.
6103 (find_unwind_entry, hppa_frame_cache): Add debug output.
6104 (_initialize_hppa_tdep): Add command to set debug flag.
6105
476be15e
AC
61062004-04-22 Andrew Cagney <cagney@redhat.com>
6107
6108 * ppcnbsd-tdep.c: Update copyright. Include "tramp-frame.h" and
6109 "trad-frame.h".
6110 (ppcnbsd_sigtramp_cache_init, ppcnbsd_sigtramp): Implement a NetBSD
6111 signal trampoline unwinder.
6112 (ppcnbsd_init_abi): Register ppcnbsd_sigtramp.
6113
d195bc9f
MK
61142004-04-22 Mark Kettenis <kettenis@gnu.org>
6115
6116 Add OpenBSD/powerpc support.
6117 * NEWS (New native configurations): Mention OpenBSD/powerpc.
6118 * ppc-tdep.h (struct ppc_reg_offsets): New structure.
6119 (ppc_supply_gregset, ppc_supply_fpregset, ppc_collect_gregset)
6120 (ppc_collect_fpregset): New prototypes.
6121 * ppcobsd-nat.c: New file.
6122 * ppcobsd-tdep.c: New file.
6123 * ppcobsd-tdep.h: New file.
6124 * rs6000-tdep.c: Include "regset.h".
6125 (ppc_supply_reg, ppc_collect_reg, ppc_supply_gregset)
6126 (ppc_supply_fpregset, ppc_collect_gregset, ppc_collect_fpregset):
6127 New functions.
6128 * Makefile.in (ALLDEPFILES): Add pccobsd-nat.c and ppcobsd-tdep.c.
6129 (ppcobsd-nat.o, ppcobsd-tdep.o): New dependencies.
6130 (rs6000-tdep.o): Update dependencies.
6131 * configure.host: Add powerpc-*-openbsd.
6132 * configure.tgt: Add powerpc-*-openbsd.
6133 * config/powerpc/obsd.mh: New file.
6134 * config/powerpc/nm-obsd.h: New file.
6135 * config/powerpc/obsd.mt: New file.
6136
6f14cc33
AC
61372004-04-22 Andrew Cagney <cagney@redhat.com>
6138
fcf29e5f
AC
6139 * frame.h (show_frame_info): Delete declaration.
6140
6f14cc33
AC
6141 * arm-tdep.c (arm_prologue_this_id): Delete redundant cycle test.
6142 * m68hc11-tdep.c (m68hc11_frame_this_id): Ditto.
6143 * m32r-tdep.c (m32r_frame_this_id): Ditto.
6144 * frv-tdep.c (frv_frame_this_id): Ditto.
6145 * avr-tdep.c (avr_frame_this_id): Ditto.
6146
e5786a5c
EZ
61472004-04-22 Elena Zannoni <ezannoni@redhat.com>
6148
6149 * MAINTAINERS: Drop maintenance of gdb.stabs, and linespec.c.
6150
26e75e5c
JB
61512004-04-22 Jim Blandy <jimb@redhat.com>
6152
6153 * ppc-linux-nat.c (ppc_register_u_addr): Don't assume that r0 is
6154 register number zero.
6155
d8d65dd3
MS
61562004-04-21 Michael Snyder <msnyder@redhat.com>
6157
6158 * mips-tdep.c (heuristic_proc_start):
6159 Warning() already prefixes "Warning: ".
6160
9a4105ab
AC
61612004-04-21 Andrew Cagney <cagney@redhat.com>
6162
6163 * annotate.h (deprecated_annotate_starting_hook)
6164 (deprecated_annotate_stopped_hook)
6165 (deprecated_annotate_exited_hook)
6166 (deprecated_annotate_signal_hook)
6167 (deprecated_annotate_signalled_hook): Deprecate.
6168 * tracepoint.h (deprecated_create_tracepoint_hook)
6169 (deprecated_delete_tracepoint_hook)
6170 (deprecated_modify_tracepoint_hook)
6171 (deprecated_trace_find_hook)
6172 (deprecated_trace_start_stop_hook): Deprecate.
6173 * target.h (deprecated_target_new_objfile_hook): Deprecate.
6174 * remote.h (deprecated_target_resume_hook)
6175 (deprecated_target_wait_loop_hook): Deprecate.
6176 * gdbcore.h (deprecated_exec_file_display_hook)
6177 (deprecated_file_changed_hook): Deprecate.
6178 * frame.h (deprecated_selected_frame_level_changed_hook): Deprecate.
6179 * defs.h (deprecated_modify_breakpoint_hook)
6180 (deprecated_command_loop_hook, deprecated_show_load_progress)
6181 (deprecated_print_frame_info_listing_hook)
6182 (deprecated_query_hook, deprecated_warning_hook)
6183 (deprecated_flush_hook, deprecated_create_breakpoint_hook)
6184 (deprecated_delete_breakpoint_hook)
6185 (deprecated_interactive_hook, deprecated_registers_changed_hook)
6186 (deprecated_readline_begin_hook, deprecated_readline_hook)
6187 (deprecated_readline_end_hook, deprecated_register_changed_hook)
6188 (deprecated_memory_changed_hook, deprecated_init_ui_hook)
6189 (deprecated_context_hook, deprecated_target_wait_hook)
6190 (deprecated_attach_hook, deprecated_detach_hook)
6191 (deprecated_call_command_hook, deprecated_set_hook)
6192 (deprecated_error_hook, deprecated_error_begin_hook)
6193 (deprecated_ui_load_progress_hook): Deprecate.
6194 * valops.c, uw-thread.c, utils.c, tui/tui-io.c: Update.
6195 * tui/tui-hooks.c, tracepoint.c, top.c, thread-db.c: Update.
6196 * target.c, symfile.c, stack.c, sol-thread.c, rs6000-nat.c: Update.
6197 * remote.c, remote-mips.c, regcache.c, mi/mi-interp.c: Update.
6198 * main.c, interps.c, infcmd.c, hpux-thread.c, frame.c: Update.
6199 * exec.c, dsrec.c, d10v-tdep.c, corefile.c, complaints.c: Update.
6200 * cli/cli-script.c, cli/cli-setshow.c, breakpoint.c: Update.
6201 * annotate.c, aix-thread.c: Update.
6202
62cf13cc
AC
62032004-04-21 Andrew Cagney <cagney@redhat.com>
6204
b2e31a62
AC
6205 * Makefile.in (vaxnbsd-tdep.o): Update dependencies.
6206 * vaxnbsd-tdep.c: Include "gdb_string.h".
6207
62cf13cc
AC
6208 * symfile.c (symbol_file_add_from_memory): #if 0 function.
6209 (add_symbol_file_from_memory_command): #if 0 function body, call
6210 error instead.
6211
00e32a35
AC
62122004-04-21 Andrew Cagney <cagney@redhat.com>
6213
6214 * gdbcore.h: Update copyright.
6215 (deprecated_add_core_fns): Rename add_core_fns.
6216 * win32-nat.c (_initialize_core_win32): Update.
6217 * sun3-nat.c (_initialize_core_sun3): Update.
6218 * shnbsd-tdep.c (_initialize_shnbsd_tdep): Update.
6219 * rs6000-nat.c (_initialize_core_rs6000): Update.
6220 * ppcnbsd-tdep.c (_initialize_ppcnbsd_tdep): Update.
6221 * nto-tdep.c (_initialize_nto_tdep): Update.
6222 * ns32knbsd-nat.c (_initialize_ns32knbsd_nat): Update.
6223 * mipsnbsd-tdep.c (_initialize_mipsnbsd_tdep): Update.
6224 * mips-nat.c (_initialize_core_mips): Update.
6225 * mips-linux-tdep.c (_initialize_mips_linux_tdep): Update.
6226 * m68knbsd-nat.c (_initialize_m68knbsd_nat): Update.
6227 * m68klinux-nat.c (_initialize_m68k_linux_nat): Update.
6228 * lynx-nat.c (_initialize_core_lynx): Update.
6229 * irix5-nat.c (_initialize_core_irix5): Update.
6230 * i386-interix-nat.c (_initialize_core_interix): Update.
6231 * cris-tdep.c (_initialize_cris_tdep): Update.
6232 * corelow.c (deprecated_add_core_fns): Update.
6233 * core-regset.c (_initialize_core_regset): Update.
6234 * core-aout.c (_initialize_core_aout): Update.
6235 * armnbsd-nat.c (_initialize_arm_netbsd_nat): Update.
6236 * alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Update.
6237 * alpha-nat.c (_initialize_core_alpha): Update.
6238
13c7b1ca
JB
62392004-04-21 Jim Blandy <jimb@redhat.com>
6240
6241 * rs6000-tdep.c (registers_e500, registers_7400): Doc fixes.
6242
7b5a2f43
DJ
62432004-04-19 Daniel Jacobowitz <drow@mvista.com>
6244
6245 * dwarf2read.c (dwarf2_tmp_obstack, dwarf2_free_tmp_obstack):
6246 Delete.
6247 (dwarf_alloc_block): Take a CU argument. Use the comp_unit_obstack.
6248 (read_attribute_value): Update calls to dwarf_alloc_block.
6249 (dwarf2_build_psymtabs_hard): Don't initialize or clean up
6250 dwarf2_tmp_obstack.
6251 (psymtab_to_symtab_1): Likewise. Clean up using
6252 free_stack_comp_unit.
6253 (add_to_cu_func_list): Use the comp_unit_obstack.
6254
05cf31d1
JB
62552004-04-19 Joel Brobecker <brobecker@gnat.com>
6256
6257 * dwarf2read.c (dwarf2_flag_true_p): New function.
6258 (die_is_declaration): Use the function above. Add some comments.
6259
adf93a2f
MK
62602004-04-19 Mark Kettenis <kettenis@gnu.org>
6261
6262 * sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Specify
6263 architecture when registering sparcnbsd_core_osabi_sniffer.
6264 Adjust comment.
6265
748894bf
MK
62662004-04-18 Mark Kettenis <kettenis@gnu.org>
6267
f622ad42
MK
6268 * infcall.c (find_function_addr): Add FUNCTION_START_OFFSET to
6269 return value.
6270
c4fc7f1b
MK
6271 Based on a patch from Brian Ford <ford@vss.fsi.com>:
6272 * i386-tdep.c: Correct register numbering scheme comments
6273 throughout.
6274 (i386_stab_reg_to_regnum): Rename to i386_dbx_reg_to_regnum.
6275 (i386_dwarf_reg_to_regnum): Rename to i386_svr4_reg_to_regnum.
6276 (i386_coff_init_abi, i386_elf_init_abi): Accomodate renames above.
6277 (i386_gdb_arch_init): Likewise.
6278
b4ead1bd
MK
6279 * Makefile.in (ALLDEPFILES): List ppc-sysv-tdep.c, ppcnbsd-nat.c
6280 and ppcnbsd-tdep.c instead of ppc-sysv-tdep.o, ppcnbsd-nat.o and
6281 ppcnbsd-tdep.o.
6282
748894bf
MK
6283 * m68k-tdep.h: Tweak comments.
6284 * m68k-tdep.c: Tweak comment.
6285
fdd72f95
RC
62862004-04-17 Randolph Chung <tausq@debian.org>
6287
6288 * Makefile.in (hppa-hpux-tdep.o): Add $(hppa_tdep_h).
6289 * hppa-hpux-tdep.c (hppa-tdep.h): Include.
6290 (hppa_hpux_som_init_abi): Set is_elf to 0.
6291 (hppa_hpux_elf_init_abi): Set is_elf to 1.
6292 * hppa-tdep.c (low_text_segment_address): Remove global.
6293 (record_text_segment_lowaddr): Pass in low address as parameter. Use
6294 section offset to calculate segment address.
6295 (internalize_unwinds): Define low_text_segment_address as local and
6296 pass to record_text_segment_lowaddr for ELF targets.
6297 (hppa_gdbarch_init): Zero fill tdep structure.
6298 (hppa_dump_tdep): Print tdep structure.
6299 * hppa-tdep.h (gdbarch_tdep): Add is_elf member to tdep structure.
6300
0f8d9d59
RC
63012004-04-17 Randolph Chung <tausq@debian.org>
6302
6303 * hppa-tdep.c (hppa_pseudo_register_read): Define.
6304 (hppa_gdbarch_init): Set pseudo_register_read.
6305 * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Remove.
6306 * regcache.c (supply_register): Remove check for
6307 DEPRECATED_CLEAN_UP_REGISTER_VALUE since we've removed the last user.
6308
7c46b9fb
RC
63092004-04-17 Randolph Chung <tausq@debian.org>
6310
6311 * Makefile.in (hpread.o, pa64solib.o, somsolib.o): Add $(hppa_tdep_h)
6312 * hppa-tdep.h (INSTRUCTION_SIZE): Move from tm-hppa.h.
6313 (hpread_adjust_stack_address): Move to hpread.c.
6314 * hppa-tdep.h (unwind_table_entry, unwind_stub_types, obj_unwind_info,
6315 obj_private_struct): Move from tm-hppa.h.
6316 * hpread.c (hppa-tdep.h): Include.
6317 (hpread_adjust_stack_address): Move from hppa-tdep.c.
6318 (hpread_read_function_type, hpread_read_doc_function_type)
6319 (hpread_process_one_debug_symbol): Call hpread_adjust_stack_address
6320 directly.
6321 * pa64solib.c (hppa-tdep.h): Include.
6322 * somsolib.c (hppa-tdep.h): Include.
6323 * config/pa/tm-hppa.h (frame_info, frame_saved_regs, value, type,
6324 inferior_status): Remove unused forward declarations.
6325 (INSTRUCTION_SIZE): Move to hppa-tdep.c.
6326 (unwind_table_entry, unwind_stub_types, obj_unwind_info,
6327 obj_private_struct): Move to hppa-tdep.h.
6328 (HPREAD_ADJUST_STACK_ADDRESS): Remove.
6329
8d153463
RC
63302004-04-17 Randolph Chung <tausq@debian.org>
6331
6332 * hppa-tdep.c (hppa_reg_struct_has_addr, hppa_skip_prologue)
6333 (hppa_skip_trampoline_code, hppa_in_solib_call_trampoline)
6334 (hppa_in_solib_return_trampoline, hppa_cannot_store_register)
6335 (hppa_smash_text_address, hppa_target_read_pc, hppa_target_write_pc):
6336 Remove forward declaration and make static.
6337 (hppa_reg_struct_has_addr): Remove.
6338
350c2e5b
JB
63392004-04-16 Joel Brobecker <brobecker@gnat.com>
6340
6341 * observer.sh: Move comments in sed command to first column.
6342
bbde78fa
JM
63432004-04-16 Jason Molenda (jmolenda@apple.com)
6344
6345 * frame.c: Minor typeo corrections in comments.
6346
e0270fd9
JB
63472004-04-16 Joel Brobecker <brobecker@gnat.com>
6348
6349 * observer.c (observer_test_first_notification_function): Update
6350 function profile.
6351 (observer_test_second_notification_function): Likewise.
6352 (observer_test_third_notification_function): Likewise.
6353
3d049254
MK
63542004-04-16 Mark Kettenis <kettenis@gnu.org>
6355
6356 From Brian Ford <ford@vss.fsi.com>:
6357 * i386-tdep.c (i386_coff_init_abi): New function.
6358 * i386-tdep.h (i386_coff_init_abi): New prototype.
6359 * i386-cygwin-tdep.c (i386_cygwin_init_abi): Call it. Use correct
6360 register number translation functions for DWARF and DWARF 2.
6361
7867684d
JB
63622004-04-16 Joel Brobecker <brobecker@gnat.com>
6363
6364 * dwarf2read.c: Back out my previous change, it was incorrect.
6365
72bf9492
DJ
63662004-04-16 Daniel Jacobowitz <drow@mvista.com>
6367
6368 * dwarf2read.c: Include "hashtab.h".
6369 (struct dwarf2_cu): Add partial_dies, comp_unit_obstack,
6370 has_namespace_info.
6371 (struct partial_die_info): Add comments. Use bitfields to reduce
6372 memory footprint. Add scope, scope_set, has_specification,
6373 spec_offset, die_parent, die_child, and die_sibling.
6374 (peek_die_abbrev): Add prototype.
6375 (partial_read_comp_unit_head): New function, broken out from
6376 dwarf2_build_psymtabs_hard.
6377 (dwarf2_build_psymtabs_hard): Remove unused variable abbrev_ptr.
6378 Use partial_read_comp_unit_head. Initialize the CU and
6379 comp_unit_obstack. Update calls to read_partial_die and
6380 scan_partial_symbols. Use free_stack_comp_unit and
6381 load_partial_dies.
6382 (scan_partial_symbols): Change PDI to a pointer. Use the child and
6383 sibling pointers to walk partial DIEs. Call fixup_partial_die.
6384 Update calls to helper functions. Remove NAMESPACE argument.
6385 Update comments.
6386 (partial_die_parent_scope, partial_die_full_name): New functions.
6387 (add_partial_symbol): Remove namespace argument. Update call to
6388 pdi_needs_namespace. Use partial_die_full_name. Handle
6389 DW_TAG_namespace. Check has_namespace_info flag.
6390 (pdi_needs_namespace): Remove NAMESPACE argument. Just check the
6391 tag. Handle namespaces.
6392 (add_partial_namespace, add_partial_enumeration): Simplify.
6393 (guess_structure_name): New function, derived from
6394 add_partial_structure.
6395 (add_partial_structure): Remove.
6396 (determine_class_name): Update comment.
6397 (dwarf2_read_abbrevs): Set has_namespace_info flag.
6398 (is_type_tag_for_partial, load_partial_dies): New functions.
6399 (read_partial_die): Pass abbrev and abbrev_len as arguments.
6400 Record specifications instead of following them immediately.
6401 (find_partial_die_in_comp_unit, find_partial_die)
6402 (fixup_partial_die, free_stack_comp_unit)
6403 (hashtab_obstack_allocate, dummy_obstack_deallocate)
6404 (partial_die_hash, partial_die_eq): New functions.
6405 * Makefile.in (hashtab_h): Define.
6406 (dwarf2read.o): Update dependencies.
6407 (observer_inc, observer_h): Move to the correct section.
6408
fdc860a3
JB
64092004-04-15 Joel Brobecker <brobecker@gnat.com>
6410
6411 * dwarf2read.c (dwarf2_attribute_true_p): New function.
6412 (die_is_declaration): Use the function above. Add comment.
6413
dc718098
JB
64142004-04-15 Joel Brobecker <brobecker@gnat.com>
6415
6416 * dwarf2read.c (read_structure_scope): Identify stub types
6417 using die_is_declaration() only.
6418
8718a420
RM
64192004-04-15 Roland McGrath <roland@redhat.com>
6420
6421 * symfile.c (symbol_file_add_with_addrs_or_offsets): Take ABFD as
6422 argument instead of NAME.
6423 (symbol_file_add, reread_separate_symbols): Call symfile_bfd_open
6424 in call to symbol_file_add_with_addrs_or_offsets.
6425 (build_addr_info): New function, helper for ...
6426 (symbol_file_add_from_memory): New function.
6427 (add_symbol_file_from_memory_command): New function using that.
6428 (_initialize_symfile): Register it for add-symbol-file-from-memory.
6429 (pre_add_symbol_hook): Add const to argument type.
6430 * symfile.h (symbol_file_add_from_memory): Declare it.
6431
8b910bab
MK
64322004-04-15 Mark Kettenis <kettenis@gnu.org>
6433
9f076e7a
MK
6434 * NEWS (New native configurations): Mention OpenBSD/vax.
6435 * configure.host: Add vax-*-openbsd*.
6436 * config/vax/obsd.mh: New file.
6437 * config/vax/nm-obsd.h: New file.
6438
8b910bab
MK
6439 * vax-tdep.c: Include "regset.h".
6440 (vax_supply_gregset): New function.
6441 (vax_gregset): New variable.
6442 (vax_regset_from_core_section): New function.
6443 (vax_gdbarch_init): Set regset_from_core_section.
6444 * Makefile.in (vax-tdep.o): Update dependencies.
6445
7a464420
AC
64462004-04-15 Andrew Cagney <cagney@redhat.com>
6447
6448 * observer.c (normal_stop_subject, observer_notify_normal_stop)
6449 (observer_normal_stop_notification_stub)
6450 (observer_attach_normal_stop, observer_detach_normal_stop):
6451 Delete, replaced by #include "observer.inc".
6452 * infrun.c (normal_stop): Pass "stop_bpstat" to
6453 observer_notify_normal_stop.
6454 * Makefile.in (observer_inc): Define.
6455 (observer.o): Update dependencies.
6456 (observer.h, observer.inc): New rules.
6457 * observer.h: Delete file.
6458 * observer.sh: New file.
6459
e36ad527
MK
64602004-04-15 Mark Kettenis <kettenis@gnu.org>
6461
6462 * vax-tdep.c (vax_frame_cache): Fix typo.
6463
67b441e1
MK
64642004-04-14 Mark Kettenis <kettenis@gnu.org>
6465
6f606e1c
MK
6466 * NEWS (New native configurations): Mention NetBSD/vax.
6467 * configure.host: Add vax-*-netbsdelf* and vax-*-netbsd*.
6468 * config/vax/nbsdelf.mh: New file.
6469 * config/vax/nbsdaout.mh: New file.
6470 * config/vax/nm-nbsd.h: New file.
6471 * config/vax/nm-nbsdaout.h: New file.
6472
9c5519a5
MK
6473 * vaxnbsd-tdep.c: New file.
6474 * Makefile.in (vaxnbsd-tdep.o): New dependency.
6475 * configure.tgt: Add vax-*-netbsd* and vax-*-openbsd*.
6476 * config/vax/nbsd.mt: New file.
6477 * config/vax/tm-nbsd.h: New file.
6478
4844a614
MK
6479 * Makefile.in (vaxbsd-nat.o): New dependency.
6480
67b441e1
MK
6481 * vax-tdep.h (vax_regnum): Add VAX_R0_REGNUM and VAX_R1_REGNUM.
6482 * vax-tdep.c (vax_store_arguments): Remove struct_return and
6483 struct_addr arguments. Don't push return value address.
6484 (vax_push_dummy_call): Don't pass STRUCT_RETURN and STRUCT_ADDR as
6485 arguments to vax_store_arguments. Store return value address in
6486 R1.
6487 (vax_store_struct_return, vax_extract_return_value)
6488 (vax_store_return_value): Remove functions.
6489 (vax_return_value): New function.
6490 (vax_gdbarch_init): Set return value. Don't set
6491 deprecated_store_struct_return, deprecated_extract_struct_return
6492 and deprecated_store_return_value.
6493
6672f2ae
AS
64942004-04-14 Andreas Schwab <schwab@suse.de>
6495
6496 * ia64-tdep.c (ia64_libunwind_frame_prev_register): Handle null
6497 value buffer.
6498 * libunwind-frame.c (libunwind_frame_prev_register): Likewise.
6499
7346c184
MK
65002004-04-14 Mark Kettenis <kettenis@gnu.org>
6501
6502 * vax-tdep.c (vax_store_arguments, vax_push_dummy_call)
6503 (vax_unwind_dummy_id): New functions.
6504 (vax_push_dummy_frame, vax_pop_frame): Remove functions.
6505 (vax_call_dummy_words, sizeof_vax_call_dummy_words): Remove
6506 variables.
6507 (vax_fix_call_dummy): Remove function.
6508 (vax_gdbarch_init): Set push_dummy_call and unwind_dummy_id.
6509 Don't set deprecated_push_dummy_frame, deprecated_pop_frame,
6510 call_dummy_location, deprecated_call_dummy_words,
6511 deprecated_sizeof_call_dummy_words,
6512 deprecated_call_dummy_breakpoint_offset,
6513 deprecated_use_generic_dummy_frames, deprecated_pc_in_call_dummy,
6514 and deprecated_dummy_write_sp.
6515
58e23df4
DC
65162004-04-13 David Carlton <carlton@kealia.com>
6517
6518 * MAINTAINERS: Move myself to "paper trail" section.
6519
5e6b39ff
MK
65202004-04-12 Mark Kettenis <kettenis@gnu.org>
6521
7def7fef
MK
6522 * vax-tdep.c: Include "frame-base.h", "frame-unwind.h" and
6523 "trad-frame.h".
6524 (vax_frame_init_saved_regs): Remove function.
6525 (vax_sigtramp_saved_pc): Remove function.
6526 (vax_frame_saved_pc): Remove function.
6527 (vax_frame_args_address): Remove function.
6528 (vax_frame_num_args): Rewrite.
6529 (vax_frame_chain): Remove function.
6530 (vax_push_dummy_frame): Replace DEPRECATED_FP_REGNUM with
6531 VAX_FP_REGNUM.
6532 (vax_pop_frame): Likewise.
6533 (vax_saved_pc_after_call): Remove function.
6534 (struct vax_frame_cache): New structure.
6535 (vax_frame_cache): New function.
6536 (vax_frame_this_id): New function.
6537 (vax_frame_prev_register): New function.
6538 (vax_frame_unwind): New variable.
6539 (vax_frame_sniffer): New function.
6540 (vax_frame_base_address): New function.
6541 (vax_frame_args_address): New function.
6542 (vax_frame_base): New variable.
6543 (vax_unwind_pc): New function.
6544 (vax_gdbarch_init): Don't set deprecated_init_frame_pc,
6545 deprecated_fp_regnum, deprecated_saved_pc_after_call,
6546 deprecated_frame_chain, deprecated_frame_saved_pc,
6547 deprecated_frame_args_address and
6548 deprecated_frame_init_saved_regs.
6549 * Makefile.in (vax-tdep.o): Update dependencies.
6550
53284fc1
MK
6551 * vaxbsd-nat.c: New file.
6552
5e6b39ff
MK
6553 * vax-tdep.h: Update copyright year. Adjust comments.
6554 (VAX_REGISTER_SIZE, VAX_REGISTER_BYTES, VAX_MAX_REGISTER_RAW_SIZE,
6555 VAX_MAX_REGISTER_VIRTUAL_SIZE): Remove macros.
6556 (vax_regnum): New enum. Replacing...
6557 (VAX_AP_REGNUM, VAX_FP_REGNUM, VAX_SP_REGNUM, VAX_PC_REGNUM)
6558 (VAX_PS_REGNUM): ... these removed macros.
6559 * vax-tdep.c (vax_register_name): Remove prototype.
6560 (vax_register_name): Reorganize somewhat. Use ARRAY_SIZE.
6561 (vax_register_byte, vax_register_raw_size,
6562 vax_register_virtual_size, vax_register_virtual_type): Remove
6563 functions.
6564 (vax_register_type): New function.
6565 (vax_breakpoint_from_pc): Reorganize.
6566 (vax_gdbarch_init): Set register_type. Don't set
6567 deprecated_register_size, deprecated_register_bytes,
6568 deprecated_register_byte, deprecated_register_raw_size,
6569 deprecated_max_register_raw_size,
6570 deprecated_register_virtual_size,
6571 deprecated_max_register_virtual_size and
6572 deprecated_register_virtual_type. Add comment on stack direction.
6573
e9c71e9f
MK
65742004-04-11 Mark Kettenis <kettenis@gnu.org>
6575
6576 * amd64-tdep.h (amd64_regnum): Add AMD64_CS_REGNUM,
6577 AMD64_SS_REGNUM, AMD64_DS_REGNUM, AMD64_ES_REGNUM,
296bc76f 6578 AMD64_FS_REGNUM and AMD64_GS_REGNUM.
e9c71e9f 6579
d46f1176 65802004-04-10 Randolph Chung <tausq@debian.org>
8718a420 6581
d46f1176
RC
6582 * MAINTAINERS (write after approval): Add myself.
6583
a2a84a72
RC
65842004-04-07 Randolph Chung <tausq@debian.org>
6585
6586 * hppa-tdep.c (hppa_inner_than): Remove.
6587 (is_pa_2): Remove unused static variable.
8718a420 6588 (hppa_gdbarch_init): Use core_addr_greaterthan instead of own version.
a2a84a72 6589
e85c3284
PH
65902004-03-10 Paul N. Hilfinger <Hilfinger@gnat.com>
6591
6592 * language.h (language_defn): Add new la_post_parser field.
6593 * parser-defs.h (null_post_parser): New declaration (default for
6594 la_post_parser).
8718a420 6595
e85c3284
PH
6596 * parse.c (parse_exp_1): Move code to parse_exp_in_context and
6597 insert call to that function.
6598 (parse_exp_in_context): New function, including code formerly in
8718a420 6599 parse_exp_1. Calls language-dependent post-parser after
e85c3284
PH
6600 prefixification.
6601 (parse_expression_in_context): New exported function.
6602 (null_post_parser): New definition.
6603 * expression.h (parse_expression_in_context): Add declaration.
8718a420 6604
e85c3284
PH
6605 * p-lang.c (pascal_language_defn): Add trivial post-parser.
6606 * c-lang.c (c_language_defn): Ditto.
6607 (cplus_language_defn): Ditto.
6608 (asm_language_defn): Ditto.
6609 (minimal_language_defn): Ditto.
6610 * f-lang.c (f_language_defn): Ditto.
6611 * jv-lang.c (java_language_defn): Ditto.
6612 * language.c (unknown_language_defn): Ditto.
6613 (auto_language_defn): Ditto.
6614 (local_language_defn): Ditto.
6615 * m2-lang.c (m2_language_defn): Ditto.
6616 * scm-lang.c (scm_language_defn): Ditto.
6617 * obj-lang.c (objc_language_defn): Ditto.
8718a420 6618
d9f8c85b
MK
66192004-04-10 Mark Kettenis <kettenis@gnu.org>
6620
fa34704a
MK
6621 * amd64nbsd-tdep.c (amd64nbsd_sigcontext_addr): Remove function.
6622 (amd64nbsd_mcontext_addr): New function.
6623 (amd64nbsd_init_abi): Initialize TDEP->sigcontext_addr as
6624 amd64nbsd_mcontext_addr. Directly initialize TDEP->sc_reg_offset
6625 with amd64nbsd_r_reg_offset, instead of building it on the fly.
6626
403e1656
MK
6627 * corelow.c (core_xfer_partial): Fix coding standards violation.
6628 Add support for TARGET_OBJECT_WCOOKIE.
6629
a57e5a95
MK
6630 * sparc-linux-tdep.c (sparc32_linux_init_abi): Don't set
6631 deprecated_pc_in_sigtramp.
6632 * sparc-sol2-tdep.c (sparc32_sol2_init_abi): Likewise.
6633 * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Likewise.
6634 * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Likewise.
6635 * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Likewise.
6636 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Likewise.
6637 * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Likewise.
6638 * sparcobsd-tdep.c (sparc32obsd_init_abi): Likewise.
6639
377d9ebd
MK
6640 * amd64-linux-tdep.c, amd64nbsd-tdep.c, amd64obsd-tdep.c,
6641 i386-linux-tdep.c, i386-tdep.c, i386nbsd-tdep.c, i386obsd-tdep.c:
6642 Fix typo.
6643
f0ef85a5
MK
6644 * amd64-tdep.c (amd64_supply_fxsave): Only fiddle with
6645 I387_FISEG_REGNUM and I387_FOSEG_REGNUM in 64-bit mode.
6646 (amd64_collect_fxsave): Likewise.
6647
d9f8c85b
MK
6648 * i386-sol2-tdep.c: Include "gdb_string.h".
6649 (i386_sol2_sigtramp_p): Recognize signal trampoline based on its
6650 name.
6651 * Makefile.in (i386-sol2-tdep.o): Update dependencies.
6652
75f501b5
MK
66532004-04-10 Mark Kettenis <kettenis@gnu.org>
6654
6655 * i386-sol2-tdep.c: Include "solib-svr4.h".
6656 (i386_sol2_init_abi): Set solib_svr4_fetch_link_map_offsets.
6657 * Makefile.in (i386-sol2-tdep.o): Update dependencies.
6658 * config/i386/tm-i386sol2.h: Include :solib.h".
6659 * config/i386/i386sol2.mh (NATDEPFILES): Remove solib.o,
6660 solib-svr4.o and solib-legacy.o.
6661 * config/i386/i386sol2.mt (TDEPFILES): Add solib.o and
6662 solib-svr4.o.
6663
b31bc724
MK
66642004-04-09 Mark Kettenis <kettenis@gnu.org>
6665
18bbbd9e
MK
6666 * amd64-linux-nat.c (fetch_inferior_registers): Correctly check
6667 whether a register is supplied by PTRACE_GETFPREGS.
6668 (store_inferior_registers): Likewise.
6669 * amd64bsd-nat.c (fetch_inferior_registers): Correctly check
6670 whether a register is supplied by PT_GETFPREGS.
6671 (store_inferior_registers): Likewise.
6672
3c30bf1b
MK
6673 * config/i386/linux.mt (TDEPFILES): Remove solib-legacy.o.
6674 * config/i386/linux64.mt (TDEPFILES): Likewise.
6675
a4194092
MK
6676 * i386-linux-nat.c: Update copyrigth year. Tweak comment.
6677
911bc6ee
MK
6678 * amd64-tdep.c (amd64_sigtramp_frame_sniffer): Rewrite to use new
6679 sigtramp_p member of `struct gdbarch_tdep'. Also check whether
6680 the program counter is in the range specified by `struct
6681 gdbarch_tdep'.
6682 * amd64-linux-tdep.c: Include "symtab.h".
6683 (amd64_linux_pc_in_sigtramp): Remove function.
6684 (amd64_linux_sigtramp_p): New function.
6685 (amd64_linux_init_abi): Initialize TDEP->sigtramp_p. Don't set
6686 deprecated_pc_in_sigtramp.
6687 * amd64nbsd-tdep.c: Include "symtab.h".
6688 (amd64nbsd_sigtramp_p): New function.
6689 (amd64nbsd_init_abi): Initialize TDEP->sigtramp_p. Don't set
6690 deprecated_pc_in_sigtramp.
6691 * amd64obsd-tdep.c: Include "symtab.h" and "objfiles.h". Add a
6692 few comments.
6693 (amd64obsd_pc_in_sigtramp): Remove function.
6694 (amd64obsd_sigtramp_p): New function.
6695 (amd64obsd_init_abi): Initialize TDEP->sigtramp_p. Don't set
6696 deprecated_pc_in_sigtramp.
6697 * i386-tdep.h (struct gdbarch_tdep): Add sigtramp_p member.
6698 (i386bsd_pc_ins_sigtramp): Remove prototype.
6699 (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Remove prototypes.
6700 * i386-tdep.c (i386_sigtramp_frame_sniffer): Rewrite to use new
6701 sigtramp_p member of `struct gdbarch_tdep'. Also check whether
6702 the program counter is in the range specified by `struct
6703 gdbarch_tdep'.
6704 (i386_pc_in_sigtramp, i386_svr4_pc_in_sigtramp): Remove functions.
6705 (i386_sigtramp_p, i386_svr4_sigtramp_p): New functions.
6706 (i386_go32_pc_in_sigtramp): Remove function.
6707 (i386_svr4_init_abi): Don't set deprecated_pc_in_sigtramp.
6708 Initialize TDEP->sigtramp_p.
6709 (i386_go32_init_abi): Initialize TDEP->sigtramp_p to NULL.
6710 (i386_gdbarch_init): Initialize TDEP->sigtramp_p. Don't set
6711 deprecated_pc_in_sigtramp.
6712 * i386-linux-tdep.c: Adjust comments.
6713 (i386_linux_pc_in_sigtramp): Remove function.
6714 (i386_linux_sigtramp_p): New function.
6715 (i386_linux_init_abi): Initialize TDEP->sigtramp_p. Don't set
6716 deprecated_pc_in_sigtramp.
6717 * i386-nto-tdep.c: Update copyright year.
6718 (i386nto_pc_in_sigtramp): Remove function.
6719 (i386nto_sigtramp_p): New function.
6720 (i386nto_sigcontext_addr): Use I386_ESP_REGNUM instead of
6721 SP_REGNUM.
6722 (i386nto_init_abi): Initialize TDEP->sigtramp_p. Don't set
6723 deprecated_pc_in_sigtramp.
6724 * i386-sol2-tdep.c: Update copyright year.
6725 (i386_sol2_pc_in_sigtramp): Remove function.
6726 (i386_sol2_sigtramp_p): New function.
6727 (i386_sol2_init_abi): Initialize TDEP->sigtramp_p. Don't set
6728 deprecated_pc_in_sigtramp.
6729 * i386bsd-tdep.c (i386bsd_pc_in_sigtramp): Remove function.
6730 (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Remove functions.
6731 (i386bsd_init_abi): Don't set deprecated_pc_in_sigtramp,
6732 deprecated_sigtramp_start and deprecated_sigtramp_end.
6733 * i386nbsd-tdep.c: Include "frame.h" and "symtab.h".
6734 (i386nbsd_pc_in_sigtramp): Remove function.
6735 (i386nbsd_sigtramp_p): New function.
6736 (i386nbsd_init_abi): Don't set deprecated_pc_in_sigtramp,
6737 deprecated_sigtramp_start, deprecated_sigtramp_end. Initialize
6738 TDEP->sigtramp_start, TDEP->sigtramp_end and TDEP->sigtramp_p.
6739 * i386obsd-tdep.c: Include "frame.h", "symtab.h" and "objfiles.h".
6740 (i386obsd_pc_in_sigtramp): Remove function.
6741 (i386obsd_sigtramp_p): New function.
6742 (i386obsd_sigtramp_start, i386obsd_sigtramp_end): Remove
6743 functions.
6744 (i386bsd_init_abi): Don't set deprecated_pc_in_sigtramp,
6745 deprecated_sigtramp_start, deprecated_sigtramp_end. Initialize
6746 TDEP->sigtramp_p.
6747 * Makefile.in (amd64-linux-tdep.o, amd64nbsd-tdep.o,
6748 amd64obsd-tdep.o, i386nbsd-tdep.o, i386obsd-tdep.o): Update
6749 dependencies.
6750
e083e6ec
MK
6751 * config/i386/i386aout.mt: Remove file.
6752
bd153b94
MK
6753 * configure.tgt: Remove i[34567]86-*-go32*,
6754 i[34567]86-*-msdosdjgpp*, i[34567]86-*-sco*, i[34567]86-*-sysv*
6755 and i[34567]86-*-isc*. Set gdb_target to i386 for
6756 i[34567]86-*-netware* and i[34567]86-*-*.
6757 * config/i386/i386.mt: New file.
6758 * config/i386/embed.mt: Remove file.
6759 * config/i386/go32.mt: Remove file.
6760 * config/i386/i386nw.mt: Remove file.
6761 * config/i386/i386v.mt: Remove file.
6762 * config/i386/tm-go32.h: Remove file.
6763
4a1bcc8c
MK
6764 * tui/tui-hooks.c: Include "readline/readline.h" after
6765 "gdb_curses.h" instead of before.
6766 * tui/tui-io.c: Likewise.
6767
f9a79064
MK
6768 * tui/tui.c: Fix typo in comment.
6769
b31bc724
MK
6770 * sparc64-tdep.c (sparc_address_from_register): Remove function.
6771
f83f82bc
AC
67722004-04-08 Andrew Cagney <cagney@redhat.com>
6773
6774 * breakpoint.h (deprecated_exception_catchpoints_are_fragile)
6775 (deprecated_exception_support_initialized): Declare.
8718a420 6776 * hppa-hpux-tdep.c (initialize_hp_cxx_exception_support)
f83f82bc
AC
6777 (initialize_hp_cxx_exception_support)
6778 (child_enable_exception_callback): Update.
6779 * breakpoint.c (deprecated_exception_catchpoints_are_fragile)
6780 (deprecated_exception_support_initialized): Rename
6781 deprecated_exception_catchpoints_are_fragile and
6782 deprecated_exception_support_initialized.
6783 (breakpoint_init_inferior, breakpoint_init_inferior): Update.
6784
6785 * symtab.c (deprecated_hp_som_som_object_present): Rename
6786 hp_som_som_object_present.
6787 * symtab.h (deprecated_hp_som_som_object_present): Declare.
6788 * symfile.c (hp_som_som_object_present, RESET_HP_UX_GLOBALS):
6789 Update. Delete extern declaration.
6790 * valops.c (hp_som_som_object_present): Ditto.
8718a420 6791 * parse.c (deprecated_hp_som_som_object_present)
f83f82bc
AC
6792 (parse_nested_classes_for_hpacc): Ditto.
6793 * hpread.c (hp_som_som_object_present, hpread_expand_symtab): Ditto.
8718a420 6794 * hppa-hpux-tdep.c (hp_som_som_object_present)
f83f82bc
AC
6795 (initialize_hp_cxx_exception_support): Ditto.
6796 * eval.c (hp_som_som_object_present, evaluate_subexp_standard): Ditto.
8718a420 6797 * cp-valprint.c (hp_som_som_object_present)
f83f82bc 6798 (cp_print_class_method): Ditto.
8718a420 6799 * c-typeprint.c (hp_som_som_object_present):
f83f82bc
AC
6800 (c_type_print_base): Ditto.
6801 * c-exp.y (hp_som_som_object_present): Ditto.
6802
fb2be677
AC
68032004-04-08 Andrew Cagney <cagney@redhat.com>
6804
6805 * frame-unwind.c (struct frame_unwind_table, frame_unwind_init)
6806 (frame_unwind_prepend_unwinder, frame_unwind_append_sniffer)
6807 (frame_unwind_find_by_frame): Re-implement the unwind code so
6808 that it can both prepend and append sniffers. Replace
6809 frame_unwind_register_unwinder with frame_unwind_prepend_unwinder.
6810 * tramp-frame.c (tramp_frame_append): Use
6811 frame_unwind_prepend_unwinder.
6812 * frame-unwind.h (frame_unwind_prepend_unwinder): Replace
6813 frame_unwind_register_unwinder.
6814 * tramp-frame.h (tramp_frame_prepend_unwinder): Rename
6815 tramp_frame_append.
6816 * tramp-frame.c (tramp_frame_prepend_unwinder): Update.
8718a420 6817 * mips-linux-tdep.c (mips_linux_init_abi, mips_linux_init_abi)
fb2be677
AC
6818 (mips_linux_init_abi): Update.
6819
67faf007
KB
68202004-04-08 Kevin Buettner <kevinb@redhat.com>
6821
6822 * ppc-linux-tdep.c (ELF_NREG, ELF_NFPREG, ELF_NVRREG)
6823 (ELF_FPREGSET_SIZE): Delete constants formerly used in core
6824 file support.
6825
8973ff21
KB
68262004-04-07 Kevin Buettner <kevinb@redhat.com>
6827
6828 * ia64-tdep.c (elf.h): Don't include.
6829 (elf/ia64.h) [HAVE_LIBUNWIND_IA64_H]: Include.
6830
4a0e2f88
JM
68312004-04-07 Jason Molenda (jmolenda@apple.com)
6832
6833 * frame.h: Typeo corrections in comments.
6834
9872ad24
JB
68352004-04-07 Jim Blandy <jimb@redhat.com>
6836
6837 * i386-tdep.c (i386_stab_reg_to_regnum): Correct numbering for
6838 %esp and %ebp
6839
70b216c8
MK
68402004-04-07 Mark Kettenis <kettenis@gnu.org>
6841
11d5789c
MK
6842 * config/sparc/linux.mt (TDEPFILES): Remove solib-legacy.o.
6843 * config/sparc/linux64.mt (TDEPFILES): Likewise.
6844 * config/sparc/sol2.mt (TDEPFILES): Add solib.o and solib-svr4.o.
6845 * config/sparc/sol2.mh (NATDEPFILES): Remove solib.o, solib-svr4.o
6846 and solib-legacy.o.
6847 * config/sparc/sol2-64.mt (TDEPFILES): Add solib.o and
6848 solib-svr4.o.
6849 * config/sparc/tm-sol2.h: Update copyright year. Include
6850 "solib.h".
6851
70b216c8
MK
6852 * sparc-sol2-tdep.c: Update copyright year. Include
6853 "solib-svr4.h".
6854 (sparc32_sol2_init_abi): Set solib_svr4_fetch_link_map_offsets.
6855 * sparc64-sol2-tdep.c: Include "solib-svr4.h".
6856 (sparc64_sol2_init_abi): Set solib_svr4_fetch_link_map_offsets.
096f864c 6857 * Makefile.in (sparc-sol2-tdep.o, sparc64-sol2-tdep.o): Update
70b216c8
MK
6858 dependencies.
6859
6339dc9e
AC
68602004-04-06 Andrew Cagney <cagney@redhat.com>
6861
6862 * infttrace.c: Include "infttrace.h".
6863 * infttrace.h: Include "target.h".
6864 * Makefile.in (infttrace_h): Update.
6865 (infttrace.o): Update.
8718a420 6866
93449403
AC
68672004-04-06 Andrew Cagney <cagney@redhat.com>
6868
6d518969
AC
6869 * hppah-nat.c (hpux_has_forked, hpux_has_vforked)
6870 (hpux_has_execd, hpux_has_syscall_event): Include "infttrace.h",
6871 move extern declarations from here ...
6872 * infttrace.h: ... to here.
6873 * Makefile.in (hppah-nat.o): Update dependencies.
6874
85f4f2d8
AC
6875 * hppa-tdep.c (hppa_breakpoint_from_pc): Make static.
6876 (hppa_gdbarch_init): Set gdbarch_breakpoint_from_pc
8718a420 6877 * config/pa/tm-hppa.h (BREAKPOINT_FROM_PC, BREAKPOINT32):
85f4f2d8
AC
6878 (hppa_breakpoint_from_pc): Delete.
6879
93449403
AC
6880 * MAINTAINERS: Mark hppa-elf as buildable with -Werror.
6881
71456ec6
AC
68822004-04-05 Andrew Cagney <cagney@redhat.com>
6883
6884 * hppa-tdep.c: Do not include <sys/types.h>, <sys/param.h>,
6885 <signal.h>, <sys/ptrace.h>, #include "a.out.encap.h",
6886 <sys/file.h>.
8718a420 6887
4c02c60c
AC
68882004-04-06 Randolph Chung <tausq@debian.org>
6889
6890 Committed by Andrew Cagney (mechanical change).
6891 * hppa-tdep.c: (args_for_find_stub, hp_som_som_object_present,
6892 exception_catchpoints_are_fragile, find_stub_with_shl_get,
6893 cover_find_stub_with_shl_get, initialize_hp_cxx_exception_support,
6894 child_enable_exception_callback, current_ex_event,
6895 null_symtab_and_line, child_get_current_exception_event,
6896 HP_ACC_EH_notify_hook, HP_ACC_EH_set_hook_value,
6897 HP_ACC_EH_notify_callback, HP_ACC_EH_break, HP_ACC_EH_catch_throw,
6898 HP_ACC_EH_catch_catch, __eh_notification, hp_cxx_exception_support,
6899 hp_cxx_exception_support_initialized, eh_notify_hook_addr,
6900 eh_notify_callback_addr, eh_break_addr, eh_catch_catch_addr,
6901 eh_catch_throw_addr, break_callback_sal, setup_d_pid_in_inferior):
6902 Move hpux-specific definitions ...
6903 * hppa-hpux-tdep.c: ... to here.
6904
3a515653
AC
69052004-04-05 Andrew Cagney <cagney@redhat.com>
6906
6907 * hppa-tdep.c (hppa_frame_cache): Pass the frame's func to
6908 skip_prologue_using_sal.
6909
c1730d02
AC
69102004-04-05 Andrew Cagney <cagney@redhat.com>
6911
6912 * config/i386/tm-i386.h: Delete file.
6913 * config/i386/tm-vxworks.h: Update copyright, do not include
6914 "tm-i386.h".
6915 * config/i386/tm-nto.h, config/i386/tm-linux.h: Ditto.
6916 * config/i386/tm-i386sol2.h, config/i386/tm-i386lynx.h: Ditto.
6917 * config/i386/tm-go32.h, config/i386/tm-cygwin.h: Ditto.
6918 * config/i386/ncr3000.mt (TM_FILE): Delete.
6919 * config/i386/interix.mt (TM_FILE): Delete.
6920 * config/i386/i386v.mt (TM_FILE): Delete.
6921 * config/i386/i386nw.mt (TM_FILE): Delete.
6922 * config/i386/i386gnu.mt (TM_FILE): Delete.
6923 * config/i386/i386aout.mt (TM_FILE): Delete.
6924 * config/i386/embed.mt (TM_FILE): Delete.
6925
8b67aa36
KB
69262004-04-05 Kevin Buettner <kevinb@redhat.com>
6927
6928 * frv-tdep.h (fsr0_regnum, acc0_regnum, acc7_regnum, accg0123_regnum)
6929 (accg4567_regnum, msr0_regnum, msr1_regnum, gner0_regnum)
6930 (gner1_regnum, fner0_regnum, fner1_regnum, accg0_regnum)
6931 (accg7_regnum): New constants.
6932 (last_spr_regnum, last_pseudo_regnum): Update.
c2f59a1a
KB
6933 * frv-tdep.c (new_variant): Initialize names for fsr0, acc0-acc7,
6934 accg0-accg7, msr0, msr1, gner0, gner1, fner0, and fner1.
8b67aa36
KB
6935 (frv_pseudo_register_read, frv_pseudo_register_write): Add support
6936 for accg registers.
6937 (frv_register_sim_regno): Update spr_map[].
6938
3c7012f5
AC
69392004-04-04 Andrew Cagney <cagney@redhat.com>
6940
6941 * config/mips/xm-riscos.h: Delete.
6942 * config/mips/xm-mipsv4.h, config/mips/xm-mips.h: Delete.
6943 * config/mips/tm-mipsv4.h, config/mips/riscos.mh: Delete.
6944 * config/mips/nm-riscos.h, config/mips/nm-news-mips.h: Delete.
6945 * config/mips/nm-mips.h, config/mips/news-mips.mh: Delete.
6946 * config/mips/news-mips.mh, config/m68k/tm-m68kv4.h: Delete.
6947 * config/mips/decstation.mh, config/mips/littlemips.mh: Delete.
6948 * config/mips/mipsv4.mt, config/m68k/tm-sun3.h: Delete.
6949 * config/m68k/xm-sun3os4.h, config/m68k/xm-sun3.h: Delete.
6950 * config/m68k/xm-sun2.h, config/m68k/xm-m68kv4.h: Delete.
6951 * config/m68k/xm-dpx2.h, config/m68k/xm-delta68.h: Delete.
6952 * config/m68k/xm-3b1.h, config/m68k/tm-sun3os4.h: Delete.
6953 * config/m68k/tm-m68klynx.h, config/m68k/tm-dpx2.h: Delete.
6954 * config/m68k/tm-delta68.h, config/m68k/tm-3b1.h: Delete.
6955 * config/m68k/sun3os4.mt, config/m68k/nm-sysv4.h: Delete.
6956 * config/m68k/nm-sun3.h, config/m68k/sun3os4.mh: Delete.
6957 * config/m68k/sun2os3.mh, config/m68k/nm-sun2.h: Delete.
6958 * config/m68k/nm-m68klynx.h, config/m68k/sun3os3.mt: Delete.
6959 * config/m68k/nm-dpx2.h, config/m68k/sun2os3.mt: Delete.
6960 * config/m68k/dpx2.mh, config/m68k/sun3os3.mh: Delete.
6961 * config/m68k/sun2os4.mh, config/m68k/nm-delta68.h: Delete.
6962 * config/m68k/m68kv4.mt, config/m68k/m68klynx.mt: Delete.
6963 * config/m68k/3b1.mt, config/m68k/m68klynx.mh: Delete.
6964 * config/m68k/m68kv4.mh, config/m68k/sun2os4.mt: Delete.
6965 * config/m68k/tm-sun2os4.h, config/m68k/3b1.mh: Delete.
6966 * config/m68k/dpx2.mt, config/m68k/delta68.mt: Delete.
6967 * config/m68k/tm-sun2.h, config/m68k/delta68.mh: Delete.
8718a420 6968
3c7012f5
AC
6969 * configure.tgt: Remove m68000-*-sunos3*, m68000-*-sunos4*,
6970 m68*-bull-sysv*, m68*-att-*, m68*-motorola-*, m68*-*-lynxos*,
6971 m68*-*-sunos3*, m68*-*-sunos4*, m68*-*-sysv4*, mips*-*-sysv4*.
6972 * configure.host: Remove m680[01]0-sun-sunos3*,
6973 m680[01]0-sun-sunos4*, m68*-att-*, m68*-bull*-sysv*,
6974 m68*-*-lynxos*, m68*-*-sysv4*, m68*-motorola-*, m68*-sun-sunos3*,
6975 m68*-sun-sunos4*, m68*-sun-*, mips-dec-*, mips-little-*,
6976 mips-sony-*, mips-*-mach3*, mips-*-sysv4*, mips-*-sysv*,
6977 mips-*-riscos*.
6978 * NEWS: Mention removed systems.
6979
99d16a21
AC
69802004-04-04 Andrew Cagney <cagney@redhat.com>
6981
6982 GDB 6.1 release created from 6.1 branch.
6983
6cdf9d98
AC
69842004-04-04 Andrew Cagney <cagney@redhat.com>
6985
98d346c3
AC
6986 * gnu-nat.c (gnu_wait): Use memcpy instead of bcopy.
6987 * remote-vxmips.c (vx_read_register, vx_write_register): Ditto.
6988 * remote-vx68.c (vx_read_register, vx_write_register): Ditto.
6989
6cdf9d98
AC
6990 * config/vax/xm-vax.h (FAULT_CODE_ORIGIN, INIT_STACK): Delete.
6991 * config/alpha/xm-alphaosf.h (NO_SIGINTERRUPT): Delete.
6992 * config/alpha/xm-alphalinux.h (NO_SIGINTERRUPT): Delete.
6993
859a326d
JB
69942004-04-03 Jim Blandy <jimb@redhat.com>
6995
6996 * MAINTAINERS: Chris Faylor has changed employers; add him to
6997 "paper trail" section, and update his E-mail address.
6998
b87178c3
AC
69992004-04-03 Andrew Cagney <cagney@redhat.com>
7000
4ea2acf0
AC
7001 * frame-unwind.c (frame_unwind_find_by_frame): Delete check for
7002 generic dummy frames.
7003 * dummy-frame.c: Update copyright.
7004 (dummy_frame_sniffer): Delete check for generic dummy frames.
7005
d0bd2d18 7006 * config/pa/tm-hppa.h (REG_PARM_STACK_SPACE): Delete.
8718a420 7007 * config/pa/tm-hppa64.h (PA20W_CALLING_CONVENTIONS)
d0bd2d18
AC
7008 (REG_PARM_STACK_SPACE): Delete.
7009 * hppa-tdep.c (hppa64_push_dummy_call, hppa32_push_dummy_call):
7010 Inline reference to REG_PARM_STACK_SPACE.
7011
b87178c3
AC
7012 * config/pa/tm-hppah.h (FRAME_SAVED_PC_IN_SIGTRAMP)
7013 (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP)
7014 (hppa32_hpux_frame_find_saved_regs_in_sigtramp)
7015 (FRAME_BASE_BEFORE_SIGTRAMP)
7016 (hppa32_hpux_frame_base_before_sigtramp)
7017 (hppa32_hpux_frame_saved_pc_in_sigtramp): Delete.
7018 * config/pa/tm-hppa64.h (hppa64_hpux_frame_saved_pc_in_sigtramp)
7019 (hppa64_hpux_frame_find_saved_regs_in_sigtramp)
7020 (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP)
7021 (FRAME_BASE_BEFORE_SIGTRAMP)
7022 (hppa64_hpux_frame_base_before_sigtramp)
7023 (FRAME_SAVED_PC_IN_SIGTRAMP): Delete.
7024
43e2e1a0
AC
70252004-04-03 Andrew Cagney <cagney@redhat.com>
7026
7027 * PROBLEMS: Mention that GDB doesn't build on HP/UX 11.00.
7028
ddc135a4
AC
70292004-04-02 Andrew Cagney <cagney@redhat.com>
7030
7031 * sh64-tdep.c (sh64_init_extra_frame_info): Replace
7032 DEPRECATED_CALL_DUMMY_LENGTH with 0, simplify.
7033 * dummy-frame.h: Delete out-of-date comments.
7034 * gdbarch.sh (DEPRECATED_CALL_DUMMY_LENGTH): Delete.
7035 * gdbarch.h, gdbarch.c: Re-generate.
7036
d15bfd3a 70372004-04-02 Joel Brobecker <brobecker@gnat.com>
8718a420 7038
d15bfd3a
AC
7039 Committed by Andrew Cagney <cagney@redhat.com>.
7040 * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Do not take
7041 into account an instruction saving a register if we have already
7042 seen an earlier instruction saving that same register.
7043
f04ceafa
AC
70442004-04-02 Andrew Cagney <cagney@redhat.com>
7045
08be3abd
AC
7046 * gdbarch.sh (DEPRECATED_INIT_FRAME_PC_FIRST): Delete.
7047 * gdbarch.h, gdbarch.c: Re-generate.
7048 * frame.c (legacy_get_prev_frame): Delete references to
7049 DEPRECATED_INIT_FRAME_PC_FIRST.
7050
f04ceafa
AC
7051 * infrun.c (pc_in_sigtramp): Delete function.
7052 (check_sigtramp2): Inline call to pc_in_sigtramp, use
7053 get_frame_type.
7054
08e69816
AC
70552004-04-02 Andrew Cagney <cagney@redhat.com>
7056
7057 * infrun.c (handle_step_into_function): Delete code conditional on
7058 legacy_frame_p.
7059 (handle_inferior_event, step_over_function): Ditto.
7060
adb54772
AC
70612004-04-02 Andrew Cagney <cagney@redhat.com>
7062
7063 * frame.c (get_prev_frame_1): Exclude signal trampolines from the
7064 "previous frame inner to this frame" test.
7065
304396fb
AC
70662004-04-02 Andrew Cagney <cagney@redhat.com>
7067
7068 * frame.c (safe_frame_unwind_memory): New function.
7069 * frame.h (safe_frame_unwind_memory): Declare. Update description
7070 of /safe_/ methods.
7071 * tramp-frame.c (tramp_frame_start): Re-order parmeters, add
7072 "next_frame". Use safe_frame_unwind_memory.
7073 (tramp_frame_sniffer): Update call to tramp_frame_start.
7074
6502dd73
DJ
70752004-04-01 Daniel Jacobowitz <drow@mvista.com>
7076
7077 * dwarf2read.c (dwarf2_objfile_data_key): New.
7078 (struct dwarf2_per_objfile, dwarf2_per_objfile): New.
7079 (dwarf_info_size, dwarf_abbrev_size, dwarf_line_size)
7080 (dwarf_pubnames_size, dwarf_aranges_size, dwarf_loc_size)
7081 (dwarf_macinfo_size, dwarf_str_size, dwarf_ranges_size)
7082 (dwarf_frame_size, dwarf_eh_frame_size, dwarf_info_buffer)
7083 (dwarf_abbrev_buffer, dwarf_line_buffer, dwarf_str_buffer)
7084 (dwarf_macinfo_buffer, dwarf_ranges_buffer, dwarf_loc_buffer):
7085 Remove variables.
7086 (struct dwarf2_pinfo): Remove per-objfile members. Update comments.
7087 (DWARF_ABBREV_SIZE, DWARF_LINE_SIZE)
7088 (DWARF_LOC_SIZE, DWARF_MACINFO_SIZE, DWARF_STR_SIZE)
7089 (DWARF_RANGES_SIZE, DWARF_INFO_BUFFER)
7090 (DWARF_ABBREV_BUFFER, DWARF_LINE_BUFFER, DWARF_STR_BUFFER)
7091 (DWARF_MACINFO_BUFFER, DWARF_RANGES_BUFFER, DWARF_LOC_BUFFER):
7092 Remove macros.
7093 (dwarf2_has_info): Take an objfile argument. Allocate per-objfile
7094 data.
7095 (dwarf2_locate_sections, dwarf2_build_psymtabs)
7096 (dwarf2_build_psymtabs_easy, dwarf2_build_psymtabs_hard)
7097 (skip_one_die, dwarf2_get_pc_bounds, dwarf2_read_abbrevs)
7098 (read_partial_die, read_full_die, read_indirect_string)
7099 (dwarf_decode_line_header, dwarf_decode_macros)
7100 (dwarf2_symbol_mark_computed): Remove use of removed macros.
7101 Update uses of removed variables.
7102 (psymtab_to_symtab_1): Restore per-objfile data pointer. Remove use
7103 of removed macros.
7104 (_initialize_dwarf2_read): New function.
7105 * symfile.h (dwarf2_has_info): Update prototype.
7106 * coffread.c (coff_symfile_read): Update call to dwarf2_has_info.
7107 * elfread.c (elf_symfile_read): Likewise.
7108
408752b0
JB
71092004-04-01 Jim Blandy <jimb@redhat.com>
7110
9f744501
JB
7111 * rs6000-tdep.c (rs6000_dwarf2_stab_reg_to_regnum): New, unified
7112 function for register numbers on all the rs6000-derived targets.
7113 (rs6000_gdbarch_init): Don't register a separate
7114 gdbarch_dwarf2_reg_to_regnum function for the E500. Use
7115 rs6000_dwarf2_stab_reg_to_regnum for both Dwarf 2 and stabs on all
7116 variants.
7117
408752b0
JB
7118 * i386-tdep.c: Add FIXME regarding STABS vs. Dwarf 2 register
7119 numbering.
7120
2de41bce
PH
71212004-04-01 Paul N. Hilfinger <Hilfinger@gnat.com>
7122
7123 * valarith.c: Update copyright notice.
7124 (value_add): Handle range types.
7125 (value_sub): Ditto.
7126 (value_equal): Ditto.
7127 (value_less): Ditto.
7128 (value_neg): Ditto.
7129 (value_complement): Ditto.
8718a420 7130 (value_binop): Simplify slightly by using is_integral_type and
2de41bce 7131 eliminiating unnecessary COERCE_ENUMs.
8718a420 7132
5613d8d3
AC
71332004-03-31 Andrew Cagney <cagney@redhat.com>
7134
7135 * frame.h (frame_unwind_id): Declare.
7136 * frame.c (frame_unwind_id): New function.
7137 (get_prev_frame_1): New function.
7138 (frame_debug_got_null_frame): New function.
7139 (get_prev_frame): Use frame_debug_got_null_frame. Move unwind
7140 code proper to prev_frame, update description.
7141 * infrun.c (step_over_function): Use frame_unwind_id.
7142
c4557624
JB
71432004-04-31 J. Brobecker <brobecker@gnat.com>
7144
7145 * hppa-tdep.c (hppa32_push_dummy_call): Set the Stack Pointer.
7146 (hppa64_push_dummy_call): Likewise.
7147
3e6bb910
JB
71482004-03-30 Jim Blandy <jimb@redhat.com>
7149
7150 From Ulrich Weigand:
7151 * utils.c (query): Do not use a va_list variable multiple times.
7152
a2f23071
DJ
71532004-03-29 Daniel Jacobowitz <drow@mvista.com>
7154
7155 * Makefile.in (linux_nat_h): Update dependencies.
7156 * configure.in: Check for <gnu/libc-version.h>.
7157 * configure: Regenerate.
7158 * config.in: Regenerate.
7159 * linux-nat.h: Include "target.h". Add waitstatus field to
7160 struct lwp_info.
7161 * lin-lwp.c (add_lwp): Initialize waitstatus.kind.
7162 (lin_lwp_attach_lwp): Don't attach to LWPs we have already attached
7163 to.
7164 (lin_lwp_handle_extended): New function. Handle clone events.
7165 (wait_lwp): Use lin_lwp_handle_extended. Update comment about
7166 thread exit events.
7167 (child_wait): Handle clone events.
7168 (lin_lwp_wait: Use lin_lwp_handle_extended and handle clone events.
7169 * linux-nat.c (linux_enable_event_reporting): Turn on
7170 PTRACE_O_TRACECLONE.
7171 (linux_handle_extended_wait): Handle clone events.
7172 * thread-db.c: Include <gnu/libc-version.h>.
7173 (struct private_thread_info): Add dying flag.
7174 (enable_thread_event_reporting): Enable TD_DEATH for glibc 2.2 and
7175 higher.
7176 (attach_thread): Update comments. Handle dying threads.
7177 (detach_thread): Set the dying flag.
7178 (check_event): Always call attach_thread.
7179
8d5f9dcb
DJ
71802004-03-29 Daniel Jacobowitz <drow@mvista.com>
7181
7182 * mips-tdep.c (mips_pdr_data): New.
7183 (non_heuristic_proc_desc): Use objfile_data and set_objfile_data.
7184 (_initialize_mips_tdep): Initialize mips_pdr_data.
7185
66337bb1
CV
71862004-03-29 Corinna Vinschen <vinschen@redhat.com>
7187
7188 * minsyms.c (install_minimal_symbols): Move dropping leading
7189 char from linkage name from here...
7190 (prim_record_minimal_symbol_and_info): ...to here. Simplify
7191 test for "__gnu_compiled*" symbols.
7192
e802b915
JB
71932004-03-28 Jim Blandy <jimb@redhat.com>
7194
7195 * rs6000-tdep.c (skip_prologue): Recognize moves from argument
7196 registers to temp register r0 and byte stores as prologue
7197 instructions.
7198
72b56458
AC
71992004-03-28 Andrew Cagney <cagney@redhat.com>
7200
7201 * PROBLEMS (Stack backtraces): Rewrite. Remove reference to
7202 arm*-*-*.
7203
0bfbda3b
SC
72042004-03-28 Stephane Carrez <stcarrez@nerim.fr>
7205
7206 * tui/tui-regs.c (tui_show_registers): Make sure the TUI is active
7207 and switch the layout to force a display of register window.
7208
5a7225ed
JB
72092004-02-26 J. Brobecker <brobecker@gnat.com>
7210
7211 * amd64-tdep.c (amd64_classify): make RANGE_TYPE objects be part
7212 of the INTEGER class.
7213
81a07a45
JB
72142004-03-26 Jim Blandy <jimb@redhat.com>
7215
7216 * ppc-linux-tdep.c (ppc_linux_init_abi): Long doubles are eight
7217 bytes long on PPC GNU/Linux.
7218
8c691c7a
DC
72192004-03-26 David Carlton <carlton@kealia.com>
7220
7221 * PROBLEMS: Refer to gdb/1588 instead of gdb/826.
7222
103a0089
AC
72232004-03-25 Andrew Cagney <cagney@redhat.com>
7224
7225 * PROBLEMS: Add general section titles, remove references to
7226 specific releases.
7227
7a5ea0d4
DJ
72282004-03-25 Daniel Jacobowitz <drow@mvista.com>
7229
7230 * arm-linux-tdep.c (ARM_LINUX_JB_ELEMENT_SIZE): Define to
7231 INT_REGISTER_SIZE.
7232 (arm_linux_push_arguments): Use TARGET_DOUBLE_BIT instead of
7233 FP_REGISTER_VIRTUAL_SIZE.
7234 * arm-tdep.c (arm_make_sigtramp_cache): Use register_size instead
7235 of DEPRECATED_REGISTER_RAW_SIZE.
7236 (arm_register_type): Add gdbarch argument.
7237 (arm_register_raw_size, arm_register_virtual_size): Delete.
7238 (arm_register_byte, arm_extract_return_value)
7239 (arm_store_return_value, arm_get_longjmp_target): Update references
7240 to INT_REGISTER_RAW_SIZE and FP_REGISTER_RAW_SIZE.
7241 (arm_gdbarch_init): Likewise. Don't set
7242 deprecated_register_raw_size, deprecated_register_virtual_size,
7243 deprecated_max_register_raw_size,
7244 deprecated_max_register_virtual_size, or
7245 deprecated_max_register_virtual_type. Do set register_type.
7246 * arm-tdep.h (ARM_MAX_REGISTER_RAW_SIZE)
7247 (ARM_MAX_REGISTER_VIRTUAL_SIZE, INT_REGISTER_VIRTUAL_SIZE)
7248 (FP_REGISTER_VIRTUAL_SIZE): Delete.
7249 (INT_REGISTER_RAW_SIZE): Rename to INT_REGISTER_SIZE.
7250 (FP_REGISTER_RAW_SIZE): Rename to FP_REGISTER_SIZE.
7251 * arm-linux-tdep.c (ARM_NBSD_JB_ELEMENT_SIZE): Define to
7252 INT_REGISTER_SIZE.
7253 * remote-rdp.c (remote_rdp_fetch_register): Use MAX_REGISTER_SIZE.
7254 (remote_rdp_store_register): Likewise.
7255
5792a79b
DJ
72562004-03-24 Daniel Jacobowitz <drow@mvista.com>
7257
7258 * Makefile.in (mips-linux-tdep.o): Update dependencies.
7259 * mips-tdep.c (mips_gdbarch_init): Move frame predicates
7260 to after osabi initialization.
7261 * mips-linux-tdep.c: Include "trad-frame.h" and "tramp-frame.h".
7262 (mips_linux_o32_sigframe_init, mips_linux_n32n64_sigframe_init): New
7263 functions.
7264 (mips_linux_o32_sigframe, mips_linux_o32_rt_sigframe)
7265 (mips_linux_n32_rt_sigframe, mips_linux_n64_rt_sigframe): New
7266 variables.
7267 (mips_linux_init_abi): Append signal trampoline unwinders.
7268
1196bfda
AC
72692004-03-24 Andrew Cagney <cagney@redhat.com>
7270
7271 * tramp-frame.h (TRAMP_SENTINEL_INSN): Define, document.
7272 * tramp-frame.c: Include "gdb_assert.h".
7273 (tramp_frame_start): Use TRAMP_SENTINEL_INSN. Use ULONGEST and
7274 correct sizeof.
7275 (tramp_frame_append): Validate the tramp frame's instructions.
7276 * Makefile.in (tramp-frame.o): Update dependencies.
7277
4be282b4
AC
72782004-03-23 Andrew Cagney <cagney@redhat.com>
7279
7280 * trad-frame.h (trad_frame_set_reg_addr): Declare.
7281
69aec09b
AC
72822004-03-23 Andrew Cagney <cagney@redhat.com>
7283
7284 * MAINTAINERS (Past Maintainers): Add Mark Salter and Fernando
7285 Nasser as past testsuite/lib/ (and other) maintainers.
7286
63ed89b4
DJ
72872004-03-23 Daniel Jacobowitz <drow@mvista.com>
7288
7289 * infcmd.c (attach_command): Reread symbols if we already have
7290 an exec file.
7291
f3b36427
AC
72922004-03-23 Andrew Cagney <cagney@redhat.com>
7293
7294 * rs6000-tdep.c (frame_get_saved_regs): Delete unused function.
7295
aa2a3f87
AC
72962004-03-23 Andrew Cagney <cagney@redhat.com>
7297
7298 * gdbarch.sh (SIGTRAMP_START, SIGTRAMP_END): Deprecate.
7299 * gdbarch.h, gdbarch.c: Re-generate.
7300 * i386obsd-tdep.c (i386obsd_init_abi): Update.
7301 * i386nbsd-tdep.c (i386nbsd_init_abi): Update.
7302 * i386bsd-tdep.c (i386bsd_init_abi): Update.
8718a420 7303 * config/vax/tm-vaxbsd.h (DEPRECATED_SIGTRAMP_END)
aa2a3f87 7304 (DEPRECATED_SIGTRAMP_START): Update.
8718a420 7305 * config/m68k/tm-nbsd.h (DEPRECATED_SIGTRAMP_END)
aa2a3f87
AC
7306 (DEPRECATED_SIGTRAMP_START): Update.
7307 * blockframe.c (find_pc_sect_partial_function): Update.
7308 * arch-utils.c (legacy_pc_in_sigtramp): Update.
7309
00cac895
DJ
73102004-03-23 Daniel Jacobowitz <drow@mvista.com>
7311
7312 * remote.c (remote_open_1): Reopen the exec file and reread symbols
7313 if necessary.
7314
f561f026
AC
73152004-03-23 Andrew Cagney <cagney@redhat.com>
7316
7317 * gdbarch.sh (PC_IN_SIGTRAMP): Change to a function with
7318 predicate, deprecate.
7319 * gdbarch.h, gdbarch.c: Re-generate.
7320 * alpha-linux-tdep.c (alpha_linux_init_abi): Update.
7321 * alpha-osf1-tdep.c (alpha_osf1_init_abi): Update.
7322 * alpha-tdep.c (alpha_sigtramp_frame_sniffer): Update.
7323 * alphafbsd-tdep.c (alphafbsd_init_abi): Update.
7324 * alphanbsd-tdep.c (alphanbsd_init_abi): Update.
7325 * amd64-linux-tdep.c (amd64_linux_init_abi): Update.
7326 * amd64-tdep.c (amd64_sigtramp_frame_sniffer): Update.
7327 * amd64nbsd-tdep.c (amd64nbsd_init_abi): Update.
7328 * amd64obsd-tdep.c (amd64obsd_init_abi): Update.
7329 * arm-tdep.c (arm_sigtramp_unwind_sniffer): Update.
7330 * blockframe.c (find_pc_partial_function): Update.
7331 * breakpoint.c (bpstat_what): Update.
7332 * frame.c (frame_type_from_pc, legacy_get_prev_frame): Update.
7333 * frv-linux-tdep.c (frv_linux_init_abi): Update.
7334 * frv-tdep.c (frv_sigtramp_frame_sniffer): Update.
7335 * hppa-hpux-tdep.c (hppa_hpux_init_abi): Update.
7336 * i386-interix-tdep.c (i386_interix_init_abi): Update.
7337 * i386-linux-tdep.c (i386_linux_init_abi): Update.
7338 * i386-nto-tdep.c (i386nto_init_abi): Update.
7339 * i386-sol2-tdep.c (i386_sol2_init_abi): Update.
7340 * i386-tdep.c (i386_sigtramp_frame_sniffer)
7341 (i386_svr4_init_abi, i386_go32_init_abi, i386_gdbarch_init): Update.
7342 * i386bsd-tdep.c (i386bsd_init_abi): Update.
7343 * i386nbsd-tdep.c (i386nbsd_init_abi): Update.
7344 * i386obsd-tdep.c (i386obsd_init_abi): Update.
7345 * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Update.
7346 * infrun.c (pc_in_sigtramp): Update.
7347 * m68k-tdep.c (m68k_sigtramp_frame_sniffer): Update.
7348 * m68klinux-tdep.c (m68k_linux_init_abi): Update.
7349 * mips-tdep.c (mips_gdbarch_init): Update.
7350 * mipsnbsd-tdep.c (mipsnbsd_init_abi): Update.
7351 * ppc-linux-tdep.c: Update comment.
7352 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Update.
7353 * shnbsd-tdep.c (shnbsd_init_abi): Update.
7354 * sparc-linux-tdep.c (sparc32_linux_init_abi): Update.
7355 * sparc-sol2-tdep.c (sparc32_sol2_init_abi): Update.
7356 * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Update.
7357 * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Update.
7358 * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Update.
7359 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Update.
7360 * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Update.
7361 * sparcobsd-tdep.c (sparc32obsd_init_abi): Update.
8718a420 7362
8050c72f
AC
73632004-03-23 Andrew Cagney <cagney@redhat.com>
7364
d2259dd3
AC
7365 * tramp-frame.h, tramp-frame.h: New files.
7366 * Makefile.in (SFILES, tramp_frame_h, COMMON_OBS, tramp-frame.o):
7367 Update rules to include "tramp-frame.h" and "tramp-frame.c".
7368
8050c72f
AC
7369 * Makefile.in: Update all dependencies.
7370
0db9b4b7
AC
73712004-03-23 Andrew Cagney <cagney@redhat.com>
7372
7373 * Makefile.in (trad_frame_h): Add $(frame_h).
7374 * trad-frame.h: Update copyright. Include "frame.h".
7375 (struct trad_frame_cache, trad_frame_cache_zalloc): Declare.
7376 (trad_frame_set_id, trad_frame_get_id): Declare.
7377 (trad_frame_set_reg_addr, trad_frame_get_register): Declare.
7378 * trad-frame.c: Update copyright.
7379 (struct trad_frame_cache): Define.
7380 (trad_frame_cache_zalloc): New function.
7381 (trad_frame_set_id, trad_frame_get_id): New functions.
7382 (trad_frame_set_reg_addr, trad_frame_get_register): New functions.
8718a420 7383
8e645ae7
AC
73842004-03-22 Andrew Cagney <cagney@redhat.com>
7385
7386 * s390-tdep.c (struct s390_stub_unwind_cache): Rename
7387 s390_pltstub_unwind_cache.
7388 (s390_stub_frame_unwind_cache): Rename
7389 s390_pltstub_frame_unwind_cache.
7390 (s390_stub_frame_this_id): Rename s390_pltstub_frame_this_id.
7391 (s390_stub_frame_prev_register): Rename
7392 s390_pltstub_frame_prev_register.
7393 (s390_stub_frame_unwind): Rename s390_pltstub_frame_unwind.
7394 (s390_stub_frame_sniffer): Rename s390_stub_frame_sniffer.
7395
7396 From Ulrich Weigand:
7397 * s390-tdep.c (s390_pltstub_frame_sniffer): Handle invalid function
7398 pointer calls like PLT calls.
7399
34fcf120
DJ
74002004-03-22 Daniel Jacobowitz <drow@mvista.com>
7401
7402 * mips-tdep.c (non_heuristic_proc_desc): Search using the specified
7403 PC rather than the partial function start address. Use the start
7404 address to sanity check the found PDR.
7405
5b917078
DJ
74062004-03-22 Daniel Jacobowitz <drow@mvista.com>
7407
7408 * lin-lwp.c (lin_lwp_wait): Pass the LWP ID to
7409 linux_handle_extended_wait.
7410
8adf9e78
AC
74112004-03-22 Andrew Cagney <cagney@redhat.com>
7412
c3122434
AC
7413 * rs6000-tdep.c (frame_initial_stack_address): Delete unused
7414 function.
7415
8adf9e78
AC
7416 * frame.h (generic_pop_current_frame): Delete declaration.
7417 (deprecate_pop_dummy_frame): Deprecate
7418 generic_pop_dummy_frame.
7419 * dummy-frame.c (deprecated_pop_dummy_frame): Update.
7420 (generic_pop_current_frame): Delete function.
7421 * mn10300-tdep.c (mn10300_pop_frame): Eliminate call to
7422 generic_pop_current_frame.
7423 * v850-tdep.c (v850_pop_frame): Update.
7424 * mcore-tdep.c (mcore_pop_frame): Update.
7425 * sh64-tdep.c (sh64_pop_frame): Update.
7426 * h8300-tdep.c (h8300_pop_frame): Update.
7427
90ba813f
AC
74282004-03-22 Andrew Cagney <cagney@redhat.com>
7429
7430 * frame.h (deprecated_pc_in_call_dummy): Rename
7431 generic_pc_in_call_dummy.
7432 * dummy-frame.h (pc_in_dummy_frame): Delete declaration.
7433 * dummy-frame.c (deprecated_pc_in_call_dummy): Rename
7434 generic_pc_in_call_dummy.
7435 (pc_in_dummy_frame): Make static.
7436 * gdbarch.sh (DEPRECATED_PC_IN_CALL_DUMMY): Update.
7437 * gdbarch.h, gdbarch.c: Re-generate.
7438 * dummy-frame.c (dummy_frame_sniffer): Simplify.
7439 * frame.c (frame_type_from_pc): Call deprecated_pc_in_call_dummy.
7440 (legacy_get_prev_frame): Ditto.
7441 * inferior.h: Delete reference to generic_pc_in_call_dummy in
7442 comment.
8718a420 7443
ca4bb888
AC
74442004-03-21 Andrew Cagney <cagney@redhat.com>
7445
244675f9
AC
7446 * inferior.h (deprecated_pc_in_call_dummy_at_entry_point): Delete
7447 declaration and out-of-date comment.
7448 * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point):
7449 Delete function.
7450 * mn10300-tdep.c (mn10300_gdbarch_init): Do not set
7451 deprecated_pc_in_call_dummy.
7452
ca4bb888
AC
7453 * infrun.c (handle_inferior_event): For non legacy frames, use the
7454 frame ID and frame type to identify a signal trampoline. Update
7455 comments.
7456
1777c7b4
NW
74572004-03-21 Nathan J. Williams <nathanw@wasabisystems.com>
7458
7459 * mipsnbsd-tdep.c: Update copyright. Include "mips-tdep.h".
7460 * Makefile.in (mipsnbsd-tdep.o): Update dependencies.
7461
82417da5
AC
74622004-03-21 Andrew Cagney <cagney@redhat.com>
7463
7464 * frame-unwind.h: Update copyright.
7465 (struct frame_data): Add opaque declaration.
7466 (frame_sniffer_ftype): Declare.
7467 (struct frame_unwind): Add "unwind_data" and "sniffer".
7468 (frame_unwind_register_unwinder): Declare.
7469 (frame_unwind_find_by_frame): Add parameter "this_cache".
7470 * frame.c (get_frame_id, create_new_frame, legacy_get_prev_frame)
7471 (legacy_get_prev_frame, legacy_get_prev_frame)
7472 (get_frame_type): Pass the prologue_cache to
7473 frame_unwind_find_by_frame.
7474 * frame-unwind.c (struct frame_unwind_table_entry): Add field
7475 "unwinder".
7476 (frame_unwind_register_unwinder): New function.
7477 (frame_unwind_find_by_frame): Handle an unwind sniffer.
7478
b2ba182e
PH
74792004-03-20 Paul Hilfinger <hilfingr@nile.gnat.com>
7480
7481 * bcache.c (print_percentage): Use floating point to avoid
7482 incorrect results when portion*100 overflows.
7483
81332287
KB
74842004-03-19 Kevin Buettner <kevinb@redhat.com>
7485
7486 * ppc_tdep.h (ppc_linux_frame_saved_pc)
7487 (ppc_linux_init_extra_frame_info)
7488 (ppc_linux_frameless_function_invocation)
7489 (ppc_linux_frame_init_saved_regs, ppc_linux_frame_chain)
7490 (rs6000_frame_saved_pc, rs6000_init_extra_frame_info)
7491 (rs6000_frameless_function_invocation, rs6000_frame_init_saved_regs)
7492 (rs6000_frame_chain): Delete declarations.
7493 * ppc-linux-tdep.c (ppc_linux_frame_saved_pc)
7494 (ppc_linux_init_extra_frame_info)
7495 (ppc_linux_frameless_function_invocation)
7496 (ppc_linux_frame_init_saved_regs, ppc_linux_frame_chain): Delete.
7497 (ppc_linux_init_abi): Remove registration of above deleted functions.
7498 * rs6000-tdep.c (rs6000_init_extra_frame_info)
7499 (rs6000_frame_init_saved_regs, rs6000_init_frame_pc_first)
7500 (rs6000_frame_args_address, rs6000_saved_pc_after_call)
7501 (rs6000_pop_frame, rs6000_frameless_function_invocation)
7502 (rs6000_frame_saved_pc, rs6000_frame_chain): Delete.
7503 (rs6000_gdbarch_init): Remove registration of above deleted functions.
7504 Use rs6000_unwind_pc(), rs6000_frame_sniffer(),
7505 rs6000_unwind_dummy_id(), and rs6000_frame_base_sniffer() for
7506 frame management for all OSABIs.
7507
61a65099
KB
75082004-03-19 Andrew Cagney <cagney@redhat.com>
7509
7510 Committed by Kevin Buettner <kevinb@redhat.com>.
7511
7512 * ppc-linux-tdep.c: Include "trad-frame.h", and "frame-unwind.h".
7513 Update copyright.
7514 (struct ppc_linux_sigtramp_cache, ppc_linux_sigtramp_cache)
7515 (ppc_linux_sigtramp_this_id, ppc_linux_sigtramp_prev_register)
7516 (ppc_linux_sigtramp_unwind, ppc_linux_sigtramp_sniffer)
7517 (ppc_linux_init_abi): Add both 32- and 64-bit signal trampoline
7518 unwinders. #ifdef legacy frame code.
7519 * rs6000-tdep.c: Include "trad-frame.h", "frame-unwind.h", and
7520 "frame-base.h".
7521 (rs6000_unwind_pc, rs6000_unwind_dummy_id)
7522 (struct rs6000_frame_cache, rs6000_frame_cache)
7523 (rs6000_frame_this_id, rs6000_frame_prev_register)
7524 (rs6000_frame_sniffer, rs6000_frame_unwind)
7525 (rs6000_frame_base_address, rs6000_frame_base_sniffer)
7526 (rs6000_frame_base): Implement a traditional frame unwinder.
7527 (rs6000_gdbarch_init): When unknown, NetBSD, or GNU/Linux use the
7528 frame unwinder.
7529
88f7da05
KB
75302004-03-19 Kevin Buettner <kevinb@redhat.com>
7531
7532 * breakpoint.c (adjust_breakpoint_address): Don't adjust
7533 breakpoint address for watchpoints or the catch eventpoints.
7534 Add new paramter ``bptype''. Adjust all callers.
7535
f826dce1
AC
75362004-03-19 Andrew Cagney <cagney@redhat.com>
7537
33cb8b0f
AC
7538 * config/pa/tm-hppa.h (GDB_TARGET_IS_HPPA): Delete unused macro.
7539
f826dce1
AC
7540 * PROBLEMS: Delete note that ARM does not use frame code, problem
7541 fixed.
7542
43b1ab88
AC
75432004-03-18 Andrew Cagney <cagney@redhat.com>
7544
292ab034
AC
7545 * stack.c (return_command): Delete code wrapped in #ifdef
7546 DEPRECATED_CALL_DUMMY_HAS_COMPLETED, macro no longer defined.
7547
43b1ab88
AC
7548 * rs6000-tdep.c (skip_prologue): Record only the first LR save.
7549
dbfe4626
AC
75502004-03-18 Andrew Cagney <cagney@redhat.com>
7551
7552 * config/mips/tm-nbsd.h: Replace IN_SIGTRAMP with
7553 DEPRECATED_IN_SIGTRAMP.
7554 * config/powerpc/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto.
7555 * config/mips/tm-linux.h (DEPRECATED_IN_SIGTRAMP) Ditto.
7556 * config/mips/tm-irix6.h (DEPRECATED_IN_SIGTRAMP): Ditto.
7557 * config/mips/tm-irix5.h (DEPRECATED_IN_SIGTRAMP): Ditto.
7558 * config/ia64/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto.
7559 * config/ia64/tm-aix.h (DEPRECATED_IN_SIGTRAMP): Ditto.
7560 * config/arm/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto.
7561 * config/arm/tm-embed.h (DEPRECATED_IN_SIGTRAMP): Ditto.
7562 * arch-utils.c (legacy_pc_in_sigtramp): Ditto.
7563 * arch-utils.h: Remove reference to IN_SIGTRAMP in comment.
7564
0cad6aec
AC
75652004-03-18 Andrew Cagney <cagney@redhat.com>
7566
7567 * frame-base.c: Update copyright. Include "gdb_obstack.h".
7568 (struct frame_base_table_entry): Define.
7569 (struct frame_base_table): Re-implement as a linked list.
7570 (frame_base_init): Re-implement.
7571 (frame_base_table): Delete function.
7572 (append_predicate): Delete function.
7573 (frame_base_append_sniffer): Update.
7574 (frame_base_set_default): Update.
7575 (frame_base_find_by_frame): Update.
7576 (_initialize_frame_base): Use gdbarch_data_register_pre_init.
7577 * Makefile.in (frame-base.o): Update dependencies.
7578
9982c2e7
AC
75792004-03-17 Andrew Cagney <cagney@redhat.com>
7580
7581 * frame.c (legacy_get_prev_frame): Pass correct frame to
7582 frame_unwind_find_by_frame.
7583
8dfe8985
DC
75842004-03-17 David Carlton <carlton@kealia.com>
7585
7586 * NEWS: Mention C++ nested types and namespaces
7587
ed47347a
MC
75882004-03-16 Michael Chastain <mec.gnu@mindspring.com>
7589
7590 * PROBLEMS: Add section headers, "Regressions since gdb 6.0"
7591 and "Regressions since gdb 5.3.". Add known regressions since
7592 gdb 6.0.
7593
90aeadfc
DC
75942004-03-16 David Carlton <carlton@kealia.com>
7595
7596 * dwarf2read.c (process_structure_scope): Process children even
7597 when we're a declaration.
7598
73912b9b
AC
75992004-03-16 Andrew Cagney <cagney@redhat.com>
7600
7601 * symtab.h (find_pc_sect_partial_function): Delete declaration.
7602 * blockframe.c (find_pc_partial_function)
7603 (find_pc_sect_partial_function): Merge into a single
7604 find_pc_partial_function.
7605
283accbc
MK
76062004-03-16 Mark Kettenis <kettenis@gnu.org>
7607
7608 * i386bsd-nat.c: s/regno/regnum/g.
7609 (fetch_inferior_registers): Use I386_ST0_REGNUM instead of
7610 FP0_REGNUM.
7611 (store_inferior_registers): Likewise.
7612
f5b1afdf
MK
76132004-03-16 Mark Kettenis <kettenis@gnu.org>
7614
7615 * i386bsd-nat.c (fill_fpregset): Call i387_collect_fsave instead
7616 of i387_fill_fsave.
7617 (store_inferior_registers): Call i387_collect_fsave and
7618 i387_collect_fxsave instead of i387_fill_fsave and
7619 i387_fill_fxsave.
7620
41fe5eb3
AC
76212004-03-15 Andrew Cagney <cagney@redhat.com>
7622
7623 * Makefile.in (frame-unwind.o): Update dependencies.
7624 * frame-unwind.c: Include "gdb_obstack.h".
7625 (frame_unwind_init): Replace "gdbarch" parameter with an "obstack"
7626 parameter.
7627 (append_predicate): Delete function.
7628 (struct frame_unwind_table_entry): New structure.
7629 (struct frame_unwind_table): Replace "sniffer" with "head" and
7630 "tail".
7631 (frame_unwind_append_sniffer): Update.
7632 (frame_unwind_find_by_frame): Update.
7633 (_initialize_frame_unwind): Registe frame_unwind_init using
7634 gdbarch_data_register_pre_init.
7635
3f63813d
MK
76362004-03-15 Mark Kettenis <kettenis@gnu.org>
7637
7638 * i386bsd-nat.c: Update copyright year.
7639 (CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): Undefine and then
7640 define unconditionally.
7641
3248c325 76422004-03-15 Mark Kettenis <kettenis@gnu.org>
63b6c53f
MK
7643
7644 * i387-tdep.h (i387_collect_fsave): New prototype.
7645 * i387-tdep.c (i387_collect_fsave): New function containing most
7646 of the code from i387_fill_fsave.
3248c325 7647 (i387_fill_fsave): Call i387_collect_fsave.
63b6c53f 7648
871fbe6a
MK
76492004-03-15 Mark Kettenis <kettenis@gnu.org>
7650
7651 * i386-linux-tdep.c: Update copyright year.
7652 (i386_linux_svr4_fetch_link_map_offsets): Remove function.
7653 (i386_linux_init_abi): Set solib_svr4_fetch_link_maop_offsets to
7654 svr4_ilp32_link_map_offsets instead of
7655 i386_linux_svr4_fetch_link_map_offsets.
7656
8176b9b8
DC
76572004-03-15 David Carlton <carlton@kealia.com>
7658
7659 Fix for PR c++/1553:
7660 * dwarf2read.c (read_structure_type): Determine type name by
7661 calling determine_class_name.
7662 (determine_class_name): New.
7663 (determine_prefix): Look at TYPE_TAG_NAME and call
7664 determine_class_name when appropriate.
7665 (determine_prefix_aux, class_name): Delete.
9d58e29d 7666 (read_namespace): Set die->type.
8176b9b8 7667
fe8bf7d7
KB
76682004-03-15 Kevin Buettner <kevinb@redhat.com>
7669
7670 * breakpoint.c (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete
7671 unused macro definition. The definition in target.h (or perhaps
7672 elsewhere) takes precedence.
7673
ed6edd9b
AC
76742004-03-15 Andrew Cagney <cagney@redhat.com>
7675
f9be684a
AC
7676 * ppc-tdep.h: Update copyright.
7677 (ppc_linux_supply_gregset, ppc_linux_supply_fpregset): Change
7678 function signatures to match "regsets.h".
7679 * ppc-linux-tdep.c: Include "regset.h".
7680 (ELF_GREGSET_SIZE): Delete.
7681 (right_supply_register): New function.
7682 (ppc_linux_supply_fpregset, ppc_linux_supply_gregset): Rewrite
7683 using right_supply_register.
7684 (ppc32_linux_supply_gregset, ppc64_linux_supply_gregset): New
7685 functions.
7686 (ppc64_linux_gregset, ppc32_linux_gregset): Define.
7687 (ppc_linux_init_abi): Register ppc_linux_regset_from_core_section.
7688 (_initialize_ppc_linux_tdep): Do not register
7689 ppc_linux_regset_core_fns.
7690 (ppc_linux_regset_from_core_section): Replace
7691 fetch_core_registers.
7692 (ppc_linux_regset_core_fns): Delete.
7693 * ppc-linux-nat.c: (right_fill_reg): New function.
7694 (supply_gregset): Update call to ppc_linux_supply_gregset.
7695 (fill_gregset): Clear the register set, use right_fill_reg.
7696 (supply_fpregset): Update call to ppc_linux_supply_fpregset.
7697 (fill_fpregset): Use right_fill_reg, correctly compute FP offsets.
7698
ed6edd9b
AC
7699 * rs6000-tdep.c (rs6000_register_virtual_type): Make registers
7700 unsigned.
7701
030f20e1
AC
77022004-03-15 Andrew Cagney <cagney@redhat.com>
7703
7704 * gdbarch.sh (gdbarch_data_pre_init_fytpe)
7705 (gdbarch_data_register_pre_init, gdbarch_data_post_init_fytpe)
7706 (gdbarch_data_register_post_init): Replace gdbarch_data_init_ftype
7707 and register_gdbarch_data.
7708 (deprecated_set_gdbarch_data): Rename set_gdbarch_data.
7709 (struct gdbarch_data): Replace "init" by "pre_init" and
7710 "post_init".
7711 * gdbarch.h, gdbarch.c: Re-generate.
7712 * dwarf2-frame.c (dwarf2_frame_init): Replace "gdbarch" paramter
7713 with"obstack", use OBSTACK_ZALLOC.
7714 (dwarf2_frame_ops): Delete.
7715 (dwarf2_frame_set_init_reg): Use gdbarch_data.
7716 (dwarf2_frame_init_reg): Use gdbarch_data.
7717 (_initialize_dwarf2_frame): Use gdbarch_data_register_pre_init.
8718a420 7718 * solib-svr4.c (set_solib_svr4_fetch_link_map_offsets)
030f20e1
AC
7719 (_initialize_svr4_solib): Update.
7720 * user-regs.c (_initialize_user_regs): Update.
7721 * reggroups.c (_initialize_reggroup): Update.
7722 * regcache.c (_initialize_regcache): Update.
7723 * mips-linux-tdep.c (_initialize_mips_linux_tdep): Update.
7724 * libunwind-frame.c (_initialize_libunwind_frame): Update.
7725 * gnu-v3-abi.c (init_gnuv3_ops): Update.
7726 * frame-unwind.c (_initialize_frame_unwind): Update.
7727 * frame-base.c (_initialize_frame_base): Update.
7728 * user-regs.c (user_reg_add): Update.
7729 * reggroups.c (reggroup_add): Update.
7730 * mips-linux-tdep.c (set_mips_linux_register_addr): Update.
7731 * libunwind-frame.c (libunwind_frame_set_descr): Update.
7732 * frame-unwind.c (frame_unwind_append_sniffer): Update.
7733 * frame-base.c (frame_base_table): Update.
7734 * remote.c (_initialize_remote): Update.
7735 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Define.
8718a420 7736
3111a3fc
AC
77372004-03-15 Andrew Cagney <cagney@redhat.com>
7738
7739 * cris-tdep.c (bfd_lookup_symbol): Delete unused function.
7740
5ecb7103
KB
77412004-03-15 Kevin Buettner <kevinb@redhat.com>
7742
7743 * Makefile.in (frv-linux-tdep.o): Add dependencies.
7744 * frv-linux-tdep.c: New file.
7745 * frv-tdep.c (struct gdbarch_tdep): Add new field
7746 ``sigcontext_reg_addr''.
7747 (frv_set_sigcontext_reg_addr, frv_sigtramp,frame_cache)
7748 (frv_sigtramp_frame_this_id, frv_sigtramp_frame_prev_register)
7749 (frv_sigramp_frame_sniffer): New functions.
7750 (frv_sigtramp_frame_unwind): New static global.
7751 (frv_gdbarch_init): Hook in ABI-specific overrides. Hook up frame
7752 sniffers.
7753 * frv-tdep.h (frv_set_sigcontext_reg_addr): New function.
7754 * config/frv/frv.mt (TDEPFILES): Add frv-linux-tdep.o.
7755
1ccda5e9
KB
77562004-03-15 Kevin Buettner <kevinb@redhat.com>
7757
7758 * frv-tdep.c (frv_analyze_prologue): Terminate prologue scan,
7759 but not via a call to error(), when unable to read memory.
7760
b375a0a5
KB
77612004-03-15 Kevin Buettner <kevinb@redhat.com>
7762
7763 * frv-tdep.c (frv_call_dummy_words): Delete.
7764 (frv_frame_unwind_cache): Delete unused variable, ``prev_sp''.
7765
4fdf6121
AC
77662004-03-15 Andrew Cagney <cagney@redhat.com>
7767
7768 * infrun.c (handle_step_into_function, step_over_function): Only
7769 update and use STEP_FRAME_ID when the system is using legacy
7770 frames. Update comments.
7771
34021503
MK
77722004-03-14 Mark Kettenis <kettenis@gnu.org>
7773
187e21d1
MK
7774 * amd64-linux-tdep.h: Remove file.
7775 * amd64-linux-tdep.c: Don't include "inferior.h" and
7776 "amd64-linux-tdep.h". Include "frame.h" and "solib-svr4.h".
7777 (USER_R15, USER_R14, USER_R13, USER_R12, USER_RBP, USER_RBX)
7778 (USER_R11, USER_R10, USER_R9, USER_R8, USER_RAX, USER_RCX)
7779 (USER_RDX, USER_RSI, USER_RDI, USER_RIP, USER_CS, USER_EFLAGS)
7780 (USER_RSP, USER_SS, USER_DS, USER_ES, USER_FS, USER_GS): Remove
7781 macros.
7782 (user_to_gdb_regmap): Remove variable.
7783 (amd64_linux_gregset_reg_offset): New variable.
7784 (amd64_core_fns): Remove variable.
7785 (fetch_core_registers): Remove function.
7786 (amd64_linux_supply_gregset, amd64_linux_fill_gregset): Remove
7787 functions.
7788 (_initialize_amd64_linux_tdep): Don't set add_core_fns.
7789 * amd64-linux-nat.c: Don't include "amd64-linux-tdep.h".
7790 * Makefile.in (amd64_linux_tdep_h): Remove.
7791 (amd64-linux-nat.o): Update dependencies.
7792 (amd64-linux-tdep.o): Update dependencies.
7793
99679982
MK
7794 * amd64-linux-nat.c (GETFPREGS_SUPPLIES): Remove macro.
7795 (fetch_regs, fetch_fpregs, store_regs, store_fpregs): Remove
7796 functions.
7797 (fetch_inferior_registers, store_inferior_registers): Rewrite.
7798
34021503
MK
7799 * amd64-tdep.h (amd64_fill_fxsave): Remove prototype.
7800 * amd64-tdep.c (amd64_fill_fxsave): Remove function.
7801
134d01f1
DJ
78022004-03-14 Daniel Jacobowitz <drow@mvista.com>
7803
7804 * dwarf2read.c (read_structure_type): Rename from
8718a420 7805 read_structure_scope. Don't create a symbol or call process_die.
134d01f1
DJ
7806 Return immediately if die->type is set. Call read_type_die before
7807 dwarf2_add_member_fn.
7808 (process_structure_scope): New function.
7809 (read_enumeration_type, process_enumeration_scope): New functions,
7810 broken out from read_enumeration. Don't create the enumeration
7811 type if it has already been created.
7812 (read_enumeration): Removed.
7813 (process_die): Call read_structure_type, process_structure_scope,
7814 read_enumeration_type, and process_enumeration_scope. Just call
7815 new_symbol for base and subrange types. Add a comment about other
7816 type dies.
7817 (read_type_die): Call read_enumeration_type.
7818 (add_partial_structure, new_symbol): Update comments.
7819
65760afb
SC
78202004-03-13 Stephane Carrez <stcarrez@nerim.fr>
7821
7822 * m68hc11-tdep.c (m68hc11_register_name): Get soft reg information.
7823
10f59415
SC
78242004-03-13 Stephane Carrez <stcarrez@nerim.fr>
7825
7826 * tui/tui-win.h (tui_get_cmd_list): Declare.
7827 * tui/tui-win.c (tui_command): New function.
7828 (tui_get_cmd_list): New function.
7829 (_initialize_tui_win): Moved initialization of tui command in
7830 tui_get_cmd_list.
7831
7832 * tui/tui-data.c (init_content_element): Setup new data members.
7833 (init_win_info): Likewise.
7834 (free_content_elements): Free it.
7835 * tui/tui-data.h (struct tui_data_element): Store the register
7836 content to print.
7837 (struct tui_data_info): Keep the current register group.
7838
7839 * tui/tui-layout.c (tui_set_layout): Update call to tui_show_registers.
7840
7841 * tui/tui-regs.h (tui_show_registers): Update prototype.
7842 (tui_toggle_float_regs, tui_calculate_regs_column_count): Remove.
7843 (tui_resize_all): No need to calculate anything for register window.
7844 * tui/tui-regs.c (tui_calculate_regs_column_count): Remove.
7845 (tui_set_register_element, tui_set_general_regs_content): Remove.
7846 (tui_set_special_regs_content): Remove.
7847 (tui_set_general_and_special_regs_content): Remove.
7848 (tui_set_float_regs_content): Remove.
7849 (tui_reg_value_has_changed, tui_get_register_raw_value): Remove.
7850 (tui_set_regs_content): Remove.
7851 (tui_toggle_float_regs, _tui_toggle_float_regs_command): Remove.
7852 (tui_v_show_registers_command_support): Remove.
7853 (tui_show_registers): Use a reggroup to specify the registers to show.
7854 (tui_show_register_group): New function.
7855 (tui_display_registers_from): Compute the layout of register window
7856 and refresh with new API; be sure to delete old register windows.
7857 (tui_check_register_values): Update to use tui_get_register and
7858 tui_display_data.
7859 (tui_display_register): Just refresh the register window part.
7860 (tui_register_format): Format registers and save in tui_data_element.
7861 (tui_get_register): New to combine tui_reg_value_has_changed and
7862 tui_get_register_raw_value; fix to use the new gdb API.
7863 (tui_show_float_command): Renamed tui_reg_float_command.
7864 (tui_show_general_command): Renamed tui_reg_general_command.
7865 (tui_show_special_command): Renamed tui_reg_system_command.
7866 (_initialize_tui_regs): Remove unused commands.
7867
c3364ea4
MK
78682004-03-13 Mark Kettenis <kettenis@gnu.org>
7869
27d1e716
MK
7870 * NEWS (New native configurations): Mention OpenBSD/amd64.
7871
c3364ea4
MK
7872 * config/i386/nm-fbsd.h: Include "config/nm-bsd.h".
7873 (PTRACE_ARG3_TYPE, FETCH_INFERIOR_REGISTERS, ATTACH_DETACH):
7874 Remove defines.
7875 * config/i386/nm-fbsd64.h: Likewise.
7876 * config/i386/nm-obsd.h: Likewise.
7877 * config/sparc/nm-fbsd.h: Likewise. Update copyright year.
7878 * config/alpha/nm-fbsd.h: Likewise. Update copyright year.
7879
b2d6d697
KB
78802004-03-12 Kevin Buettner <kevinb@redhat.com>
7881
7882 * frv-tdep.c (set_variant_scratch_registers): New function.
b2d6d697
KB
7883 * frv-tdep.h (scr0_regnum, scr1_regnum, scr2_regnum, scr3_regnum):
7884 New constants.
7885
76e43199
KB
7886 From Richard Sandiford <rsandifo@redhat.com>:
7887 * frv-tdep.c (frv_gdbarch_init): Add FR450 support.
7888
34ce532e
KB
78892004-03-12 Kevin Buettner <kevinb@redhat.com>
7890
7891 * frv-tdep.c, frv-tdep.h (first_gpr_regnum, sp_regnum, fp_regnum)
7892 (struct_return_regnum, last_gpr_regnum, first_fpr_regnum)
7893 (last_fpr_regnum, pc_regnum, first_spr_regnum, psr_regnum, ccr_regnum)
7894 (cccr_regnum, fdpic_loadmap_exec_regnum, fdpic_loadmap_interp_regnum)
7895 (tbr_regnum, brr_regnum, dbar0_regnum, dbar1_regnum, dbar2_regnum)
7896 (dbar3_regnum, lr_regnum, lcr_regnum, iacc0h_regnum, iacc0l_regnum)
7897 (last_spr_regnum, frv_num_regs, first_pseudo_regnum, iacc0_regnum)
7898 (last_pseudo_regnum, frv_num_pseudo_regs): Move constant (enum)
7899 definitions from frv-tdep.c to frv-tdep.h.
7900
c4d10515
KB
79012004-03-12 Kevin Buettner <kevinb@redhat.com>
7902
7903 Add shared library support for FR-V FDPIC ABI:
7904 * Makefile.in (solib-frv.o): Add dependencies.
7905 * frv-tdep.c (find_func_descr, frv_convert_from_func_ptr_addr):
7906 New functions.
7907 (frv_push_dummy_call): Add support for FDPIC ABI.
7908 (frv_gdbarch_init): Call set_gdbarch_convert_from_func_ptr_addr()
7909 for FDPIC ABI.
7910 * frv-tdep.h (frv_fdpic_find_global_pointer): Declare.
7911 (frv_fdpic_find_canonical_descriptor): Declare.
7912 * solib-frv.c: New file.
7913 * config/frv/frv.mt (TDEPFILES): Add solib.o and solib-frv.o.
7914 * config/frv/tm-frv.h (solib.h): Include.
7915
ed1bd989
KB
79162004-03-12 Kevin Buettner <kevinb@redhat.com>
7917
7918 * Makefile.in (elf_frv_h, frv_tdep_h): Define.
7919 (frv-tdep.o): Update dependencies.
7920 * frv-tdep.h: New file.
7921 * frv-tdep.c (elf-bfd.h, elf/frv.h, osabi.h, frv-tdep.h): Include.
7922 (fdpic_loadmap_exec_regnum, fdpic_loadmap_interp_regnum): New
7923 constants.
7924 (struct gdbarch_tdep): Add new member ``frv_abi''.
7925 (frv_abi, frv_fdpic_loadmap_addresses, set_variant_abi_fdpic): New
7926 functions.
7927 (new_variant): Set ``frv_abi'' field.
7928 (gdb_arch_init): Detect FDPIC executables.
7929
82b38f72
MK
79302004-03-12 Mark Kettenis <kettenis@gnu.org>
7931
7932 * solib-svr4.h: Change SOLIB_SVR4 wrapper into SOLIB_SVR4_H
7933 wrapper.
7934
db1ea9ba
AC
79352004-03-11 Andrew Cagney <cagney@redhat.com>
7936
7937 * solib-svr4.h: Add #ifndef SOLIB_SVR4 wrapper.
7938
f8766ec1
KB
79392004-03-11 Kevin Buettner <kevinb@redhat.com>
7940
7941 * solist.h (master_so_list): New function.
7942 * solib.c (master_so_list): Likewise.
7943 * solib-svr4.c (enable_break): Iterate over so_list entries
7944 obtained from master list instead of entries obtained directly
7945 via svr4_current_sos().
7946
523f6a27
BE
79472004-03-10 Ben Elliston <bje@gnu.org>
7948
7949 * MAINTAINERS: Update my mail address.
7950
37814c18
KI
79512004-03-10 Kei Sakamoto <sakamoto.kei@renesas.com>
7952
7953 * remote-m32r-sdi.c: Support hardware watchpoint.
7954
8b9740d8
DJ
79552004-03-09 Daniel Jacobowitz <drow@mvista.com>
7956
7957 * user-regs.c: Update copyright years.
7958 (struct user_regs): Rename to gdb_user_regs.
7959 (append_user_reg, builtin_user_regs, user_regs_init)
7960 (user_reg_add, user_reg_map_name_to_regnum)
7961 (usernum_to_user_reg): Update.
7962
4bb7a0a7
DJ
79632004-03-09 Daniel Jacobowitz <drow@mvista.com>
7964
7965 * dwarf2read.c (skip_leb128, peek_die_abbrev, skip_one_die)
7966 (skip_children): New functions.
7967 (locate_pdi_sibling): Call skip_children.
7968
44e1a9eb
DJ
79692004-03-09 Daniel Jacobowitz <drow@mvista.com>
7970
7971 * arm-tdep.c (arm_use_struct_convention): Look through typedefs.
7972 * gdbtypes.c (check_typedef): Update comments.
7973
f3dd6933
DJ
79742004-03-09 Daniel Jacobowitz <drow@mvista.com>
7975
7976 * dwarf2read.c (struct comp_unit_head): Remove dwarf2_abbrevs array.
7977 (struct dwarf2_cu): Add abbrev_obstack and dwarf2_abbrevs
7978 pointer. Update comment about comp_unit_head.
7979 (struct abbrev_info): Shorten two int flags.
7980 (dwarf_alloc_abbrev): Take a CU argument.
7981 (dwarf2_build_psymtabs_hard): Call dwarf2_free_abbrev_table
7982 each time through the loop. Update cleanup argument.
7983 (psymtab_to_symtab_1): Update cleanup call.
7984 (dwarf2_read_abbrevs, dwarf2_alloc_abbrev): Allocate on the
7985 abbrev_obstack.
7986 (dwarf2_free_abbrev_table): Renamed from dwarf2_empty_abbrev_table.
7987 Just call obstack_free and clear the pointer.
7988
b40c7d58
DJ
79892004-03-09 Daniel Jacobowitz <drow@mvista.com>
7990
7991 * infrun.c (handle_inferior_event): Remove short-circuit code for
7992 events in a different thread.
7993
333dabeb
DJ
79942004-03-09 Daniel Jacobowitz <drow@mvista.com>
7995
7996 * target.c (debug_to_xfer_memory): If targetdebug is 1, don't
7997 print the whole transfer.
7998 (initialize_targets): Update description of "set debug target".
7999
aa17d93e
DJ
80002004-03-09 Daniel Jacobowitz <drow@mvista.com>
8001
8002 * arm-tdep.c (thumb_get_next_pc): Handle Thumb BLX.
8003
0b71f08f
NW
80042004-03-08 Nathan J. Williams <nathanw@wasabisystems.com>
8005
8006 * MAINTAINERS (write after approval): Add myself.
8007
3930f270
CV
80082004-03-08 Corinna Vinschen <vinschen@redhat.com>
8009
8010 * sh-tdep.c (sh_print_registers_info): Use for loop.
8011 Don't skip multiple registers when a float register is encountered.
8012
a2b4a96c
CV
80132004-03-08 Corinna Vinschen <vinschen@redhat.com>
8014
8015 Fix PR tdep/1291.
8016 * sh-tdep.c (sh_analyze_prologue): Align PC relative addressing
8017 to official SH documentation.
8018
f15a4bc0
AC
80192004-03-07 Andrew Cagney <cagney@redhat.com>
8020
8021 * ppc-linux-nat.c (ppc_ptrace_cannot_fetch_store_register): Delete
8022 unused function.
8023
9498281f
DJ
80242004-03-07 Daniel Jacobowitz <drow@mvista.com>
8025
8026 * arm-tdep.c (thumb_get_next_pc): Handle BX.
8027 (arm_get_next_pc): Handle BX and BLX.
8028
449e1137
AC
80292004-03-07 Andrew Cagney <cagney@redhat.com>
8030
eded0a31
AC
8031 * hppa-tdep.c: Replace DEPRECATED_FP_REGNUM with HPPA_FP_REGNUM,
8032 FP0_REGNUM with HPPA_FP0_REGNUM, and SP_REGNUM with
8033 HPPA_SP_REGNUM.
8034 (hppa_register_raw_size, hppa_register_byte, hppa_read_fp)
8035 (hppa_target_read_fp): Delete.
8036 (hppa_gdbarch_init): Do not set deprecated register_raw_size,
8037 register_virtual_size, max_register_raw_size,
8038 max_register_virtual_size, register_byte, register_size,
8039 target_read_fp, fp_regnum, and register_bytes. Set register_type
8040 instead of register_virtual_type.
8041 (hppa32_register_type, hppa64_register_type): Replace
8042 hppa32_register_virtual_type and hppa64_register_virtual_type.
8043 * config/pa/tm-hppa.h (HPPA_FP0_REGNUM, HPPA_SP_REGNUM)
8044 (HPPA_FP_REGNUM): Define.
8045
f5f907e2
AC
8046 * hppa-tdep.c (hppa_gdbarch_init): Add missing "break".
8047
69b4bbe4
AC
8048 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO)
8049 (pa_do_registers_info): Delete.
8050 * hppa-tdep.c (pa_do_registers_info, pa_do_strcat_registers_info)
8718a420 8051 (pa_print_registers, pa_print_fp_reg, pa_strcat_registers)
69b4bbe4 8052 (pa_strcat_fp_reg, pa_register_look_aside): Delete.
f5f907e2 8053
78161e48
AC
8054 * infcall.c (legacy_push_dummy_code): Delete #ifdef
8055 GDB_TARGET_IS_HPPA code.
8056 * config/pa/tm-hppa.h (DEPRECATED_FIX_CALL_DUMMY)
8718a420 8057 (hppa_fix_call_dummy, DEPRECATED_CALL_DUMMY_HAS_COMPLETED)
78161e48
AC
8058 (DEPRECATED_DUMMY_WRITE_SP, CALL_DUMMY): Delete.
8059 * config/pa/tm-hppa64.h (CALL_DUMMY): Delete.
8718a420
RM
8060 * hppa-tdep.c (hppa_frame_chain, hppa_frame_chain_valid)
8061 (hppa_push_dummy_frame, hppa_pop_frame, hppa_push_arguments)
8062 (hppa_fix_call_dummy, hppa64_stack_align, hppa_frame_saved_pc)
78161e48 8063 (hppa_init_extra_frame_info, hppa_saved_pc_after_call)
8718a420
RM
8064 (hppa64_call_dummy_breakpoint_offset, hppa_frame_init_saved_regs)
8065 (hppa_frameless_function_invocation, hppa64_store_return_value)
8066 (hppa_store_struct_return, hppa64_extract_return_value)
78161e48 8067 (hppa64_use_struct_convention, hppa_frame_find_saved_regs)
8718a420 8068 (hppa32_call_dummy_length, hppa64_call_dummy_length)
78161e48 8069 (find_dummy_frame_regs, FUNC_LDIL_OFFSET, FUNC_LDO_OFFSET)
8718a420
RM
8070 (find_proc_framesize, deposit_21, restore_pc_queue)
8071 (find_return_regnum, pc_in_interrupt_handler, deposit_14)
210197d2 8072 (rp_saved, pc_in_linker_stub): Delete.
78161e48 8073
782eae8b
AC
8074 Unconditionally enable 64-bit frame and ABI code.
8075 * hppa-tdep.c (hppa_gdbarch_init): Do not set deprecated
8076 call_dummy_breakpoint_offset, call_dummy_length, stack_align,
8077 push_dummy_frame, fix_call_dummy, push_arguments,
8078 call_dummy_location, extract_return_value, use_struct_convention,
8079 store_return_value, store_struct_return, saved_pc_after_call,
8080 init_frame_pc, frame_init_saved_regs, init_extra_frame_info,
8081 frame_chain, frame_chain_valid, frameless_function_invocation,
8082 frame_saved_pc, and pop_frame.
78161e48 8083
449e1137
AC
8084 * hppa-tdep.c: Replace PC_REGNUM with PCOQ_HEAD_REGNUM.
8085 (hppa64_return_value, hppa64_push_dummy_call): Rewrite.
8086 (hppa_gdbarch_init): Do not set PC_REGNUM.
8087
12507572
MK
80882004-03-06 Mark Kettenis <kettenis@gnu.org>
8089
8090 * config/alpha/tm-fbsd.h: Remove file.
8091 * config/alpha/fbsd.mt: Tweak comment.
8092 (TM_FILE): Set to tm-alpha.h.
8093
c107cc1b
AC
80942004-03-05 Andrew Cagney <cagney@redhat.com>
8095
8096 * infrun.c (step_over_function): When non-legacy code, and no
8097 step_frame_id, use the unwinder to get the caller's frame ID.
8098
f2e7c15d
MK
80992004-03-05 Mark Kettenis <kettenis@gnu.org>
8100
8b0c3633
MK
8101 * i386bsd-tdep.c (_initialize_i386bsd_tdep): Register
8102 i386bsd_core_osabi_sniffer for bfd_arch_i386 instead of
8103 bfd_arch_unknown. Adjust comment.
8104
f2e7c15d
MK
8105 * i386-nat.c: Fix typo in comment. Re-introduce paranoiac.
8106 * i386obsd-tdep.c: Correct spelling in comment.
8107 * i386nbsd-tdep.c: Correct spelling in comment.
8108 * sparc-tdep.c: Correct spelling in comments.
8109
1198ecbe
DC
81102004-03-05 David Carlton <carlton@kealia.com>
8111
8112 * cp-namespace.c (cp_lookup_transparent_type_loop): Fix recursion
8113 bug.
8114
9eb42ed1
MK
81152004-03-05 Mark Kettenis <kettenis@gnu.org>
8116
8117 * sparc-tdep.c: Fix typo in comment.
8118
52b5e991
JB
81192004-03-04 J. Brobecker <brobecker@gnat.com>
8120
8121 * hppa-tdep.c (hppa_frame_cache): Avoid undefined return value.
8122
d8151005
DJ
81232004-03-04 Daniel Jacobowitz <drow@mvista.com>
8124
8125 * dwarf2read.c: Add comment describing memory lifetimes.
8126 (struct dwarf2_pinfo): Update comment.
8127 (dwarf2_add_field, dwarf2_add_member_fn, read_structure_scope)
8128 (read_enumeration, new_symbol): Don't use obsavestring.
8129
cbeae229
MK
81302004-03-04 Mark Kettenis <kettenis@gnu.org>
8131
722d18c2
MK
8132 * amd64-linux-nat.c (fill_fpregset): Call amd64_colletc_fxsave
8133 instead of amd64_fill_fxsave.
8134 * amd64bsd-nat.c (store_inferior_registers): Likewise.
8135 * amd64fbsd-nat.c (fill_fpregset): Likewise.
8136
cbeae229
MK
8137 * sparc-tdep.c (sparc_frame_cache): Don't bail out if %fp is zero.
8138 Reorganize code a bit.
8139
b4206d25
OF
81402004-03-04 Orjan Friberg <orjanf@axis.com>
8141
8142 * cris-tdep.c (cris_scan_prologue): Save the frame pointer's offset
8718a420
RM
8143 when the frame pointer is pushed. Don't set the frame pointer's
8144 address on the stack unless it's actually located there.
b4206d25
OF
8145 Set the SRP's address on the stack correctly when the PC is still in
8146 the prologue.
8147 (cris_return_value): New function.
8148 (cris_gdbarch_init): Clear deprecated store_return_value,
8149 extract_return_value.
8150
49b0b195
JB
81512004-03-02 Jim Blandy <jimb@redhat.com>
8152
8153 * stabsread.c (reg_value_complaint): The maximum register number
8154 is one less than the number of registers.
8155
e9ff708b
AC
81562004-03-02 Andrew Cagney <cagney@redhat.com>
8157
8158 * i386-tdep.h (enum i386_regnum): Add I386_DS_REGNUM,
8159 I386_ES_REGNUM, I386_FS_REGNUM, and I386_GS_REGNUM. Remove
8160 trailing comma and redundant assignment of I386_ST0_REGNUM.
8161 * amd64-nat.c (amd64_collect_native_gregset): Zero-extend the
8162 32-bit segment registers.
8163
d4715e41
AC
81642004-03-01 Andrew Cagney <cagney@redhat.com>
8165
8166 * rs6000-tdep.c (rs6000_init_frame_pc_first): Fix compiler error,
8167 use frame_relative_level and get_next_frame.
8168
3ce2bf18
AC
81692004-02-29 Andrew Cagney <cagney@redhat.com>
8170
8171 * rs6000-tdep.c (rs6000_init_frame_pc_first): New function.
8172 (rs6000_gdbarch_init): Set deprecated_init_frame_pc_first.
8173 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST):
8174 Delete macro.
8175
2da6aac3
DJ
81762004-02-29 Daniel Jacobowitz <drow@mvista.com>
8177
8178 * inflow.c (terminal_inferior): Don't give up the terminal if we
8179 previously couldn't get the inferior's terminal state.
8180
6ba34a8d
DJ
81812004-02-29 Daniel Jacobowitz <drow@mvista.com>
8182
8183 * regcache.c (read_pc_pid): Restore inferior_ptid after reading
8184 PC_REGNUM.
8185
faae5abe
AC
81862004-02-28 Andrew Cagney <cagney@redhat.com>
8187
8188 * NEWS: Refer to GDB 6.1.
8189 * README: Refer to GDB 6.1.
8190 * PROBLEMS: Refer to GDB 6.1.
8191
2227a3c5
DJ
81922004-02-28 Daniel Jacobowitz <drow@mvista.com>
8193
8194 * thread-db.c (disable_thread_signals): Remove unused function.
8195
80571bff
MK
81962004-02-28 Mark Kettenis <kettenis@gnu.org>
8197
041bd74b
MK
8198 * amd64-nat.c: Include "gdb_string.h".
8199 (amd64_collect_native_gregset): Zero-extend the 32-bit
8200 general-purpose registers and %eip.
8201
3c017e40
MK
8202 * amd64-tdep.h: (amd64_collect_fxsave): New prototype.
8203 * amd64-tdep.c (amd64_collect_fxsave): New function.
8204 (amd64_fill_fxsave): Simply call amd64_collect_fxsave.
8205
80571bff
MK
8206 * i387-tdep.h: Update copyright year.
8207 (i387_collect_fxsave): New prototype.
8208 * i387-tdep.c: Update copyright year.
8209 (i387_collect_fxsave): New function containing most of the code
8210 from i387_fill_fxsave.
8211 (i387_fill_fxsave): Call i387_collect_fxsave.
8212
50d71875
AC
82132004-02-28 Andrew Cagney <cagney@redhat.com>
8214
8215 * amd64-linux-nat.c (ps_get_thread_area): When architecture is
8216 i386 use PTRACE_GET_THREAD_AREA. Suggested by Roland McGrath.
8217
4a28816e
MK
82182004-02-28 Mark Kettenis <kettenis@gnu.org>
8219
8220 * amd64-tdep.c (amd64_frame_cache): Fix comment.
8221
dbda9972
AC
82222004-02-28 Andrew Cagney <cagney@redhat.com>
8223
8224 * utils.c: Use "", instead of <>, to include readline.
8225 tui/tui-win.c, tui/tui.c, tui/tui-hooks.c: Ditto.
8226 * tracepoint.c, top.c, symmisc.c, symfile.c: Ditto.
8227 * source.c, solib.c, exec.c, event-top.c: Ditto.
8228 * corelow.c, completer.c, cli/cli-setshow.c: Ditto.
8229 * cli/cli-dump.c, cli/cli-cmds.c: Ditto.
8230 * Makefile.in: Update all dependencies.
8231 (readline_tilde_h, readline_history_h): Define.
8232 (readline_headers): Delete.
8233
83277a99
MK
82342004-02-28 Mark Kettenis <kettenis@gnu.org>
8235
91ae4303
MK
8236 * config/djgpp/fnchange.lst: Rename "config/i386/nm-linux64.h" to
8237 "config/i386/nm-lx64.h" and "config/i386/tm-linux64.h" to
8238 "config/i386/tm-lx64.h".
8239
83277a99
MK
8240 * config/djgpp/fnchange.lst: Rename "amd64-linux-tdep.c" to
8241 "amd64-ltdep.c" and "amd64-linux-nat.c" to "amd64-lnat.c". Remove
8242 rules for "x86-64-linux-tdep.c" and "x86-64-linux-nat.c".
8243
6e1d7d6c
AC
82442004-02-28 Andrew Cagney <cagney@redhat.com>
8245
ecc9ac84
AC
8246 * dwarf2-frame.h (struct gdbarch): Add opaque declaration.
8247
6e1d7d6c
AC
8248 * breakpoint.c (_initialize_breakpoint): Use
8249 "add_setshow_auto_boolean_cmd. Better word-wrap help messages.
8250 Add help to show command.
8251
9671aeef
MK
82522004-02-28 Mark Kettenis <kettenis@gnu.org>
8253
7fa2737c
MK
8254 * i386-nat.c: Reformat to be closer to coding standards.
8255 (i386_handle_nonaligned_watchpoint): Rename local variable `rv' to
8256 `retval'. Make variables `align' and `size' local to while-loop.
8257 (i386_stopped_data_address): Rename local variable `ret' to `addr'.
8258 (_initialize_i386_nat): New prototype.
8259
9671aeef
MK
8260 * tui/tui.c: Include <readline/readline.h> instead of
8261 "readline/readline.h". Include it after <term.h> and
8262 "gdb_curses.h".
8263
fca7aa43
AC
82642004-02-27 Andrew Cagney <cagney@redhat.com>
8265
412275d5
AC
8266 * hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always use
8267 the new frame unwind code.
8268 (hppa_frame_cache): Use PCOQ_HEAD_REGNUM instead of PC_REGNUM.
8269 (hppa_frame_prev_register): Compute PCOQ_TAIL_REGNUM from
8270 PCOQ_HEAD_REGNUM.
8271
fca7aa43
AC
8272 * hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always
8273 "return_value" and "push_dummy_call".
8274 (hppa32_use_struct_convention): Delete unused function.
8275 (hppa32_store_return_value): Delete unused function.
8276 (hppa32_extract_return_value): Delete unused function.
8277 (hppa32_stack_align): Delete function.
8278
e6a8a7d2
EZ
82792004-02-27 Eli Zaretskii <eliz@elta.co.il>
8280
8281 * coffread.c (enter_linenos): Don't let rawptr reference memory
8282 outside linetab[]'s limits.
8283
1797a8f6
AC
82842004-02-27 Andrew Cagney <cagney@redhat.com>
8285
8286 * hppa-tdep.c (hppa32_push_dummy_call): Fix code reserving
8287 inferior stack space - the stack needs to grow upwards.
8288 (hppa32_frame_align): New function.
8289 (hppa64_frame_align): Replace hppa_frame_align.
8290 (hppa_gdbarch_init): Update.
8291
2e4b5889
OF
82922004-02-26 Orjan Friberg <orjanf@axis.com>
8293
8294 * cris-tdep.c (frame_unwind.h, frame-base.h, trad-frame.h)
8295 (dwarf2-frame.h): Include.
8296 (enum cris_regnums): New enum CRIS_FP_REGNUM.
8297 Remove static variables related to ABI setting.
8298 (struct gdbarch_tdep): Remove cris_abi member.
8299 (struct frame_extra_info): Remove.
8300 (cris_unwind_cache, stack_item): New structs.
8301 (cris_frame_unwind, cris_frame_base): New variables.
8302 (push_stack_item, pop_stack_item)
8303 (cris_frame_unwind_cache, cris_frame_this_id)
8304 (cris_frame_prev_register, cris_unwind_dummy_id, cris_frame_align)
8305 (cris_push_dummy_code, cris_push_dummy_call, cris_frame_sniffer)
8306 (cris_frame_base_address, cris_scan_prologue, cris_unwind_pc)
8307 (cris_unwind_sp, cris_store_return_value, cris_extract_return_value)
8308 (cris_reg_struct_has_addr): New functions.
8309 (cris_examine, cris_frame_init_saved_regs, cris_frame_chain)
8718a420 8310 (cris_frame_saved_pc, cris_saved_pc_after_call,
2e4b5889
OF
8311 (cris_store_struct_return, cris_frameless_function_invocation)
8312 (cris_pop_frame, cris_skip_prologue_main)
8313 (cris_abi_original_store_return_value)
8314 (cris_abi_v2_store_return_value)
8315 (cris_abi_original_extract_return_value)
8316 (cris_abi_v2_extract_return_value)
8317 (cris_abi_original_reg_struct_has_addr)
8318 (cris_abi_v2_reg_struct_has_addr)
8319 (cris_abi_original_push_arguments, cris_abi_v2_push_arguments)
8320 (cris_push_return_address, cris_abi_update): Remove.
8321 (_initialize_cris_tdep): Remove ABI command.
8322 (cris_dump_tdep): Ditto.
8718a420 8323 (cris_gdbarch_init): Remove ABI command.
2e4b5889
OF
8324 Set store_return_value, extract_return_value, push_dummy_code,
8325 push_dummy_call, frame_align, unwind_pc, unwind_sp, unwind_dummy_id,
8326 frame_unwind_append_sniffer, frame_base_set_default.
8327 Clear deprecated init_frame_pc, push_arguments, store_return_value,
8328 extract_return_value, fp_regnum, pc_in_call_dummy, call_dummy_words,
8329 sizeof_call_dummy_words, get_saved_register, push_return_address,
8718a420 8330 pop_frame, store_struct_return, frame_init_saved_regs,
2e4b5889
OF
8331 init_extra_frame_info, frameless_function_invocation, frame_chain,
8332 frame_saved_pc, saved_pc_after_call, save_dummy_frame_tos,
8333 dummy_write_sp.
8718a420 8334
6b9acc27
JJ
83352004-02-26 Jeff Johnston <jjohnstn@redhat.com>
8336
8337 * valprint.h (print_hex_chars, print_char_chars): New prototypes.
8338 * valprint.c (print_hex_chars): Change from static to external.
8339 (print_char_chars): New function.
8340 * printcmd.c (print_scalar_formatted): For integer and enum types
8341 that are longer than LONGEST, perform processing via appropriate
8342 print_*_chars routines.
8343
a431654a
AC
83442004-02-26 Andrew Cagney <cagney@redhat.com>
8345
8346 * Makefile.in: Update dependencies.
8347 Changes from Ulrich Weigand,
8348 * s390-tdep.c: Include "dwarf2-frame.h".
8349 (s390_dwarf2_frame_init_reg): New function.
8350 (s390_gdbarch_init): Install dwarf2_frame_sniffer and
8351 dwarf2_frame_base_sniffer. Call dwarf2_frame_set_init_reg.
8352
fa8d40ab
JJ
83532004-02-26 Jeff Johnston <jjohnstn@redhat.com>
8354
8355 * breakpoint.c (pending_break_support): New setting variable.
8356 (break_command_1): Account for pending_break_support setting
8357 when creating pending breakpoints.
8358 (set_breakpoint_cmd, show_breakpoint_cmd): New functions.
8359 (_initialize_breakpoint): Add "set breakpoint pending" and
8360 "show breakpoint pending" commands.
8361
0dcd613f
AC
83622004-02-26 Andrew Cagney <cagney@redhat.com>
8363
8364 Fix PR i18n/1570.
8365 * charset.c (backslashable, backslashed, represented): Remove 'e'
8366 from list of escaped characters, not part of ISO-C.
8367
479272a3
JB
83682004-02-25 J. Brobecker <brobecker@gnat.com>
8369
8370 From Peter Schauer <schauer@pdf.de>:
8371 * tui/tui.c: Move system header includes after local includes.
8372 Fixes a build failure on solaris systems.
8373
7613d933
JB
83742004-02-25 J. Brobecker <brobecker@gnat.com>
8375
8376 * configure.in: Refine the previous change.
8377 * configure: Regenerate.
8378
9c1488cb
MK
83792004-02-25 Mark Kettenis <kettenis@gnu.org>
8380
8381 * amd64-tdep.h: Renamed from x86-64-tdep.h.
8382 * amd64-tdep.c: Renamed from x86-64-tdep.c. Include
8383 "amd64-tdep.h" instead of "x86-64-tdep.h".
8384 * amd64-nat.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h".
8385 * amd64-linux-tdep.h: Renamed from x86-64-linux.h.
8386 * amd64-linux-tdep.c: Renamed from x86-64-linux-tdep.c. Include
8387 "amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h"
8388 and "x86-64-tdep.c".
8389 * amd64-linux-nat.c: Renamed from x86-64-linux-nat.c. Include
8390 "amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h"
8391 and "x86-64-tdep.c".
8392 * amd64bsd-nat.c: Update copyright year.
8393 Include "amd64-tdep.h" instead of "x86-64-tdep.h".
8394 * amd64fbsd-tdep.c: Include "amd64-tdep.h" instead of
8395 "x86-64-tdep.h".
8396 * amd64fbsd-nat.c: Include "amd64-tdep.h" instead of
8397 "x86-64-tdep.h".
8398 * amd64nbsd-tdep.c: Include "amd64-tdep.h" instead of
8399 "x86-64-tdep.h".
8400 * amd64nbsd-nat.c: Include "amd64-tdep.h" instead of
8401 "x86-64-tdep.h".
8402 * amd64obsd-tdep.c: Include "amd64-tdep.h" instead of
8403 "x86-64-tdep.h".
8404 * amd64obsd-nat.c: Include "amd64-tdep.h" instead of
8405 "x86-64-tdep.h".
8718a420 8406 * configure.host: (x86_64-*-linux*): Set gdb_target to linux64.
9c1488cb
MK
8407 * configure.tgt (x86_64-*-linux*): Set gdb_target to linux64.
8408 * Makefile.in (amd64_linux_tdep_h): Renamed from
8409 x86_64_linux_tdep_h.
8410 (amd64_tdep_h): Renamed from x86_64_tdep_h.
8411 (amd64bsd-nat.o, amd64fbsd-nat.o, amd64fbsd-tdep.o, amd64-nat.o)
8412 (amd64nbsd-nat.o, amd64nbsd-tdep.o, amd64obsd-nat.o)
8413 (amd64obsd-tdep.o): Update dependencies.
8414 (amd64-tdep.o, amd64-linux-nat.o, amd64-linux-tdep.o): New
8415 dependencies.
8416 (x86-64-linux-nat.o, x86-64-linux-tdep.o, x86-64-tdep.o): Remove
8417 dependencies.
8418 (ALLDEPFILES): Add amd64-tdep.c, amd64obsd-nat.c, amd64obsd-nat.c,
8419 amd64-linux-nat.c amd64-linux-tdep.c.
8420 * config/i386/tm-linux64.h: Renamed from tm-x86-64linux.h
8421 * config/i386/nm-linux64.h: Renamed from nm-x86-64linux.h.
8422 * config/i386/linux64.mt: Renamed from x86-64linux.mt.
8423 (TDEPFILES): Replace x86-64-tdep.o and x86-64-linux-tdep.o with
8424 amd64-tdep.o and amd64-linux-tdep.o.
8425 (TM_FILE): Set to tm-linux64.h.
8426 * config/i386/linux64.mh: Renamed from x86-64linux.mh.
8427 (NAT_FILE): Set to nm-linux64.h.
8428 (NATDEPFILES): Replace x86-64-linux-nat.o with amd64-linux-nat.o.
8429 * config/i386/fbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with
8430 amd64-tdep.o.
8431 * config/i386/nbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with
8432 amd64-tdep.o.
8433 * config/i386/obsd64.mt (TDEPFILES): Replace x86-64-tdep.o with
8434 amd64-tdep.o.
8435
4b8dad4a
RM
84362004-02-25 Roland McGrath <roland@redhat.com>
8437
8438 * remote.c (remote_protocol_qPart_auxv): New variable.
8439 (init_all_packet_configs): Initialize it.
8440 (set_remote_protocol_qPart_auxv_packet_cmd): New function.
8441 (show_remote_protocol_qPart_auxv_packet_cmd): New function.
8442 (show_remote_cmd): Call it.
8443 (_initialize_remote): Initialize commands.
8444 (remote_xfer_partial): If enabled, use qPart:auxv:read:... query to
8445 service TARGET_OBJECT_AUXV requests.
8446
66745969
JB
84472004-02-25 J. Brobecker <brobecker@gnat.com>
8448
8449 * configure.in: Make sure that the wborder function is available.
8450 Otherwise, search for it in the cur_colr library.
8451 * configure: Regenerate.
8452
79508e1e
AC
84532004-02-25 Andrew Cagney <cagney@redhat.com>
8454
8455 * hppa-tdep.c (hppa32_push_dummy_call): Rewrite.
8456
571ee600
MK
84572004-02-25 Mark Kettenis <kettenis@gnu.org>
8458
8459 * config/i386/tm-x86-64linux.h: Tweak comments.
8460
2b1b322f 84612004-02-25 Richard Sandiford <rsandifo@redhat.com>
ad74788f
RS
8462
8463 * MAINTAINERS: Add self to write-after-approval list.
8464
4d2acc65
AC
84652004-02-25 Andrew Cagney <cagney@redhat.com>
8466
4b8dad4a 8467 PR cli/1566. Problem found, and fix suggested by David Allan.
4d2acc65
AC
8468 * cli/cli-script.c (execute_control_command): Unconditionally
8469 install a cleanup. Default "ret" to "invalid_control". Use
8470 "break" instead of "return" to escape from the switch.
8471
4cfcaf21
JB
84722004-02-24 J. Brobecker <brobecker@gnat.com>
8473
8474 * tui/tui-disasm.c: %s/lines/asm_lines/g to avoid a collision
8475 with the lines macro defined in term.h on AiX.
8476 * tui/tui-regs.c: %s/label_width/tui_label_width/g, to avoid
8477 a collision with the label_width macro defined in term.h on AiX.
8478
54a5c8d8
KB
84792004-02-23 David Mosberger <davidm@hpl.hp.com>
8480
8481 Committed by Kevin Buettner <kevinb@redhat.com>.
8482
8483 * ia64-tdep.h (ia64_write_pc, ia64_linux_write_pc): Declare.
8484 * ia64-tdep.c (ia64_write_pc): Make it a global function.
8485 (ia64_gdbarch_init): For Linux targets, use ia64_linux_write_pc()
8486 instead of ia64_write_pc().
8487 * ia64-linux-tdep.c (regcache.h): Include.
8488 (ia64_linux_write_pc): New function.
4b8dad4a 8489
8a1dac83
RM
84902004-02-23 Roland McGrath <roland@redhat.com>
8491
8492 * auxv.c (info_auxv_command): Fix typos in error messages.
8493
90f90721
MK
84942004-02-23 Mark Kettenis <kettenis@gnu.org>
8495
8a1dac83 8496 * x86-64-tdep.h: Tweak comment.
90f90721
MK
8497 (enum amd64_regnum): New.
8498 (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM)
8499 (X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM)
8500 (X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM)
8501 (X86_64_XMM1_REGNUM): Removed.
8502 (AMD64_NUM_GREGS): Renamed from X86_64_NUM_GREGS.
8503 (amd64_init_abi, amd64_supply_fxsave, amd64_fill_fxsave): Adjust
8504 prototypes for renamed functions.
8505 * x86-64-tdep.c: Fix typo.
8506 (amd64_dwarf_regmap): Use constants from `enum amd64_regnum' for
8507 register numbers.
8508 (amd64_return_value, amd64_push_arguments, amd64_push_dummy_call):
8509 Use constants from `enum amd64_regnum' for register numbers.
8510 (AMD64_NUM_SAVED_REGS): Adjust for renamed macros.
8511 (amd64_analyze_prologue, amd64_frame_cache,
8512 amd64_sigtramp_frame_cache): Use constants from `enum
8513 amd64_regnum' for register numbers.
8514 (amd64_supply_fpregset): Adjust for renamed functions.
8515 (amd64_init_abi): Rename from x86_64_init_abi. Use constants from
8516 `enum amd64_regnum' for register numbers.
8517 (I387_ST0_REGNUM): Use constant from `enum amd64_regnum'.
8518 (amd64_supply_fxsave): Rename from x86_64_supply_fxsave.
8519 (amd64_fill_fxsave): Rename fro x86_64_fill_fxsave.
8520 * x86-64-linux-tdep.c (amd64_linux_supply_gregset)
8521 (amd64_linux_fill_gregset): Adjust for renamed macros.
8522 (fetch_core_registers): Adjust for renamed functions.
8523 (amd64_linux_init_abi): Adjust for renamed functions.
8524 * x86-64-linux-nat.c (supply_gregset, fill_gregset): Adjust for
8525 renamed functions.
8526 * amd64-nat.c: Adjust for renamed macros.
8527 * amd64bsd-nat.c (fetch_inferior_registers)
8528 (store_inferior_registers): Use constants from `enum amd64_regnum'
8529 for register numbers. Adjust for renamed variables.
8530 * amd64fbsd-nat.c (supply_gregset, fill_gregset): Adjust for
8531 renamed variables.
8532 (_initialize_amd64fbsd_nat): Use constants from `enum
8533 amd64_regnum' for register numbers.
8534 * amd64fbsd-tdep.c (amd64fbsd_sigcontext_addr): Use constants from
8535 `enum amd64_regnum' for register numbers.
8536 (amd64fbsd_init_abi): Adjust for renamed functions.
8537 * amd64nbsd-tdep.c (amd64nbsd_sigcontext_addr): Use constants from
8538 `enum amd64_regnum' for register numbers.
8539 (amd64nbsd_init_abi): Adjust for renamed functions.
8540 (_initialize_amd64nbsd_ndep): Adjust for renamed macros.
8541 * amd64obsd-tdep.c (amd64obsd_sigcontext_addr): Use constants from
8542 `enum amd64_regnum' for register numbers.
8543 (amd64obsd_init_abi): Adjust for renamed functions.
8544 (_initialize_amd64obsd_ndep): Adjust for renamed macros.
8545
d5479188
JJ
85462004-02-23 Jeff Johnston <jjohnstn@redhat.com>
8547
8548 * breakpoint.c (print_one_breakpoint): Do not output spaces
8549 after printing <PENDING> for a pending breakpoint.
8550
81cb7cc9
JJ
85512004-02-23 Jeff Johnston <jjohnstn@redhat.com>
8552
8553 * printcmd.c (print_scalar_formatted): Initialize val_long
8554 to remove compiler warning message.
8555
cbdeadca
JJ
85562004-02-23 Jeff Johnston <jjohnstn@redhat.com>
8557
8558 * defs.h (nquery, yquery): New prototypes.
8559 * breakpoint.c (break_command_1): Use new nquery interface.
8560 * utils.c (defaulted_query, nquery, yquery): New functions.
8561
da6bab63
AC
85622004-02-23 Andrew Cagney <cagney@redhat.com>
8563
2f690297
AC
8564 * hppa-tdep.c (hppa_frame_align): New function.
8565 (hppa32_push_dummy_call): New function.
8566 (hppa64_push_dummy_call): New function.
8567 (hppa_gdbarch_init): Set frame_align and push_dummy_call; keep
8568 disabled.
8a1dac83 8569
da6bab63
AC
8570 * infcall.c (legacy_push_dummy_code): Don't call deprecated
8571 FIX_CALL_DUMMY when push_dummy_call is available.
8572 (call_function_by_hand, push_dummy_code): Ditto.
8573
abf9b42d
AC
85742004-02-22 Andrew Cagney <cagney@redhat.com>
8575
8576 * config/pa/tm-hppa.h (CALL_DUMMY_LOCATION): Delete macro.
8577 (DEPRECATED_PC_IN_CALL_DUMMY): Delete macro.
8578 (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Delete macro.
8579 * hppa-tdep.c (hppa_gdbarch_init): Clear deprecated
8580 use_generic_dummy_frames, set deprecated pc_in_call_dummy, set
8581 call_dummy_location to ON_STACK.
8582
10fc94a4
MK
85832004-02-22 Mark Kettenis <kettenis@gnu.org>
8584
51433e4b
MK
8585 * x86-64-linux-tdep.c: Tweak comment.
8586 (amd64_linux_supply_gregset): Renamed from
8587 x86_64_linux_supply_gresget.
8588 (amd64_linux_fill_gregset): Renamed from
8589 x86_64_linux_fill_gregset.
8590 (fetch_core_registers): Adjust for renamed functions.
8591 (amd64_core_fns): Renamed from x86_64_core_fns.
8592 (amd64_linux_sigtramp_start): Renamed from
8593 x86_64_linux_sigtramp_start.
8594 (amd64_linux_pc_in_sigtramp): Renamed from
8595 x86_64_linux_pc_in_sigtramp. Adjust for renamed functions.
8596 (AMD64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Renamed from
8597 X86_64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET.
8598 (amd64_linux_sigcontext_addr): Renamed from
8599 x86_64_linux_sigcontext_addr.
8600 (amd64_linux_sc_reg_offset): Renamed from
8601 x86_64_linux_sc_reg_offset.
8602 (amd64_linux_init_abi): Renamed from x86_64_linux_init_abi.
8603 Adjust for renamed functions and variables.
8604 (_initialize_amd64_linux_tdep): Renamed from
8605 _initialize_x86_64_linux_tdep. Adjust for renamed functions and
8606 variables.
8607 * x86-64-linux-tdep.h: Update copyright year. Tweak comment.
8608 Adjust for renamed functions.
8609
430eaf2e
MK
8610 * x86-64-linux-nat.c (amd64_linux_gregset64_reg_offset): Rename
8611 from x86_64_linux_gregset64_reg_offset.
8612 (amd64_linux_gregset32_reg_offset): Rename from
8613 x86_64_linux_gregset64_reg_offset.
8614 (amd64_linux_dr_get): Renamed from x86_64_linux_dr_get.
8615 (amd64_linux_dr_set): Renamed from x86_64_linux_dr_set.
8616 (amd64_linux_dr_set_control): Renamed from
8617 x86_64_linux_dr_set_control. Adjust for renamed functions.
8618 (amd64_linux_dr_set_addr): Renamed from x86_64_linux_dr_set_addr.
8619 Adjust for renamed functions.
8620 (amd64_linux_dr_reset_addr): Renamed from
8621 x86_64_linux_dr_reset_addr. Adjust for renamed functions.
8622 (amd64_linux_dr_get_status): Renamed from
8623 x86_64_linux_dr_get_status. Adjust for renamed functions.
8624 (_initialize_amd64_linux_nat): Renamed from
8625 _initialize_x86_64_linux_nat. Adjust for renamed variables and
8626 functions.
8627 * config/i386/nm-x86-64linux.h: Update copyright year.
8628 Adjust for renamed functions.
8629
10fc94a4
MK
8630 * amd64fbsd-tdep.c (amd64fbsd_sigtramp_start_addr): Renamed from
8631 amd64fbsd_sigtramp_start.
8632 (amd64fbsd_sigtramp_end_addr): Renamed from
8633 amd64fbsd_sigtramp_end.
8634 (amd64fbsd_init_abi): Adjust for renamed variables.
8635 * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Adjust for renamed
8636 variables.
8637 * x86-64-tdep.h (amd64fbsd_sigtramp_start_addr): Renamed from
8638 amd64fbsd_sigtramp_start.
8639 (amd64fbsd_sigtramp_end_addr): Renamed from
8640 amd64fbsd_sigtramp_end.
8641
343af405
AC
86422004-02-22 Andrew Cagney <cagney@redhat.com>
8643
537987fc
AC
8644 * hppa-tdep.c (hppa32_return_value): New function.
8645 (hppa64_return_value): New function.
8646 (hppa_gdbarch_init): Set return_value; keep disabled.
8647
fad850b2
AC
8648 * hppa-tdep.c (hppa_gdbarch_init): Re-order separating
8649 struct-return and inferior function call methods.
8650
26d08f08
AC
8651 * hppa-tdep.c: Include "trad-frame.h", "frame-unwind.h", and
8652 "frame-base.h".
8653 (struct hppa_frame_cache): Define.
8654 (hppa_frame_cache, hppa_frame_this_id): New functions.
8655 (hppa_frame_prev_register): New function.
8656 (hppa_frame_unwind, hppa_frame_base): New variables.
8657 (hppa_frame_unwind_sniffer): New function.
8658 (hppa_frame_base_address, hppa_unwind_pc): New function.
8659 (hppa_gdbarch_init): Set unwind_dummy_id, unwind_pc, frame unwind
8660 sniffer, and frame base sniffer; keep disabled.
8661 (hppa_frame_base_sniffer, hppa_unwind_dummy_id): New functions.
8662 * Makefile.in: Update dependencies, fix s/nbsd/obsd/ typo.
8663
e7d7bd65
AC
8664 * frame-unwind.c (frame_unwind_find_by_frame): Add legacy_frame_p
8665 to predicates for "seriously old code".
8666
e963316f
AC
8667 * hppa-tdep.c (hppa_gdbarch_init): Convert compile time #if0s into
8668 runtime if(0).
8669
56132691
AC
8670 * hppa-tdep.c (hppa_breakpoint_from_pc): Make "breakpoint"
8671 unsigned.
8672 (hppa_frame_find_saved_regs): Fix "std" instruction pattern
e963316f 8673
343af405
AC
8674 * config/pa/tm-hppa.h: Update copyright.
8675 (DEPRECATED_INIT_FRAME_PC): Delete macro.
8676 (deprecated_init_frame_pc_default): Delete declaration.
8677 (hppa_frame_init_saved_regs): Delete declaration.
8678 (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro.
8679 * hppa-tdep.c: Include "arch-utils.h".
8680 (hppa_gdbarch_init): Set deprecated init_frame_pc
8681 and deprecated frame_init_saved_regs.
8682 (hppa_frame_init_saved_regs): Make static.
8683
f5859b4d
MK
86842004-02-22 Mark Kettenis <kettenis@gnu.org>
8685
86f6f8e7 8686 Remove old 386BSD support.
cf7c5c23 8687 * NEWS (REMOVED configurations and files): Add i[3456]86-*-bsd*.
86f6f8e7
MK
8688 * configure.host: Remove i[34567]86-*-bsd*.
8689 * configure.tgt: Remove i[34567]86-*-bsd*.
8690 * i386b-nat.c: Removed.
8691 * Makefile.in (ALLDEPFILES): Remove i386b-nat.c.
cf7c5c23
MK
8692 (i386b-nat.o): Remove dependencies.
8693
86f6f8e7
MK
8694 * config/i386/i386bsd.mh: Removed.
8695 * config/i386/i386bsd.mt: Removed.
8696 * config/i386/nm-i386bsd.h: Removed.
8697 * config/i386/tm-i386bsd.h: Removed.
8698 * config/i386/xm-i386bsd.h: Removed.
8699
971218cd
MK
8700 * x86-64-tdep.h (amd64obsd_r_reg_offset): New extern declaration.
8701
7e654c37
MK
8702 * amd64fbsd-tdep.c: Include "solib-svr4.h".
8703 (amd64fbsd_init_abi): Set link map offsets.
8704 * amd64nbsd-tdep.c: Include "slib-svr4.h".
8705 (amd64nbsd_init_abi): Set link map offsets.
8706 * amd64obsd-tdep.c: Include "solib-svr4.h".
8707 (amd64obsd_init_abi): Set link map offsets.
8708 * i386fbsd-tdep.c: Include "solib-svr4.h".
8709 (i386fbsd_init_abi): Set link map offsets.
8710 * i386nbsd-tdep.c: Include "solib-svr4.h".
8711 (i386nbsdelf_init_abi): Set link map offsets.
8712 * Makefile.in (amd64fbsd-tdep.o, amd64nbsd-tdep.o)
8713 (amd64obsd-tdep.o, i386fbsd-tdep.o): Update dependencies.
8714 * config/i386/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o,
8715 solib-legacy.o and core-aout.o. Reformat.
8716 * config/i386/fbsd64.mh (NATDEPFILES): Remove solib.o,
8717 solib-svr4.o, solib-legacy.o. Reformat.
8718 * config/i386/nbsdaout.mh (NATDEPFILES): Add solib.o. Reformat.
8719 * config/i386/nbsdelf.mh: Reformat.
8720 * config/i386/nbsd64.mh (NATDEPFILES): Remove solib.o,
8721 solib-svr4.o, solib-legacy.o and corelow.o.
8722 * config/i386/obsd.mh, config/i386/obsdaout.mh: Reformat.
8723 * config/i386/obsd64.mh (NATDEPFILES): Remove solib.o,
8724 solib-svr4.o, solib-legacy.o and corelow.o. Reformat.
8725 * config/i386/fbsd.mt (TDEPFILES): Add solib.o, solib-svr4.o.
8726 * config/i386/fbsd64.mt (TDEPFILES): Add solib.o, solib-svr4.o.
8727 (TM_FILE): Set to tm-fbsd.h.
8728 * config/i386/nbsd.mt (TDEPFILES): Reformat.
8729 * config/i386/nbsd64.mt (TDEPFILES): Add corelow.o, solib.o and
8730 solib-svr4.o.
8731 * config/i386/obsd.mt (TDEPFILES): Add corelow.o, solib.o and
8732 solib-svr4.o.
8733 (TM_FILE): Set to nm-nbsd.h.
8734 * config/i386/nm-fbsd.h: Update copyright year. Tweak comments.
8735 Simplify shared library support. Don't include "elf/common.h".
8736 (SVR4_SHARED_LIBS): Don't define.
8737 * config/i386/nm-fbsd64.h: Update copyright year. Don't include
8738 "solib.h".
8739 * config/i386/nm-nbsd.h, config/i386/nm-nbsdaout.h,
8740 config/i386/nm-obsd.h: Update copyright year. Tweak comments.
8741 * config/i386/tm-fbsd.h: Update copyright tear. Tweak comments.
8742 Don't include "i386/tm-i386.h". Include "solib.h".
8743 * config/i386/tm-nbsd.h: Update copyright year. Tweak comments.
8744 Don't include "i386/tm-i386.h".
8745 * config/i386/xm-i386.h: Update copyright year. Tweak comments.
8746 * config/i386/xm-nbsd.h: Update copyright year. Tweak comments.
8747 Include "i386/xm-i386.h".
8748 (HOST_LONG_DOUBLE_FORMAT): Remove.
8749
5d93ae8c
MK
8750 Fix OpenBSD/i386 sigtramp recognition.
8751 * i386-tdep.h: Update copyright year.
8752 (i386bsd_pc_in_sigtramp, i386bsd_sigtramp_start)
8753 (i386bsd_sigtramp_end): New prototypes.
8754 (i386fbsd_sigtramp_start_addr): Renamed from
8755 i386fbsd_sigtramp_start.
8756 (i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end.
8757 (i386obsd_sigtramp_start_addr): Renamed from
8758 i386obsd_sigtramp_start.
8759 (i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end.
8760 * i386bsd-tdep.c: Update copyright year.
8761 (i386bsd_pc_in_sigtramp): Make public.
8762 * i386fbsd-nat.c: Update copyright year.
8763 (_initialize_i386fbsd_nat): Adjust for renamed variables.
8764 * i386fbsd-tdep.c: Update copyright year.
8765 (i386fbsd_sigtramp_start_addr): Renamed from
8766 i386fbsd_sigtramp_start.
8767 (i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end.
8768 (i386fbsdaout_init_abi): Adjust for renamed variables.
8769 * i386obsd-nat.c: Update copyright year.
8770 (_initialize_i386obsd_nat): Adjust for renamed variables.
8771 * i386obsd-tdep.c: Include "target.h".
8772 (i386obsd_page_size): New variable.
8773 (i386obsd_pc_in_sigtramp, i386obsd_sigtramp_start)
8774 (i386obsd_sigtramp_end): New functions.
8775 (i386obsd_sigtramp_start_addr): Renamed from
8776 i386obsd_sigtramp_start.
8777 (i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end.
8778 (i386obsd_init_abi): Adjust for renamed variables. Set
8779 pc_in_sigtramp, sigtramp_start and sigtramp_end.
8780 * Makefile.in (i386obsd-tdep.o): Update dependencies.
8781
84d04465
MK
8782 * amd64obsd-tdep.c (amd64obsd_pc_in_sigtramp): Adjust for signal
8783 trampoline change in OpenBSD kernel.
8784
b053aceb
MK
8785 * amd64-nat.c: Update copyright year.
8786 (amd64_supply_native_gregset, amd64_collect_native_gregset): Use
8787 architecture from REGCACHE.
8788
f5859b4d
MK
8789 * x86-64-linux-nat.c (x86_64_linux_gregset32_reg_offset): Use
8790 symbolic constants from <sys/reg.h> instead of hard-coded numbers.
8791
e4bbbda8
MK
87922004-02-21 Mark Kettenis <kettenis@gnu.org>
8793
ba361932
MK
8794 * configure.host: Add i[34567]86-*-openbsd[0-2].* and
8795 i[34567]86-*-openbsd3.[0-3].
8796 * config/i386/obsdaout.mh: New file.
8797
d3e48264
MK
8798 * config/i386/obsd.mh (MH_FLAGS): Remove.
8799
60a6eeb6
MK
8800 Fix PR build/1549.
8801 * i386obsd-tdep.c: Update copyright years. Include
8802 "solib-svr4.h".
8803 (i386obsd_init_abi): Don't set regset_from_core_section here.
8804 (i386obsd_aout_init_abi): New function. Set
8805 regset_from_core_section here.
8806 (i386obsd_elf_init_abi): New function.
8807 (_initialize_i386obsd_tdep): Register OS/ABI for OpenBSD ELF.
8808 * Makefile.in (i386obsd-tdep.o): Update dependecies.
8809 * config/i386/obsd.mt (TDEPFILES): Add solib.o and solib-svr4.o.
8810 (TM_FILE): Set to tm-nbsd.h.
8811
8812 * config/i386/obsd.mh (NATDEPFILES): Remove solib.o and
8813 solib-sunos.o.
8814
e4bbbda8
MK
8815 * solib-svr4.h: Update copyright year.
8816 (svr4_ilp32_fetch_link_map_offsets)
8817 (svr4_lp64_fetch_link_map_offsets): New prototype.
8818 * solib-svr4.c: Update copyright year.
8819 (svr4_ilp32_fetch_link_map_offsets)
8820 (svr4_lp64_fetch_link_map_offsets): New function.
8821
f6fe98ef
DJ
88222004-02-20 Daniel Jacobowitz <drow@mvista.com>
8823
8824 * dwarf2read.c (add_partial_symbol): Fix typo in adding enumerators
8825 to the partial symbol table.
8826
589ca796
JB
88272004-02-20 J. brobecker <brobecker@gnat.com>
8828
8829 * PROBLEMS: Add description of problem documented under gdb/1560.
8830
2031c21a
MK
88312004-02-20 Mark Kettenis <kettenis@gnu.org>
8832
30b344b1
MK
8833 * amd64obsd-tdep.c: Include "regset.h" and "i387-tdep.h". Fix
8834 comments.
8835 (amd64obsd_supply_regset, amd64obsd_regset_from_core_section): New
8836 functions.
8837 (amd64obsd_init_abi): Reorder initializations. Use
8838 amd64obsd_r_reg_offset to initialize the general-purpose register
8839 set details. Set regset_from_core_section.
8840 (_initialize_amd64obsd_tdep): Rename from
8841 _initialize_amd64obsd_ndep. Add OS ABI handler for core dumps.
8842 * Makefile.in (amd64obsd-tdep.o): Update dependencies.
8843 * config/i386/obsd64.mt (TDEPFILES): Add i386-tdep.o.
8844
2031c21a
MK
8845 * NEWS (New native configurations): Mention OpenBSD/alpha.
8846 * configure.tgt: Add alpha*-*-openbsd*.
8847 * configure.host: Add alpha*-*-openbsd*.
8848 * alphanbsd-tdep.c: Update copyright year.
8849 (_initialize_alphanbsd_tdep): Register OS ABI for OpenBSD ELF.
8850
42471775
AC
88512004-02-20 Andrew Cagney <cagney@redhat.com>
8852
8853 Fix PR tdep/1372.
8854 * configure.tgt: Delete target "none-*-*".
8855 * configure.host: Delete host "none-*-*".
8856 * config/none/none.mh: Delete file.
8857 * config/none/none.mt: Delete file.
8858 * config/none/xm-none.h: Delete file.
8859 * config/none/tm-none.h: Delete file.
8860 * config/none/nm-none.h: Delete file.
8861
960ccd7d
FF
88622004-02-19 Fred Fish <fnf@redhat.com>
8863
8864 * sh-tdep.c (sh_analyze_prologue): Eliminate useless test of
8865 cache->uses_fp prior to setting it.
8866
5f883edd
FF
88672004-02-19 Fred Fish <fnf@redhat.com>
8868
8869 Fix for PR breakpoint/1558.
8870 * sh-tdep.c (IS_JSR): New macro.
8871 (sh_analyze_prologue): Use IS_JSR to terminate prologue scan.
8872
f98c22d5
JB
88732004-02-19 Jim Blandy <jimb@redhat.com>
8874
8875 * findvar.c (value_from_register): Doc fix.
8876
95051d27
JJ
88772004-02-19 Jeff Johnston <jjohnstn@redhat.com>
8878
8879 * printcmd.c (print_scalar_formatted): Do not check for sizeof
8880 type being greater than sizeof of host's LONGEST. Always use
8881 unpack_long() unless format 'f' chosen.
8882
ccefbec3
EZ
88832004-02-19 Joel Brobecker <brobecker@gnat.com>
8884
8885 Committed by Elena Zannoni <ezannoni@redhat.com>
2ede629f 8886
ccefbec3
EZ
8887 * symtab.c (find_pc_sect_psymtab): Return the psymtab that
8888 contains a symbol wich is the best, non-exact match for the given
8889 pc. Update comments.
8890
88912004-02-19 Elena Zannoni <ezannoni@redhat.com>
8a1dac83 8892
2ede629f
EZ
8893 * event-top.c (async_request_quit): Remove uses of REQUEST_QUIT
8894 macro, which was part of the now removed Mach 3 port.
8895 * utils.c (request_quit): Ditto.
8896
567ee972
MK
88972004-02-18 Mark Kettenis <kettenis@gnu.org>
8898
8899 * config/djgpp/fnchange.lst: Rename "amd64obsd-tdep.c" and
8900 "amd64obsd-nat.c" to "a64ob-tdep.c" and "a64ob-nat.c".
8901
50cca7bb
MK
89022004-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8903
8904 Committed by Mark Kettenis <kettenis@gnu.org>.
8905
8906 * config/s390/nm-linux.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT):
8907 Define.
8908
226361c4
AC
89092004-02-18 Andrew Cagney <cagney@redhat.com>
8910
8911 * configure.in: Add a TUI target to CONFIG_ALL, CONFIG_CLEAN,
8912 CONFIG_INSTALL and CONFIG_UNINSTALL.
8913 * configure: Re-generate.
8914 * interps.h (INTERP_TUI): Define.
8915 * Makefile.in: Update dependencies.
8916 (TUI): New macro.
8917 (tui-main.o): Specify dependencies.
8918 (install-tui, uninstall-tui, clean-tui, all-tui): New rules.
8919 * tui/tui-main.c: New file.
8920
49cfa46f
MK
89212004-02-18 Mark Kettenis <kettenis@gnu.org>
8922
e2879ccb
MK
8923 * amd64obsd-tdep.c, amd64obsd-nat.c: New files.
8924 * Makefile.in (amd64obsd-nat.o, amd64obsd-tdep.o): New
8925 dependencies.
8926 * configure.host: Add x86_64-*-openbsd*.
8927 * configure.tgt: Add x86_64-*-openbsd*.
8928 * config/i386/obsd64.mt, config/i386/obsd64.mh: New files.
8929
c43f4bec
MK
8930 * tui/tui.c: Don't include <malloc.h>.
8931
09ae75b6
MK
8932 * Makefile.in (ALLDEPFILES): Add amd64-nat.c, amd64bsd-nat.c,
8933 amdfbsd-nat.c, amd64-fbsd-tdep.c, amd64nbsd-nat.c and
8934 amd64nbsd-tdep.c.
8935
49cfa46f 8936 * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Make
8a1dac83 8937 static. Remove extraneous whitespace.
49cfa46f
MK
8938 * i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Make
8939 static.
8940
05957fdb
JB
89412004-02-17 Jim Blandy <jimb@redhat.com>
8942
8943 * findvar.c (value_from_register): Doc fix.
8944
d0f54f9d
JB
89452004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8946
8947 Committed by Jim Blandy <jimb@redhat.com>.
e1457d83 8948
8a1dac83 8949 * eval.c (evaluate_subexp_standard, case OP_OBJC_MSGCALL): Use
c253954e
JB
8950 CORE_ADDR as type for selectors. Correct types for GNU run time
8951 message lookup function to use double indirection.
8952 * objc-lang.c (lookup_child_selector): Use CORE_ADDR as return type.
8953 * objc-lang.h (lookup_child_selector): Adapt prototype.
8954
9cbd5950
JB
8955 * s390-nat.c (SUBOFF): New macro.
8956 (supply_gregset, fill_gregset): Use it to handle debugging
8957 of 32-bit exectuables running under a 64-bit kernel.
8958 * s390-tdep.c: Include "solib-svr4.h".
8959 (s390_svr4_fetch_link_map_offset): New function.
8960 (s390x_svr_fetch_link_map_offset): Likewise.
8961 (s390_gdbarch_init): Call set_solib_svr4_fetch_link_map_offsets.
8962 * Makefile.in (s390-tdep.o): Update dependencies.
8963
a8c99f38
JB
8964 * s390-tdep.c: Include "trad-frame.h", "frame-base.h", and
8965 "frame-unwind.h".
8966 (s390_readinstruction): Reformat. Use read_memory_nobpt.
8967 (GDB_TARGET_IS_ESAME, S390_GPR_SIZE, S390_FPR_SIZE): Remove.
8968 (S390_SYSCALL_OPCODE, S390_SYSCALL_SIZE): Remove.
8969 (S390_SIGCONTEXT_SREGS_OFFSET, S390X_SIGCONTEXT_SREGS_OFFSET,
8970 S390_SIGREGS_FP0_OFFSET, S390X_SIGREGS_FP0_OFFSET,
8971 S390_UC_MCONTEXT_OFFSET, S390X_UC_MCONTEXT_OFFSET,
8a1dac83 8972 S390_SIGNAL_FRAMESIZE,
a8c99f38
JB
8973 s390_NR_sigreturn, s390_NR_rt_sigreturn): Remove.
8974 (struct frame_extra_info): Remove.
8975 (s390_memset_extra_info): Remove.
f73b1eff
JB
8976 (op1_ag, op1_ay, op1_brasl, op1_brc, op1_brcl, op1_lay, op1_lg)
8977 (op1_lmy, op1_ly, op1_sg, op1_stmy, op1_sty, op1_sy, op_a)
8978 (op_agr, op_bas, op_bc, op_bcr, op_sgr, op_sr): New opcodes.
a8c99f38
JB
8979 (is_rse): Renamed to ...
8980 (is_rsy): ... this. Support long displacements.
8981 (is_rxe): Renamed to ...
8982 (is_rxy): ... this. Support long displacements.
8983 (compute_x_addr): Support long displacements.
8984 (struct s390_prologue_data): New data type.
8985 (s390_on_stack): Change API to use struct s390_prologue_data.
8986 (s390_store): Reimplement.
8987 (s390_load): New function.
8988 (s390_get_signal_frame_info): Remove.
8989 (s390_get_frame_info): Remove, replace by ...
8990 (s390_analyze_prolog): ... this new function.
8991 (s390_check_function_end): Remove.
8992 (s390_function_start): Remove.
8993 (s390_frameless_function_invokation): Remove.
8994 (s390_is_sigreturn): Remove.
8995 (s390_init_frame_pc_first): Remove.
8996 (s390_init_frame_extra_info): Remove.
8997 (s390_frame_init_saved_regs): Remove.
8998 (s390_frame_saved_pc_nofix): Remove.
8999 (s390_frame_saved_pc): Remove.
9000 (s390_frame_chain): Remove.
9001 (s390_fp_regnum, s390_read_fp): Remove.
9002 (s390_pop_frame_regular, s390_pop_frame): Remove.
9003 (s390_saved_pc_after_call): Remove.
9004 (s390_skip_prologue): Reimplement.
9005 (s390_in_function_epilogue_p): Support long displacements.
9006 (struct s390_unwind_cache): New data structure.
9007 (s390_frame_unwind_cache): New function.
9008 (s390_prologue_frame_unwind_cache): Likewise.
9009 (s390_backchain_frame_unwind_cache): Likewise.
9010 (s390_frame_this_id, s390_frame_prev_register): Likewise.
9011 (s390_frame_unwind): Define.
9012 (s390_frame_sniffer): New function.
9013 (struct s390_pltstub_unwind_cache): New data structure.
9014 (s390_pltstub_frame_unwind_cache): New function.
9015 (s390_pltstub_frame_this_id): Likewise.
9016 (s390_pltstub_frame_prev_register): Likewise.
9017 (s390_pltstub_frame_unwind): Define.
9018 (s390_pltstub_frame_sniffer): New function.
9019 (struct s390_sigtramp_unwind_cache): New data structure.
9020 (s390_sigtramp_frame_unwind_cache): New function.
9021 (s390_sigtramp_frame_this_id): Likewise.
9022 (s390_sigtramp_frame_prev_register): Likewise.
9023 (s390_sigtramp_frame_unwind): Define.
9024 (s390_sigtramp_frame_sniffer): New function.
9025 (s390_frame_base_address, s390_local_base_address): New functions.
9026 (s390_frame_base): Define.
9027 (s390_unwind_pc, s390_unwind_sp): New function.
9028 (s390_push_dummy_call): Use new frame base location.
9029 (s390_unwind_dummy_id): Likewise.
9030 (s390_gdbarch_init): Remove calls to:
9031 set_gdbarch_frameless_function_invocation,
9032 set_gdbarch_deprecated_init_frame_pc,
9033 set_gdbarch_deprecated_frame_chain,
9034 set_gdbarch_deprecated_frame_init_saved_regs,
9035 set_gdbarch_deprecated_pop_frame,
9036 set_gdbarch_deprecated_init_extra_frame_info,
9037 set_gdbarch_deprecated_init_frame_pc_first,
9038 set_gdbarch_deprecated_target_read_fp,
9039 set_gdbarch_deprecated_frame_saved_pc,
9040 set_gdbarch_deprecated_saved_pc_after_call,
9041 set_gdbarch_deprecated_fp_regnum.
9042 Add calls to:
9043 set_gdbarch_in_solib_call_trampoline,
9044 frame_unwind_append_sniffer,
9045 frame_base_set_default,
9046 set_gdbarch_unwind_pc,
9047 set_gdbarch_unwind_sp.
9048 * Makefile.in (s390-tdep.o): Update dependencies.
9049
b0cf273e
JB
9050 * s390-tdep.c (struct gdbarch_tdep): Add 'abi' member.
9051 (S390_STACK_FRAME_OVERHEAD): Remove.
9052 (S390_STACK_PARAMETER_ALIGNMENT): Remove.
9053 (S390_NUM_FP_PARAMETER_REGISTERS): Remove.
9054 (s390_promote_integer_argument): Remove.
9055 (s390_cannot_extract_struct_value_address): Remove.
9056 (s390_use_struct_convention, s390_store_struct_return): Remove.
9057 (s390_extract_return_value, s390_store_return_value): Remove.
9058 (s390_return_value_convention, s390_return_value): New functions.
9059 (is_float_singleton): Handle typedefs.
8a1dac83 9060 (is_double_or_float, is_double_arg, is_simple_arg, pass_by_copy_ref):
b0cf273e
JB
9061 Remove, replace by ...
9062 (s390_function_arg_pass_by_reference, s390_function_arg_float,
9063 s390_function_arg_integer): ... these new functions.
9064 (s390_push_arguments, s390_push_return_address): Remove, replace by ...
9065 (s390_push_dummy_call, s390_unwind_dummy_id): ... these new functions.
9066 (s390_gdbarch_init): Remove s390_call_dummy_words and elf_flags.
9067 Fill in tdep->abi.
9068 Remove calls to:
9069 set_gdbarch_deprecated_store_struct_return,
9070 set_gdbarch_deprecated_extract_return_value,
9071 set_gdbarch_deprecated_store_return_value,
9072 set_gdbarch_use_struct_convention,
9073 set_gdbarch_extract_struct_value_address,
9074 set_gdbarch_deprecated_pc_in_call_dummy,
9075 set_gdbarch_deprecated_push_arguments,
9076 set_gdbarch_deprecated_save_dummy_frame_tos,
9077 set_gdbarch_deprecated_push_return_address,
9078 set_gdbarch_deprecated_sizeof_call_dummy_words,
9079 set_gdbarch_deprecated_call_dummy_words,
9080 set_gdbarch_deprecated_dummy_write_sp.
9081 Add calls to:
9082 set_gdbarch_push_dummy_call,
9083 set_gdbarch_unwind_dummy_id,
9084 set_gdbarch_return_value.
8a1dac83 9085
e1457d83
JB
9086 * config/s390/nm-linux.h: Update comments.
9087 (target_insert_watchpoint, target_remove_watchpoint): Redefine.
9088 (STOPPED_BY_WATCHPOINT): Redefine.
9089 (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Redefine to 1.
9090 (s390_insert_watchpoint, s390_remove_watchpoint): Update prototype.
9091 (s390_stopped_by_watchpoint): Likewise.
9092 (watch_area_cnt): Remove.
9093 * s390-nat.c: Update comments.
9094 (watch_area): Remove typedef.
9095 Global replace watch_area by struct watch_area.
9096 (watch_area_cnt, watch_lo_addr, watch_hi_addr): Remove.
8a1dac83 9097 (s390_stopped_by_watchpoint): Remove pid argument,
e1457d83
JB
9098 use s390_inferior_tid. Add short-cut for the no watchpoint case.
9099 (s390_fix_watch_points): Remove pid argument,
9100 use s390_inferior_tid. Recompute area spanned by watchpoints.
9101 (s390_insert_watchpoint, s390_remove_watchpoint): Remove pid
9102 argument. Reimplement.
9103
d0f54f9d
JB
9104 * config/s390/nm-linux.h: Update comments. Do not include "solib.h".
9105 (KERNEL_U_ADDR, REGISTER_U_ADDR, U_REGS_OFFSET): Remove.
9106 (FETCH_INFERIOR_REGISTERS): Define.
8a1dac83 9107 * config/s390/s390.mh (NATDEPFILES): Remove core-aout.o and
d0f54f9d
JB
9108 core-regset.o.
9109 * config/s390/s390x.mt: Remove.
9110 * config/s390/tm-s390.h: Remove.
9111 * config/s390/tm-linux.h: Do not include "s390/tm-s390.h".
9112 (TARGET_ELF64): Remove.
9113 (SKIP_TRAMPOLINE_CODE): Do not undefine.
9114 * configure.tgt [s390-*-*, s390x-*-*]: Merge into single
9115 s390*-*-* case; always set gdb_target to s390.
9116 * regformats/reg-s390.dat: Remove control registers.
9117 * regformats/reg-s390x.dat: Likewise.
9118 * s390-tdep.h: New file.
8a1dac83 9119 * s390-nat.c: Do not include <asm/processor.h> or <value.h>.
d0f54f9d
JB
9120 Include "inferior.h" and "s390-tdep.h".
9121 Remove private definition of offsetof.
9122 (s390_register_u_addr): Remove.
9123 (regmap_gregset, regmap_fpregset): Define.
9124 (supply_gregset, fill_gregset): Reimplement.
9125 (supply_fpregset, fill_fpregset): Likewise.
9126 (s390_inferior_tid): New function.
9127 (fetch_regs, store_regs, fetch_fpregs, store_fpregs): Likewise.
9128 (fetch_inferior_registers, store_inferior_registers): Likewise.
9129 * s390-tdep.c: Do not define S390_TDEP. Include "defs.h" instead
9130 of <defs.h>. Include "reggroups.h", "regset.h", and "s390-tdep.h".
9131 Global replace of S390_GP0_REGNUM by S390_R0_REGNUM.
9132 Global replace of S390_FP0_REGNUM by S390_F0_REGNUM.
9133 (struct gdbarch_tdep): Define.
9134 (struct s390_register_info): Define.
9135 (s390_register_info): New variable.
9136 (s390_register_name): Reimplement.
9137 (s390_register_type): New function.
9138 (s390_register_raw_size, s390x_register_raw_size): Remove.
9139 (s390_cannot_fetch_register): Remove.
9140 (s390_register_byte): Remove.
9141 (s390_register_virtual_type, s390x_register_virtual_type): Remove.
9142 (s390_dwarf_regmap): New variable.
9143 (s390_dwarf_reg_to_regnum): New function.
9144 (s390_stab_reg_to_regnum): Remove.
9145 (s390_pseudo_register_read, s390_pseudo_register_write): New functions.
9146 (s390x_pseudo_register_read, s390x_pseudo_register_write): Likewise.
9147 (s390_convert_register_p): Likewise.
9148 (s390_register_to_value, s390_value_to_register): Likewise.
9149 (s390_register_reggroup_p): Likewise.
9150 (s390_regmap_gregset, s390x_regmap_gregset, s390_regmap_fpregset,
9151 s390_gregset, s390x_gregset, s390_fpregset): New variables.
9152 (s390_supply_regset, s390_regset_from_core_section): New functions.
9153 (GDB_TARGET_IS_ESAME): Move here from tm-s390.h.
9154 (S390_FPR_SIZE): Likewise.
9155 (S390_GPR_SIZE): Likewise. Redefine in terms of GDB_TARGET_IS_ESAME.
9156 Global replace of DEPRECATED_REGISTER_SIZE by S390_GPR_SIZE.
9157 (S390_NUM_GPRS): Move here from tm-s390.h.
9158 (S390_NUM_FPRS): Likewise.
9159 (s390_in_function_epilogue_p): New function.
9160 (s390_is_sigreturn): Replace S390_PSW_ADDR_SIZE by S390_GPR_SIZE.
9161 Replace S390_PC_REGNUM by S390_PSWA_REGNUM.
9162 (s390_gdbarch_init): Allocate and set up gdbarch_tdep structure.
9163 Replace s390_stab_reg_to_regnum by s390_dwarf_reg_to_regnum.
9164 Replace S390_FP_REGNUM by S390_SP_REGNUM.
9165 Remove calls to:
9166 set_gdbarch_deprecated_max_register_raw_size,
8a1dac83
RM
9167 set_gdbarch_deprecated_max_register_virtual_size,
9168 set_gdbarch_deprecated_register_byte,
d0f54f9d 9169 set_gdbarch_cannot_fetch_register,
8a1dac83 9170 set_gdbarch_cannot_store_register,
d0f54f9d
JB
9171 set_gdbarch_deprecated_register_size,
9172 set_gdbarch_deprecated_register_raw_size,
9173 set_gdbarch_deprecated_register_virtual_size,
9174 set_gdbarch_deprecated_register_virtual_type,
9175 set_gdbarch_deprecated_register_bytes.
9176 Add calls to:
9177 set_gdbarch_num_pseudo_regs,
9178 set_gdbarch_register_type,
9179 set_gdbarch_convert_register_p,
9180 set_gdbarch_register_to_value,
9181 set_gdbarch_value_to_register,
9182 set_gdbarch_register_reggroup_p,
9183 set_gdbarch_regset_from_core_section,
9184 set_gdbarch_pseudo_register_read,
9185 set_gdbarch_pseudo_register_write,
9186 set_gdbarch_in_function_epilogue_p.
9187 * Makefile.in (s390-nat.o, s390-tdep.o): Update dependencies.
9188 (s390_tdep_h): New variable.
9189
8cfe231d
JB
91902004-02-17 Jim Blandy <jimb@redhat.com>
9191
4589a601
JB
9192 * findvar.c (value_from_register): If the type has no length, just
9193 return an acceptable value --- don't report an internal error.
9194
8cfe231d
JB
9195 * stabsread.c (read_type): If we find any type numbers that are
9196 forward references, complain if the references aren't resolved by
9197 the time we're finished reading.
9198 (cleanup_undefined_types): Make error message more appropriate for
9199 a complaint.
9200
5bf0017e
EZ
92012004-02-17 Elena Zannoni <ezannoni@redhat.com>
9202
9d62932d
EZ
9203 * Makefile.in (defs_h): Remove dependency on progress_h.
9204 * defs.h (QUIT): Remove use of PROGRESS macro. Remove include of
9205 progress.h.
9206 * main.c (captured_main): Delete use of START_PROGRESS and
9207 END_PROGRESS.
9208
92092004-02-17 Elena Zannoni <ezannoni@redhat.com>
8a1dac83 9210
5bf0017e
EZ
9211 * objfiles.c (terminate_minimal_symbol_table): Add back
9212 initialization of MSYMBOL_TYPE.
9213
9fc9f5e2
AC
92142004-02-17 David Mosberger <davidm@hpl.hp.com>
9215
9216 Committed by Andrew Cagney.
9217 * Makefile.in (ia64_tdep_h): New macro.
9218 (ia64-linux-tdep.o): Mention $(ia64_tdep_h).
9219 (ia64-tdep.o): Likewise.
9220 * ia64-tdep.h: New file.
9221 * ia64-tdep.c: Update copyright notice. Include "ia64-tdep.h".
9222 (ia64_linux_sigcontext_register_address): Move decl to ia64-tdep.h.
9223 (ia64_aix_sigcontext_register_address): Likewise.
9224 (ia64_linux_getunwind_table): Delete declaration.
9225 * ia64-linux-tdep.c: Likewise.
9226
76cd2bd9
CV
92272004-02-17 Corinna Vinschen <vinschen@redhat.com>
9228
9229 * sh-tdep.c (sh_dsp_register_sim_regno): Use DSP_Rx_BANK_REGNUM.
9230 * sh-tdep.h: Rename R0_BANK_REGNUM and R7_BANK_REGNUM to
9231 DSP_R0_BANK_REGNUM and DSP_R7_BANK_REGNUM.
9232
634aa483
AC
92332004-02-17 Andrew Cagney <cagney@redhat.com>
9234
9235 * symtab.c (skip_prologue_using_sal): New function.
9236 * symtab.h (skip_prologue_using_sal): Declare.
9237 * frv-tdep.c: Include "symtab.h".
9238 (skip_prologue_using_sal): Delete function.
9239 * mips-tdep.c (skip_prologue_using_sal): Delete function.
9240 * rs6000-tdep.c (refine_prologue_limit): Mention
9241 skip_prologue_using_sal.
9242 * ia64-tdep.c (refine_prologue_limit): Ditto.
9243 * Makefile.in: Update dependencies.
9244
92452004-02-16 Andrew Cagney <cagney@redhat.com>
19772a2c 9246
39ce7b3f
AC
9247 * config/alpha/tm-nbsd.h: Update copyright, delete #undef
9248 START_INFERIOR_TRAPS_EXPECTED.
9249 * config/alpha/tm-fbsd.h: Update copyright, delete #undef
9250 START_INFERIOR_TRAPS_EXPECTED.
9251 * config/alpha/tm-alphalinux.h (START_INFERIOR_TRAPS_EXPECTED):
9252 Delete macro.
9253 * config/alpha/tm-alpha.h (START_INFERIOR_TRAPS_EXPECTED): Delete
9254 macro, moved to "nm-osf.h". Update copyright.
9255 * config/alpha/nm-osf.h (START_INFERIOR_TRAPS_EXPECTED): Define,
9256 update copyright.
9257
19772a2c
AC
9258 * gdbarch.sh (DEPRECATED_FRAMELESS_FUNCTION_INVOCATION): Predicate
9259 and function replacing FRAMELESS_FUNCTION_INVOCATION.
9260 * blockframe.c (legacy_frameless_look_for_prologue): Rename
9261 frameless_look_for_prologue.
9262 * frame.h (legacy_frameless_look_for_prologue): Rename
9263 frameless_look_for_prologue.
9264 * gdbarch.h, gdbarch.c: Re-generate.
9265 * sh64-tdep.c (sh64_gdbarch_init): Update.
9266 * sh-tdep.c (sh_gdbarch_init): Update.
9267 * s390-tdep.c (s390_gdbarch_init): Update.
9268 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
9269 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
9270 * m68k-tdep.c (m68k_gdbarch_init): Update.
9271 (delta68_frame_args_address): Update.
9272 * m32r-tdep.c (m32r_gdbarch_init): Update.
9273 * hppa-tdep.c (hppa_gdbarch_init): Update.
9274 * h8300-tdep.c (h8300_gdbarch_init): Update.
9275 * frv-tdep.c (frv_gdbarch_init): Update.
9276 (frv_frameless_function_invocation): Update.
9277 * cris-tdep.c (cris_gdbarch_init): Update.
9278 (cris_frameless_function_invocation): Update.
9279 * avr-tdep.c (avr_gdbarch_init): Update.
9280 * arm-tdep.c (arm_gdbarch_init): Update.
9281 * stack.c (frame_info): Update, call predicate.
9282 * rs6000-tdep.c (rs6000_frame_chain): Update, call predicate..
9283 * frame.c (legacy_get_prev_frame): Update, call predicate..
9284 * arch-utils.c (generic_frameless_function_invocation_not): Delete.
9285 * arch-utils.h (generic_frameless_function_invocation_not): Delete.
9286 * alpha-tdep.c (alpha_gdbarch_init): Do not set frameless function
9287 invocation.
9288 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
9289 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
9290 * vax-tdep.c (vax_gdbarch_init): Ditto.
2be8b3c1
AC
9291
9292 * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): Delete unused
9293 function.
9294
7dcaac91
DJ
92952004-02-16 Daniel Jacobowitz <drow@mvista.com>
9296
9297 * objfiles.c (terminate_minimal_symbol_table): Remove unnecessary
9298 initializations.
9299
88289b6e
AC
93002004-02-16 Andrew Cagney <cagney@redhat.com>
9301
9302 * tui/tui-windata.c: Include "gdb_string.h".
9303 * tui/tui-source.c, tui/tui-winsource.c: Ditto.
9304 * tui/tui-layout.c, tui/tui-command.c: Ditto.
9305 * Makefile.in: Update dependencies.
9306
9f976b41
DJ
93072004-02-16 Daniel Jacobowitz <drow@mvista.com>
9308
9309 * Makefile.in (infrun.o): Add $(gdb_assert_h).
9310 * infrun.c: Include "gdb_assert.h".
9311 (singlestep_ptid, saved_singlestep_ptid)
9312 (stepping_past_singlestep_breakpoint): New variables.
9313 (resume): Set singlestep_ptid. Check for singlestep thread
9314 hop.
9315 (init_wait_for_inferior): Clear stepping_past_singlestep_breakpoint.
9316 (handle_inferior_event): Handle singlestep thread hop.
9317
c324d747
AC
93182004-02-16 Andrew Cagney <cagney@redhat.com>
9319
f090b9b1
AC
9320 * dwarf2-frame.c (dwarf2_frame_ops): New function.
9321 (dwarf2_frame_set_init_reg): Use, instead of gdbarch_data.
9322 (dwarf2_frame_init_reg): Ditto.
9323
fd33e6cb
AC
9324 * printcmd.c (display_command): Check that EXP isn't NULL. Fix
9325 suggested by Joshua Neuheisel
9326
c324d747
AC
9327 * configure.in: Always check for curses, including pdcurses.
9328 Warn, instead of error, when no curses are found. Enable TUI when
9329 curses is available.
9330 * configure: Re-generate.
9331
b66ba949
CV
93322004-02-16 Corinna Vinschen <vinschen@redhat.com>
9333
9334 * sh-tdep.c (sh_register_convert_to_virtual): Rename from
9335 sh_sh4_register_convert_to_virtual.
9336 (sh_register_convert_to_raw): Rename from
9337 sh_sh4_register_convert_to_raw.
9338 (sh_pseudo_register_read): Accomodate above name change.
9339 (sh_pseudo_register_write): Ditto.
9340
b58cbbf2
CV
93412004-02-16 Corinna Vinschen <vinschen@redhat.com>
9342
9343 * sh-tdep.c (sh_generic_register_name): Remove.
9344 (sh_gdbarch_init): Use sh_sh_register_name in default case.
9345
5929a910
AC
93462004-02-15 Andrew Cagney <cagney@redhat.com>
9347
4566dfcf
AC
9348 * configure.in (build_warnings): Add -Wunused-function.
9349 * configure: Re-generate.
9350
db11ed55
AC
9351 * config/tm-lynx.h (START_INFERIOR_TRAPS_EXPECTED): Delete macro.
9352 * config/rs6000/tm-rs6000.h (START_INFERIOR_TRAPS_EXPECTED): Ditto.
9353
46ac7a5d
AC
9354 * procfs.c (procfs_init_inferior): Assume that
9355 START_INFERIOR_TRAPS_EXPECTED is defined.
9356 * config/ns32k/nbsdaout.mt (TM_FILE): Set to tm-ns32k.h.
9357 * config/ns32k/tm-nbsd.h: Delete file,
9358 START_INFERIOR_TRAPS_EXPECTED already defined as 2.
9359
ba801595
AC
9360 * config/vax/tm-vaxbsd.h: Do not include "tm-vax.h".
9361 * config/vax/tm-vax.h: Delete file.
9362
5929a910
AC
9363 * config/mips/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
9364 * config/i386/tm-i386bsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
9365 * config/arm/tm-linux.h (SIGCONTEXT_PC_OFFSET): Delete macro.
9366 * config/vax/tm-vaxbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
9367 * vax-tdep.c (vax_sigtramp_saved_pc): Inline only reference.
9368 * config/ns32k/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
9369 * ns32k-tdep.c (ns32k_sigtramp_saved_pc): Inline only reference.
9370
8f22cb90
MK
93712004-02-15 Mark Kettenis <kettenis@gnu.org>
9372
9373 * dwarf2-frame.h (dwarf2_frame_set_init_reg): New prototype.
9374 * dwarf2-frame.c (dwarf2_frame_data): New variable.
9375 (struct dwarf2_frame_ops): New.
9376 (dwarf2_frame_default_init_reg): New function, based on
9377 dwarf2_frame_init_reg.
9378 (dwarf2_frame_init, dwarf2_frame_set_init_reg): New function.
9379 (dwarf2_frame_init_reg): Call architecture-specific function.
9380 (dwarf2_frame_objfile_data): Renamed from dwarf2_frame_data.
9381 (dwarf2_frame_find_fde, add_fde): Use dwarf2_frame_objfile_data
9382 instead of dwarf2_frame_data.
9383 (_initialize_dwarf2_frame): Initailize new dwarf2_frame_data.
9384 Initialize dwarf2_frame_objfile instead of old dwarf2_frame_data.
9385
8132723e
AC
93862004-02-15 Andrew Cagney <cagney@redhat.com>
9387
046a4708
AC
9388 * gdbarch.sh (deprecated_register_gdbarch_swap): Rename
9389 register_gdbarch_swap.
9390 (DEPRECATED_REGISTER_GDBARCH_SWAP): Rename REGISTER_GDBARCH_SWAP.
9391 * f-lang.c (_initialize_f_language): Update, use
9392 DEPRECATED_REGISTER_GDBARCH_SWAP.
9393 * remote.c (_initialize_remote): Ditto.
9394 * regcache.c (_initialize_regcache): Ditto.
9395 * parse.c (_initialize_parse): Ditto.
9396 * infrun.c (_initialize_infrun): Ditto.
9397 * mi/mi-main.c (_initialize_mi_main): Ditto.
9398 * gdbtypes.c (_initialize_gdbtypes): Ditto.
8a1dac83 9399
549c1eea
AC
9400 * solib.c (solib_map_sections): Use bfd_set_cacheable instead of
9401 poking .cacheable directly.
9402 * symfile.c (symfile_bfd_open): Ditto.
9403
0c0b39de
AC
9404 * Makefile.in: Update all dependencies.
9405
8132723e
AC
9406 * Makefile.in: (.SUFFIXES): Add ".l" and ".y".
9407 (.y.c, .l.c): Specify implicit rule. Instead of .tab.c, generate
9408 .c. Update references. Delete unnecessary .tab.c and -lex.c rules.
9409 (ada-exp.o, c-exp.o, f-exp.o): Replace ada-exp.tab.o et.al. rule.
9410 (jv-exp.o, m2-exp.o, objc-exp.o, p-exp.o): Similar.
0c0b39de 9411
b9d26eb9
AC
94122004-02-14 Andrew Cagney <cagney@redhat.com>
9413
8e1f669a
AC
9414 * arch-utils.c (legacy_convert_register_p): Check
9415 DEPRECATED_REGISTER_CONVERTIBLE_P.
9416 * findvar.c (value_of_register): Ditto.
9417
cd0bfa36
AC
9418 * gdbarch.sh (DEPRECATED_REGISTER_CONVERTIBLE): Add predicate.
9419 * gdbarch.h, gdbarch.c: Re-generate.
9420 * arch-utils.c (deprecated_register_convertible_not): Delete.
9421 * arch-utils.h (deprecated_register_convertible_not): Delete.
9422 * mi/mi-main.c (get_register): Update. Update copyright.
9423 * infcmd.c (default_print_registers_info): Update.
9424
b9d26eb9
AC
9425 * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
9426 (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Delete.
9427 (DEPRECATED_CALL_DUMMY_ADDRESS): Delete.
8a1dac83 9428 * gdbarch.h, gdbarch.c: Re-generate.
b9d26eb9
AC
9429 * frame.c (deprecated_get_next_frame_hack): Delete function.
9430 * frame.h (deprecated_get_next_frame_hack): Delete declaration.
9431 * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point):
9432 Update.
9433 * infcall.c (call_function_by_hand): Update.
9434
9ab9195f
EZ
94352004-02-14 Elena Zannoni <ezannoni@redhat.com>
9436
9437 * symfile.c (init_entry_point_info, entry_point_address): Move
8a1dac83 9438 from here...
9ab9195f
EZ
9439 * objfiles.c (init_entry_point_info, entry_point_address):..to
9440 here.
9441 * symfile.h (init_entry_point_info, entry_point_address): Remove
9442 prototypes.
9443 * objfiles.h (init_entry_point_info, entry_point_address):Add
8a1dac83 9444 prototypes.
9ab9195f
EZ
9445 * cris-tdep.c: Remove include of symfile.h. Add include of
9446 objfiles.h.
9447 * infcall.c: Ditto.
9448 * mcore-tdep.c: Ditto.
9449 * mn10300-tdep.c: Ditto.
9450 * sh64-tdep.c: Ditto.
9451 * v850-tdep.c: Ditto.
9452 * arm-tdep.c: Remove include of symfile.h.
9453 * blockframe.c: Ditto.
9454 * coffread.c: Ditto.
9455 * dbxread.c: Ditto.
9456 * dwarf2read.c: Ditto.
9457 * dwarfread.c: Ditto.
8a1dac83 9458 * frv-tdep.c: Ditto.
9ab9195f
EZ
9459 * ia64-tdep.c: Ditto.
9460 * mdebugread.c: Ditto.
9461 * mipsread.c: Ditto.
8a1dac83 9462 * rs6000-tdep.c: Ditto.
9ab9195f
EZ
9463 * s390-tdep.c: Ditto.
9464 * sh-tdep.c: Ditto.
8a1dac83 9465 * xstormy16-tdep.c: Ditto.
9ab9195f
EZ
9466 * gdbarch.sh: Remove include of symfile.h.
9467 * gdbarch.c: Regenerate.
9468 * solib-irix.c (enable_break): Use entry_point_address().
9469 Add comment about include file.
9470 * xcoffread.c: Add comment about include file.
8a1dac83
RM
9471 * Makefile.in (arm-tdep.o, blockframe.o, coffread.o, cris-tdep.o)
9472 (dbxread.o, dwarf2read.o, dwarfread.o, frv-tdep.o, gdbarch.o)
9473 (ia64-tdep.o, infcall.o, mcore-tdep.o, mdebugread.o, mipsread.o)
9474 (mn10300-tdep.o, rs6000-nat.o, s390-tdep.o, sh64-tdep.o)
9ab9195f
EZ
9475 (sh-tdep.o, v850-tdep.o, xstormy16-tdep.o): Update dependencies.
9476
c4c5b7ba
AC
94772004-02-13 Andrew Cagney <cagney@redhat.com>
9478
9479 * corelow.c (core_xfer_partial): Use "struct bfd_section".
9480 * config/sparc/nm-nbsd.h (struct target_ops): Declare, update
9481 copyright.
9482 * mips-linux-tdep.c: Use "GNU/Linux", update copyright.
9483
3e7879de
FF
94842004-02-12 Fred Fish <fnf@redhat.com>
9485
9486 * m68hc11-tdep.c (m68hc11_gdbarch_init): Remove duplicate call to
9487 set_gdbarch_store_return_value.
9488
6a7760b6
AC
94892004-02-12 Andrew Cagney <cagney@redhat.com>
9490
9491 * remote-rdi.c (arm_rdi_start_remote): Delete unused function.
9492 (arm_rdi_interrupt, arm_rdi_interrupt_twice): Ditto.
9493 (interrupt_query): Ditto.
9494 (ofunc): Delete unused variable.
9495 * cris-tdep.c (cris_abi): Delete unused function.
9496 (reg_pop_op, move_reg_to_mem_index_inc_op): Ditto.
9497 (cris_get_wide_opcode, cris_get_short_size): Ditto.
9498 (cris_get_asr_quick_shift_steps): Ditto.
9499 (cris_skip_prologue_frameless_p): Ditto.
9500 * arm-tdep.c (arm_push_return_address): Delete unused function.
9501 (arm_push_dummy_frame, arm_fix_call_dummy): Ditto.
9502 * rs6000-tdep.c (rs6000_pc_in_call_dummy): Delete unused function.
9503 * s390-tdep.c (s390_function_start): Delete unused function.
9504
31687c3c
AC
95052004-02-12 Andrew Cagney <cagney@redhat.com>
9506
9507 * gdbarch.sh (PROLOGUE_FRAMELESS_P): Delete.
9508 gdbarch.h, gdbarch.c: Re-generate.
9509 * cris-tdep.c (cris_gdbarch_init): Do not set prologue_frameless_p
9510 to generic_prologue_frameless_p.
9511 * arch-utils.h (generic_prologue_frameless_p): Delete declaration.
9512 * arch-utils.c (generic_prologue_frameless_p): Delete function.
9513
6de918a6
DJ
95142004-02-11 Daniel Jacobowitz <drow@mvista.com>
9515
9516 * mips-linux-tdep.c: Include "frame.h".
9517 (mips_linux_in_dynsym_stub, mips_linux_in_dynsym_resolve_code)
9518 (mips_linux_skip_resolver): New functions.
9519 (mips_linux_init_abi): Call set_gdbarch_skip_solib_resolver
9520 and set_gdbarch_in_solib_call_trampoline.
9521 * mips-tdep.c (mips_gdbarch_init): Move gdbarch_init_osabi call
9522 to after set_gdbarch_in_solib_return_trampoline. Only set the
9523 solib hooks to mips16 functions if the OS ABI is unknown.
9524 * config/mips/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Undefine after
9525 including "config/tm-linux.h".
9526 (IN_SOLIB_DYNSYM_RESOLVE_CODE): Define.
9527 * Makefile.in (mips-linux-tdep.o): Update.
9528
87b3ede8
DC
95292004-02-11 David Carlton <carlton@kealia.com>
9530
9531 * linespec.c (decode_compound): Only look for a class symbol when
9532 considering all but the rightmost component.
9533
5979bc46
AC
95342004-02-11 Andrew Cagney <cagney@redhat.com>
9535
9536 * hppa-tdep.c (hppa_gdbarch_init): Re-order so that the frame and
9537 abi code are are separatly grouped.
9538
5867a2fb
AC
95392004-02-11 Andrew Cagney <cagney@redhat.com>
9540
9541 * gdbarch.sh (FRAME_ARGS_SKIP): Default to 0.
9542 * gdbarch.h, gdbarch.c: Re-generate.
9543 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
9544 * v850-tdep.c (v850_gdbarch_init): Update.
9545 * sh64-tdep.c (sh64_gdbarch_init): Update.
9546 * sh-tdep.c (sh_gdbarch_init): Update.
9547 * s390-tdep.c (s390_gdbarch_init): Update.
9548 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
9549 * mips-tdep.c (mips_gdbarch_init): Update.
9550 * mcore-tdep.c (mcore_gdbarch_init): Update.
9551 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
9552 * m32r-tdep.c (m32r_gdbarch_init): Update.
9553 * ia64-tdep.c (ia64_gdbarch_init): Update.
9554 * hppa-tdep.c (hppa_gdbarch_init): Update.
9555 * h8300-tdep.c (h8300_gdbarch_init): Update.
9556 * frv-tdep.c (frv_gdbarch_init): Update.
9557 * d10v-tdep.c (d10v_gdbarch_init): Update.
9558 * cris-tdep.c (cris_gdbarch_init): Update.
9559 * avr-tdep.c (avr_gdbarch_init): Update.
9560 * arm-tdep.c (arm_gdbarch_init): Update.
9561 * alpha-tdep.c (alpha_gdbarch_init): Update.
9562
026a72f8
CV
95632004-02-11 Corinna Vinschen <vinschen@redhat.com>
9564
9565 * sh-tdep.c (sh_sh3_dsp_register_name): Fix formatting. Add missing
9566 comma.
9567 (sh_sh4al_dsp_register_name): Ditto.
9568
3903d437
AC
95692004-02-10 Andrew Cagney <cagney@redhat.com>
9570
9571 * mips-tdep.c (mips_gdbarch_init): Delete deprecated frame code.
9572 (mips_init_frame_pc_first): Delete function.
9573 (mips_frame_saved_pc): Delete function.
9574 (mips_frame_chain): Delete function.
9575 (mips_init_extra_frame_info): Delete function.
9576 (mips_xfer_register): Delete unused variable "reg".
9577 (mips_n32n64_push_dummy_call): Delete unused variable "valbuf".
9578 (mips_n32n64_return_value): Delete unused variable "reg".
9579 (mips_n32n64_return_value): Delete unused variable "pos".
9580 (mips_o32_push_dummy_call): Delete unused variable "valbuf".
9581 (mips_o32_return_value): Delete unused variable "pos".
9582 (mips_o64_push_dummy_call): Delete unused variable "valbuf".
9583 (mips_print_fp_register): Delete unused variable "namelen"
9584 (mips_print_fp_register): Delete unused variable "flt2"
9585 (get_frame_pointer): Delete function.
9586 (cached_proc_desc): Delete static variable.
9587 (mips_pop_frame): Delete function.
9588 (mips_find_saved_regs): Delete function.
9589 (mips_get_saved_register): Delete function.
9590 (mips_saved_pc_after_call): Delete function.
9591 (SIGFRAME_BASE): Delete macro.
9592 (SIGFRAME_FPREGSAVE_OFF): Delete macro.
9593 (SIGFRAME_PC_OFF): Delete macro.
9594 (SIGFRAME_REGSAVE_OFF): Delete macro.
9595 (mips_dump_tdep): Do not print deleted macro definitions.
9596
b9fb98bd
AC
95972004-02-10 Andrew Cagney <cagney@redhat.com>
9598
9599 * Makefile.in (SFILES): Remove explictly listed tui files.
9600 (SUBDIR_GDBTK_SRCS): Fix path to gdbtk-interp.c.
9601
78ced177 96022004-02-10 Jeff Johnston <jjohnstn@redhat.com>
8a1dac83 9603
78ced177
JJ
9604 * ia64-tdep.c (ia64_frame_this_id): Fix tracing print statement
9605 to use paddr functions to format ia64 addresses and long values.
9606 (ia64_frame_prev_register, ia64_sigtramp_frame_this_id): Ditto.
9607 (ia64_sigtramp_frame_prev_register, ia64_access_reg): Ditto.
9608 (get_kernel_table, ia64_find_proc_info_x): Ditto.
9609 (ia64_get_dyn_info_list, ia64_libunwind_this_frame_id): Ditto.
9610 (ia64_libunwind_frame_prev_register, ia64_unwind_dummy_id): Ditto.
9611
6a83354a
AC
96122004-02-10 Andrew Cagney <cagney@redhat.com>
9613
9614 * defs.h: Do not include "tui.h".
9615 * gdb_curses.h: New file.
9616 * tui/tui-hooks.h: New file.
9617 * tui/tui.h (tui_update_all_exec_infos): Delete declaration.
9618 (tui_install_hooks, tui_remove_hooks): Delete declarations.
9619 (tui_initialize_io): Delete declaration.
9620 (tui_initialize_readline: Delete redundant declaration.
9621 (struct tui_point): Delete definition.
9622 * tui/tui-data.h (struct tui_point): Define.
9623 * cli/cli-decode.c [TUI]: Include "tui/tui.h".
9624 * utils.c: Include "tui/tui.h".
9625 * tui/tui-data.h: Include "tui/tui.h" and "gdb_curses.h".
9626 * printcmd.c [TUI]: Include "tui/tui.h".
9627 * cli/cli-cmds.c [TUI]: Include "tui/tui.h".
9628 * tui/tui-command.c: Include "gdb_curses.h".
9629 * tui/tui.c, tui/tui-winsource.c, tui/tui-wingeneral.c: Ditto.
9630 * tui/tui-windata.c, tui/tui-win.c, tui/tui-stack.c: Ditto.
9631 * tui/tui-source.c, tui/tui-regs.c, tui/tui-layout.c: Ditto.
9632 * tui/tui-io.c, tui/tui-disasm.c, tui/tui-data.c: : Ditto.
9633 * tui/tui-hooks.c: Include "tui-hooks.h" and "gdb_curses.h".
9634 * Makefile.in: Update all dependencies.
9635 (tui_hooks_h, gdb_curses_h): Define.
9636 (SUBDIR_TUI_CFLAGS): Remove -I${srcdir}/tui.
9637
997470ef
EZ
96382004-02-10 Elena Zannoni <ezannoni@redhat.com>
9639
9640 * objfiles.h (struct objfile): Remove unused fields auxf1 and
9641 auxf2. Add comments about some other rarely used fields.
9642
4ff2cc4d
AC
96432004-02-10 Andrew Cagney <cagney@redhat.com>
9644
9645 * Makefile.in (init.c): Fix script removing duplicates. Problem
9646 reported by Peter Schauer.
9647
1ab21617
EZ
96482004-02-09 Elena Zannoni <ezannoni@redhat.com>
9649
9650 * bcache.c (bcache_xmalloc): Use obstack_init instead of
9651 obstack_specify_allocation.
9652 * objfiles.c (allocate_objfile): Ditto.
8a1dac83 9653 * solib-sunos.c (solib_add_common_symbols)
1ab21617
EZ
9654 (allocate_rt_common_objfile): Ditto.
9655 * symfile.c (reread_symbols): Ditto.
9656 * gdb_obstack.h: Add comment.
9657
17763fd9
EZ
96582004-02-09 Elena Zannoni <ezannoni@redhat.com>
9659
9660 * linespec.c (decode_line_1, locate_first_half)
9661 (decode_compound, lookup_prefix_sym): Update comments. Delete old
9662 commented out code.
9663
ec5cdd75
DJ
96642004-02-09 Daniel Jacobowitz <drow@mvista.com>
9665
9666 * cp-namespace.c (check_one_possible_namespace_symbol): Don't use
9667 obstack_free.
9668
43b54b88
AC
96692004-02-09 Andrew Cagney <cagney@redhat.com>
9670
9671 * blockframe.c (find_pc_partial_function): If find_pc_overlay
9672 fails, try find_pc_section. Fix PR c++/1267.
9673 * minsyms.c (lookup_minimal_symbol_by_pc): Use find_pc_section
9674 instead of find_pc_mapped_section.
9675 (lookup_minimal_symbol_by_pc_section): If the SECTION is NULL, do
9676 not default to the section containing PC. Fix PR symtab/1519.
9677
edfae063
AC
96782004-02-09 Andrew Cagney <cagney@redhat.com>
9679
9680 * Makefile.in (mips-tdep.o): Update dependencies.
9681 * mips-tdep.c: Include "frame-unwind.h", "frame-base.h" and
9682 "trad-frame.h".
9683 (mips_unwind_pc): Return the pseudo PC register.
9684 (mips_unwind_dummy_id): New function.
9685 (mips16_fetch_instruction): New function.
9686 (mips32_fetch_instruction): New function.
9687 (struct mips_frame_cache): Define.
9688 (mips_mdebug_frame_cache): New function.
9689 (mips_mdebug_frame_this_id): New function.
9690 (mips_mdebug_frame_prev_register): New function.
9691 (mips_mdebug_frame_unwind): Define.
9692 (mips_mdebug_frame_sniffer): New function.
9693 (mips_mdebug_frame_base_address): New function.
9694 (mips_mdebug_frame_base): Define.
9695 (mips_mdebug_frame_base_sniffer): New function.
9696 (mips_gdbarch_init): Append unwind and base sniffers. Set
9697 unwind_dummy_id.
9698
defc864c
AC
96992004-02-08 Andrew Cagney <cagney@redhat.com>
9700
6764ddad
AC
9701 * frame.c: Print both the register number and name.
9702
defc864c
AC
9703 * Makefile.in (init.c): Eliminate duplicates. Combine two greps
9704 and a sed into a single sed. Make .c and .o patterns more robust.
9705 (OBS): Delete.
9706 (INIT_FILES): Replace OBS with COMMON_OBS.
9707 (COMMON_OBS): Move DEPFILES and YYOBJ to start of definition.
9708
645d6d10
MK
97092004-02-08 Mark Kettenis <kettenis@gnu.org>
9710
9711 * sparc-nat.c (sparc_xfer_wcookie): Try to fetch the cookie using
9712 the PT_WCOOKIE request.
9713
23e3c3fc
AC
97142004-02-08 Andrew Cagney <cagney@redhat.com>
9715
58dfe9ff
AC
9716 * mips-tdep.c (mips_unwind_pc): New function.
9717 (mips_gdbarch_init): Set mips_unwind_pc.
9718
1152e35e
AC
9719 * frame.c (legacy_saved_regs_this_id): Return a null frame ID.
9720 (get_frame_id): Allow the UNKNOWN_FRAME.
9721 (frame_register_unwind, get_frame_type): Ditto.
9722
31b75dbf
AC
9723 * frame.c (legacy_frame_p): Check for DEPRECATED_TARGET_READ_FP_P
9724 and DEPRECATED_FP_REGNUM. Don't assume that the lack of
9725 unwind_dummy_id indicates a legacy frame.
9726
3483b318
AC
9727 * configure.in (CONFIG_LIB_OBS): Replace with CONFIG_OBS.
9728 * configure: Re-generate.
9729
23e3c3fc
AC
9730 * mips-tdep.c (mips_gdbarch_init): Group deprecated frame unwind
9731 methods.
9732
33f8ca73
AC
97332004-02-08 Andrew Cagney <cagney@redhat.com>
9734
9735 * configure.in (CONFIG_ALL): Set to Makefile target, and not
9736 makefile macro.
9737 * configure: Re-generate.
9738 (CONFIG_CLEAN, CONFIG_INSTALL, CONFIG_UNINSTALL): Ditto.
9739 * Makefile.in (SUBDIR_CLI_CLEAN): Delete.
9740 (SUBDIR_CLI_INSTALL, SUBDIR_CLI_UNINSTALL): Delete.
9741 (SUBDIR_CLI_ALL, SUBDIR_GDBTK_ALL): Delete.
9742 (SUBDIR_GDBTK_CLEAN, SUBDIR_GDBTK_INSTALL): Delete.
9743 (SUBDIR_GDBTK_UNINSTALL, SUBDIR_MI_ALL): Delete.
9744 (SUBDIR_MI_CLEAN, SUBDIR_MI_INSTALL): Delete.
9745 (SUBDIR_MI_UNINSTALL, SUBDIR_TUI_ALL): Delete.
9746 (SUBDIR_TUI_CLEAN, SUBDIR_TUI_INSTALL): Delete.
9747 (SUBDIR_TUI_UNINSTALL, SUBDIR_CLI_CLEAN): Delete.
9748
6ba8e26f 97492004-02-07 Andrew Cagney <cagney@redhat.com>
d836ee13 9750
20d286a5
AC
9751 * Makefile.in: Update all dependencies.
9752
d836ee13
AC
9753 * configure.in (CONFIG_INITS, CONFIG_LIB_OBS): Delete.
9754 * configure: Re-generate.
9755 * Makefile.in (INIT_FILES): Replace CONFIG_INITS with CONFIG_SRCS.
9756 (CONFIG_LIB_OBS, CONFIG_INITS): Delete.
9757 (COMMON_OBS): Add "main.o" and "annotate.o".
9758 (ANNOTATE_OBS): Delete.
9759 (OBS): Remove ANNOTATE_OBS.
9760 (DEPFILES): Replace CONFIG_LIB_OBS with CONFIG_LIB_OBS, remove
9761 CONFIG_INITS.
9762 (gdb$(EXEEXT), insight$(EXEEXT)): Do not depend on, or link
9763 against CONFIG_OBS and "main.o".
9764 (SUBDIR_CLI_INITS, SUBDIR_MI_INITS): Delete.
9765 (SUBDIR_TUI_INITS, SUBDIR_GDBTK_INITS): Delete.
9766
d02c80cd
AC
9767 * tui/tui-command.c: Include "gdb_string.h", delete register
9768 attribute, use ISO-C function signatures.
9769 * tui/tui-disasm.c, tui/tui-file.c, tui/tui-io.c: Ditto.
9770 * tui/tui-layout.c, tui/tui-regs.c, tui/tui-source.c: Ditto.
9771 * tui/tui-stack.c, tui/tui-win.c, tui/tui-winsource.c: Ditto.
9772 * tui/tui.c: Ditto.
6ba8e26f
AC
9773
9774 * tui/tui-command.c: Change variable and function names to lower
9775 case.
9776 * tui/tui-data.c, tui/tui-disasm.c: Ditto.
9777 * tui/tui-hooks.c, tui/tui-io.c, tui/tui-layout.c: Ditto.
9778 * tui/tui-regs.c, tui/tui-source.c, tui/tui-stack.c: Ditto.
9779 * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
9780 * tui/tui-winsource.c, tui/tui.c: Ditto.
9781
4a146b47
EZ
97822004-02-07 Elena Zannoni <ezannoni@redhat.com>
9783
9784 * buildsym.c (free_pending_blocks, finish_block)
9785 (record_pending_block, make_blockvector, end_symtab): Replace
9786 symbol_obstack with objfile_obstack.
8a1dac83 9787 * coffread.c (process_coff_symbol, coff_read_struct_type)
4a146b47 9788 (coff_read_enum_type): Ditto.
8a1dac83 9789 * cp-namespace.c (initialize_namespace_symtab)
4a146b47 9790 (check_one_possible_namespace_symbol): Ditto.
8a1dac83 9791 * dwarf2read.c (new_symbol, dwarf2_const_value, macro_start_file)
4a146b47
EZ
9792 (dwarf2_symbol_mark_computed): Ditto.
9793 * dwarfread.c (enum_type, new_symbol, synthesize_typedef): Ditto.
9794 * elfread.c (elf_symtab_read): Ditto.
9795 * hpread.c (hpread_symfile_init, hpread_symfile_init)
9796 (hpread_read_enum_type, hpread_read_function_type)
9797 (hpread_read_doc_function_type, hpread_process_one_debug_symbol):
9798 Ditto.
8a1dac83 9799 * jv-lang.c (get_java_class_symtab, add_class_symbol)
4a146b47 9800 (java_link_class_type): Ditto.
8a1dac83 9801 * mdebugread.c (parse_symbol, psymtab_to_symtab_1, new_symtab)
4a146b47
EZ
9802 (new_symbol): Ditto.
9803 * minsyms.c (install_minimal_symbols): Ditto.
9804 * objfiles.c (allocate_objfile): Remove init of symbol_obstack.
9805 (terminate_minimal_symbol_table): Replace symbol_obstack with
9806 objfile_obstack.
9807 (free_objfile): Remove freeing of symbol_obstack.
9808 * objfiles.h: Remove symbol_obstack field.
9809 * pa64solib.c (add_to_solist): Replace symbol_obstack with
9810 objfile_obstack.
9811 * solib-sunos.c (allocate_rt_common_objfile): Remove init of
9812 symbol_obstack.
9813 (solib_add_common_symbols): Replace symbol_obstack with
9814 objfile_obstack.
9815 * somsolib.c (som_solib_add): Ditto.
9816 * stabsread.c (patch_block_stabs, define_symbol, read_enum_type)
9817 (common_block_start, common_block_end): Ditto.
9818 * symfile.c (reread_symbols): Remove freeing and init of
9819 symbol_obstack.
9820 (allocate_symtab): Rename symbol_obstack to objfile_obstack.
9821 * symfile.h: Update comment.
9822 * symmisc.c (print_objfile_statistics): Remove symbol_obstack
9823 stats printing.
9824 * symtab.c (symbol_set_names): Replace symbol_obstack with
9825 objfile_obstack.
9826 * symtab.h (struct general_symbol_info, struct minimal_symbol):
9827 Update comments.
9828 * xcoffread.c (read_xcoff_symtab, SYMBOL_DUP, SYMNAME_ALLOC)
9829 (init_stringtab, xcoff_initial_scan): Replace symbol_obstack with
9830 objfile_obstack.
9831
6d012f14
AC
98322004-02-07 Andrew Cagney <cagney@redhat.com>
9833
9834 * tui/tui.h: Do not include <stdarg.h>, <string.h>, and
9835 "ansidecl.h". Do not undef "reg" and "chtype". Fix case of
9836 fields and variables.
9837 * tui/tui-wingeneral.h (m_beVisible): Delete macro.
9838 (m_beInvisible): Delete macro.
9839 * tui/tui-data.h: Fix case case fields and variables.
9840 (m_genWinPtrIsNull): Delete macro.
9841 (tui_win_list): Rename winList.
9842 (TUI_SRC_WIN): Rename srcWin.
9843 (TUI_DISASM_WIN): Rename disassemWin.
9844 (TUI_DATA_WIN): Rename dataWin.
9845 (TUI_CMD_WIN): Rename cmdWin.
9846 (m_genWinPtrNotNull): Delete macro.
9847 (m_winPtrIsNull): Delete macro.
9848 (m_winPtrNotNull): Delete macro.
9849 (tui_win_is_source_type): Replace m_winIsSourceType
9850 (tui_win_is_auxillary): Replace m_winIsAuzillary.
9851 (tui_win_has_locator): Replace m_hasLocator.
9852 (tui_set_win_highlight): Replace m_setWinHighlightOn and
9853 m_setWinHighlightOff.
9854 * tui/tui-data.c: Update references.
9855 (tui_win_is_source_type, tui_set_win_highlight): New functions.
9856 (tui_win_has_locator, tui_win_is_auxillary): New functions.
9857 * tui/tui-command.c, tui/tui-disasm.c: Update references.
9858 * tui/tui-io.c, tui/tui-layout.c, tui/tui-regs.c: Ditto.
9859 * tui/tui-regs.h, tui/tui-source.c, tui/tui-stack.c: Ditto.
9860 * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
9861 * tui/tui-winsource.c, tui/tui.c: Ditto.
9862
7d34766b
MK
98632004-02-07 Mark Kettenis <kettenis@gnu.org>
9864
1c800673
MK
9865 * sparc-tdep.h (sparc_fetch_wcookie): New prototype.
9866 * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): Handle
9867 StackGhost.
9868
7d34766b
MK
9869 * sparc-tdep.c (sparc32_frame_prev_register): Rename local
9870 variable `i6' to `i7'.
9871 (sparc_supply_rwindow, sparc_collect_rwindow): Likewise.
9872
22940a24
AC
98732004-02-07 Andrew Cagney <cagney@redhat.com>
9874
9875 * tui/tui.h (Opaque, OpaquePtr OpaqueList): Delete definition.
9876 (TuiPoint, TuiPointPtr): Ditto.
9877 (TuiStatus, TuiStatusPtr): Ditto.
9878 (TuiWinType, TuiWinTypePtr): Ditto.
9879 (struct tui_point): Rename _TuiPoint.
9880 (tui_get_low_disassembly_address): Rename
9881 tuiGetLowDisassemblyAddress.
9882 (tui_update_all_exec_infos): Rename tuiUpdateAllExecInfos.
9883 (tuiFree): Delete declaration.
9884 (OpaqueFuncPtr, TuiOpaqueFuncPtr): Delete definitions.
9885 (TuiVoidFuncPtr, TuiIntFuncPtr): Delete definitions.
9886 * tui/tui.c (tuiFree): Delete function.
9887 * cli/cli-cmds.c (disassemble_command): Update references.
9888 * tui/tui-data.c, tui/tui-data.h, tui/tui-disasm.c: Ditto.
9889 * tui/tui-layout.c, tui/tui-regs.c, tui/tui-source.c: Ditto.
9890 * tui/tui-stack.c, tui/tui-win.c, tui/tui-wingeneral.c: Ditto.
9891 * tui/tui-winsource.c: Ditto.
9892
8b92e4d5
EZ
98932004-02-07 Elena Zannoni <ezannoni@redhat.com>
9894
9895 * dbxread.c (dbx_symfile_init, start_psymtab, end_psymtab,
9896 coffstab_build_psymtabs, elfstab_build_psymtabs)
9897 (stabsect_build_psymtabs): Replace psymbol_obstack with
9898 objfile_obstack.
9899 * dwarf2-frame.c (decode_frame_entry_1): Ditto.
9900 * dwarf2read.c (dwarf2_build_psymtabs_hard, dwarf2_read_section):
9901 Ditto.
9902 * dwarfread.c (scan_compilation_units): Ditto.
9903 * elfread.c (elfstab_offset_sections): Ditto.
9904 * hppa-tdep.c (read_unwind_info): Ditto.
9905 * hpread.c (hpread_build_psymtabs, hpread_start_psymtab)
9906 (hpread_end_psymtab): Ditto.
9907 * mdebugread.c (mdebug_build_psymtabs, add_pending)
9908 (parse_partial_symbols, new_psymtab, elfmdebug_build_psymtabs):
9909 Ditto.
9910 * mips-tdep.c (non_heuristic_proc_desc): Ditto.
8a1dac83 9911 * objfiles.c (add_to_objfile_sections)
8b92e4d5
EZ
9912 (build_objfile_section_table): Ditto.
9913 (allocate_objfile): Remove init of psymbol_obstack.
9914 (free_objfile): Remove freeing of psymbol_obstack.
9915 * objfiles.h (struct objfile): Remove field
9916 psymbol_obstack. Update comments.
9917 * pa64solib.c (pa64_solib_add_solib_objfile): Replace
9918 psymbol_obstack with objfile_obstack.
9919 * solib-sunos.c (allocate_rt_common_objfile): Remove init of
9920 psymbol_obstack.
9921 * somread.c (som_symfile_offsets, init_import_symbols)
9922 (init_export_symbols): Replace psymbol_obstack with
9923 objfile_obstack.
9924 * somsolib.c (som_solib_add_solib_objfile): Ditto.
9925 * symfile.c (default_symfile_offsets, syms_from_objfile)
9926 (reread_symbols): Remove freeing and init of psymbol_obstack.
9927 (cashier_psymtab): Update comment.
9928 * symmisc.c (print_objfile_statistics): Don't report stats for
9929 psymbol obstack.
9930 * symtab.h (struct general_symbol_info, struct partial_symtab):
9931 Update comments.
9932 * xcoffread.c (xcoff_start_psymtab, xcoff_end_psymtab, swap_sym)
9933 (xcoff_symfile_offsets): Replace psymbol_obstack with
9934 objfile_obstack.
9935
b99607ea
EZ
99362004-02-07 Elena Zannoni <ezannoni@redhat.com>
9937
9938 * objfiles.h (struct objfile): Add objfile_obstack field.
9939 Remove type_obstack field.
9940
9941 * dwarf2read.c (dwarf2_add_field,dwarf2_add_member_fn,
9942 read_structure_scope read_enumeration, new_symbol): Replace
9943 type_obstack with objfile_obstack.
9944 * dwarfread.c (struct_type, enum_type): Ditto.
8a1dac83 9945 * gdbtypes.c (alloc_type, alloc_type_instance, init_type)
b99607ea
EZ
9946 (lookup_fundamental_type): Ditto.
9947 * gdbtypes.h (TYPE_ALLOC): Ditto.
8a1dac83
RM
9948 * hpread.c (hpread_read_enum_type, hpread_read_function_type)
9949 (hpread_read_doc_function_type, hpread_read_struct_type)
9950 (fix_static_member_physnames, hpread_read_array_type)
b99607ea 9951 (hpread_read_subrange_type, hpread_type_lookup): Ditto.
8a1dac83 9952 * jv-lang.c (java_lookup_class, type_from_class, type_from_class)
b99607ea
EZ
9953 (java_link_class_type): Ditto.
9954 * mdebugread.c (parse_type): Ditto.
9955 * objfiles.c (allocate_objfile, free_objfile): Ditto.
9956 * solib-sunos.c (solib_add_common_symbols): Ditto.
9957 * stabsread.c (define_symbol, read_type, read_member_functions,
9958 read_cpp_abbrev, read_one_struct_field): Ditto.
9959 * symfile.c (reread_symbols): Ditto.
9960 * symmisc.c (print_objfile_statistics): Ditto.
8a1dac83 9961
2a8854a7
AC
99622004-02-07 Andrew Cagney <cagney@redhat.com>
9963
9964 * tui/tui-data.h (tui_win_element): Rename TuiWinElement.
9965 (tui_exec_info_content): Rename TuiExecInfoContent.
9966 (TuiGenWinInfo, TuiGenWinInfoPtr): Delete definitions.
9967 (TuiWinInfo, TuiWinInfoPtr): Ditto.
9968 (TuiScrollDirection, TuiScrollDirectionPtr): Ditto.
9969 (TuiList, TuiListPtr): Ditto.
9970 (TuiLayoutType, TuiLayoutTypePtr): Ditto.
9971 (TuiDataType, TuiDataTypePtr): Ditto.
9972 (TuiRegisterDisplayType, TuiRegisterDisplayTypePtr): Ditto.
9973 (TuiLineOrAddress, TuiLineOrAddressPtr): Ditto.
9974 (TuiLayoutDef, TuiLayoutDefPtr): Ditto.
9975 (TuiSourceElement, TuiSourceElementPtr): Ditto.
9976 (TuiDataElement, TuiDataElementPtr): Ditto.
9977 (TuiWinElement, TuiWinElementPtr): Ditto.
9978 (TuiDataInfo, TuiDataInfoPtr): Ditto.
9979 (TuiCommandElement, TuiCommandElementPtr): Ditto.
9980 (TuiLocatorElement, TuiLocatorElementPtr): Ditto.
9981 (TuiWhichElement, TuiWhichElementPtr): Ditto.
9982 (TuiSourceInfo, TuiSourceInfoPtr): Ditto.
9983 (TuiCommandInfo, TuiCommandInfoPtr): Ditto.
9984 * tui/tui-command.c, tui/tui-data.c: Update references.
9985 * tui/tui-data.h, tui/tui-disasm.c, tui/tui-layout.c: Ditto.
9986 * tui/tui-regs.c, tui/tui-source.c, tui/tui-stack.c: Ditto.
9987 * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
9988 * tui/tui-winsource.c, tui/tui.c: Ditto.
8a1dac83 9989
05cbe71a
MK
99902004-02-07 Mark Kettenis <kettenis@gnu.org>
9991
9992 * dwarf2-frame.h: Update copyright.
9993 (enum dwarf2_frame_reg_rule): New.
9994 (struct dwarf2_frame_state_reg): New.
9995 (dwarf2_frame_sniffer, dwarf2_frame_base_sniffer): Make extern.
9996 * dwarf2-frame.c: Update copyright.
9997 (enum dwarf2_reg_rule): Remove.
9998 (struct dwarf2_frame_state): Remove defenition of `struct
9999 dwarf2_frame_state_reg'.
10000 (read_reg): Call get_frame_arch to get the architecture instead of
10001 using CURRENT_GDBARCH.
10002 (execute_cfa_program): Prefix old `enum dwarf2_reg_rule' tags with
10003 DWARF2_FRAME_.
10004 (dwarf2_frame_init_reg): New function.
10005 (dwarf2_frame_cache): Call get_frame_arch to get the architecture
10006 instead of using CURRENT_GDBARCH. Call dwarf2_frame_init_reg to
10007 initialize the register state. Prefix old `enum dwarf2_reg_rule'
10008 tags with DWARF2_FRAME_.
10009 (dwarf2_frame_prev_register): Call get_frame_arch to get the
10010 architecture instead of using CURRENT_GDBARCH. Prefix old `enum
10011 dwarf2_reg_rule' tags with DWARF2_FRAME_.
10012
ec7d9e56
AC
100132004-02-06 Andrew Cagney <cagney@redhat.com>
10014
dd1abb8c
AC
10015 * tui/tui-data.h (struct tui_list): Rename _TuiList.
10016 (enum tui_data_type): Rename _TuiDataType.
10017 (struct tui_layout_def): Rename _TuiLayoutDef.
10018 (struct tui_source_element): Rename _TuiSourceElement.
10019 (struct tui_data_element): Rename _TuiDataElement.
10020 (struct tui_command_element): Rename _TuiCommandElement.
10021 (struct tui_locator_element): Rename _TuiLocatorElement.
10022 (union tui_which_element): Define.
10023 (struct tui_win_element): Rename _TuiWinElement.
10024 (struct tui_data_info): Rename _TuiDataInfo.
10025 (struct tui_source_info): Rename _TuiSourceInfo.
10026 (struct tui_command_info): Rename _TuiCommandInfo.
10027 (tui_initialize_static_data): Rename initializeStaticData.
10028 (tui_alloc_generic_win_info): Rename allocGenericWinInfo.
10029 (tui_alloc_win_info): Rename allocWinInfo.
10030 (tui_init_generic_part): Rename initGenericPart.
10031 (tui_init_win_info): Rename initWinInfo.
10032 (tui_alloc_content): Rename allocContent.
10033 (tui_add_content_elements): Rename addContentElements.
10034 (tui_init_content_element): Rename initContentElement.
10035 (tui_free_window): Rename freeWindow.
10036 (tui_free_win_content): Rename freeWinContent.
10037 (tui_free_data_content): Rename freeDataContent.
10038 (tui_free_all_source_wins_content): Rename
10039 freeAllSourceWinsContent.
10040 (tui_del_window): Rename tuiDelWindow.
10041 (tui_del_data_windows): Rename tuiDelDataWindows.
10042 (tui_partial_win_by_name): Rename partialWinByName.
10043 (tui_win_name): Rename winName.
10044 (tui_current_layout): Rename currentLayout.
10045 (tui_set_current_layout_to): Rename setCurrentLayoutTo.
10046 (tui_term_height): Rename termHeight.
10047 (tui_set_term_height_to): Rename setTermHeightTo.
10048 (tui_term_width): Rename termWidth.
10049 (tui_set_term_width_to): Rename setTermWidthTo.
10050 (tui_set_gen_win_origin): Rename setGenWinOrigin.
10051 (tui_locator_win_info_ptr): Rename locatorWinInfoPtr.
10052 (tui_source_exec_info_win_ptr): Rename tui_gen_win_info.
10053 (tui_disassem_exec_info_win_ptr): Rename disassemExecInfoWinPtr.
10054 (tui_source_windows): Rename sourceWindows.
10055 (tui_clear_source_windows): Rename clearSourceWindows.
10056 (tui_clear_source_windows_detail): Rename
10057 clearSourceWindowsDetail.
10058 (tui_clear_win_detail): Rename clearWinDetail.
10059 (tui_add_to_source_windows): Rename tuiAddToSourceWindows.
10060 (tui_default_tab_len): Rename tuiDefaultTabLen.
10061 (tui_set_default_tab_len): Rename tuiSetDefaultTabLen.
10062 (tui_win_with_focus): Rename tuiWinWithFocus.
10063 (tui_set_win_with_focus): Rename tuiSetWinWithFocus.
10064 (tui_layout_def): Rename tuiLayoutDef.
10065 (tui_win_resized): Rename tuiWinResized.
10066 (tui_set_win_resized_to): Rename tuiSetWinResizedTo.
10067 (tui_next_win): Rename tuiNextWin.
10068 (tui_prev_win): Rename tuiPrevWin.
10069 (tui_add_to_source_windows): Rename addToSourceWindows.
10070 * tui/tui-winsource.c, tui/tui-win.c: Update references.
10071 * tui/tui-layout.c, tui/tui-source.c: Ditto.
10072 * tui/tui-stack.c, tui/tui-io.c: Ditto.
10073 * tui/tui.c, tui/tui-data.c: Ditto.
10074 * tui/tui-interp.c, tui/tui-data.c: Ditto.
10075 * tui/tui-disasm.c, tui/tui-command.c: Ditto.
10076
a358af15
AC
10077 * tui/tui-source.h: Update copyright. Include "tui-data.h".
10078 (struct symtab): Declare.
10079 (tui_set_source_content): Rename tuiSetSourceContent.
10080 (tui_show_symtab_source): Rename tuiShowSource.
10081 (tui_source_is_displayed): Rename tuiSourceIsDisplayed.
10082 (tui_vertical_source_scroll): Rename tuiVerticalSourceScroll.
10083 * tui/tui-source.c: Update copyright. Update references.
10084 * tui/tui-win.c, tui/tui-winsource.c: Update references.
10085 * tui/tui-stack.c: Update references.
10086
a21fcd8f
AC
10087 * tui/tui-win.h: Update copyright. Include "tui-data.h".
10088 (struct tui_win_info): Declare.
10089 (tui_scroll_forward): Rename tuiScrollForward.
10090 (tui_scroll_backward): Rename tuiScrollBackward.
10091 (tui_scroll_left): Rename tuiScrollLeft.
10092 (tui_scroll_right): Rename tuiScrollRight.
10093 (tui_set_win_focus_to): Rename tuiSetWinFocusTo.
10094 (tui_resize_all): Rename tuiResizeAll.
10095 (tui_refresh_all_win): Rename tuiRefreshAll.
10096 (tui_sigwinch_handler): Rename tuiSigwinchHandler.
10097 * tui/tui-layout.c, * tui/tui-io.c: Update references.
10098 * tui/tui-wingeneral.h, * tui/tui.c: Update references.
10099 * tui/tui-disasm.c, * tui/tui-command.c: Update references.
10100
edae1ccf
AC
10101 * tui/tui-windata.h: Update copyright. Include "tui-data.h".
10102 (tui_erase_data_content): Rename tuiEraseDataContent.
10103 (tui_display_all_data): Rename tuiDisplayAllData.
10104 (tui_check_data_values): Rename tuiCheckDataValues.
10105 (tui_display_data_from_line): Rename tuiDisplayDataFromLine.
10106 (tui_first_data_item_displayed): Rename tuiFirstDataItemDisplayed.
10107 (tui_first_data_element_no_in_line): Rename
10108 tuiFirstDataElementNoInLine.
10109 (tui_delete_data_content_windows): Rename
10110 tuiDeleteDataContentWindows.
10111 (tui_refresh_data_win): Rename tuiRefreshDataWin.
10112 (tui_display_data_from): Rename tuiDisplayDataFrom.
10113 (tui_vertical_data_scroll): Rename tuiVerticalDataScroll.
10114 * tui/tui-windata.c, tui/tui-hooks.c: Update references.
10115 * tui/tui-win.c, tui/tui-regs.c: Update references.
10116 * tui/tui-layout.c, tui/tui.c: Update references.
10117
ec7d9e56
AC
10118 * tui/tui-wingeneral.h: Update copyright.
10119 (m_allBeVisible): Delete macro.
8a1dac83 10120 (m_allBeInvisible): Delete macro.
ec7d9e56
AC
10121 (struct tui_gen_win_info): Declare.
10122 (struct tui_win_info): Declare.
10123 (tui_unhighlight_win): Rename unhighlightWin.
10124 (tui_make_visible, tui_make_invisible): Replace makeVisible.
10125 (tui_make_all_visible, tui_make_all_invisible): Replace makeAllVisible.
10126 (tui_make_window): Rename makeWindow.
10127 (tui_copy_win): Rename copyWin.
10128 (tui_box_win): Rename boxWin.
10129 (tui_highlight_win): Rename highlightWin.
10130 (tui_check_and_display_highlight_if_needed): Rename
10131 checkAndDisplayHighlightIfNeeded.
10132 (tui_refresh_all): Rename refreshAll.
10133 (tui_delete_win): Rename tuiDelwin.
10134 (tui_refresh_win): Rename tuiRefreshWin.
10135 * tui/tui-wingeneral.c (make_visible): Rename makeVisible.
10136 (tui_make_visible, tui_make_invisible): New functions.
10137 (tui_make_all_visible, tui_make_all_invisible): New functions.
10138 (make_all_visible): Rename makeAllVisible.
10139 * tui/tui-winsource.c, tui/tui-windata.c: Update references.
10140 * tui/tui-data.c, tui/tui-winsource.c: Update references.
10141 * tui/tui-windata.c, tui/tui-win.c: Update references.
10142 * tui/tui-regs.c, tui/tui-layout.c: Update references.
10143 * tui/tui-data.h (struct tui_gen_win_info): Rename _TuiGenWinInfo.
10144
1e52e2eb
MK
101452004-02-06 Mark Kettenis <kettenis@gnu.org>
10146
10147 * proc-api.c (write_with_trace): Initialize local variable to
10148 silence compiler warning.
10149
f80bda8e
AC
101502004-02-06 Andrew Cagney <cagney@redhat.com>
10151
10152 * tui/tui-source.h: Do not include "defs.h".
10153 (struct tui_win_info): Declare.
10154 (tui_set_source_content_nil): Declare.
10155 * tui/tui-data.h (struct tui_win_info): Rename _TuiWinInfo.
10156 (union tui_line_or_address): Rename _TuiLineOrAddress.
10157 * tui/tui-winsource.h: Update copyright. Include "tui-data.h".
10158 (tui_update_source_window): Rename tuiUpdateSourceWindow.
10159 (tui_update_source_window_as_is): Rename
10160 tuiUpdateSourceWindowAsIs.
10161 (tui_update_source_windows_with_addr): Rename
10162 tuiUpdateSourceWindowsWithAddr.
10163 (tui_update_source_windows_with_line): Rename
10164 tuiUpdateSourceWindowsWithLine.
10165 (tui_clear_source_content): Rename tuiClearSourceContent.
10166 (tui_erase_source_content): Rename tuiEraseSourceContent.
10167 (tui_set_source_content_nil): Rename tuiSetSourceContentNil.
10168 (tui_show_source_content): Rename tuiShowSourceContent.
10169 (tui_horizontal_source_scroll): Rename tuiHorizontalSourceScroll.
10170 (tui_set_exec_info_content): Rename tuiSetExecInfoContent.
10171 (tui_show_exec_info_content): Rename tuiShowExecInfoContent.
10172 (tui_erase_exec_info_content): Rename tuiEraseExecInfoContent.
10173 (tui_clear_exec_info_content): Rename tuiClearExecInfoContent.
10174 (tui_update_exec_info): Rename tuiUpdateExecInfo.
10175 (tui_set_is_exec_point_at): Rename tuiSetIsExecPointAt.
10176 (tui_alloc_source_buffer): Rename tuiAllocSourceBuffer.
10177 (tui_line_is_displayed): Rename tuiLineIsDisplayed.
10178 (tui_addr_is_displayed): Rename tuiAddrIsDisplayed.
10179 (struct tui_win_info): Declare.
10180 * tui/tui-stack.c: Update references.
10181 * tui/tui-layout.c, tui/tui-winsource.c: Ditto.
10182 * tui/tui-win.c, tui/tui-source.c: Ditto.
10183 * tui/tui.c, tui/tui-disasm.c: Ditto.
10184
9fbfb822
MK
101852004-02-06 Mark Kettenis <kettenis@gnu.org>
10186
10187 * i386-linux-tdep.c (i386_linux_sigcontext_addr): Fix calculation
10188 of UCONTEXT_ADDR. Fixes PR backtrace/1545.
10189
03cebad2
MK
101902004-02-05 Mark Kettenis <kettenis@gnu.org>
10191
10192 * infrun.c (handle_inferior_event): Allow for breakpoint
10193 instructions to generate a SIGSEGV in addition to SIGTRAP, SIGILL
10194 and SIGEMT. Update comments.
10195 * NEWS (Revised SPARC target): Mention support for non-executable
10196 stack.
10197
290281b1
MK
101982004-02-04 Mark Kettenis <kettenis@gnu.org>
10199
10200 * target.h (target_object): Add TARGET_OBJECT_WCOOKIE.
10201 * inftarg.c: Update copyright year.
10202 (child_xfer_partial): Add support for TARGET_OBJECT_WCOOKIE.
10203 * sparc-nat.c: Include "target.h" and "gdb_assert.h".
10204 (sparc_xfer_wcookie): New function.
10205 * sparc-tdep.c (sparc_fetch_wcookie): New function.
10206 * Makefile.in (sparc-nat.o): Update dependencies.
10207 * config/sparc/nm-nbsd.h: Include "target.h".
10208 (NATIVE_XFER_WCOOKIE): New define.
10209 (sparc_xfer_wcookie): New prototype.
10210
212161df
AC
102112004-02-04 Andrew Cagney <cagney@redhat.com>
10212
10213 * m68k-tdep.c (m68k_saved_pc_after_call): Delete #ifdef
10214 SYSCALL_TRAP function.
10215 (m68k_gdbarch_init): Delete #ifdef SYSCALL_TRAP code.
10216
6e4c6c91
DJ
102172004-02-04 Andrew Cagney <cagney@redhat.com>
10218 Daniel Jacobowitz <drow@mvista.com>
10219
10220 * objfiles.h: Delete comments refering to inside_entry_func and
10221 DEPRECATED_FRAME_CHAIN_VALID.
10222 * defs.h (inside_entry_func): Update prototype..
10223 * blockframe.c (inside_entry_func): Rename to
10224 legacy_inside_entry_func. Add new inside_entry_func taking a frame.
10225 * frame.c (get_prev_frame): Pass the frame to inside_entry_func.
10226
cae688ec
JJ
102272004-02-03 Jeff Johnston <jjohnstn@redhat.com>
10228
10229 * breakpoint.c (struct captured_parse_breakpoint_args): Move
10230 outside of #ifdef SOLIB_ADD region.
10231 (do_restore_lang_radix_cleanup): Ditto.
10232 (resolve_pending_breakpoint): Ditto.
10233
19217676
AC
102342004-02-03 Andrew Cagney <cagney@redhat.com>
10235
10236 * ia64-tdep.c (read_sigcontext_register): Delete unused function.
10237 (process_note_abi_tag_sections): Delete unused function.
10238 (ia64_read_fp): Delete unused function.
10239 (gdbarch_extract_struct_value_address): Delete declaration.
10240
876753be
AC
102412004-02-02 Andrew Cagney <cagney@redhat.com>
10242
10243 * vax-tdep.c (vax_frame_chain): Delete call to
10244 deprecated_inside_entry_file.
10245 * ns32k-tdep.c (ns32k_frame_chain): Ditto.
10246
d4f10bf2
MK
102472004-02-02 Mark Kettenis <kettenis@gnu.org>
10248
10249 * dwarf2-frame.c (dwarf2_frame_cache): Deal with a return address
10250 column that's "empty" or "same value" when eliminating REG_RA
10251 rules.
10252
cae688ec
JJ
102532004-02-02 Jeff Johnston <jjohnstn@redhat.com>
10254
10255 * NEWS: Add information about new pending breakpoint support.
10256
0101ce28
JJ
102572004-02-02 Jeff Johnston <jjohnstn@redhat.com>
10258
10259 * breakpoint.h (struct breakpoint): Add new flag, from_tty,
10260 and pending fields for pending breakpoint support.
10261 * breakpoint.c (breakpoint_enabled): Add check for not pending.
10262 (condition_command): Only parse condition if not a pending
10263 breakpoint.
10264 (print_one_breakpoint): Add support for pending breakpoints.
10265 (describe_other_breakpoints): Add checks to verify we are not
10266 dealing with pending breakpoints.
10267 (check_duplicates): Don't check pending breakpoints.
10268 (set_raw_breakpoint): Initialize pending flag.
10269 (do_restore_lang_radix_cleanup): New cleanup routine.
10270 (resolve_pending_breakpoint): New function.
10271 (re_enable_breakpoints_in_shlibs): Try and resolve any
10272 pending breakpoints via resolve_pending_breakpoint.
10273 (mention): Add pending breakpoint support.
10274 (parse_breakpoint_sals): Add new parameter to pass to
10275 decode_line_1 to indicate silent errors when files or functions
10276 are not found. Change all callers.
10277 (do_captured_parse_breakpoint): New function.
10278 (break_command_1): Change prototype to return an rc value and to
10279 take an optional pending breakpoint pointer. Support creating
10280 a pending breakpoint if a "not found" form of error occurs when
10281 parsing the breakpoint. Also support resolving an existing pending
10282 breakpoint and be silent if the resolution fails.
10283 (create_breakpoints): Change prototype to take pending breakpoint
10284 pointer. When resolving a pending breakpoint, use the new pointer
10285 to provide a conditional or commands added by the end-user.
10286 (delete_breakpoint): Add appropriate check for pending.
10287 (breakpoint_re_set_one): Ditto.
10288 (do_enable_breakpoint): Ditto.
10289
8d577d32
DC
102902004-02-02 David Carlton <carlton@kealia.com>
10291
10292 * valops.c (enum oload_classification): New.
10293 (find_overload_match): Break implementation into separate
10294 functions; delete #if 0'd code; look for symbols within
10295 namespaces.
10296 (find_oload_champ_namespace,find_oload_champ_namespace_loop)
10297 (find_oload_champ,oload_method_static,classify_oload_match): New.
10298 * cp-support.h: Add declaration for cp_func_name; update
10299 declaration for make_symbol_overload_list.
10300 * cp-support.c (cp_func_name): New.
10301 (overload_list_add_symbol): Fix comment, use
10302 SYMBOL_LINKAGE_NAME and SYMBOL_NATURAL_NAME.
10303 (make_symbol_overload_list): Take a function name and a namespace
10304 instead of a symbol; change implementation.
10305 (make_symbol_overload_list_using): New.
10306 (make_symbol_overload_list_qualified, read_in_psymtabs): New.
10307
22e8e3c7
FF
103082004-02-02 Fred Fish <fnf@redhat.com>
10309
10310 * main.c (gdb_stdtarg): Move definition to group with other
15390fef 10311 gdb_stdtarg definitions and update copyright years.
22e8e3c7
FF
10312 * remote-sim.c (gdb_os_write_stderr): Write output to
10313 gdb_stdtargerr stream instead of gdb_stdtarg stream.
10314 (gdb_os_flush_stderr): Flush gdb_stdtargerr steam instead of
15390fef 10315 gdb_stderr stream and update copyright years.
22e8e3c7 10316
6b753f60
DJ
103172004-02-01 Daniel Jacobowitz <drow@mvista.com>
10318
10319 * Makefile.in (mips-linux-nat.o): Update dependencies.
10320 * mips-linux-nat.c: Include mips-tdep.h.
10321
103222004-02-01 Roland McGrath <roland@redhat.com>
2cb6b099
RM
10323
10324 * sol-thread.c (sol_thread_xfer_partial): New function.
10325 (init_sol_thread_ops): Use that for to_xfer_partial hook.
10326 (init_sol_core_ops): Likewise.
10327
10328 * procfs.c (procfs_xfer_partial): New function.
10329 (init_procfs_ops): Use that for procfs_ops.to_xfer_partial.
10330 * Makefile.in (procfs.o): Add $(auxv_h) dep.
10331
10332 * config/nm-linux.h (NATIVE_XFER_AUXV): New macro, uses auxv.c's
10333 procfs_xfer_auxv function.
10334
10335 * procfs.c (procfs_make_note_section): If we can read
10336 TARGET_OBJECT_AUXV data, add an NT_AUXV note containing it.
10337 * linux-proc.c (linux_make_note_section): Likewise.
10338
10339 * auxv.h: New file.
10340 * auxv.c: New file.
10341 * Makefile.in (auxv_h): New variable.
10342 (COMMON_OBS): Add auxv.o here.
10343 (auxv.o): New target.
10344
10345 * corelow.c (core_xfer_partial): New function.
10346 (init_core_ops): Use it for core_ops.to_xfer_partial.
10347
10348 * target.h (enum target_object): Add TARGET_OBJECT_AUXV.
10349 * inftarg.c (child_xfer_partial): Support it using NATIVE_XFER_AUXV
10350 macro if that is defined.
10351
fa5281d0
DJ
103522004-02-01 Daniel Jacobowitz <drow@mvista.com>
10353
10354 * breakpoint.c (bpstat_stop_status): Take a ptid_t argument,
10355 and check the specified thread for each breakpoint.
10356 * breakpoint.h (bpstat_stop_status): Update prototype.
10357 * infrun.c (handle_inferior_event): Update calls to
10358 bpstat_stop_status.
10359
26ee262d
DJ
103602004-02-01 Daniel Jacobowitz <drow@mvista.com>
10361
10362 * Makefile.in (cli-cmds.o): Add $(readline_h).
10363
d9b52655
DJ
103642004-02-01 Daniel Jacobowitz <drow@mvista.com>
10365
10366 * cli/cli-cmds.c: Include readline.h.
10367 (complete_command): Pass the start of the last word to
10368 complete_line.
10369
9709f61c
DJ
103702004-01-31 Daniel Jacobowitz <drow@mvista.com>
10371
10372 * breakpoint.c (bpstat_stop_status): Remove not_a_sw_breakpoint
10373 argument, and change first argument to a CORE_ADDR.
10374 * breakpoint.h (bpstat_stop_status): Update prototype.
10375 * infrun.c (adjust_pc_after_break): Add a new comment.
10376 (handle_inferior_event): Update calls to bpstat_stop_status.
10377
4f1280bb
DJ
103782004-01-31 Daniel Jacobowitz <drow@mvista.com>
10379
10380 * breakpoint.h: Update copyright years.
10381
4fa8626c
DJ
103822004-01-31 Daniel Jacobowitz <drow@mvista.com>
10383
10384 * breakpoint.c (software_breakpoint_inserted_here_p): New function.
10385 (bpstat_stop_status): Don't decrement PC.
10386 * breakpoint.h (software_breakpoint_inserted_here_p): Add
10387 prototype.
10388 * infrun.c (adjust_pc_after_break): New function.
10389 (handle_inferior_event): Call it, early. Remove later references
10390 to DECR_PC_AFTER_BREAK.
10391 (normal_stop): Add commentary.
10392
fad0733a
DJ
103932004-01-31 Daniel Jacobowitz <drow@mvista.com>
10394
10395 * breakpoint.c (breakpoint_re_set_one): Add missing chunk of
10396 2004-01-27 double-free fix.
10397
42cdca6c
MK
103982004-01-31 Mark Kettenis <kettenis@gnu.org>
10399
10400 * sparc-tdep.c (sparc_fetch_wcookie): New function.
10401 (sparc32_frame_prev_register): Handle StackGhost.
10402 (sparc_supply_rwindow, sparc_collect_rwindow): Likewise.
10403
932d5416
RM
104042004-01-29 Roland McGrath <roland@redhat.com>
10405
10406 * configure.in (NEW_PROC_API): Also match solaris2.9 for this test.
10407 * configure: Regenerated.
10408
10409 * procfs.c: Include gdb_string.h for str* decls, otherwise warnings.
10410 * Makefile.in (procfs.o): Add dep.
10411
47d3492a
AC
104122004-01-28 Andrew Cagney <cagney@redhat.com>
10413
10414 * tui/tui-stack.h: Update copyright.
10415 (struct frame_info): Add opaque declaration.
10416 (tui_update_locator_filename): Rename tuiUpdateLocatorFilename.
10417 (tui_show_locator_content): Rename tuiShowLocatorContent.
10418 (tui_show_frame_info): Rename tuiShowFrameInfo.
10419 * tui/tui-stack.c: Update copyright. Update references.
10420 * tui/tui-winsource.c: Update references.
10421 * tui/tui-win.c: Update references.
10422 * tui/tui-layout.c: Update references.
10423 * tui/tui-hooks.c: Update copyright, update references.
10424 * tui/tui.c: Update copyright, update references.
10425 * tui/tui-disasm.c: Update references.
10426
5d51ca54
DC
104272004-01-28 David Carlton <carlton@kealia.com>
10428
10429 * dwarf2read.c (add_partial_structure): Use demangled name if
10430 namespace equals "".
10431
086ed43d
JB
104322004-01-27 Jim Blandy <jimb@redhat.com>
10433
10434 Clean up misapplied patch:
10435 * dwarf2read.c (determine_prefix): Change one of the two forward
10436 declarations for 'determine_prefix_aux' to a declaration for this.
10437 (read_func_scope): Use cu->language, not cu_language. Pass 'cu'
10438 argument to 'die_specification'.
10439
2a35147e
JB
10440 * dwarf2read.c (read_func_scope): Re-indent comment.
10441
a355c7de 104422004-01-27 Paul N. Hilfinger <hilfinger@gnat.com>
932d5416 10443
a355c7de
AC
10444 * breakpoint.c (breakpoint_re_set_one): Set b->cond, b->val, and
10445 b->exp to NULL after freeing so that error during re-parsing or
10446 evaluation of expressions associated with breakpoint don't
10447 eventually lead to re-freeing of storage.
10448 Committed by Andrew Cagney.
10449
63ff5125
AC
104502004-01-27 Andrew Cagney <cagney@redhat.com>
10451
10452 * source.c (ambiguous_line_spec): Delete undefined declaration.
10453 * m32r-rom.c (m32r_set_board_address): Delete unused function.
10454 (m32r_set_server_address, m32r_set_download_path): Ditto.
10455 * remote-fileio.c (remote_fileio_to_fio_int): Ditto.
10456
e142c38c
DJ
104572004-01-27 Daniel Jacobowitz <drow@mvista.com>
10458
10459 * dwarf2read.c: Update calls to changed and renamed functions, and
10460 references to moved variables.
10461
10462 (struct dwarf2_cu): Add first_fn, last_fn, cached_fn,
10463 language, language_defn, list_in_scope, and ftypes members.
10464 (cu_first_fn, cu_last_fn, cu_cached_fn, cu_language)
10465 (cu_language_defn, list_in_scope, ftypes, cu_header_offset)
10466 (baseaddr): Remove globals.
10467
10468 (dwarf_attr): Renamed to dwarf2_attr. Add CU argument.
10469 (set_cu_language, die_is_declaration, die_specification)
10470 (determine_prefix, determin_prefix_aux, class_name, namespace_name)
10471 (dwarf2_linkage_name, dwarf2_name, dwarf2_extension)
10472 (dwarf2_get_ref_die_offset, dwarf2_fundamental_type)
10473 (initialize_cu_func_list, add_to_cu_func_list): Add CU argument.
10474
10475 (dwarf2_build_psymtabs_hard): Add local baseaddr. Initialize
10476 cu.list_in_scope. Don't initialize cu_header_offset.
10477 (add_partial_symbol): Add local baseaddr.
10478 (psymtab_to_symtab_1): Add local baseaddr. Use
10479 objfile->section_offsets for consistency. Don't initialize
10480 cu_header_offset; do initialize cu.header.offset and
10481 cu.list_in_scope.
10482 (read_file_scope, read_func_scope, read_lexical_block_scope)
10483 (dwarf_decode_lines, new_symbol): Add local baseaddr.
10484
c6e06ede
MC
104852004-01-27 Michael Chastain <mec.gnu@mindspring.com>
10486
fb328ecc 10487 * PROBLEMS: Add gdb/1516.
c6e06ede 10488
48184fd4
AC
104892003-12-29 Robert Millan <robertmh@gnu.org>
10490
10491 Patch committed by Andrw Cagney.
10492 * configure.host: Match knetbsd*-gnu and kfreebsd*-gnu.
10493 * configure.tgt: Match knetbsd*-gnu.
10494
c1321b30
AC
104952004-01-26 Andrew Cagney <cagney@redhat.com>
10496
f3699be3
AC
10497 * breakpoint.c (catch_command_1): Delete #ifdef code.
10498 (catch_fork_command_1): Delete #ifdef wrapper.
10499 (catch_exec_command_1): Ditto.
10500 (catch_load_command_1): Ditto.
10501 (catch_unload_command_1): Ditto.
10502
c1321b30
AC
10503 * breakpoint.c (watchpoint_check): Delete #if0ed variable.
10504 (catch_breakpoint): Delete #if0ed function.
10505 (disable_catch_breakpoint): Ditto.
10506 (delete_catch_breakpoint, enable_catch_breakpoint): Ditto.
10507 (disable_catch, enable_catch, delete_catch): Ditto.
10508
b4501125
AC
105092004-01-26 Andrew Cagney <cagney@redhat.com>
10510
10511 * remote.c (echo_check, quit_flag): Delete variables.
10512 (cisco_kernel_mode): Delete variable.
10513 (minitelnet_return, tty_input, escape_count): Delete variables.
10514 (remote_cisco_mode): Delete variable.
10515 (remote_cisco_open, remote_cisco_close): Delete function.
10516 (remote_cisco_mourn, remote_cisco_wait): Delete function.
10517 (init_remote_cisco_ops): Delete function.
10518 (_initialize_remote): Do not install "remote cisco" code.
10519 (read_frame): Delete cisco specific code.
10520 (remote_info_process): Delete function.
10521 (remote_wait): Delete cisco specific code.
10522 (remote_cisco_section_offsets): Delete function.
10523 (remote_cisco_objfile_relocate): Delete function.
10524 (remote_async_wait): Delete cisco specific code.
10525 (minitelnet, readtty, readsocket): Delete function.
10526
74055713
AC
105272004-01-26 Andrew Cagney <cagney@redhat.com>
10528
10529 * gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS): Deprecate. Add
10530 comments mentioning extract_returned_value_address.
10531 * infcmd.c (print_return_value): Update. Add comments on
10532 extract_returned_value_address.
10533 * stack.c (return_command): Add comments on
10534 extract_returned_value_address.
10535 * values.c: Update comment.
10536 * m32r-tdep.c: Update comment.
10537 * sparc-tdep.c: Update comment.
10538 * ia64-tdep.c (ia64_use_struct_convention): Update comment.
10539 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
10540 * sh64-tdep.c (sh64_gdbarch_init): Update.
10541 * sh-tdep.c (sh_gdbarch_init): Update.
10542 * s390-tdep.c (s390_gdbarch_init): Update.
10543 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
10544 * m68klinux-tdep.c (m68k_linux_init_abi): Update.
10545 * m68k-tdep.c (m68k_gdbarch_init): Update.
10546 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
10547 * m32r-tdep.c (m32r_gdbarch_init): Update.
10548 * ia64-tdep.c (ia64_gdbarch_init): Update.
10549 * h8300-tdep.c (h8300_gdbarch_init): Update.
10550 * frv-tdep.c (frv_gdbarch_init): Update.
10551 * arm-tdep.c (arm_gdbarch_init): Update.
10552 * alpha-tdep.c (alpha_gdbarch_init): Update.
10553
a67af2b9
AC
105542004-01-26 Andrew Cagney <cagney@redhat.com>
10555
10556 * dwarf2loc.c (dwarf_expr_frame_base): Use SYMBOL_OPS instead of
10557 SYMBOL_LOCATION_FUNCS
10558 (dwarf2_loclist_funcs, dwarf2_locexpr_funcs): Change type to
10559 "struct symbol_ops".
10560 * dwarf2loc.h (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Change
10561 type to "struct symbol_ops".
10562 * symtab.h (struct symbol_ops): Rename "struct location_funcs".
10563 (struct symbol): Replace ".aux_value.loc.funcs" and
10564 ".aux_value.loc.baton" with ".ops" and ".aux_value.ptr".
10565 (SYMBOL_OBJFILE): Delete macro.
10566 (SYMBOL_LOCATION_FUNCS): Delete macro.
10567 (SYMBOL_LOCATION_BATON): Update.
10568 * dwarf2read.c (dwarf2_symbol_mark_computed): Set SYMBOL_OPS
10569 intead of SYMBOL_LOCATION_FUNCS.
10570 * ax-gdb.c (gen_var_ref): Ditto.
10571 * printcmd.c (address_info): Ditto.
10572 * findvar.c (read_var_value): Ditto.
10573 (symbol_read_needs_frame): Ditto.
10574
c034e007
AC
105752004-01-26 Andrew Cagney <cagney@redhat.com>
10576
10577 * dwarf2read.c (read_func_scope): Document frame-base hack.
10578
bb472c1e
MK
105792004-01-25 Mark Kettenis <kettenis@gnu.org>
10580
10581 * infcmd.c (print_return_value): Plug memory leak; delete
10582 ui_stream object. Rename argument `structure_return' to
10583 `struct_return'.
10584
c8e737d5
MK
105852004-01-25 Mark Kettenis <kettenis@gnu.org>
10586
f941662f
MK
10587 * infcmd.c (print_return_value): Wrap long lines.
10588 (finish_command_continuation, finish_command): Remove unused
10589 variable `funcaddr'. Fix some coding-standards problems.
10590
c558d81a 10591 * sparc-tdep.c (sparc_regset_from_core_section): Check whether
d8d65dd3 10592 SECT_SIZE is large enough, not whether it's exactly the right size.
c558d81a
MK
10593 (sparc32_gdbarch_init): Initialize TDEP->sizeof_gregset and
10594 TDEP->fpregset to zero.
10595
bf1e5861 10596 * sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Also supply the
c8e737d5
MK
10597 floating-point registers for traditional NetBSD core files.
10598 (sparc32nbsd_init_abi): Initialize TDEP->sizeof_gregset and
10599 TDEP->sizeof_fpregset here.
10600
4c72d57a
MK
106012004-01-25 Mark Kettenis <kettenis@gnu.org>
10602
566626fa
MK
10603 * sparc-tdep.h (sparc32nbsd_sigcontext_saved_regs): New prototype.
10604 * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): New
10605 function with code split out from
10606 sparc32nbsd_sigcontext_frame_cache.
10607 (sparc32nbsd_sigcontext_frame_cache): Use
10608 sparc32nbsd_sigcontext_saved_regs.
10609 (_initialize_sparc32nbsd_tdep): Don't register OS ABI handler for
10610 OpenBSD.
10611 * sparcobsd-tdep.c: New file.
10612 * Makefile.in (ALLDEPFILES): Add sparcobsd-tdep.c.
10613 (sparcobsd-tdep.o): New dependency.
10614 * configure.tgt (sparc-*-openbsd*): Set gdb_target to obsd.
10615 * config/sparc/obsd.mt: New file.
10616
4c72d57a
MK
10617 * sparc-tdep.c (sparc32_gdbarch_init): Don't require
10618 TDEP->fpregset to be initialized to enable core file register
10619 sets.
10620
7e5e9f88
MK
106212004-01-24 Mark Kettenis <kettenis@gnu.org>
10622
f0f207fd 10623 * sparc64-tdep.h (struct frame_info, struct trad_frame_saved_reg):
1e067c66
MK
10624 Add opaque declarations.
10625 (sparc64nbsd_sigcontext_saved_regs): New prototype.
10626 * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): New
10627 function with code split out from
10628 sparc64nbsd_sigcontext_frame_cache.
10629 (sparc64nbsd_sigcontext_frame_cache): Use
10630 sparc64nbsd_sigcontext_saved_regs.
10631 (_initialize_sparc64nbsd_tdep): Don't register OS ABI handler for
10632 OpenBSD.
10633 * sparc64obsd-tdep.c: New file.
10634 * Makefile.in (ALLDEPFILES): Add sparc64obsd-tdep.c.
10635 (sparc64obsd-tdep.o): New dependency.
10636 * configure.tgt (sparc64-*-openbsd*): Set gdb_target to obsd64 and
10637 gdb_osabi to GDB_OSABI_OPENBSD_ELF.
10638 * config/sparc/obsd64.mt: New file.
10639
690668cc
MK
10640 * sparc-tdep.c (sparc_fetch_instruction): Return zero if we can't
10641 read the instruction at PC.
10642
7e5e9f88
MK
10643 * sparcnbsd-tdep.c (GDB_OSABI_NETBSD_CORE): Define, based on the
10644 value of GDB_OSABI_DEFAULT.
10645 (sparcnbsd_core_osabi_sniffer): Return GDB_OSABI_NETBSD_CORE
10646 instead of GDB_OSABI_NETBSD_AOUT.
10647
68b6dce9
NR
106482004-01-24 Nick Roberts <nick@nick.uklinux.net>
10649
10650 * mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-cmds.h: Update
10651 copyright.
10652
080ce8c0
AC
106532004-01-23 Andrew Cagney <cagney@redhat.com>
10654
10655 * printcmd.c (display_command): Replace tui_set_display call with
10656 tui_set_layout_for_display_command.
10657 * tui/tui.h (enum tui_win_type): Define.
10658 (tui_set_layout): Delete declaration.
10659 (tui_set_layout_for_display_command): Rename set_tui_layout.
10660 * tui/tui-data.h (enum tui_layout_type): Define.
10661 * tui/tui-layout.h: Update copyright. Include "tui-data.h" and
10662 "tui.h".
10663 (tui_add_win_to_layout): Rename tuiAddWinToLayout.
10664 (tui_default_win_height): Rename tuiDefaultWinHeight.
10665 (tui_default_win_viewport_height): Rename
10666 tuiDefaultWinViewportHeight.
10667 (tui_set_layout): RenametuiSetLayout.
10668 * tui/tui-layout.c: Update references.
10669 * tui/tui.c: Update references.
10670 * tui/tui-disasm.c: Update references.
10671
b368761e
DC
106722004-01-23 David Carlton <carlton@kealia.com>
10673
10674 Partial workaround for PR c++/1511:
10675 * cp-namespace.c: Include frame.h.
10676 (cp_lookup_transparent_type): New
10677 (cp_lookup_transparent_type_loop): New.
10678 * cp-support.h: Declare cp_lookup_transparent_type.
10679 * symtab.c (basic_lookup_transparent_type): Renamed from
10680 lookup_transparent_type.
10681 (lookup_transparent_type): Replace old body by a call to
10682 current_language->la_lookup_transparent_type.
10683 * symtab.h: Update copyright. Declare
10684 basic_lookup_transparent_type.
10685 * language.h: Update copyright.
10686 (struct language_defn): Add la_lookup_transparent_type.
10687 * language.c: Update copyright.
10688 (unknown_language_defn): Add basic_lookup_transparent_type.
10689 (auto_language_defn): Add basic_lookup_transparent_type.
10690 (local_language_defn): Add basic_lookup_transparent_type.
10691 * ada-lang.c: Update copyright.
10692 (ada_language_defn): Add basic_lookup_transparent_type.
10693 * c-lang.c: Update copyright.
10694 (c_language_defn): Add basic_lookup_transparent_type.
10695 (cplus_language_defn): Add basic_lookup_transparent_type.
10696 (asm_language_defn): Add basic_lookup_transparent_type.
10697 (minimal_language_defn): Add basic_lookup_transparent_type.
10698 * f-lang.c: Update copyright.
10699 (f_language_defn): Add basic_lookup_transparent_type.
10700 * jv-lang.c: Update copyright.
10701 (java_language_defn): Add basic_lookup_transparent_type.
10702 * m2-lang.c: Update copyright.
10703 (m2_language_defn): Add basic_lookup_transparent_type.
10704 * objc-lang.c: Update copyright.
10705 (objc_language_defn): Add basic_lookup_transparent_type.
10706 * p-lang.c: Update copyright.
10707 (p_language_defn): Add basic_lookup_transparent_type.
10708 * scm-lang.c: Update copyright.
10709 (scm_language_defn): Add basic_lookup_transparent_type.
10710 * Makefile.in (cp-namespace.o): Depend on frame.h.
10711
fdde2d81
DC
107122004-01-23 David Carlton <carlton@kealia.com>
10713
10714 Patch for PR c++/1520:
10715 * dwarf2read.c (read_func_scope): Set processing_current_prefix
10716 properly if we have a specification die.
10717 (determine_prefix_aux): Rename from determine_prefix.
10718 (determine_prefix): Like the old determine_prefix, but never
10719 returns NULL.
10720
5b828b6b
TR
107212004-01-23 Theodore A. Roth <troth@openavr.org>
10722
10723 * avr-tdep.c: Update copyright.
10724 (avr_iaddr_p): Delete unused function.
10725 (avr_saddr_p): Delete unused function.
10726
a1b8c067
DC
107272004-01-23 David Carlton <carlton@kealia.com>
10728
10729 * symfile.c (reread_symbols): Clear objfile->cp_namespace_symtab.
10730 Fix for PR symtab/1534.
10731
f2cab569
MK
107322004-01-23 Mark Kettenis <kettenis@gnu.org>
10733
10734 * NEWS (New native configurations): Mention OpenBSD/sparc and
10735 OpenBSD/sparc64.
10736 * configure.tgt: Add sparc-*-openbsd* and sparc64-*-openbsd*.
10737 * configure.host: Likewise.
10738 * sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Register OS ABI
10739 handler for OpenBSD.
10740 * sparc64nbsd-tdep.c (_initialize_sparc64nbsd_tdep): Likewise.
10741
642d8300
MK
107422004-01-22 Mark Kettenis <kettenis@gnu.org>
10743
89aac506
MK
10744 * sparcnbsd-tdep.c (sparcnbsd_core_osabi_sniffer): New function.
10745 (_initialize_sparnbsd_tdep): Register sparcnbsd_core_osabi_sniffer.
10746
36662fde
MK
10747 * ser-pipe.c (pipe_open): Use proper null pointer in execl call.
10748 * cli/cli-cmds.c (shell_escape): Likewise.
10749
642d8300
MK
10750 * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Recognize
10751 OpenBSD .note.openbsd.ident sections.
10752
fae299cd
DC
107532004-01-22 David Carlton <carlton@kealia.com>
10754
10755 * dwarf2read.c (psymtab_to_symtab_1): Calculate lowpc, highpc via
10756 get_scope_pc_bounds.
10757 (read_file_scope): Ditto.
10758 (get_scope_pc_bounds): New function, produced by extracting code
10759 from the above two functions, consolidating it, and adding support
10760 for DW_TAG_namespace.
10761
a49d618c
MK
107622004-01-22 Mark Kettenis <kettenis@gnu.org>
10763
10764 * osabi.c (MAX_NOTESZ): New define.
10765 (check_note): New function.
10766 (generic_elf_osabi_sniff_abi_tag_sections): Reorganize code using
10767 check_note.
10768
fe61caab
RM
107692004-01-21 Roland McGrath <roland@redhat.com>
10770
10771 * MAINTAINERS (write after approval): Add myself.
10772
ec145965
EZ
107732004-01-21 Eli Zaretskii <eliz@gnu.org>
10774
10775 * utils.c (init_page_info): Move declarations of `rows' and
10776 `cols' before the __GO32__-specific code. Move the closing brace
10777 outside the #ifdef __GO32__..#endif block.
10778 [__GO32__]: Use `rows' and `cols' to avoid compiler warnings.
10779
877522db
PB
107802004-01-21 Paul Brook <paul@codesourcery.com>
10781
10782 * infrun.c (handle_inferior_event): Check stop_stack_dummy if handling
10783 BPSTAT_WHAT_CHECK_SHLIBS.
10784
dbf5be1c
PB
107852004-01-21 Paul Brook <paul@codesourcery.com>
10786
10787 * MAINTAINERS: Add myself to write-after-approval.
10788
81f08b92
AC
107892004-01-20 Andrew Cagney <cagney@redhat.com>
10790
5a1efed7
AC
10791 * ax-gdb.c (print_axs_value): Delete unused function.
10792 * jv-lang.c (java_lookup_type): Delete unused function.
10793 * cli/cli-dump.c (dump_filetype): Delete unused function.
10794 * remote-mips.c (remote_mips_insert_hw_breakpoint)
10795 (remote_mips_remove_hw_breakpoint): Delete unused functions.
10796 (mips_getstring): Delete unused function.
10797 (pmon_insert_breakpoint): Delete #if0ed function.
10798 (PMON_MAX_BP): Delete #if0ed MACRO.
10799 (mips_pmon_bp_info): Delete #if0ed variable.
10800 (pmon_remove_breakpoint): Delete #if0ed function.
10801 * monitor.c (monitor_write_even_block): Delete unused function.
10802 (monitor_write_memory_block): Delete #if0ed code.
10803 * dink32-rom.c (dink32_load): Delete unused function.
10804 (_initialize_dink32_rom): Delete #if0ed code.
10805 * d10v-tdep.c (d10v_daddr_p): Delete unused function.
10806
b0a30fce
AC
10807 * tui/tui-command.c: Update references.
10808 * tui/tui-io.c: Update references.
10809 * tui/tui-command.h: Update copyright.
10810 (tui_dispatch_ctrl_char): Rename tuiDispatchCtrlChar.
10811
81f08b92
AC
10812 * source.c (ambiguous_line_spec): Delete never-defined function.
10813 * remote-rdi.c (arm_rdi_mourn, arm_rdi_send): Ditto.
10814 * gdbtypes.c (add_name, add_mangled_type): Ditto.
10815 * cli/cli-cmds.c (validate_comname): Ditto.
10816
65f05602
AC
10817 * tui/tui-disasm.h: Update copyright. Include "tui.h" and
10818 "tui-data.h".
10819 (tui_set_disassem_content): Rename tuiSetDisassemContent.
10820 (tui_show_disassem): Rename tuiShowDisassem.
10821 (tui_show_disassem_and_update_source): Rename
10822 tuiVerticalDisassemScroll.
10823 (tui_vertical_disassem_scroll): Rename tuiVerticalDisassemScroll.
10824 (tui_get_begin_asm_address): Rename tuiGetBeginAsmAddress.
10825 * tui/tui.h: Update copyright.
10826 (enum tui_status): Define.
10827 * tui/tui-data.h (enum tui_scroll_direction): Define.
10828 * tui/tui-disasm.c: Update copyright. Update references.
10829 * tui/tui-winsource.c: Update copyright. Update references.
10830 * tui/tui-win.c: Update references.
10831 * tui/tui-layout.c: Update references.
10832
6bb0384f
AC
108332004-01-20 Andrew Cagney <cagney@redhat.com>
10834
10835 * mi/mi-cmd-stack.c (list_args_or_locals): Move declaration of
10836 sym2 to start of block.
10837
9175c9a3
MC
108382004-01-19 Michael Chastain <mec.gnu@mindspring.com>
10839
10840 * MAINTAINERS: Delete mmalloc.
10841 * Makefile.in: Delete MMALLOC, MMALLOC_CFLAGS, -lmmalloc, mmalloc_h.
10842 * NEWS: Mention removal of --with-malloc.
10843 * acconfig.h: Delete USE_MMALLOC, MMCHECK_FORCE.
10844 * config.in: Regenerate.
10845 * configure: Regenerate.
6bb0384f
AC
10846 * configure.in: Delete MMALLOC_CFLAGS, MMALLOC, --with-mmalloc,
10847 USE_MMALLOC, MMCHECK_FORCE.
9175c9a3
MC
10848 * gdbinit.in: Remove mmalloc.
10849 * utils.c: Delete USE_MMALLOC, NO_MMCHECK, MMCHECK_FORCE, malloc_botch.
10850 * config/alpha/alpha-linux.mh: Delete MMALLOC, MMALLOC_CFLAGS.
10851 * config/i386/go32.mh: Likewise.
10852 * config/i386/interix.mh: Likewise.
10853 * config/powerpc/xm-linux.h: Delete MMAP_BASE_ADDRESS, MMAP_INCREMENT.
10854
4fcef00a
JJ
108552004-01-19 Jeff Johnston <jjohnstn@redhat.com>
10856
10857 * linespec.c (decode_variable, symtab_from_filename): Call
10858 error_silent with error message instead of throwing an exception
10859 directly.
10860 * defs.h (error_silent, error_output_message): Add prototypes.
10861 (catch_exceptions_with_msg): Ditto.
10862 * utils.c (error_silent, error_output_message): New functions.
10863 * top.c (catch_exceptions_with_msg): New function.
10864
8e94b928
NR
108652004-01-20 Nick Roberts <nick@nick.uklinux.net>
10866
10867 * mi/mi-cmds.h (enum print_values): Add definition.
10868
10869 * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Print the name,
10870 type and value for simple data types and just the name and type
10871 for complex ones, if required.
10872
10873 * mi/mi-cmd-var.c (mi_cmd_var_list_children): Print the values of the
10874 children, if required.
10875
a02d6af8
KB
108762004-01-19 Kevin Buettner <kevinb@redhat.com>
10877
10878 * frv-tdep.c (frv_push_arguments, frv_saved_pc_after_call): Delete
10879 unused declarations.
10880
78a4a9b9
AC
108812004-01-19 Andrew Cagney <cagney@redhat.com>
10882
10883 * top.h (mapped_symbol_files): Delete declaration.
10884 * main.c (captured_main): Delete option "m" and "mapped".
10885 * objfiles.c (mapped_symbol_files): Delete variable.
10886 * symfile.c (symbol_file_command): Delete mmap code.
10887 (symbol_file_add_with_addrs_or_offsets): Ditto.
10888 (add_symbol_file_command, reread_separate_symbols): Ditto.
10889 * objfiles.h (OBJF_MAPPED): Delete.
10890 * objfiles.c (allocate_objfile) [USE_MMALLOC]: Delete.
10891 (free_objfile) [USE_MMALLOC]: Ditto.
10892 (open_existing_mapped_file): Delete function.
10893 (open_mapped_file): Delete function.
10894 (map_to_file): Delete function.
10895
2dbd5e30
KB
108962004-01-19 Kevin Buettner <kevinb@redhat.com>
10897
10898 * infrun.c (step_into_function): Account for possible breakpoint
10899 adjustment when computing ``stop_func_start''.
10900
437b434f
KB
109012004-01-19 Kevin Buettner <kevinb@redhat.com>
10902
10903 * target.c (default_region_size_ok_for_hw_watchpoint): Compare
10904 the region size against the size of a pointer, not the size of
10905 a register as given by DEPRECATED_REGISTER_SIZE.
10906
55fb0713
AC
109072004-01-19 Andrew Cagney <cagney@redhat.com>
10908
10909 * tui/tui-regs.h: Include "tui-data.h".
10910 (tuiFirstRegElementNoInLine): Delete declaration.
10911 (tui_display_registers_from): Rename tuiDisplayRegistersFrom.
10912 (tui_last_regs_line_no): Rename tuiLastRegsLineNo.
10913 (tui_line_from_reg_element_no): Rename tuiLineFromRegElementNo.
10914 (tui_calculate_regs_column_count): Rename
10915 tuiCalculateRegsColumnCount.
10916 (tui_check_register_values): Rename tuiCheckRegisterValues.
10917 (tui_show_registers): Rename tuiShowRegisters.
10918 (tui_display_registers_from_line): Rename
10919 tuiDisplayRegistersFromLine.
10920 (tui_first_reg_element_inline): Rename tuiFirstRegElementInLine.
10921 (tui_toggle_float_regs): Rename tuiToggleFloatRegs.
10922 (tui_first_reg_element_no_inline): Rename
10923 tuiFirstRegElementNoInLine.
10924 * tui/tui-data.h: Update copyright.
10925 (enum tui_register_display_type): Rename _TuiRegisterDisplayType.
10926 * tui/tui-windata.c: Update copyright, update references.
10927 * tui/tui-regs.c: Update copyright, update references.
10928 * tui/tui-win.c: Update copyright, update references.
10929 * tui/tui-layout.c: Update copyright, update references.
fe61caab 10930
cebe9500
AC
109312004-01-18 Andrew Cagney <cagney@redhat.com>
10932
bcdf1568
AC
10933 * tui/tui-io.c: Update copyright.
10934 (key_is_end_sequence, key_is_backspace): New functions.
10935 (key_is_command_char, key_is_start_sequence): New function.
10936 (tui_getc): Update references.
10937 * tui/tui-io.h: Update copyright.
10938 (m_tuiStartNewLine): Delete macro.
10939 (m_isBackspace, m_isDeleteChar): Delete macros.
10940 (m_isDeleteLine, m_isDeleteToEol): Delete macros.
10941 (m_isNextPage, m_isPrevPage): Delete macros.
10942 (m_isLeftArrow, m_isRightArrow): Delete macros.
10943 (m_isXdbStyleCommandChar): Delete macro.
10944 (key_is_start_sequence): Declare, replace m_isStartSequence.
10945 (key_is_end_sequence): Declare, replace m_isEndSequence.
10946 (key_is_backspace): Declare ,replace m_isBackspace.
10947 (key_is_command_char): Declare, replace m_isCommandChar.
10948 * tui/tui-command.c: Update copyright.
10949 (tuiDispatchCtrlChar): Update references.
10950
130d87e6
AC
10951 * config/djgpp/fnchange.lst: Delete tui/tuiSourceWin.c and
10952 tuiSourceWin.h.
10953
d7b2e967
AC
10954 * tui/tui-command.c: Rename tui/tuiCommand.c.
10955 * tui/tui-command.h: Rename tui/tuiCommand.h.
10956 * tui/tui-data.c: Rename tui/tuiData.c.
10957 * tui/tui-data.h: Rename tui/tuiData.h.
10958 * tui/tui-disasm.c: Rename tui/tuiDisassem.c.
10959 * tui/tui-disasm.h: Rename tui/tuiDisassem.h.
10960 * tui/tui-io.c: Rename tui/tuiIO.c.
10961 * tui/tui-io.h: Rename tui/tuiIO.h.
10962 * tui/tui-layout.c: Rename tui/tuiLayout.c.
10963 * tui/tui-layout.h: Rename tui/tuiLayout.h.
10964 * tui/tui-regs.c: Rename tui/tuiRegs.c.
10965 * tui/tui-regs.h: Rename tui/tuiRegs.h.
10966 * tui/tui-source.c: Rename tui/tuiSource.c.
10967 * tui/tui-source.h: Rename tui/tuiSource.h.
10968 * tui/tui-stack.c: Rename tui/tuiStack.c.
10969 * tui/tui-stack.h: Rename tui/tuiStack.h.
10970 * tui/tui-win.c: Rename tui/tuiWin.c.
10971 * tui/tui-win.h: Rename tui/tuiWin.h.
10972 * tui/tui-windata.c: Rename tui/tuiDataWin.c.
10973 * tui/tui-windata.h: Rename tui/tuiDataWin.h.
10974 * tui/tui-wingeneral.c: Rename tui/tuiGeneralWin.c.
10975 * tui/tui-wingeneral.h: Rename tui/tuiGeneralWin.h.
10976 * tui/tui-winsource.c: Rename tui/tuiSourceWin.c.
10977 * tui/tui-winsource.h: Rename tui/tuiSourceWin.h.
10978 * tui/tui-file.c: Update includes.
10979 * tui/tui-hooks.c: Update includes.
10980 * tui/tui-interp.c: Update includes.
10981 * tui/tui.c: Update includes.
10982 * Makefile.in: Update all tui/ dependencies.
10983 (SUBDIR_TUI_OBS, SUBDIR_TUI_SRCS): Update file names.
10984
b2100910
AC
10985 * Makefile.in: Update copyright. Update dependencies.
10986
cebe9500
AC
10987 * tui/tuiSourceWin.c (tui_update_breakpoint_info): Fix compile
10988 problem.
10989
c6f0559b
AC
109902004-01-18 Andrew Cagney <cagney@redhat.com>
10991
43e9390b
AC
10992 * mn10300-tdep.c (_initialize_mn10300_tdep): Call gdbarch_register
10993 instead of register_gdbarch_init.
10994
c6f0559b
AC
10995 * remote-sds.c (tohex): Delete unused function. Update copyright.
10996 * xstormy16-tdep.c (xstormy16_register_virtual_size): Ditto.
10997 * v850-tdep.c (v850_register_virtual_size): Ditto.
10998 * target.c (normal_target_post_startup_inferior): Ditto.
10999 * source.c (ambiguous_line_spec): Ditto.
11000 * remote.c (adapt_remote_get_threadinfo): Ditto.
11001 * mi/mi-out.c (out_field_fmt): Ditto.
11002 * mi/mi-interp.c (mi_interp_read_one_line_hook): Ditto.
11003 (output_control_change_notification): Ditto.
11004 * m68k-tdep.c (m68k_register_byte): Ditto.
11005 (m68k_remote_breakpoint_from_pc): Ditto.
11006 * ui-out.c (init_ui_out_state): Delete unused declaration.
11007 * stabsread.c (search_value): Ditto.
11008 * mi/mi-cmd-env.c (env_cli_command): Ditto.
11009 * maint.c (print_section_table): Ditto.
11010 * infrun.c (set_follow_fork_mode_command): Ditto.
11011
a8504492
MK
110122004-01-18 Mark Kettenis <kettenis@gnu.org>
11013
11014 * dwarf2-frame.c (execute_cfa_program): Move DWA_CFA_nop before
11015 DW_CFA_def_cfa_exporession. Add support for
11016 DW_CFA_offset_extendend_sf, DW_CFA_def_cfa_sf and
11017 DW_CFA_def_cfa_offset_sf. This should fix PR backtrace/1391.
11018
0bd8997e
AC
110192004-01-18 Andrew Cagney <cagney@redhat.com>
11020
11021 * ocd.c: Update copyright.
11022 (bdm_read_register_command): Delete unused function.
11023 (_initialize_remote_ocd): Delete commented out reference.
11024 (get_quoted_char, reset_packet): Delete #if0ed function.
11025 (output_packet, put_quoted_char): Delete #if0ed function.
11026 (stu_put_packet, stu_get_packet): Delete #if0ed function.
11027 (ocd_start_remote): Delete #if0ed code, remove #if1 wrapper.
11028 (BDM_BREAKPOINT): Delete #if0ed macro.
11029 (remote_timeout): Delete #if0ed variable.
11030
31bb40e4
MK
110312004-01-18 Mark Kettenis <kettenis@gnu.org>
11032
11033 * Makefile.in (ALLDEPFILES): Remove core-sol2.c.
11034 (core-sol2.o): Remove dependency.
11035 * core-sol2.c: Remove file.
11036
887432a5
AC
110372004-01-17 Andrew Cagney <cagney@redhat.com>
11038
11039 * mdebugread.c (compare_blocks): Make addr_diff a LONGEST.
11040 * block.h: Make GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOOCK
11041 enums.
11042
29182b13
DJ
110432004-01-17 Daniel Jacobowitz <drow@mvista.com>
11044
11045 * remote.c: Update copyright years.
11046
2963ee1d
DJ
110472004-01-17 Daniel Jacobowitz <drow@mvista.com>
11048
11049 * remote.c (remote_vcont_resume): Use xstrprintf instead of sprintf.
11050
79d45cd4
AC
110512004-01-17 Andrew Cagney <cagney@redhat.com>
11052
ee300cd4
AC
11053 * mdebugread.c: Update copyright.
11054 (parse_symbol): Replace DEPRECATED_STREQ with strcmp.
11055 (parse_type, parse_procedure): Ditto.
11056 (parse_partial_symbols, psymtab_to_symtab_1): Ditto.
11057
fcacc9c2
AC
11058 * cris-tdep.c (cris_store_struct_return): Put back accidently
11059 deleted function.
11060
79d45cd4
AC
11061 * gdbarch.sh: Update copyright year.
11062 * gdbarch.h, gdbarch.c: Re-generate.
11063
b263358a
DJ
110642004-01-17 Daniel Jacobowitz <drow@mvista.com>
11065
11066 Suggested by George Anzinger.
11067 * dwarf2expr.c (execute_stack_op): Fetch the second item from the
11068 correct stack offset. Include unknown opcode numbers in the error
11069 message.
11070
931aecf5
AC
110712004-01-17 Andrew Cagney <cagney@redhat.com>
11072
11073 * x86-64-tdep.c (x86_64_init_abi): No need to clear
11074 extract_struct_value_address, i386 does not set it.
11075 * sparc64-tdep.c (sparc64_init_abi): Do not set
11076 extract_struct_value_address, never called.
11077 (sparc64_extract_struct_value_address): Delete function.
11078 * m68hc11-tdep.c: Update copyright.
11079 (m68hc11_gdbarch_init): Delete redundant assignment of
11080 extract_struct_value_address.
11081 * i386-tdep.c: Update copyright.
11082 (i386_gdbarch_init): Do not set extract_struct_value_address,
11083 never called.
11084 (i386_extract_struct_value_address): Delete function.
11085 * sparc-tdep.c (sparc32_gdbarch_init): Do not set
11086 extract_struct_value_address, never called.
11087 (sparc32_extract_struct_value_address): #if 0 function. Add
11088 comments explaining its future.
11089
756fe439
DJ
110902004-01-17 Daniel Jacobowitz <drow@mvista.com>
11091
11092 * arm-tdep.c (arm_write_pc): New function.
11093 (arm_gdbarch_init): Call set_gdbarch_write_pc.
11094
e74f0f02
DJ
110952004-01-17 Daniel Jacobowitz <drow@mvista.com>
11096
11097 * breakpoint.c (must_shift_inst_regs): Delete.
11098 (bpstat_stop_status): Delete references to DECR_PC_AFTER_HW_BREAK
11099 and SHIFT_INST_REGS.
11100 * infcmd.c (step_1, step_1_continuation): Delete references to
11101 SHIFT_INST_REGS.
11102 * infrun.c (keep_going): Likewise.
11103 * target.h (DECR_PC_AFTER_HW_BREAK): Don't define.
11104 * config/i386/nm-i386.h (DECR_PC_AFTER_HW_BREAK): Likewise.
11105
b6cb9035
AC
111062004-01-17 Andrew Cagney <cagney@redhat.com>
11107
444a1e2e
AC
11108 * gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
11109 * gdbarch.h, gdbarch.c: Re-generate.
11110 * infcmd.c (print_return_value): Delete reference to
11111 DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS.
11112
def7e6ed
AC
11113 * cris-tdep.c (cris_gdbarch_init): Do not set
11114 deprecated_extract_struct_value_address.
11115
07be497a
AC
11116 * xstormy16-tdep.c: Update copyright.
11117 (xstormy16_extract_struct_value_address): Update to current
11118 extract struct value address interface.
11119 (xstormy16_gdbarch_init): Set extract_struct_value_address.
11120 * sh64-tdep.c (sh64_extract_struct_value_address): Update to
11121 current extract struct value address interface.
11122 (sh64_gdbarch_init): Set extract_struct_value_address.
11123
6b4d5c91
AC
11124 * cris-tdep.c: Update copyright.
11125 (cris_extract_struct_value_address): Delete function.
11126 (struct_return_address): Delete variable.
11127 (cris_store_struct_return): Do not set struct_return_address.
11128
464e0365
AC
11129 * mcore-tdep.c: Update copyright.
11130 (mcore_extract_struct_value_address): Delete function. Update
11131 comments.
11132 (mcore_gdbarch_init): Update.
11133 * mn10300-tdep.c: Update copyright.
11134 (mn10300_extract_struct_value_address): Delete function.
11135 (mn10300_gdbarch_init): Update.
11136 * v850-tdep.c: Update copyright.
11137 (v850_extract_struct_value_address): Delete.
11138 (v850_gdbarch_init): Update.
11139 * ns32k-tdep.c: Update copyright.
11140 (ns32k_extract_struct_value_address): Delete.
11141 (ns32k_gdbarch_init): Update.
11142 * hppa-tdep.c (hppa_extract_struct_value_address): Delete.
11143 (hppa_gdbarch_init): Update.
11144 * vax-tdep.c: Update copyright.
11145 (vax_extract_struct_value_address): Delete.
11146 (vax_gdbarch_init): Update.
11147
afb18d0f
AC
11148 * gdbarch.sh (DEPRECATED_NPC_REGNUM): Delete.
11149 * gdbarch.h, gdbarch.c: Re-generate.
11150 * procfs.c (procfs_fetch_registers): Delete reference to
11151 DEPRECATED_NPC_REGNUM.
11152 (procfs_store_registers): Ditto.
11153 * regcache.c (generic_target_write_pc): Simplify.
11154 * lynx-nat.c: Delete #ifdef SPARC code. Not used.
11155
a698f53e
AC
11156 * core-sol2.c (fetch_core_registers): Replace
11157 DEPRECATED_NPC_REGNUM with equivalent tdep value.
11158
adc11376
AC
11159 * hppa-tdep.c: Update copyright year.
11160 (hppa_target_write_pc): Use PCOQ_TAIL_REGNUM instead of
11161 NPC_REGNUM.
11162 (hppa_gdbarch_init): Do not set deprecated_npc_regnum.
11163
b6cb9035
AC
11164 * mips-tdep.c (mips_write_pc): New function.
11165 (mips_gdbarch_init): Set "write_pc" to "mips_write_pc".
11166 (mips_read_pc): Use mips_regnum instead of PC_REGNUM.
11167 (mips_find_saved_regs, mips_software_single_step: Ditto.
11168 (mips_frame_saved_pc, mips_frame_saved_pc): Ditto.
11169 mips_init_extra_frame_info, mips_pop_frame): Ditto.
11170
6d82d43b
AC
111712004-01-17 Andrew Cagney <cagney@redhat.com>
11172
11173 * mips-tdep.c: Re-indent. Group functions by ABI.
11174
71bd6bd4
AC
111752004-01-17 Andrew Cagney <cagney@redhat.com>
11176
11177 * gdbarch.sh (DECR_PC_AFTER_BREAK): Make zero the default.
11178 * gdbarch.c: Re-generate.
11179 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
11180 DECR_PC_AFTER_BREAK to zero.
11181 * vax-tdep.c (vax_gdbarch_init): Ditto.
11182 * v850-tdep.c (v850_gdbarch_init): Ditto.
11183 * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
11184 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
11185 * sh-tdep.c (sh_gdbarch_init): Ditto.
11186 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
11187 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
11188 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
11189 * mips-tdep.c (mips_gdbarch_init): Ditto.
11190 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
11191 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
11192 * m32r-tdep.c (m32r_gdbarch_init): Ditto.
11193 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
11194 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
11195 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
11196 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
11197 * frv-tdep.c (frv_gdbarch_init): Ditto.
11198 * cris-tdep.c (cris_gdbarch_init): Ditto.
11199 * avr-tdep.c (avr_gdbarch_init): Ditto.
11200 * arm-tdep.c (arm_gdbarch_init): Ditto.
11201 * i386-nto-tdep.c (i386nto_init_abi): Add comment.
11202
a02abb62
JB
112032004-01-17 J. Brobecker <brobecker@gnat.com>
11204
11205 * dwarf2read.c (dwarf2_non_const_array_bound_ignored_complaint):
11206 Delete, no longer used.
11207 (read_subrange_type): New function, mostly extracted from
11208 read_array_type().
11209 (read_array_type): Replace extracted code by call to
11210 read_subrange_type().
11211 (dwarf2_get_attr_constant_value): New function.
11212 (scan_partial_symbols): Add handling for DW_TAG_subrange_type.
11213 (add_partial_symbol): Likewise.
11214 (process_die): Likewise.
11215 (new_symbol): Likewise.
11216 (read_type_die): Likewise.
11217
cf5b2f1b
AC
112182004-01-16 Andrew Cagney <cagney@redhat.com>
11219
11220 * symfile.c: Update copyright year.
11221 (compare_symbols): Delete unused function.
11222 * stabsread.c: Update copyright year.
11223 (lrs_general_complaint): Delete unused function.
11224 (ref_search_value): Ditto.
11225 (get_substring): Delete declaration.
11226 * sh64-tdep.c: Update copyright year.
11227 (sh64_get_gdb_regnum): Delete unused function.
11228 * dwarf2read.c (dwarf2_unsupported_at_frame_base_complaint):
11229 Delete unused function.
11230
d33b9831
MK
112312004-01-17 Mark Kettenis <kettenis@gnu.org>
11232
11233 * defs.h (gdb_osabi): Add GDB_OSABI_OPENBSD_ELF.
11234 * osabi.c (gdb_osabi_names): Add "OpenBSD ELF".
11235
7aea86e6
AC
112362004-01-16 Andrew Cagney <cagney@redhat.com>
11237
11238 Changes from Peter Schauer.
11239 * rs6000-tdep.c: Update copyright year.
11240 (rs6000_push_dummy_call): Update the stack pointer before
11241 accessing the corresponding stack region.
11242 * rs6000-nat.c: Update copyright year.
11243 (set_host_arch): Set "info.abfd" to "exec_bfd".
11244
26b0da32
MK
112452004-01-15 Mark Kettenis <kettenis@gnu.org>
11246
11247 * blockframe.c: Update copyright year.
11248 (inside_entry_func): Don't treat a zero PC specially.
11249
86fbe6cc
EZ
112502004-01-14 Elena Zannoni <ezannoni@redhat.com>
11251
11252 * gcore.c (gcore_copy_callback): Use paddr_d to print size
11253 variable.
11254 (gcore_create_callback): Ditto. Skip any memory segment that has
11255 no permissions set.
11256
63d06c5c
DC
112572004-01-14 David Carlton <carlton@kealia.com>
11258
11259 Change symbols for C++ nested types to contain the fully qualified
11260 name, if possible. (At least in the DWARF-2 case.) Partial fix
11261 for PR's c++/57, c++/488, c++/539, c++/573, c++/609, c++/832,
11262 c++/895.
11263 * c-exp.y (qualified_type): Handle types nested within classes.
11264 * cp-namespace.c: Update comments.
11265 (cp_set_block_scope): Delete #if 0.
11266 (cp_lookup_nested_type): Handle types nested within classes.
11267 * dwarf2read.c: (scan_partial_symbols): Call add_partial_structure
11268 when appropriate.
11269 (add_partial_symbol): Add the name of the enclosing namespace to
11270 types.
11271 (pdi_needs_namespace): New.
11272 (add_partial_namespace): Tweak comment.
11273 (add_partial_structure): New.
11274 (psymtab_to_symtab_1): Initialize processing_current_prefix
11275 here...
11276 (process_die): instead of here.
11277 (read_structure_scope): Try to figure out the name of the class or
11278 namespace that the structure might be defined within.
11279 (read_enumeration): Generate fully-qualified names, if possible.
11280 (read_namespace): Don't set name to NULL.
11281 (die_specification): New.
11282 (new_symbol): Generate fully-qualified names for types.
11283 (read_type_die): Determine appropriate prefix.
11284 (determine_prefix): New.
11285 (typename_concat): New.
11286 (class_name): New.
11287 * valops.c (value_aggregate_elt): Pass NOSIDE to
11288 value_struct_elt_for_reference.
11289 (value_struct_elt_for_reference): Make static, add NOSIDE
11290 parameter, call value_maybe_namespace_elt as a last resort.
11291 (value_namespace_elt): Break out code into
11292 value_maybe_namespace_elt.
11293 (value_maybe_namespace_elt): New.
11294
87783b8b
AC
112952004-01-12 Andrew Cagney <cagney@redhat.com>
11296
11297 * mips-tdep.c (mips_convert_register_p): Handle both raw and
11298 cooked floating-point registers.
11299 (mips_gdbarch_init): Set convert_register_p, register_to_value,
11300 and value_to_register.
11301
6503b91e
AC
113022004-01-13 Andrew Cagney <cagney@redhat.com>
11303
11304 * gdbarch.sh (FUNCTION_START_OFFSET): Make zero the default.
11305 * gdbarch.c: Re-generate.
11306 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
11307 FUNCTION_START_OFFSET.
11308 * v850-tdep.c (v850_gdbarch_init): Ditto.
11309 * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
11310 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
11311 * sh-tdep.c (sh_gdbarch_init): Ditto.
11312 * s390-tdep.c (s390_gdbarch_init): Ditto.
11313 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
11314 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
11315 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
11316 * mips-tdep.c (mips_gdbarch_init): Ditto.
11317 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
11318 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
11319 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
11320 * m32r-tdep.c (m32r_gdbarch_init): Ditto.
11321 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
11322 * i386-tdep.c (i386_gdbarch_init): Ditto.
11323 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
11324 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
11325 * frv-tdep.c (frv_gdbarch_init): Ditto.
11326 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
11327 * cris-tdep.c (cris_gdbarch_init): Ditto.
11328 * avr-tdep.c (avr_gdbarch_init): Ditto.
11329 * arm-tdep.c (arm_gdbarch_init): Ditto.
11330 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
11331
ea1dd7bc
DJ
113322004-01-13 Daniel Jacobowitz <drow@mvista.com>
11333
11334 * infrun.c (follow_fork_mode_ask): Remove.
11335 (follow_fork_mode_kind_names): Remove follow_fork_mode_ask.
11336 (follow_fork): Simplify and remove internal error for
11337 follow_fork_mode_ask.
11338 (_initialize_infrun): Update "set follow-fork-mode" help text.
11339
0f0cffd2
AC
113402004-01-13 Andrew Cagney <cagney@redhat.com>
11341
11342 * configure.in: Update copyright year.
11343 (build_warnings): Add -Wunused-label.
11344 * configure: Re-generate.
11345
de38af99
AC
113462004-01-12 Andrew Cagney <cagney@redhat.com>
11347
954a7fba
AC
11348 * exec.h (exec_ops): Make "extern".
11349
de38af99
AC
11350 * mips-tdep.c (mips_pseudo_register_read): Don't return a value,
11351 the function is void.
11352 (mips_pseudo_register_write): Ditto.
11353
1a111ce3
AC
113542004-01-12 Andrew Cagney <cagney@redhat.com>
11355
11356 * stack.c (frame_info): Delete DEPRECATED_PRINT_EXTRA_FRAME_INFO
11357 call. Never defined.
11358 * sparc-tdep.h (struct frame_info): Add opaque declaration.
11359 * sparc64-tdep.h (struct gdbarch): Add opaque declaration.
11360 (struct sparc_gregset, struct regcache): Ditto.
11361 * sparc-nat.c: Update copyright. Specify "GNU/Linux".
11362
48efe704
AC
113632004-01-12 Andrew Cagney <cagney@redhat.com>
11364
11365 * mi/ChangeLog: Delete file. Renamed to ...
11366 * mi/ChangeLog-1999-2003: New file.
11367 * tui/ChangeLog: Delete file. Renamed to ...
11368 * tui/ChangeLog-1998-2003: New file.
fe61caab 11369
a54124c5
MK
113702004-01-11 Mark Kettenis <kettenis@gnu.org>
11371
2ca62865
MK
11372 * sparc64nbsd-tdep.c: Include "regset.h".
11373 (sparc64nbsd_sizeof_struct_reg, sparc64nbsd_sizeof_struct_fpreg):
11374 Remove variables.
11375 (fetch_core_registers): Remove function.
11376 (sparc64nbsd_core_fns): Remove variable.
11377 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): New
11378 functions.
11379 (sparc64nbsd_init_abi): Initialize TDEP->gregset,
11380 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
11381 (_initialize_sparc64nbsd_tdep): Remove call to add_core_fns.
11382
ca9d58e9
MK
11383 * sparc-tdep.c (sparc32_extract_struct_value_address): Rename from
11384 sparc_extract_struct_value_address.
11385 (sparc32_gdbarch_init): Set extract_struct_value_address.
11386 * sparc64-tdep.c (sparc64_extract_struct_value_address): New
11387 function.
11388 (sparc64_init_abi): Set extract_struct_value_address. Don't set
11389 return_value_on_stack.
11390
3cc87ec0
MK
11391 * NEWS: Mention that %cs and %ss have been added to the AMD64
11392 configurations
11393
5bf00f29
MK
11394 * frame.c: Update copyright year.
11395 (get_prev_frame): Improve comment.
11396
4f7ec84e
MK
11397 * sparc64fbsd-tdep.c: Include "regset.h".
11398 (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
11399 Remove variables.
11400 (fetch_core_registers): Remove function.
11401 (sparc64fbsd_core_fns): Remove variable.
11402 (sparc64fbsd_supply_gregset, sparc64fbsd_supply_fpregset): New
11403 functions.
11404 (sparc64fbsd_init_abi): Initialize TDEP->gregset,
11405 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
46b58ce9 11406 (_initialize_sparc64fbsd_tdep): Remove call to add_core_fns.
4f7ec84e 11407
4e7b0cd3
MK
11408 * sparcnbsd-tdep.c: Include "regset.h".
11409 (fetch_core_registers): Remove function.
11410 (sparcnbsd_core_fns, sparcnbsd_elfcore_fns): Remove varaibles.
11411 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): New
11412 functions.
11413 (sparc32nbsd_init_abi): Initialize TDEP->gregset and
11414 TDEP->fpregset.
46b58ce9 11415 (_initialize_sparcnbsd_tdep): Remove calls to add_core_fns.
4e7b0cd3 11416
a54124c5
MK
11417 * sparc-tdep.h (struct regset): Provide opaque declaration.
11418 (struct gdbarch_tdep): Add gregset, sizeof_gregset,
11419 fpregset and sizeof_fpregset members.
11420 * sparc-tdep.c (struct regset): Provide opaque declaration.
11421 (sparc_regset_from_core_section): New function.
11422 (sparc32_gdbarch_init): Initialize TDEP->gregset,
11423 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_fpregset.
11424 Set regset_from_core_section when appropriate.
11425
29ff87c5
MK
114262004-01-10 Mark Kettenis <kettenis@gnu.org>
11427
79b1ab3d
MK
11428 * x86-64-tdep.c (amd64_non_pod_p): New function.
11429 (amd64_classify_aggregate): Return class memory for non-POD
11430 C++ structure types.
11431
6470d250
MK
11432 * x86-64-tdep.c (amd64_push_arguments): Add struct_return
11433 argument. Use it to reserve a register if necessary.
11434 (amd64_push_dummy_call): Pass STRUCT_RETURN in call to
11435 amd64_push_arguments.
11436
562c50c2
MK
11437 * x86-64-tdep.c (amd64_classify_aggregate): Ignore static fields.
11438
af233647
MK
11439 * x86-64-tdep.c (amd64_register_info): Add %cs and %ss. Adjust
11440 register numbers in comments.
11441 * x86-64-tdep.h: Update copyright year.
11442 (X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM):
11443 Adjust for addition of %cs and %ss.
11444 * amd64fbsd-nat.c: Update copyright year.
11445 (reg_offset): Add register offsets for %cs and %ss.
11446 * amd64fbsd-tdep.c: Update copyright year.
11447 (amd64fbsd_r_reg_offset): Add register offsets for %cs and %ss.
11448 (amd64fbsd_sc_reg_offset): Likewise.
11449 * x86-64-linux-nat.c: Update copyright year.
11450 (x86_64_linux_gregset64_reg_offset): Add register offsets for %cs
11451 and %ss.
11452 * amd64nbsd-nat.c: Update copyright year.
11453 (amd64nbsd32_r_reg_offset): Add register offsets for %cs and %ss.
11454 * amd64nbsd-tdep.c: Update copyright year.
11455 (amd64nbsd_r_reg_offset): Add register offsets for %cs and %ss.
11456 * x86-64-linux-tdep.c: Update copyright year.
11457 (user_to_gdb_regmap): Add mapping for %cs and %ss.
11458 (x86_64_linux_sc_reg_offset): Adjust for addition of %cs and %ss.
11459 * regformats/reg-x86-64.dat: Add %cs and %ss.
11460
29ff87c5
MK
11461 * blockframe.c (inside_entry_func): Reformat. Introduce new local
11462 variables to prevent long lines. Update comments to reflect
11463 reality.
11464
38d518c9
EZ
114652004-01-09 David Carlton <carlton@kealia.com>
11466
11467 Checked in by Elena Zannoni <ezannoni@redhat.com>.
11468 * dwarf2read.c (read_namespace): Pull out name-generating code
11469 into namespace_name. Rename previous_namespace to previous_prefix
11470 and processing_current_namespace to processing_current_prefix..
11471 (namespace_name): New function.
11472 (add_partial_symbol): Substitute uses of pdi->name with
11473 actual_name.
11474 * cp-support.h: Rename processing_current_namespace to
11475 processing_current_prefix.
11476 Update copyright year.
11477 * cp-namespace.c: Rename processing_current_namespace to
11478 processing_current_prefix.
11479 Update copyright year.
fe61caab 11480
1e4728e7
AC
114812004-01-09 Andrew Cagney <cagney@redhat.com>
11482
11483 * jv-valprint.c, ser-unix.c: Add missing copyright years.
11484
c77c642a
MK
114852004-01-09 Mark Kettenis <kettenis@gnu.org>
11486
11487 * dbxread.c (read_dbx_symtab): Ignore N_PATCH stabs instead of
11488 complaining.
11489 (process_one_symbol): Deal with N_PATCH stabs.
11490
b44e9041
EZ
114912004-01-09 Elena Zannoni <ezannoni@redhat.com>
11492
11493 * dwarf2read.c (read_array_type): Discard FORTRAN_HACK macro and
11494 ifdeffed code.
11495 Update copyright year.
38d518c9 11496
eccfb640
MC
114972004-01-08 Michael Chastain <mec.gnu@mindspring.com>
11498
11499 * config/pa/tm-hppa.h: Update extern declarations for
11500 hppa32_hpux_frame_saved_pc_in_sigtramp,
11501 hppa32_hpux_frame_base_before_sigtramp, and
11502 hppa32_hpux_frame_find_saved_regs_in_sigtramp.
11503
848c5feb
MC
115042004-01-08 Michael Chastain <mec.gnu@mindspring.com>
11505
11506 * config/pa/tm-hppah.h: Update copyright years.
11507
3cc5d663
AC
115082004-01-08 Andrew Cagney <cagney@redhat.com>
11509
11510 * mips-tdep.c (mips_n32n64_reg_struct_has_addr): Delete function.
11511 (mips_o32_reg_struct_has_addr): Delete function.
11512 (mips_gdbarch_init): Update.
11513 (mips_extract_struct_value_address): Delete function.
11514
bfec0b41
JJ
115152004-01-08 David Mosberger <davidm@hpl.hp.com>
11516
11517 * ia64-linux-tdep.c: Update GATE_AREA_END value to reflect
11518 reality.
11519
16e109ca
AC
115202004-01-07 Andrew Cagney <cagney@redhat.com>
11521
6214a8a1
AC
11522 * mips-tdep.c (mips_gdbarch_init): Set elf_flags to the previous
11523 architecture's elf flags (when available).
11524
8d5838b5
AC
11525 * mips-tdep.c (mips_gdbarch_init): Move code determining the MIPS
11526 FPU to the start, check the MIPS FPU when looking for an old
11527 architecture.
11528 (set_mipsfpu_single_command): Update the architecture.
11529 (set_mipsfpu_double_command, set_mipsfpu_none_command): Ditto.
11530
480d3dd2
AC
11531 * mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Delete macro.
11532 (mips_mask_address_p): Add "tdep" parameter.
11533 (show_mask_address, mips_addr_bits_remove): Update.
11534 (mips_dump_tdep): Update.
11535 (MIPS_DEFAULT_STACK_ARGSIZE): Delete macro.
11536 (MIPS_STACK_ARGSIZE): Delete macro.
11537 (mips_stack_argsize, mips_eabi_push_dummy_call): Update.
11538 (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call): Update.
11539 (mips_o64_push_dummy_call, mips_o32_return_value): Update.
11540 (mips_dump_tdep): Update.
11541 (MIPS_SAVED_REGSIZE): Delete macro.
11542 (MIPS_DEFAULT_SAVED_REGSIZE): Delete macro.
11543 (mips_saved_regsize, mips_eabi_use_struct_convention): Update.
11544 (mips_eabi_reg_struct_has_addr, mips_find_saved_regs): Update.
11545 (mips_frame_saved_pc, mips16_heuristic_proc_desc): Update.
11546 (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call): Update.
11547 (mips_o32_push_dummy_call, mips_o64_push_dummy_call): Update.
11548 (mips_pop_frame, return_value_location): Update.
11549 (mips_n32n64_return_value, mips_dump_tdep): Update.
11550
ec03c1ac
AC
11551 * mips-tdep.c (mips_gdbarch_init): Clean up code selecting the
11552 MIPS ABI.
11553
16e109ca
AC
11554 * mips-tdep.c: Update copyright.
11555 (mips_gdbarch_init): Merge two code blocks handling the register
11556 name and number layout.
11557
15255275
MS
115582004-01-02 Pawel Ostrowski <pasza@zodiac.mimuw.edu.pl>
11559
11560 * tracepoint.c (validate_actionline): Fix segv at EOF
11561
9f9057da
MC
115622004-01-07 Michael Chastain <mec.gnu@mindspring.com>
11563
11564 * hpread.c (hpread_read_struct_type): Call SET_FIELD_PHYSNAME
11565 properly for static fields.
11566
0127c0d3 115672004-01-06 Jeff Johnston <jjohnstn@redhat.com>
91562f53 11568 Jason Molenda <jmolenda@apple.com>
0127c0d3
JJ
11569
11570 * disasm.c: Update copyright to include 2004.
11571 (do_mixed_source_and_assembly): For uiout asm list
11572 and tuple cleanups, initialize to null_cleanup instead of
fe61caab 11573 NULL and do so prior to loop. Only reset when we close off
0127c0d3 11574 the tuple/list. Move check for whether to close off the
fe61caab 11575 asm tuple/list to after dump_insns call where it will be run
0127c0d3
JJ
11576 on each loop iteration.
11577
5269965e
AC
115782004-01-05 Andrew Cagney <cagney@redhat.com>
11579
54f1137d
AC
11580 * ser-unix.c (ser_unix_async): Fix tipo, "NOTHING_SECHEDULED"
11581 should be a switch case and not a label.
11582 * mips-tdep.c (mips32_next_pc): Delete unused labels
11583 "greater_equal_branch" and "less_zero_branch".
11584 * jv-valprint.c (java_print_value_fields): Delete unused label
11585 "flush_it".
11586
5269965e
AC
11587 * target.c (unpush_target): Only close a target that is in the
11588 target stack.
11589
dbc22fa1
MK
115902004-01-05 Mark Kettenis <kettenis@gnu.org>
11591
9515395e
MK
11592 * sparc-tdep.c (sparc_extract_struct_value_address): Get the
11593 address from [sp + 64] instead of %o2.
11594
dbc22fa1
MK
11595 * frame.c (get_prev_frame): Don't try to unwind the PC. This
11596 fixes PR backtrace/1476.
11597
5439edaa
AC
115982004-01-05 Andrew Cagney <cagney@redhat.com>
11599
11600 * libunwind-frame.h (struct frame_id): Add opaque declaration,
11601 move to start of file.
11602 * i386-tdep.h (struct regcache): Add opaque declaration.
11603 * config/ia64/nm-linux.h (struct target_ops): Add opaque
11604 declaration.
11605 * ia64-tdep.c (ia64_find_proc_info_x): Do not use __FUNCTION__.
11606 (ia64_gdbarch_init): Use "GNU/Linux" in comment.
11607 * win32-nat.c (fake_create_process): Use ISO C style definition.
11608 * stabsread.c (define_symbol): Delete #ifndef
11609 DEPRECATED_USE_REGISTER_NOT_ARG wrapper around
11610 stabs_argument_has_addr call, macro never defined.
11611
19061abe
MC
116122004-01-04 Michael Chastain <mec.gnu@mindspring.com>
11613
11614 * op50-rom.c: Delete.
11615 * w89k-rom.c: Delete.
11616 * Makefile.in: Remove references.
11617
e53bef9f
MK
116182004-01-04 Mark Kettenis <kettenis@gnu.org>
11619
11620 * x86-64-tdep.c: Update copyright year.
11621 (struct amd64_register_info): Rename from x86_64_register_info.
11622 (amd64_register_info): Rename from x86_64_register_info.
11623 (AMD64_NUM_REGS): Rename from X86_64_NUM_REGS.
11624 (amd64_register_name): Rename from x86_64_register_name.
11625 (amd64_register_type): Rename from x86_64_register_type.
11626 (amd64_dwarf_regmap): Rename from x86_64_dwarf_regmap.
11627 (amd64_dwarf_regmap_len): Rename from x86_64_dwarf_regmap_len.
11628 (amd64_dwarf_reg_to_regnum): Rename from
11629 x86_64_dwarf_reg_to_regnum.
11630 (amd64_convert_register_p): Rename from x86_64_convert_register_p.
11631 (amd64_push_dummy_call): Rename from x86_64_push_dummy_call.
11632 (AMD64_NUM_SAVED_REGS): Rename from X86_64_NUM_SAVED_REGS.
11633 (struct amd64_frame_cache): Renamed from x86_64_frame_cache.
11634 (amd64_alloc_frame_cache): Renamed from x86_64_alloc_frame_cache.
11635 (amd64_analyze_prologue): Rename from x86_64_analyze_prologue.
11636 (amd64_skip_prologue): Rename from x86_64_skip_prologue.
11637 (amd64_frame_cache): Rename from x86_64_frame_cache.
11638 (amd64_frame_this_id): Rename from x86_64_frame_this_id.
11639 (amd64_frame_prev_register): Rename from
11640 x86_64_frame_prev_register.
11641 (amd64_frame_unwind): Rename from x86_64_frame_unwind.
11642 (amd64_frame_sniffer): Rename from x86_64_frame_sniffer.
11643 (amd64_sigtramp_frame_cache): Rename from
11644 x86_64_sigtramp_frame_cache.
11645 (amd64_sigtramp_frame_prev_register): Rename from
11646 x86_64_sigtramp_frame_prev_register.
11647 (amd64_sigtramp_frame_unwind): Rename from
11648 x86_64_sigtramp_frame_unwind.
11649 (amd64_sigtramp_frame_sniffer): Rename from
11650 x86_64_sigtramp_frame_sniffer.
11651 (amd64_frame_base_address): Rename from x86_64_frame_base_address.
11652 (amd64_frame_base): Rename from x86_64_frame_base.
11653 (amd64_unwind_dummy_id): Rename from x86_64_unwind_dummy_id.
11654 (amd64_frame_align): Rename from x86_64_frame_align.
11655 (amd64_supply_fpregset): Rename from x86_64_supply_fpregset.
11656 (amd64_regset_from_core_section): Rename from
11657 x86_64_regset_from_core_section.
11658 (x86_64_init_abi): Update comments.
11659
fca6aa58
NR
116602004-01-04 Nick Roberts <nick@nick.uklinux.net>
11661
11662 * MAINTAINERS (write after approval): Add myself.
11663
8ada74e3
MK
116642004-01-04 Mark Kettenis <kettenis@gnu.org>
11665
11666 * sparc64-tdep.c (sparc64_store_arguments): Fix handling of
11667 `float' arguments.
11668
5154b0cd
MK
116692004-01-04 Mark Kettenis <kettenis@gnu.org>
11670
11671 * sparc64-tdep.c (sparc64_store_floating_fields): Update comment
11672 such that it mentions a specific version of GCC that exhibits this
11673 bug.
11674
fb316966
MK
116752004-01-03 Mark Kettenis <kettenis@gnu.org>
11676
200cc553
MK
11677 * sparc64-tdep.c (sparc64_store_floating_fields): If TYPE is a
11678 structure that has a single `float' member, store it in %f1 in
11679 addition to %f0.
11680
e226a4a0
MK
11681 * sparc-sol2-nat.c: Add missing '\'.
11682
b9d4c5ed
MK
11683 * sparc-tdep.c (sparc32_return_value): New function.
11684 (sparc32_use_struct_convention, sparc32_return_value_on_stack):
11685 Remove functions.
11686 (sparc32_gdbarch_init): Set return_value, don't set
11687 extract_return_value, store_return_value, use_struct_convention
11688 and return_value_on_stack.
11689
fb316966
MK
11690 * sparc-sol2-nat.c: Add missing ')'.
11691
1af510a8
JB
116922004-01-03 J. Brobecker <brobecker@gnat.com>
11693
11694 * infrun.c (handle_step_into_function): New function.
11695 (handle_inferior_event): Extract out some code into the new
11696 function above.
11697
5cf4d23a
JB
116982004-01-03 J. Brobecker <brobecker@gnat.com>
11699
11700 * infrun.c (handle_inferior_event): Move the declaration of
11701 real_stop_pc inside the if blocks where it is used.
11702
60af1db2
MK
117032004-01-03 Mark Kettenis <kettenis@gnu.org>
11704
11705 * sparc64-tdep.c (sparc64_16_byte_align_p)
11706 (sparc64_store_floating_fields, sparc64_store_floating_fields):
11707 Use check_typedef to get subtypes of structures and unions.
11708 (sparc64_store_return_value): Fix calculation of the appropriate
11709 offset into VALBUF when storing a structure or union.
11710 (sparc64_return_value): New function.
11711 (sparc64_use_struct_convention): Remove function.
11712 (sparc64_init_abi): Set return_value, don't set
11713 extract_return_value, store_return_value and
11714 use_struct_convention.
11715
1a901d3f
EZ
117162004-01-03 Eli Zaretskii <eliz@elta.co.il>
11717
11718 * config/djgpp/fnchange.lst: Add lines for COPYING.LIBGLOSS,
11719 bfd/doc/ChangeLog-9103, bfd/elf32-m68hc1x.c,
11720 gdb/config/alpha/xm-alphaosf.h,
11721 gdb/config/powerpc/tm-ppcle-eabi.h,
11722 gdb/config/rs6000/tm-rs6000-aix4.h, gdb/gdbtk/ChangeLog-2001,
11723 gdb/gdbtk/ChangeLog-2002, gdb/gdbtk/ChangeLog-2003,
11724 gdb/gdbtk/plugins/intel-pentium/intel-pentium.tcl.in,
11725 gdb/gdbtk/plugins/rhabout/rhabout.tcl.in, gdb/i386-linux-nat.c,
11726 gdb/ia64-aix-nat.c, gdb/ia64-aix-tdep.c, gdb/ia64-linux-nat.c,
11727 gdb/ia64-linux-nat.c, gdb/ppc-linux-tdep.c, gdb/ppc-linux-nat.c,
11728 gdb/sparc64nbsd-nat.c, gdb/sparc64nbsd-tdep.c,
11729 gdb/sparc64-linux-nat.c, gdb/sparc64-linux-tdep.c,
11730 gdb/sparc64-nat.c, gdb/sparc64-tdep.c, gdb/sparc64-sol2-tdep.c,
11731 gdb/sparc-sol2-nat.c, gdb/sparc-sol2-tdep.c,
11732 gdb/testsuite/gdb.gdbtk/, gdb/testsuite/gdb.mi/mi-var-child.exp,
11733 nclude/ChangeLog-9103, include/coff/ChangeLog-9103,
11734 include/elf/ChangeLog-9103, include/opcode/ChangeLog-9103,
11735 opcodes/ChangeLog-0001, opcodes/ChangeLog-0203,
11736 opcodes/openrisc-dis.c, opcodes/openrisc-desc.h,
11737 sim/frv/profile-fr550.c, sim/frv/profile-fr550.h,
11738 sim/sh64/sem-compact-switch.c, sim/sh64/sem-media-switch.c,
11739 sim/testsuite/sim/sh64/compact/ldsl-mach.cgs,
11740 sim/testsuite/sim/sh64/compact/ldsl-macl.cgs,
11741 sim/testsuite/sim/sh64/compact/stsl-mach.cgs, and
11742 sim/testsuite/sim/sh64/compact/stsl-macl.cgs.
11743 Remove lines for .cvsignore files.
11744
ef52e463
JB
117452004-01-03 J. Brobecker <brobecker@gnat.com>
11746
11747 * infrun.c: Back out the previous change.
11748
cb1bf9dc
MK
117492004-01-03 Mark Kettenis <kettenis@gnu.org>
11750
f0424ef6
MK
11751 * NEWS: Mention revised SPARC target. Add sparc-*-lynxos* and
11752 sparc-*-sunos4* to the list of REMOVED configurations.
11753
cb1bf9dc
MK
11754 * configure.tgt: Add back sparc-*-vxworks*.
11755 * remote-vxsparc.c: Remove all includes except for "defs.h",
11756 "regcache.h", "vx-share/ptrace.h" and "vx-share/regPacket.h".
11757 Include "sparc-tdep.h".
11758 (SPARC_R_G1): New define.
11759 (vxsparc_gregset): New variable.
11760 (ext_format_sparc): Remove extern declaration.
11761 (vx_read_register): Rewrite to use sparc32_supply_gregset and
11762 sparc32_supply_fpregset.
11763 (vx_write_register): Rewrite to use sparc32_collect_gregset,
11764 sparc_collect_rwindow and sparc32_collect_fpregset.
11765 * config/sparc/tm-vxworks.h: New file, based on recently removed
11766 tm-vxsparc.h.
11767 * config/sparc/vxworks.mt: New file, based on recently removed
11768 vxworks.mt.
fe61caab 11769
5e938f9f
JB
117702004-01-03 J. Brobecker <brobecker@gnat.com>
11771
11772 * infrun.c (handle_step_into_function): New function.
11773 (handle_inferior_event): Extract out some code into the new
11774 function above.
11775
386c036b
MK
117762004-01-02 Mark Kettenis <kettenis@gnu.org>
11777
11778 * Makefile.in (ALLDEPFILES): Remove sparc-linux-nat.c and
11779 sparcl-tdep.c. Add sparc-linux-tdep.c, sparc-sol2-nat.c,
11780 sparc-sol2-tdep.c, sparc-sol2-nat.c, sparc-sol2-tdep.c,
11781 sparc64-linux-nat.c, sparc64-linux-tdep.c, sparc64-nat.c,
11782 sparc64-sol2-tdep.c, sparc64-tdep.c, sparc64fbsd-nat.c,
11783 sparc64fbsd-tdep.c, sparcnbsd-nat.c, sparcnbsd-tdep.c.
11784 (sparc_nat_h): New variable.
11785 (sparcbsd_nat_h, sparcnbsd_tdep_h): Remove variables.
11786 (tm-sun4os4.h): Remove dependency.
11787 (sparcbsd-nat.o, sparc-linux-nat.o): Remove dependencies.
11788 (sparc64fbsd-nat.o, sparc64fbsd-tdep.o, sparc64nbsd-nat.o,
11789 sparc64-tdep.o, sparc-nat.o, sparcnbsd-nat.o, sparcnbsd-tdep.o,
11790 sparc-tdep.o): Update dependencies.
11791 (sparc-linux-tdep.o, sparc-sol2-nat.o, sparc-sol2-tdep.o,
11792 sparc64-linux-nat.o, sparc64-linux-tdep.o, sparc64-nat.o,
11793 sparc64-sol2-tdep.o, sparc64-tdep.o, sparc64nbsd-tdep.o): New
11794 dependencies.
11795 * configure.host: Remove existing sparc-*-lynxos*,
11796 sparc-*-solaris*, sparc-*-sunos4*, sparc-*-sunos5*, sparc-*-*,
11797 ultrasparc-*-freebsd, sparcv9-*-freebsd, sparc64-*-linux*,
11798 sparcv9-*-* and sparc64-*-* triplets. Add new sparc64-*-linux*,
11799 sparc-*-solaris2*, sparcv9-*-solaris2* and sparc64-*-solaris2*
11800 triplets.
11801 * configure.tgt: Remove exitsing sparc-*-aout*, sparc-*-coff*,
11802 sparc-*-elf*, sparc*-lynxos*, sparc-*-solars2*, sparc-*-sunos4*,
11803 sparc-*-sunos5*, sparc-*-vxworks*, sparc64-*linux*, sparc64-*-*,
11804 sparcv9-*-* and commented out sparc64-*-solars2* triplets. Add
11805 new sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*,
11806 sparc64-*-linux, sparc-*-solaris2*, sparcv9-*-solaris*,
11807 sparc64-*-solaris2* and sparc64-*-* triplets.
11808 * sparc64-tdep.c: Update copyright year. Include "inferior.h",
11809 "symtab.h" and "objfiles.h".
11810 (BIAS): Remove define.
11811 (X_OP, X_RD, X_A, X_COND, X_OP2, X_IMM22, X_OP3, X_I, X_DISP22)
11812 (X_DISP19): Remove macros.
11813 (sparc_fetch_instruction): Remove function.
11814 (struct gdbarch_tdep): Remove definition.
11815 (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use ARRAY_SIZE.
11816 (sparc_breakpoint_from_pc): Remove function.
11817 (struct sparc64_frame_cache): Remove definition.
11818 (sparc64_alloc_frame_cache, sparc64_analyze_prologue,
11819 sparc64_unwind_pc): Remove functions.
11820 (sparc64_skip_prologue): Use `struct sparc_frame_cache' instead of
11821 `struct sparc64_frame_cache. Call sparc_analyze_prologue instead
11822 of sparc64_analyze_prologue. Mark constant as ULL instead of UL.
11823 (sparc64_frame_cache): Change return type to `struct
11824 sparc_frame_cache *'. Simply call sparc_frame_cache.
11825 (sparc64_frame_this_id, sparc64_frame_prev_register,
11826 sparc64_frame_base_address): Use `struct sparc_frame_cache'
11827 instead of `struct sparc64_frame_cache.
11828 (sparc_unwind_dummy_id, sparc_extract_struct_value_address,
11829 sparc_analyze_control_transfer, sparc_software_single_step,
11830 sparc64_gdbarch_init, sparc_supply_rwindow, sparc_fill_rwindow,
11831 _initialize_sparc64_tdep): Remove functions.
11832 (TSTATE_CWP, TSTATE_ICC, TSTATE_XCC): New macros.
11833 (PSR_S, PSR_ICC, PSR_VERS, PSR_IMPL, PSR_V8PLUS, PSR_XCC): New
11834 macros.
11835 (sparc64_supply_gregset, sparc64_collect_gregset,
11836 sparc64_supply_fpregset, sparc64_collect_fpregset): New functions.
11837 (sparc64_init_abi): New function.
11838 * sparc64-tdep.h: Update copyright year. Fix typo in multiple
11839 inclusion guard. Include "sparc-tdep.h".
11840 (BIAS): Define.
11841 (r_tstate_offset, r_fprs_offset): New defines.
11842 (enum sparc_regnum): Remove defenition.
11843 (enum sparc64_regnum): Reformat.
11844 (sparc_supply_rwindow, sparc_fill_rwindow): Remove prototypes.
11845 (sparc64_init_abi, sparc64_supply_gregset,
11846 sparc64_collect_gregset, sparc64_supply_fpregset,
11847 sparc64_collect_fpregset): New prototypes.
11848 (sparc64_sol2_gregset, sparc64nbsd_gregset, sparc64fbsd_gregset):
11849 Add extern declarations.
11850 (sparc64_sol2_init_abi): New prototype.
11851 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
11852 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
11853 prototypes.
11854 * sparc64fbsd-nat.c: Include "sparc-nat.h", don't include
11855 "sparnbsd-nat.h".
11856 (sparc64fbsd_reg_supplies_p, sparc64fbsd_fpreg_supplies_p): Remove
11857 functions.
11858 (_initialize_sparc64fbsd_nat): Remove initialization of
11859 sparcbsd_supply_reg, sparcbsd_fill_reg, sparcbsd_supply_fpreg,
11860 sparcbsd_fill_fpreg, sparcbsd_reg_supplies_p,
fe61caab 11861 sparcbsd_fpreg_supplies_p. Initialize sparc_gregset.
386c036b
MK
11862 * sparc64fbsd-tdep.c: Update copyright year. Include "frame.h",
11863 "frame-unwind.h", "trad-frame.h" and "gdb_assert.h".
11864 (sparc64fbsd_r_global_offset, sparc64fbsd_r_out_offset)
11865 (sparc64fbsd_r_fprs_offset, sparc64fbsd_r_tnpc_offset)
11866 (sparc64fbsd_r_tpc_offset, sparc64fbsd_r_tstate_offset)
11867 (sparc64fbsd_r_y_offset): Remove variables.
11868 (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
11869 Make static and const.
11870 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
11871 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
11872 functions.
11873 (sparc64fbsd_gregset): New variable.
11874 (fetch_core_registers): Replace calls to sparc64fbsd_supply_reg
11875 and sparc64fbsd_supply_fpreg with calls to sparc64_supply_gregset
11876 and sparc64_supply_fpregset.
11877 (sparc64fbsd_pc_in_sigtramp, sparc64fbsd_sigtramp_frame_cache)
11878 (sparc64fbsd_sigtramp_frame_this_id)
11879 (sparc64fbsd_sigtramp_frame_prev_register): New functions.
11880 (sparc64fbsd_sigtramp_frame_unwind): New variable.
11881 (sparc64fbsd_sigtramp_frame_sniffer): New function.
11882 (sparc64fbsd_init_abi): Set pc_in_sigtramp, append
11883 sparc64fbsd_sigtramp_frame_sniffer. Call sparc64_init_abi.
11884 * sparcnbsd-tdep.c: Update copyright year. Include
11885 "floatformat.h", "frame.h", "frame-unwind.h", "symtab.h",
11886 "trad-frame.h" and "gdb_assert.h", don't include "target.h",
11887 "value.h" and "sparcnbsd-tdep.h".
11888 (REG32_OFFSET_PSR, REG32_OFFSET_PC, REG32_OFFSET_NPC)
11889 (REG32_OFFSET_Y, REG32_OFFSET_GLOBAL, REG32_OFFSET_OUT)
11890 (REG64_OFFSET_TSTATE, REG64_OFFSET_PC, REG64_OFFSET_NPC)
11891 (REG64_OFFSET_Y, REG64_OFFSET_GLOBAL, REG64_OFFSET_OUT): Remove
11892 defines.
11893 (sparcnbsd_gregset): New variable.
11894 (sparcnbsd_supply_reg32, sparcnbsd_supply_reg64)
11895 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64)
11896 (sparcnbsd_supply_fpreg32, sparcnbsd_supply_fpreg64)
11897 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64): Remove functions.
11898 (sparc32nbsd_sigtramp_start, sparc32nbsd_sigtramp_end): New
11899 variables.
11900 (sparc32nbsd_pc_in_sigtramp, sparc32nbsd_sigcontext_frame_cache)
11901 (sparc32nbsd_sigcontext_frame_this_id)
11902 (sparc32nbsd_sigcontext_frame_prev_register): New functions.
11903 (sparc32nbsd_sigcontext_frame_unwind): New variable.
11904 (sparc32nbsd_sigtramp_frame_sniffer): New function.
11905 (sparcnbsd_get_longjmp_target_32,
11906 sparcnbsd_get_longjmp_target_64): Remove functions.
11907 (sparcnbsd_aout_in_solib_call_trampoline): Rewrite.
11908 (sparcnbsd_init_abi_common, sparcnbsd_init_aout,
11909 sparcnbsd_init_elf): Remove.
11910 (sparcnbsd_init_abi, sparcnbsd_aout_init_abi)
11911 (sparcnbsd_elf_init_abi): New functions.
11912 (_initialize_sparcnbsd_tdep): New prototype.
11913 (_initialize_sparnbsd_tdep): Update.
11914 * config/sparc/fbsd.mh (NATDEPFILES): Remove sparcbsd-nat.o and
11915 corelow.o. Add sparc64-nat.o and sparc-nat.o.
11916 * config/sparc/fbsd.mt (TDEPFILES): Add sparc-tdep.o and corelow.o.
11917 * config/sparc/linux.mh: Update comment.
11918 (XM_FILE, HOST_IPC): Remove variables.
11919 (NATDEPFILES): Add sparc-sol2-nat.o and core-regset.o. Remove
11920 sparc-linux-nat.o.
11921 * config/sparc/linux.mt: Update comment.
11922 (TDEPFILES): Add sparc-sol2-tdep.o and sparc-linux-tdep.o.
11923 * config/sparc/nbsd.mt: Reformat.
11924 * config/sparc/nbsd64.mh: Update comment.
11925 (NATDEPFILES): Add sparc-nat.o.
11926 * config/sparc/nbsd64.mt: Update comment.
11927 (TDEPFILES): Add sparc64-tdep.o and sparc64nbsd-tdep.o.
11928 (TM_FILE): Set to tm-nbsd.h.
11929 * config/sparc/nbsdelf.mh: Update comment.
11930 (NATDEPFILES): Add sparc-nat.o.
11931 (XM_FILE): Delete.
11932 * config/sparc/nbsdaout.mh: Update comment.
11933 (NATDEPFILES): Add sparc-nat.o
11934 (XM_FILE): Delete.
11935 * config/sparc/nm-linux.h: Update copyright year. Don't include
11936 "config/nm-svr4.h" and "solib.h". Add protection against multiple
11937 inclusion.
11938 (KERNEL_U_SIZE): Remove define.
11939 (kernel_u_size): Remove prototype.
11940 (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define.
11941 * config/sparc/nm-nbsd.h: Update copyright. Don't include
11942 "regcache.h".
11943 (CHILD_PREPARE_TO_STORE): Remove define.
11944 * config/sparc/nm-nbsdaout.h: Tweak some comments.
11945 * sparc-nat.c, sparc-tdep.c, sparc-tdep.h, sparc64nbsd-nat.c,
11946 sparcnbsd-nat.c: Rewrite files.
11947 * config/sparc/tm-linux.h, config/sparc/tm-nbsd.h: Rewrite files.
11948 * sparc-linux-nat.c, sparcbsd-nat.c, sparcbsd-nat.h,
11949 sparcnbsd-tdep.h: Remove files.
11950 * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4os4.h,
11951 config/sparc/nm-sun4sol2.h, config/sparc/sp64.mt,
11952 config/sparc/sp64linux.mt, config/sparc/sp64sol2.mt,
11953 config/sparc/sparc-em.mt, config/sparc/sparclynx.mh,
11954 config/sparc/sparclynx.mt, config/sparc/sun4os4.mh,
11955 config/sparc/sun4os4.mt, config/sparc/sun4sol2.mh,
11956 config/sparc/sun4sol2.mt, config/sparc/tm-sp64.h,
11957 config/sparc/tm-sp64linux.h, config/sparc/tm-sparc.h,
11958 config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h,
11959 config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h,
11960 config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt,
11961 config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h: Remove files.
11962 * sparc-linux-tdep.c, sparc-nat.h, sparc-sol2-nat.c,
11963 sparc-sol2-tdep.c, sparc64-linux-nat.c, sparc64-linux-t dep.c,
11964 sparc64-nat.c, sparc64-sol2-tdep.c, sparc64nbsd-tdep.c: New files.
11965 * config/sparc/linux64.mh, config/sparc/linux64.mt,
11966 config/sparc/nm-sol2.h, config/sparc/sol2-64.mt,
11967 config/sparc/sol2.mh, config/sparc/sol2.mt, config/sparc/sparc.mt,
11968 config/sparc/sparc64.mt, config/sparc/tm-sol2.h: New files.
11969
ee84457a
AC
119702004-01-02 Andrew Cagney <cagney@redhat.com>
11971
11972 From 2003-12-18 Kazuhiro Inaoka:
11973 * configure.host: Add m32r-linux target.
11974
0bc2134e
MC
119752004-01-02 Michael Chastain <mec.gnu@mindspring.com>
11976
11977 * top.c (print_gdb_version): Update year to 2004.
11978
89a72f9c
MM
119792004-01-02 Mark Mitchell <mark@codesourcery.com>
11980
11981 * MAINTAINERS: Add myself to the write-after-approval category.
11982
86b013ed
DJ
119832004-01-02 Daniel Jacobowitz <drow@mvista.com>
11984
11985 From Bernardo Innocenti <bernie@develer.com>:
11986 * configure.tgt: Add uClinux target.
11987
e42c9534
AC
119882004-01-02 Andrew Cagney <cagney@redhat.com>
11989
11990 * utils.c (do_my_cleanups): Make static, add forward declaration.
11991 * defs.h (do_my_cleanups): Delete declaration.
11992
162467d3
EZ
119932004-01-02 Eli Zaretskii <eliz@elta.co.il>
11994
11995 * config/djgpp/fnchange.lst: Add lines for gdb/ChangeLog-2003 and
11996 bfd/ChangeLog-0203.
11997
78434e59
MK
119982004-01-02 Mark Kettenis <kettenis@gnu.org>
11999
12000 * configure.in: Check for <machine/reg.h>. Check for `struct reg'
12001 in <machine/reg.h>.
12002 * configure, config.in: Regenerate.
12003
48efe704
AC
12004For older changes see ChangeLog-2003, mi/ChangeLog-1999-2003, and
12005tui/ChangeLog-1998-2003.
c906108c
SS
12006\f
12007Local Variables:
12008mode: change-log
12009left-margin: 8
12010fill-column: 74
12011version-control: never
12012End:
This page took 2.795447 seconds and 4 git commands to generate.