]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/ChangeLog
* i386-nat.c: Fix typo in comment. Re-introduce paranoiac.
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
f2e7c15d
MK
12004-03-05 Mark Kettenis <kettenis@gnu.org>
2
3 * i386-nat.c: Fix typo in comment. Re-introduce paranoiac.
4 * i386obsd-tdep.c: Correct spelling in comment.
5 * i386nbsd-tdep.c: Correct spelling in comment.
6 * sparc-tdep.c: Correct spelling in comments.
7
1198ecbe
DC
82004-03-05 David Carlton <carlton@kealia.com>
9
10 * cp-namespace.c (cp_lookup_transparent_type_loop): Fix recursion
11 bug.
12
9eb42ed1
MK
132004-03-05 Mark Kettenis <kettenis@gnu.org>
14
15 * sparc-tdep.c: Fix typo in comment.
16
52b5e991
JB
172004-03-04 J. Brobecker <brobecker@gnat.com>
18
19 * hppa-tdep.c (hppa_frame_cache): Avoid undefined return value.
20
d8151005
DJ
212004-03-04 Daniel Jacobowitz <drow@mvista.com>
22
23 * dwarf2read.c: Add comment describing memory lifetimes.
24 (struct dwarf2_pinfo): Update comment.
25 (dwarf2_add_field, dwarf2_add_member_fn, read_structure_scope)
26 (read_enumeration, new_symbol): Don't use obsavestring.
27
cbeae229
MK
282004-03-04 Mark Kettenis <kettenis@gnu.org>
29
722d18c2
MK
30 * amd64-linux-nat.c (fill_fpregset): Call amd64_colletc_fxsave
31 instead of amd64_fill_fxsave.
32 * amd64bsd-nat.c (store_inferior_registers): Likewise.
33 * amd64fbsd-nat.c (fill_fpregset): Likewise.
34
cbeae229
MK
35 * sparc-tdep.c (sparc_frame_cache): Don't bail out if %fp is zero.
36 Reorganize code a bit.
37
b4206d25
OF
382004-03-04 Orjan Friberg <orjanf@axis.com>
39
40 * cris-tdep.c (cris_scan_prologue): Save the frame pointer's offset
41 when the frame pointer is pushed. Don't set the frame pointer's
42 address on the stack unless it's actually located there.
43 Set the SRP's address on the stack correctly when the PC is still in
44 the prologue.
45 (cris_return_value): New function.
46 (cris_gdbarch_init): Clear deprecated store_return_value,
47 extract_return_value.
48
49b0b195
JB
492004-03-02 Jim Blandy <jimb@redhat.com>
50
51 * stabsread.c (reg_value_complaint): The maximum register number
52 is one less than the number of registers.
53
e9ff708b
AC
542004-03-02 Andrew Cagney <cagney@redhat.com>
55
56 * i386-tdep.h (enum i386_regnum): Add I386_DS_REGNUM,
57 I386_ES_REGNUM, I386_FS_REGNUM, and I386_GS_REGNUM. Remove
58 trailing comma and redundant assignment of I386_ST0_REGNUM.
59 * amd64-nat.c (amd64_collect_native_gregset): Zero-extend the
60 32-bit segment registers.
61
d4715e41
AC
622004-03-01 Andrew Cagney <cagney@redhat.com>
63
64 * rs6000-tdep.c (rs6000_init_frame_pc_first): Fix compiler error,
65 use frame_relative_level and get_next_frame.
66
3ce2bf18
AC
672004-02-29 Andrew Cagney <cagney@redhat.com>
68
69 * rs6000-tdep.c (rs6000_init_frame_pc_first): New function.
70 (rs6000_gdbarch_init): Set deprecated_init_frame_pc_first.
71 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST):
72 Delete macro.
73
2da6aac3
DJ
742004-02-29 Daniel Jacobowitz <drow@mvista.com>
75
76 * inflow.c (terminal_inferior): Don't give up the terminal if we
77 previously couldn't get the inferior's terminal state.
78
6ba34a8d
DJ
792004-02-29 Daniel Jacobowitz <drow@mvista.com>
80
81 * regcache.c (read_pc_pid): Restore inferior_ptid after reading
82 PC_REGNUM.
83
faae5abe
AC
842004-02-28 Andrew Cagney <cagney@redhat.com>
85
86 * NEWS: Refer to GDB 6.1.
87 * README: Refer to GDB 6.1.
88 * PROBLEMS: Refer to GDB 6.1.
89
2227a3c5
DJ
902004-02-28 Daniel Jacobowitz <drow@mvista.com>
91
92 * thread-db.c (disable_thread_signals): Remove unused function.
93
80571bff
MK
942004-02-28 Mark Kettenis <kettenis@gnu.org>
95
041bd74b
MK
96 * amd64-nat.c: Include "gdb_string.h".
97 (amd64_collect_native_gregset): Zero-extend the 32-bit
98 general-purpose registers and %eip.
99
3c017e40
MK
100 * amd64-tdep.h: (amd64_collect_fxsave): New prototype.
101 * amd64-tdep.c (amd64_collect_fxsave): New function.
102 (amd64_fill_fxsave): Simply call amd64_collect_fxsave.
103
80571bff
MK
104 * i387-tdep.h: Update copyright year.
105 (i387_collect_fxsave): New prototype.
106 * i387-tdep.c: Update copyright year.
107 (i387_collect_fxsave): New function containing most of the code
108 from i387_fill_fxsave.
109 (i387_fill_fxsave): Call i387_collect_fxsave.
110
50d71875
AC
1112004-02-28 Andrew Cagney <cagney@redhat.com>
112
113 * amd64-linux-nat.c (ps_get_thread_area): When architecture is
114 i386 use PTRACE_GET_THREAD_AREA. Suggested by Roland McGrath.
115
4a28816e
MK
1162004-02-28 Mark Kettenis <kettenis@gnu.org>
117
118 * amd64-tdep.c (amd64_frame_cache): Fix comment.
119
dbda9972
AC
1202004-02-28 Andrew Cagney <cagney@redhat.com>
121
122 * utils.c: Use "", instead of <>, to include readline.
123 tui/tui-win.c, tui/tui.c, tui/tui-hooks.c: Ditto.
124 * tracepoint.c, top.c, symmisc.c, symfile.c: Ditto.
125 * source.c, solib.c, exec.c, event-top.c: Ditto.
126 * corelow.c, completer.c, cli/cli-setshow.c: Ditto.
127 * cli/cli-dump.c, cli/cli-cmds.c: Ditto.
128 * Makefile.in: Update all dependencies.
129 (readline_tilde_h, readline_history_h): Define.
130 (readline_headers): Delete.
131
83277a99
MK
1322004-02-28 Mark Kettenis <kettenis@gnu.org>
133
91ae4303
MK
134 * config/djgpp/fnchange.lst: Rename "config/i386/nm-linux64.h" to
135 "config/i386/nm-lx64.h" and "config/i386/tm-linux64.h" to
136 "config/i386/tm-lx64.h".
137
83277a99
MK
138 * config/djgpp/fnchange.lst: Rename "amd64-linux-tdep.c" to
139 "amd64-ltdep.c" and "amd64-linux-nat.c" to "amd64-lnat.c". Remove
140 rules for "x86-64-linux-tdep.c" and "x86-64-linux-nat.c".
141
6e1d7d6c
AC
1422004-02-28 Andrew Cagney <cagney@redhat.com>
143
ecc9ac84
AC
144 * dwarf2-frame.h (struct gdbarch): Add opaque declaration.
145
6e1d7d6c
AC
146 * breakpoint.c (_initialize_breakpoint): Use
147 "add_setshow_auto_boolean_cmd. Better word-wrap help messages.
148 Add help to show command.
149
9671aeef
MK
1502004-02-28 Mark Kettenis <kettenis@gnu.org>
151
7fa2737c
MK
152 * i386-nat.c: Reformat to be closer to coding standards.
153 (i386_handle_nonaligned_watchpoint): Rename local variable `rv' to
154 `retval'. Make variables `align' and `size' local to while-loop.
155 (i386_stopped_data_address): Rename local variable `ret' to `addr'.
156 (_initialize_i386_nat): New prototype.
157
9671aeef
MK
158 * tui/tui.c: Include <readline/readline.h> instead of
159 "readline/readline.h". Include it after <term.h> and
160 "gdb_curses.h".
161
fca7aa43
AC
1622004-02-27 Andrew Cagney <cagney@redhat.com>
163
412275d5
AC
164 * hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always use
165 the new frame unwind code.
166 (hppa_frame_cache): Use PCOQ_HEAD_REGNUM instead of PC_REGNUM.
167 (hppa_frame_prev_register): Compute PCOQ_TAIL_REGNUM from
168 PCOQ_HEAD_REGNUM.
169
fca7aa43
AC
170 * hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always
171 "return_value" and "push_dummy_call".
172 (hppa32_use_struct_convention): Delete unused function.
173 (hppa32_store_return_value): Delete unused function.
174 (hppa32_extract_return_value): Delete unused function.
175 (hppa32_stack_align): Delete function.
176
e6a8a7d2
EZ
1772004-02-27 Eli Zaretskii <eliz@elta.co.il>
178
179 * coffread.c (enter_linenos): Don't let rawptr reference memory
180 outside linetab[]'s limits.
181
1797a8f6
AC
1822004-02-27 Andrew Cagney <cagney@redhat.com>
183
184 * hppa-tdep.c (hppa32_push_dummy_call): Fix code reserving
185 inferior stack space - the stack needs to grow upwards.
186 (hppa32_frame_align): New function.
187 (hppa64_frame_align): Replace hppa_frame_align.
188 (hppa_gdbarch_init): Update.
189
2e4b5889
OF
1902004-02-26 Orjan Friberg <orjanf@axis.com>
191
192 * cris-tdep.c (frame_unwind.h, frame-base.h, trad-frame.h)
193 (dwarf2-frame.h): Include.
194 (enum cris_regnums): New enum CRIS_FP_REGNUM.
195 Remove static variables related to ABI setting.
196 (struct gdbarch_tdep): Remove cris_abi member.
197 (struct frame_extra_info): Remove.
198 (cris_unwind_cache, stack_item): New structs.
199 (cris_frame_unwind, cris_frame_base): New variables.
200 (push_stack_item, pop_stack_item)
201 (cris_frame_unwind_cache, cris_frame_this_id)
202 (cris_frame_prev_register, cris_unwind_dummy_id, cris_frame_align)
203 (cris_push_dummy_code, cris_push_dummy_call, cris_frame_sniffer)
204 (cris_frame_base_address, cris_scan_prologue, cris_unwind_pc)
205 (cris_unwind_sp, cris_store_return_value, cris_extract_return_value)
206 (cris_reg_struct_has_addr): New functions.
207 (cris_examine, cris_frame_init_saved_regs, cris_frame_chain)
208 (cris_frame_saved_pc, cris_saved_pc_after_call,
209 (cris_store_struct_return, cris_frameless_function_invocation)
210 (cris_pop_frame, cris_skip_prologue_main)
211 (cris_abi_original_store_return_value)
212 (cris_abi_v2_store_return_value)
213 (cris_abi_original_extract_return_value)
214 (cris_abi_v2_extract_return_value)
215 (cris_abi_original_reg_struct_has_addr)
216 (cris_abi_v2_reg_struct_has_addr)
217 (cris_abi_original_push_arguments, cris_abi_v2_push_arguments)
218 (cris_push_return_address, cris_abi_update): Remove.
219 (_initialize_cris_tdep): Remove ABI command.
220 (cris_dump_tdep): Ditto.
221 (cris_gdbarch_init): Remove ABI command.
222 Set store_return_value, extract_return_value, push_dummy_code,
223 push_dummy_call, frame_align, unwind_pc, unwind_sp, unwind_dummy_id,
224 frame_unwind_append_sniffer, frame_base_set_default.
225 Clear deprecated init_frame_pc, push_arguments, store_return_value,
226 extract_return_value, fp_regnum, pc_in_call_dummy, call_dummy_words,
227 sizeof_call_dummy_words, get_saved_register, push_return_address,
228 pop_frame, store_struct_return, frame_init_saved_regs,
229 init_extra_frame_info, frameless_function_invocation, frame_chain,
230 frame_saved_pc, saved_pc_after_call, save_dummy_frame_tos,
231 dummy_write_sp.
232
6b9acc27
JJ
2332004-02-26 Jeff Johnston <jjohnstn@redhat.com>
234
235 * valprint.h (print_hex_chars, print_char_chars): New prototypes.
236 * valprint.c (print_hex_chars): Change from static to external.
237 (print_char_chars): New function.
238 * printcmd.c (print_scalar_formatted): For integer and enum types
239 that are longer than LONGEST, perform processing via appropriate
240 print_*_chars routines.
241
a431654a
AC
2422004-02-26 Andrew Cagney <cagney@redhat.com>
243
244 * Makefile.in: Update dependencies.
245 Changes from Ulrich Weigand,
246 * s390-tdep.c: Include "dwarf2-frame.h".
247 (s390_dwarf2_frame_init_reg): New function.
248 (s390_gdbarch_init): Install dwarf2_frame_sniffer and
249 dwarf2_frame_base_sniffer. Call dwarf2_frame_set_init_reg.
250
fa8d40ab
JJ
2512004-02-26 Jeff Johnston <jjohnstn@redhat.com>
252
253 * breakpoint.c (pending_break_support): New setting variable.
254 (break_command_1): Account for pending_break_support setting
255 when creating pending breakpoints.
256 (set_breakpoint_cmd, show_breakpoint_cmd): New functions.
257 (_initialize_breakpoint): Add "set breakpoint pending" and
258 "show breakpoint pending" commands.
259
0dcd613f
AC
2602004-02-26 Andrew Cagney <cagney@redhat.com>
261
262 Fix PR i18n/1570.
263 * charset.c (backslashable, backslashed, represented): Remove 'e'
264 from list of escaped characters, not part of ISO-C.
265
479272a3
JB
2662004-02-25 J. Brobecker <brobecker@gnat.com>
267
268 From Peter Schauer <schauer@pdf.de>:
269 * tui/tui.c: Move system header includes after local includes.
270 Fixes a build failure on solaris systems.
271
7613d933
JB
2722004-02-25 J. Brobecker <brobecker@gnat.com>
273
274 * configure.in: Refine the previous change.
275 * configure: Regenerate.
276
9c1488cb
MK
2772004-02-25 Mark Kettenis <kettenis@gnu.org>
278
279 * amd64-tdep.h: Renamed from x86-64-tdep.h.
280 * amd64-tdep.c: Renamed from x86-64-tdep.c. Include
281 "amd64-tdep.h" instead of "x86-64-tdep.h".
282 * amd64-nat.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h".
283 * amd64-linux-tdep.h: Renamed from x86-64-linux.h.
284 * amd64-linux-tdep.c: Renamed from x86-64-linux-tdep.c. Include
285 "amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h"
286 and "x86-64-tdep.c".
287 * amd64-linux-nat.c: Renamed from x86-64-linux-nat.c. Include
288 "amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h"
289 and "x86-64-tdep.c".
290 * amd64bsd-nat.c: Update copyright year.
291 Include "amd64-tdep.h" instead of "x86-64-tdep.h".
292 * amd64fbsd-tdep.c: Include "amd64-tdep.h" instead of
293 "x86-64-tdep.h".
294 * amd64fbsd-nat.c: Include "amd64-tdep.h" instead of
295 "x86-64-tdep.h".
296 * amd64nbsd-tdep.c: Include "amd64-tdep.h" instead of
297 "x86-64-tdep.h".
298 * amd64nbsd-nat.c: Include "amd64-tdep.h" instead of
299 "x86-64-tdep.h".
300 * amd64obsd-tdep.c: Include "amd64-tdep.h" instead of
301 "x86-64-tdep.h".
302 * amd64obsd-nat.c: Include "amd64-tdep.h" instead of
303 "x86-64-tdep.h".
304 * configure.host: (x86_64-*-linux*): Set gdb_target to linux64.
305 * configure.tgt (x86_64-*-linux*): Set gdb_target to linux64.
306 * Makefile.in (amd64_linux_tdep_h): Renamed from
307 x86_64_linux_tdep_h.
308 (amd64_tdep_h): Renamed from x86_64_tdep_h.
309 (amd64bsd-nat.o, amd64fbsd-nat.o, amd64fbsd-tdep.o, amd64-nat.o)
310 (amd64nbsd-nat.o, amd64nbsd-tdep.o, amd64obsd-nat.o)
311 (amd64obsd-tdep.o): Update dependencies.
312 (amd64-tdep.o, amd64-linux-nat.o, amd64-linux-tdep.o): New
313 dependencies.
314 (x86-64-linux-nat.o, x86-64-linux-tdep.o, x86-64-tdep.o): Remove
315 dependencies.
316 (ALLDEPFILES): Add amd64-tdep.c, amd64obsd-nat.c, amd64obsd-nat.c,
317 amd64-linux-nat.c amd64-linux-tdep.c.
318 * config/i386/tm-linux64.h: Renamed from tm-x86-64linux.h
319 * config/i386/nm-linux64.h: Renamed from nm-x86-64linux.h.
320 * config/i386/linux64.mt: Renamed from x86-64linux.mt.
321 (TDEPFILES): Replace x86-64-tdep.o and x86-64-linux-tdep.o with
322 amd64-tdep.o and amd64-linux-tdep.o.
323 (TM_FILE): Set to tm-linux64.h.
324 * config/i386/linux64.mh: Renamed from x86-64linux.mh.
325 (NAT_FILE): Set to nm-linux64.h.
326 (NATDEPFILES): Replace x86-64-linux-nat.o with amd64-linux-nat.o.
327 * config/i386/fbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with
328 amd64-tdep.o.
329 * config/i386/nbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with
330 amd64-tdep.o.
331 * config/i386/obsd64.mt (TDEPFILES): Replace x86-64-tdep.o with
332 amd64-tdep.o.
333
4b8dad4a
RM
3342004-02-25 Roland McGrath <roland@redhat.com>
335
336 * remote.c (remote_protocol_qPart_auxv): New variable.
337 (init_all_packet_configs): Initialize it.
338 (set_remote_protocol_qPart_auxv_packet_cmd): New function.
339 (show_remote_protocol_qPart_auxv_packet_cmd): New function.
340 (show_remote_cmd): Call it.
341 (_initialize_remote): Initialize commands.
342 (remote_xfer_partial): If enabled, use qPart:auxv:read:... query to
343 service TARGET_OBJECT_AUXV requests.
344
66745969
JB
3452004-02-25 J. Brobecker <brobecker@gnat.com>
346
347 * configure.in: Make sure that the wborder function is available.
348 Otherwise, search for it in the cur_colr library.
349 * configure: Regenerate.
350
79508e1e
AC
3512004-02-25 Andrew Cagney <cagney@redhat.com>
352
353 * hppa-tdep.c (hppa32_push_dummy_call): Rewrite.
354
571ee600
MK
3552004-02-25 Mark Kettenis <kettenis@gnu.org>
356
357 * config/i386/tm-x86-64linux.h: Tweak comments.
358
2b1b322f 3592004-02-25 Richard Sandiford <rsandifo@redhat.com>
ad74788f
RS
360
361 * MAINTAINERS: Add self to write-after-approval list.
362
4d2acc65
AC
3632004-02-25 Andrew Cagney <cagney@redhat.com>
364
4b8dad4a 365 PR cli/1566. Problem found, and fix suggested by David Allan.
4d2acc65
AC
366 * cli/cli-script.c (execute_control_command): Unconditionally
367 install a cleanup. Default "ret" to "invalid_control". Use
368 "break" instead of "return" to escape from the switch.
369
4cfcaf21
JB
3702004-02-24 J. Brobecker <brobecker@gnat.com>
371
372 * tui/tui-disasm.c: %s/lines/asm_lines/g to avoid a collision
373 with the lines macro defined in term.h on AiX.
374 * tui/tui-regs.c: %s/label_width/tui_label_width/g, to avoid
375 a collision with the label_width macro defined in term.h on AiX.
376
54a5c8d8
KB
3772004-02-23 David Mosberger <davidm@hpl.hp.com>
378
379 Committed by Kevin Buettner <kevinb@redhat.com>.
380
381 * ia64-tdep.h (ia64_write_pc, ia64_linux_write_pc): Declare.
382 * ia64-tdep.c (ia64_write_pc): Make it a global function.
383 (ia64_gdbarch_init): For Linux targets, use ia64_linux_write_pc()
384 instead of ia64_write_pc().
385 * ia64-linux-tdep.c (regcache.h): Include.
386 (ia64_linux_write_pc): New function.
4b8dad4a 387
8a1dac83
RM
3882004-02-23 Roland McGrath <roland@redhat.com>
389
390 * auxv.c (info_auxv_command): Fix typos in error messages.
391
90f90721
MK
3922004-02-23 Mark Kettenis <kettenis@gnu.org>
393
8a1dac83 394 * x86-64-tdep.h: Tweak comment.
90f90721
MK
395 (enum amd64_regnum): New.
396 (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM)
397 (X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM)
398 (X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM)
399 (X86_64_XMM1_REGNUM): Removed.
400 (AMD64_NUM_GREGS): Renamed from X86_64_NUM_GREGS.
401 (amd64_init_abi, amd64_supply_fxsave, amd64_fill_fxsave): Adjust
402 prototypes for renamed functions.
403 * x86-64-tdep.c: Fix typo.
404 (amd64_dwarf_regmap): Use constants from `enum amd64_regnum' for
405 register numbers.
406 (amd64_return_value, amd64_push_arguments, amd64_push_dummy_call):
407 Use constants from `enum amd64_regnum' for register numbers.
408 (AMD64_NUM_SAVED_REGS): Adjust for renamed macros.
409 (amd64_analyze_prologue, amd64_frame_cache,
410 amd64_sigtramp_frame_cache): Use constants from `enum
411 amd64_regnum' for register numbers.
412 (amd64_supply_fpregset): Adjust for renamed functions.
413 (amd64_init_abi): Rename from x86_64_init_abi. Use constants from
414 `enum amd64_regnum' for register numbers.
415 (I387_ST0_REGNUM): Use constant from `enum amd64_regnum'.
416 (amd64_supply_fxsave): Rename from x86_64_supply_fxsave.
417 (amd64_fill_fxsave): Rename fro x86_64_fill_fxsave.
418 * x86-64-linux-tdep.c (amd64_linux_supply_gregset)
419 (amd64_linux_fill_gregset): Adjust for renamed macros.
420 (fetch_core_registers): Adjust for renamed functions.
421 (amd64_linux_init_abi): Adjust for renamed functions.
422 * x86-64-linux-nat.c (supply_gregset, fill_gregset): Adjust for
423 renamed functions.
424 * amd64-nat.c: Adjust for renamed macros.
425 * amd64bsd-nat.c (fetch_inferior_registers)
426 (store_inferior_registers): Use constants from `enum amd64_regnum'
427 for register numbers. Adjust for renamed variables.
428 * amd64fbsd-nat.c (supply_gregset, fill_gregset): Adjust for
429 renamed variables.
430 (_initialize_amd64fbsd_nat): Use constants from `enum
431 amd64_regnum' for register numbers.
432 * amd64fbsd-tdep.c (amd64fbsd_sigcontext_addr): Use constants from
433 `enum amd64_regnum' for register numbers.
434 (amd64fbsd_init_abi): Adjust for renamed functions.
435 * amd64nbsd-tdep.c (amd64nbsd_sigcontext_addr): Use constants from
436 `enum amd64_regnum' for register numbers.
437 (amd64nbsd_init_abi): Adjust for renamed functions.
438 (_initialize_amd64nbsd_ndep): Adjust for renamed macros.
439 * amd64obsd-tdep.c (amd64obsd_sigcontext_addr): Use constants from
440 `enum amd64_regnum' for register numbers.
441 (amd64obsd_init_abi): Adjust for renamed functions.
442 (_initialize_amd64obsd_ndep): Adjust for renamed macros.
443
d5479188
JJ
4442004-02-23 Jeff Johnston <jjohnstn@redhat.com>
445
446 * breakpoint.c (print_one_breakpoint): Do not output spaces
447 after printing <PENDING> for a pending breakpoint.
448
81cb7cc9
JJ
4492004-02-23 Jeff Johnston <jjohnstn@redhat.com>
450
451 * printcmd.c (print_scalar_formatted): Initialize val_long
452 to remove compiler warning message.
453
cbdeadca
JJ
4542004-02-23 Jeff Johnston <jjohnstn@redhat.com>
455
456 * defs.h (nquery, yquery): New prototypes.
457 * breakpoint.c (break_command_1): Use new nquery interface.
458 * utils.c (defaulted_query, nquery, yquery): New functions.
459
da6bab63
AC
4602004-02-23 Andrew Cagney <cagney@redhat.com>
461
2f690297
AC
462 * hppa-tdep.c (hppa_frame_align): New function.
463 (hppa32_push_dummy_call): New function.
464 (hppa64_push_dummy_call): New function.
465 (hppa_gdbarch_init): Set frame_align and push_dummy_call; keep
466 disabled.
8a1dac83 467
da6bab63
AC
468 * infcall.c (legacy_push_dummy_code): Don't call deprecated
469 FIX_CALL_DUMMY when push_dummy_call is available.
470 (call_function_by_hand, push_dummy_code): Ditto.
471
abf9b42d
AC
4722004-02-22 Andrew Cagney <cagney@redhat.com>
473
474 * config/pa/tm-hppa.h (CALL_DUMMY_LOCATION): Delete macro.
475 (DEPRECATED_PC_IN_CALL_DUMMY): Delete macro.
476 (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Delete macro.
477 * hppa-tdep.c (hppa_gdbarch_init): Clear deprecated
478 use_generic_dummy_frames, set deprecated pc_in_call_dummy, set
479 call_dummy_location to ON_STACK.
480
10fc94a4
MK
4812004-02-22 Mark Kettenis <kettenis@gnu.org>
482
51433e4b
MK
483 * x86-64-linux-tdep.c: Tweak comment.
484 (amd64_linux_supply_gregset): Renamed from
485 x86_64_linux_supply_gresget.
486 (amd64_linux_fill_gregset): Renamed from
487 x86_64_linux_fill_gregset.
488 (fetch_core_registers): Adjust for renamed functions.
489 (amd64_core_fns): Renamed from x86_64_core_fns.
490 (amd64_linux_sigtramp_start): Renamed from
491 x86_64_linux_sigtramp_start.
492 (amd64_linux_pc_in_sigtramp): Renamed from
493 x86_64_linux_pc_in_sigtramp. Adjust for renamed functions.
494 (AMD64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Renamed from
495 X86_64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET.
496 (amd64_linux_sigcontext_addr): Renamed from
497 x86_64_linux_sigcontext_addr.
498 (amd64_linux_sc_reg_offset): Renamed from
499 x86_64_linux_sc_reg_offset.
500 (amd64_linux_init_abi): Renamed from x86_64_linux_init_abi.
501 Adjust for renamed functions and variables.
502 (_initialize_amd64_linux_tdep): Renamed from
503 _initialize_x86_64_linux_tdep. Adjust for renamed functions and
504 variables.
505 * x86-64-linux-tdep.h: Update copyright year. Tweak comment.
506 Adjust for renamed functions.
507
430eaf2e
MK
508 * x86-64-linux-nat.c (amd64_linux_gregset64_reg_offset): Rename
509 from x86_64_linux_gregset64_reg_offset.
510 (amd64_linux_gregset32_reg_offset): Rename from
511 x86_64_linux_gregset64_reg_offset.
512 (amd64_linux_dr_get): Renamed from x86_64_linux_dr_get.
513 (amd64_linux_dr_set): Renamed from x86_64_linux_dr_set.
514 (amd64_linux_dr_set_control): Renamed from
515 x86_64_linux_dr_set_control. Adjust for renamed functions.
516 (amd64_linux_dr_set_addr): Renamed from x86_64_linux_dr_set_addr.
517 Adjust for renamed functions.
518 (amd64_linux_dr_reset_addr): Renamed from
519 x86_64_linux_dr_reset_addr. Adjust for renamed functions.
520 (amd64_linux_dr_get_status): Renamed from
521 x86_64_linux_dr_get_status. Adjust for renamed functions.
522 (_initialize_amd64_linux_nat): Renamed from
523 _initialize_x86_64_linux_nat. Adjust for renamed variables and
524 functions.
525 * config/i386/nm-x86-64linux.h: Update copyright year.
526 Adjust for renamed functions.
527
10fc94a4
MK
528 * amd64fbsd-tdep.c (amd64fbsd_sigtramp_start_addr): Renamed from
529 amd64fbsd_sigtramp_start.
530 (amd64fbsd_sigtramp_end_addr): Renamed from
531 amd64fbsd_sigtramp_end.
532 (amd64fbsd_init_abi): Adjust for renamed variables.
533 * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Adjust for renamed
534 variables.
535 * x86-64-tdep.h (amd64fbsd_sigtramp_start_addr): Renamed from
536 amd64fbsd_sigtramp_start.
537 (amd64fbsd_sigtramp_end_addr): Renamed from
538 amd64fbsd_sigtramp_end.
539
343af405
AC
5402004-02-22 Andrew Cagney <cagney@redhat.com>
541
537987fc
AC
542 * hppa-tdep.c (hppa32_return_value): New function.
543 (hppa64_return_value): New function.
544 (hppa_gdbarch_init): Set return_value; keep disabled.
545
fad850b2
AC
546 * hppa-tdep.c (hppa_gdbarch_init): Re-order separating
547 struct-return and inferior function call methods.
548
26d08f08
AC
549 * hppa-tdep.c: Include "trad-frame.h", "frame-unwind.h", and
550 "frame-base.h".
551 (struct hppa_frame_cache): Define.
552 (hppa_frame_cache, hppa_frame_this_id): New functions.
553 (hppa_frame_prev_register): New function.
554 (hppa_frame_unwind, hppa_frame_base): New variables.
555 (hppa_frame_unwind_sniffer): New function.
556 (hppa_frame_base_address, hppa_unwind_pc): New function.
557 (hppa_gdbarch_init): Set unwind_dummy_id, unwind_pc, frame unwind
558 sniffer, and frame base sniffer; keep disabled.
559 (hppa_frame_base_sniffer, hppa_unwind_dummy_id): New functions.
560 * Makefile.in: Update dependencies, fix s/nbsd/obsd/ typo.
561
e7d7bd65
AC
562 * frame-unwind.c (frame_unwind_find_by_frame): Add legacy_frame_p
563 to predicates for "seriously old code".
564
e963316f
AC
565 * hppa-tdep.c (hppa_gdbarch_init): Convert compile time #if0s into
566 runtime if(0).
567
56132691
AC
568 * hppa-tdep.c (hppa_breakpoint_from_pc): Make "breakpoint"
569 unsigned.
570 (hppa_frame_find_saved_regs): Fix "std" instruction pattern
e963316f 571
343af405
AC
572 * config/pa/tm-hppa.h: Update copyright.
573 (DEPRECATED_INIT_FRAME_PC): Delete macro.
574 (deprecated_init_frame_pc_default): Delete declaration.
575 (hppa_frame_init_saved_regs): Delete declaration.
576 (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro.
577 * hppa-tdep.c: Include "arch-utils.h".
578 (hppa_gdbarch_init): Set deprecated init_frame_pc
579 and deprecated frame_init_saved_regs.
580 (hppa_frame_init_saved_regs): Make static.
581
f5859b4d
MK
5822004-02-22 Mark Kettenis <kettenis@gnu.org>
583
86f6f8e7 584 Remove old 386BSD support.
cf7c5c23 585 * NEWS (REMOVED configurations and files): Add i[3456]86-*-bsd*.
86f6f8e7
MK
586 * configure.host: Remove i[34567]86-*-bsd*.
587 * configure.tgt: Remove i[34567]86-*-bsd*.
588 * i386b-nat.c: Removed.
589 * Makefile.in (ALLDEPFILES): Remove i386b-nat.c.
cf7c5c23
MK
590 (i386b-nat.o): Remove dependencies.
591
86f6f8e7
MK
592 * config/i386/i386bsd.mh: Removed.
593 * config/i386/i386bsd.mt: Removed.
594 * config/i386/nm-i386bsd.h: Removed.
595 * config/i386/tm-i386bsd.h: Removed.
596 * config/i386/xm-i386bsd.h: Removed.
597
971218cd
MK
598 * x86-64-tdep.h (amd64obsd_r_reg_offset): New extern declaration.
599
7e654c37
MK
600 * amd64fbsd-tdep.c: Include "solib-svr4.h".
601 (amd64fbsd_init_abi): Set link map offsets.
602 * amd64nbsd-tdep.c: Include "slib-svr4.h".
603 (amd64nbsd_init_abi): Set link map offsets.
604 * amd64obsd-tdep.c: Include "solib-svr4.h".
605 (amd64obsd_init_abi): Set link map offsets.
606 * i386fbsd-tdep.c: Include "solib-svr4.h".
607 (i386fbsd_init_abi): Set link map offsets.
608 * i386nbsd-tdep.c: Include "solib-svr4.h".
609 (i386nbsdelf_init_abi): Set link map offsets.
610 * Makefile.in (amd64fbsd-tdep.o, amd64nbsd-tdep.o)
611 (amd64obsd-tdep.o, i386fbsd-tdep.o): Update dependencies.
612 * config/i386/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o,
613 solib-legacy.o and core-aout.o. Reformat.
614 * config/i386/fbsd64.mh (NATDEPFILES): Remove solib.o,
615 solib-svr4.o, solib-legacy.o. Reformat.
616 * config/i386/nbsdaout.mh (NATDEPFILES): Add solib.o. Reformat.
617 * config/i386/nbsdelf.mh: Reformat.
618 * config/i386/nbsd64.mh (NATDEPFILES): Remove solib.o,
619 solib-svr4.o, solib-legacy.o and corelow.o.
620 * config/i386/obsd.mh, config/i386/obsdaout.mh: Reformat.
621 * config/i386/obsd64.mh (NATDEPFILES): Remove solib.o,
622 solib-svr4.o, solib-legacy.o and corelow.o. Reformat.
623 * config/i386/fbsd.mt (TDEPFILES): Add solib.o, solib-svr4.o.
624 * config/i386/fbsd64.mt (TDEPFILES): Add solib.o, solib-svr4.o.
625 (TM_FILE): Set to tm-fbsd.h.
626 * config/i386/nbsd.mt (TDEPFILES): Reformat.
627 * config/i386/nbsd64.mt (TDEPFILES): Add corelow.o, solib.o and
628 solib-svr4.o.
629 * config/i386/obsd.mt (TDEPFILES): Add corelow.o, solib.o and
630 solib-svr4.o.
631 (TM_FILE): Set to nm-nbsd.h.
632 * config/i386/nm-fbsd.h: Update copyright year. Tweak comments.
633 Simplify shared library support. Don't include "elf/common.h".
634 (SVR4_SHARED_LIBS): Don't define.
635 * config/i386/nm-fbsd64.h: Update copyright year. Don't include
636 "solib.h".
637 * config/i386/nm-nbsd.h, config/i386/nm-nbsdaout.h,
638 config/i386/nm-obsd.h: Update copyright year. Tweak comments.
639 * config/i386/tm-fbsd.h: Update copyright tear. Tweak comments.
640 Don't include "i386/tm-i386.h". Include "solib.h".
641 * config/i386/tm-nbsd.h: Update copyright year. Tweak comments.
642 Don't include "i386/tm-i386.h".
643 * config/i386/xm-i386.h: Update copyright year. Tweak comments.
644 * config/i386/xm-nbsd.h: Update copyright year. Tweak comments.
645 Include "i386/xm-i386.h".
646 (HOST_LONG_DOUBLE_FORMAT): Remove.
647
5d93ae8c
MK
648 Fix OpenBSD/i386 sigtramp recognition.
649 * i386-tdep.h: Update copyright year.
650 (i386bsd_pc_in_sigtramp, i386bsd_sigtramp_start)
651 (i386bsd_sigtramp_end): New prototypes.
652 (i386fbsd_sigtramp_start_addr): Renamed from
653 i386fbsd_sigtramp_start.
654 (i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end.
655 (i386obsd_sigtramp_start_addr): Renamed from
656 i386obsd_sigtramp_start.
657 (i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end.
658 * i386bsd-tdep.c: Update copyright year.
659 (i386bsd_pc_in_sigtramp): Make public.
660 * i386fbsd-nat.c: Update copyright year.
661 (_initialize_i386fbsd_nat): Adjust for renamed variables.
662 * i386fbsd-tdep.c: Update copyright year.
663 (i386fbsd_sigtramp_start_addr): Renamed from
664 i386fbsd_sigtramp_start.
665 (i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end.
666 (i386fbsdaout_init_abi): Adjust for renamed variables.
667 * i386obsd-nat.c: Update copyright year.
668 (_initialize_i386obsd_nat): Adjust for renamed variables.
669 * i386obsd-tdep.c: Include "target.h".
670 (i386obsd_page_size): New variable.
671 (i386obsd_pc_in_sigtramp, i386obsd_sigtramp_start)
672 (i386obsd_sigtramp_end): New functions.
673 (i386obsd_sigtramp_start_addr): Renamed from
674 i386obsd_sigtramp_start.
675 (i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end.
676 (i386obsd_init_abi): Adjust for renamed variables. Set
677 pc_in_sigtramp, sigtramp_start and sigtramp_end.
678 * Makefile.in (i386obsd-tdep.o): Update dependencies.
679
84d04465
MK
680 * amd64obsd-tdep.c (amd64obsd_pc_in_sigtramp): Adjust for signal
681 trampoline change in OpenBSD kernel.
682
b053aceb
MK
683 * amd64-nat.c: Update copyright year.
684 (amd64_supply_native_gregset, amd64_collect_native_gregset): Use
685 architecture from REGCACHE.
686
f5859b4d
MK
687 * x86-64-linux-nat.c (x86_64_linux_gregset32_reg_offset): Use
688 symbolic constants from <sys/reg.h> instead of hard-coded numbers.
689
e4bbbda8
MK
6902004-02-21 Mark Kettenis <kettenis@gnu.org>
691
ba361932
MK
692 * configure.host: Add i[34567]86-*-openbsd[0-2].* and
693 i[34567]86-*-openbsd3.[0-3].
694 * config/i386/obsdaout.mh: New file.
695
d3e48264
MK
696 * config/i386/obsd.mh (MH_FLAGS): Remove.
697
60a6eeb6
MK
698 Fix PR build/1549.
699 * i386obsd-tdep.c: Update copyright years. Include
700 "solib-svr4.h".
701 (i386obsd_init_abi): Don't set regset_from_core_section here.
702 (i386obsd_aout_init_abi): New function. Set
703 regset_from_core_section here.
704 (i386obsd_elf_init_abi): New function.
705 (_initialize_i386obsd_tdep): Register OS/ABI for OpenBSD ELF.
706 * Makefile.in (i386obsd-tdep.o): Update dependecies.
707 * config/i386/obsd.mt (TDEPFILES): Add solib.o and solib-svr4.o.
708 (TM_FILE): Set to tm-nbsd.h.
709
710 * config/i386/obsd.mh (NATDEPFILES): Remove solib.o and
711 solib-sunos.o.
712
e4bbbda8
MK
713 * solib-svr4.h: Update copyright year.
714 (svr4_ilp32_fetch_link_map_offsets)
715 (svr4_lp64_fetch_link_map_offsets): New prototype.
716 * solib-svr4.c: Update copyright year.
717 (svr4_ilp32_fetch_link_map_offsets)
718 (svr4_lp64_fetch_link_map_offsets): New function.
719
f6fe98ef
DJ
7202004-02-20 Daniel Jacobowitz <drow@mvista.com>
721
722 * dwarf2read.c (add_partial_symbol): Fix typo in adding enumerators
723 to the partial symbol table.
724
589ca796
JB
7252004-02-20 J. brobecker <brobecker@gnat.com>
726
727 * PROBLEMS: Add description of problem documented under gdb/1560.
728
2031c21a
MK
7292004-02-20 Mark Kettenis <kettenis@gnu.org>
730
30b344b1
MK
731 * amd64obsd-tdep.c: Include "regset.h" and "i387-tdep.h". Fix
732 comments.
733 (amd64obsd_supply_regset, amd64obsd_regset_from_core_section): New
734 functions.
735 (amd64obsd_init_abi): Reorder initializations. Use
736 amd64obsd_r_reg_offset to initialize the general-purpose register
737 set details. Set regset_from_core_section.
738 (_initialize_amd64obsd_tdep): Rename from
739 _initialize_amd64obsd_ndep. Add OS ABI handler for core dumps.
740 * Makefile.in (amd64obsd-tdep.o): Update dependencies.
741 * config/i386/obsd64.mt (TDEPFILES): Add i386-tdep.o.
742
2031c21a
MK
743 * NEWS (New native configurations): Mention OpenBSD/alpha.
744 * configure.tgt: Add alpha*-*-openbsd*.
745 * configure.host: Add alpha*-*-openbsd*.
746 * alphanbsd-tdep.c: Update copyright year.
747 (_initialize_alphanbsd_tdep): Register OS ABI for OpenBSD ELF.
748
42471775
AC
7492004-02-20 Andrew Cagney <cagney@redhat.com>
750
751 Fix PR tdep/1372.
752 * configure.tgt: Delete target "none-*-*".
753 * configure.host: Delete host "none-*-*".
754 * config/none/none.mh: Delete file.
755 * config/none/none.mt: Delete file.
756 * config/none/xm-none.h: Delete file.
757 * config/none/tm-none.h: Delete file.
758 * config/none/nm-none.h: Delete file.
759
960ccd7d
FF
7602004-02-19 Fred Fish <fnf@redhat.com>
761
762 * sh-tdep.c (sh_analyze_prologue): Eliminate useless test of
763 cache->uses_fp prior to setting it.
764
5f883edd
FF
7652004-02-19 Fred Fish <fnf@redhat.com>
766
767 Fix for PR breakpoint/1558.
768 * sh-tdep.c (IS_JSR): New macro.
769 (sh_analyze_prologue): Use IS_JSR to terminate prologue scan.
770
f98c22d5
JB
7712004-02-19 Jim Blandy <jimb@redhat.com>
772
773 * findvar.c (value_from_register): Doc fix.
774
95051d27
JJ
7752004-02-19 Jeff Johnston <jjohnstn@redhat.com>
776
777 * printcmd.c (print_scalar_formatted): Do not check for sizeof
778 type being greater than sizeof of host's LONGEST. Always use
779 unpack_long() unless format 'f' chosen.
780
ccefbec3
EZ
7812004-02-19 Joel Brobecker <brobecker@gnat.com>
782
783 Committed by Elena Zannoni <ezannoni@redhat.com>
2ede629f 784
ccefbec3
EZ
785 * symtab.c (find_pc_sect_psymtab): Return the psymtab that
786 contains a symbol wich is the best, non-exact match for the given
787 pc. Update comments.
788
7892004-02-19 Elena Zannoni <ezannoni@redhat.com>
8a1dac83 790
2ede629f
EZ
791 * event-top.c (async_request_quit): Remove uses of REQUEST_QUIT
792 macro, which was part of the now removed Mach 3 port.
793 * utils.c (request_quit): Ditto.
794
567ee972
MK
7952004-02-18 Mark Kettenis <kettenis@gnu.org>
796
797 * config/djgpp/fnchange.lst: Rename "amd64obsd-tdep.c" and
798 "amd64obsd-nat.c" to "a64ob-tdep.c" and "a64ob-nat.c".
799
50cca7bb
MK
8002004-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
801
802 Committed by Mark Kettenis <kettenis@gnu.org>.
803
804 * config/s390/nm-linux.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT):
805 Define.
806
226361c4
AC
8072004-02-18 Andrew Cagney <cagney@redhat.com>
808
809 * configure.in: Add a TUI target to CONFIG_ALL, CONFIG_CLEAN,
810 CONFIG_INSTALL and CONFIG_UNINSTALL.
811 * configure: Re-generate.
812 * interps.h (INTERP_TUI): Define.
813 * Makefile.in: Update dependencies.
814 (TUI): New macro.
815 (tui-main.o): Specify dependencies.
816 (install-tui, uninstall-tui, clean-tui, all-tui): New rules.
817 * tui/tui-main.c: New file.
818
49cfa46f
MK
8192004-02-18 Mark Kettenis <kettenis@gnu.org>
820
e2879ccb
MK
821 * amd64obsd-tdep.c, amd64obsd-nat.c: New files.
822 * Makefile.in (amd64obsd-nat.o, amd64obsd-tdep.o): New
823 dependencies.
824 * configure.host: Add x86_64-*-openbsd*.
825 * configure.tgt: Add x86_64-*-openbsd*.
826 * config/i386/obsd64.mt, config/i386/obsd64.mh: New files.
827
c43f4bec
MK
828 * tui/tui.c: Don't include <malloc.h>.
829
09ae75b6
MK
830 * Makefile.in (ALLDEPFILES): Add amd64-nat.c, amd64bsd-nat.c,
831 amdfbsd-nat.c, amd64-fbsd-tdep.c, amd64nbsd-nat.c and
832 amd64nbsd-tdep.c.
833
49cfa46f 834 * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Make
8a1dac83 835 static. Remove extraneous whitespace.
49cfa46f
MK
836 * i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Make
837 static.
838
05957fdb
JB
8392004-02-17 Jim Blandy <jimb@redhat.com>
840
841 * findvar.c (value_from_register): Doc fix.
842
d0f54f9d
JB
8432004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
844
845 Committed by Jim Blandy <jimb@redhat.com>.
e1457d83 846
8a1dac83 847 * eval.c (evaluate_subexp_standard, case OP_OBJC_MSGCALL): Use
c253954e
JB
848 CORE_ADDR as type for selectors. Correct types for GNU run time
849 message lookup function to use double indirection.
850 * objc-lang.c (lookup_child_selector): Use CORE_ADDR as return type.
851 * objc-lang.h (lookup_child_selector): Adapt prototype.
852
9cbd5950
JB
853 * s390-nat.c (SUBOFF): New macro.
854 (supply_gregset, fill_gregset): Use it to handle debugging
855 of 32-bit exectuables running under a 64-bit kernel.
856 * s390-tdep.c: Include "solib-svr4.h".
857 (s390_svr4_fetch_link_map_offset): New function.
858 (s390x_svr_fetch_link_map_offset): Likewise.
859 (s390_gdbarch_init): Call set_solib_svr4_fetch_link_map_offsets.
860 * Makefile.in (s390-tdep.o): Update dependencies.
861
a8c99f38
JB
862 * s390-tdep.c: Include "trad-frame.h", "frame-base.h", and
863 "frame-unwind.h".
864 (s390_readinstruction): Reformat. Use read_memory_nobpt.
865 (GDB_TARGET_IS_ESAME, S390_GPR_SIZE, S390_FPR_SIZE): Remove.
866 (S390_SYSCALL_OPCODE, S390_SYSCALL_SIZE): Remove.
867 (S390_SIGCONTEXT_SREGS_OFFSET, S390X_SIGCONTEXT_SREGS_OFFSET,
868 S390_SIGREGS_FP0_OFFSET, S390X_SIGREGS_FP0_OFFSET,
869 S390_UC_MCONTEXT_OFFSET, S390X_UC_MCONTEXT_OFFSET,
8a1dac83 870 S390_SIGNAL_FRAMESIZE,
a8c99f38
JB
871 s390_NR_sigreturn, s390_NR_rt_sigreturn): Remove.
872 (struct frame_extra_info): Remove.
873 (s390_memset_extra_info): Remove.
f73b1eff
JB
874 (op1_ag, op1_ay, op1_brasl, op1_brc, op1_brcl, op1_lay, op1_lg)
875 (op1_lmy, op1_ly, op1_sg, op1_stmy, op1_sty, op1_sy, op_a)
876 (op_agr, op_bas, op_bc, op_bcr, op_sgr, op_sr): New opcodes.
a8c99f38
JB
877 (is_rse): Renamed to ...
878 (is_rsy): ... this. Support long displacements.
879 (is_rxe): Renamed to ...
880 (is_rxy): ... this. Support long displacements.
881 (compute_x_addr): Support long displacements.
882 (struct s390_prologue_data): New data type.
883 (s390_on_stack): Change API to use struct s390_prologue_data.
884 (s390_store): Reimplement.
885 (s390_load): New function.
886 (s390_get_signal_frame_info): Remove.
887 (s390_get_frame_info): Remove, replace by ...
888 (s390_analyze_prolog): ... this new function.
889 (s390_check_function_end): Remove.
890 (s390_function_start): Remove.
891 (s390_frameless_function_invokation): Remove.
892 (s390_is_sigreturn): Remove.
893 (s390_init_frame_pc_first): Remove.
894 (s390_init_frame_extra_info): Remove.
895 (s390_frame_init_saved_regs): Remove.
896 (s390_frame_saved_pc_nofix): Remove.
897 (s390_frame_saved_pc): Remove.
898 (s390_frame_chain): Remove.
899 (s390_fp_regnum, s390_read_fp): Remove.
900 (s390_pop_frame_regular, s390_pop_frame): Remove.
901 (s390_saved_pc_after_call): Remove.
902 (s390_skip_prologue): Reimplement.
903 (s390_in_function_epilogue_p): Support long displacements.
904 (struct s390_unwind_cache): New data structure.
905 (s390_frame_unwind_cache): New function.
906 (s390_prologue_frame_unwind_cache): Likewise.
907 (s390_backchain_frame_unwind_cache): Likewise.
908 (s390_frame_this_id, s390_frame_prev_register): Likewise.
909 (s390_frame_unwind): Define.
910 (s390_frame_sniffer): New function.
911 (struct s390_pltstub_unwind_cache): New data structure.
912 (s390_pltstub_frame_unwind_cache): New function.
913 (s390_pltstub_frame_this_id): Likewise.
914 (s390_pltstub_frame_prev_register): Likewise.
915 (s390_pltstub_frame_unwind): Define.
916 (s390_pltstub_frame_sniffer): New function.
917 (struct s390_sigtramp_unwind_cache): New data structure.
918 (s390_sigtramp_frame_unwind_cache): New function.
919 (s390_sigtramp_frame_this_id): Likewise.
920 (s390_sigtramp_frame_prev_register): Likewise.
921 (s390_sigtramp_frame_unwind): Define.
922 (s390_sigtramp_frame_sniffer): New function.
923 (s390_frame_base_address, s390_local_base_address): New functions.
924 (s390_frame_base): Define.
925 (s390_unwind_pc, s390_unwind_sp): New function.
926 (s390_push_dummy_call): Use new frame base location.
927 (s390_unwind_dummy_id): Likewise.
928 (s390_gdbarch_init): Remove calls to:
929 set_gdbarch_frameless_function_invocation,
930 set_gdbarch_deprecated_init_frame_pc,
931 set_gdbarch_deprecated_frame_chain,
932 set_gdbarch_deprecated_frame_init_saved_regs,
933 set_gdbarch_deprecated_pop_frame,
934 set_gdbarch_deprecated_init_extra_frame_info,
935 set_gdbarch_deprecated_init_frame_pc_first,
936 set_gdbarch_deprecated_target_read_fp,
937 set_gdbarch_deprecated_frame_saved_pc,
938 set_gdbarch_deprecated_saved_pc_after_call,
939 set_gdbarch_deprecated_fp_regnum.
940 Add calls to:
941 set_gdbarch_in_solib_call_trampoline,
942 frame_unwind_append_sniffer,
943 frame_base_set_default,
944 set_gdbarch_unwind_pc,
945 set_gdbarch_unwind_sp.
946 * Makefile.in (s390-tdep.o): Update dependencies.
947
b0cf273e
JB
948 * s390-tdep.c (struct gdbarch_tdep): Add 'abi' member.
949 (S390_STACK_FRAME_OVERHEAD): Remove.
950 (S390_STACK_PARAMETER_ALIGNMENT): Remove.
951 (S390_NUM_FP_PARAMETER_REGISTERS): Remove.
952 (s390_promote_integer_argument): Remove.
953 (s390_cannot_extract_struct_value_address): Remove.
954 (s390_use_struct_convention, s390_store_struct_return): Remove.
955 (s390_extract_return_value, s390_store_return_value): Remove.
956 (s390_return_value_convention, s390_return_value): New functions.
957 (is_float_singleton): Handle typedefs.
8a1dac83 958 (is_double_or_float, is_double_arg, is_simple_arg, pass_by_copy_ref):
b0cf273e
JB
959 Remove, replace by ...
960 (s390_function_arg_pass_by_reference, s390_function_arg_float,
961 s390_function_arg_integer): ... these new functions.
962 (s390_push_arguments, s390_push_return_address): Remove, replace by ...
963 (s390_push_dummy_call, s390_unwind_dummy_id): ... these new functions.
964 (s390_gdbarch_init): Remove s390_call_dummy_words and elf_flags.
965 Fill in tdep->abi.
966 Remove calls to:
967 set_gdbarch_deprecated_store_struct_return,
968 set_gdbarch_deprecated_extract_return_value,
969 set_gdbarch_deprecated_store_return_value,
970 set_gdbarch_use_struct_convention,
971 set_gdbarch_extract_struct_value_address,
972 set_gdbarch_deprecated_pc_in_call_dummy,
973 set_gdbarch_deprecated_push_arguments,
974 set_gdbarch_deprecated_save_dummy_frame_tos,
975 set_gdbarch_deprecated_push_return_address,
976 set_gdbarch_deprecated_sizeof_call_dummy_words,
977 set_gdbarch_deprecated_call_dummy_words,
978 set_gdbarch_deprecated_dummy_write_sp.
979 Add calls to:
980 set_gdbarch_push_dummy_call,
981 set_gdbarch_unwind_dummy_id,
982 set_gdbarch_return_value.
8a1dac83 983
e1457d83
JB
984 * config/s390/nm-linux.h: Update comments.
985 (target_insert_watchpoint, target_remove_watchpoint): Redefine.
986 (STOPPED_BY_WATCHPOINT): Redefine.
987 (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Redefine to 1.
988 (s390_insert_watchpoint, s390_remove_watchpoint): Update prototype.
989 (s390_stopped_by_watchpoint): Likewise.
990 (watch_area_cnt): Remove.
991 * s390-nat.c: Update comments.
992 (watch_area): Remove typedef.
993 Global replace watch_area by struct watch_area.
994 (watch_area_cnt, watch_lo_addr, watch_hi_addr): Remove.
8a1dac83 995 (s390_stopped_by_watchpoint): Remove pid argument,
e1457d83
JB
996 use s390_inferior_tid. Add short-cut for the no watchpoint case.
997 (s390_fix_watch_points): Remove pid argument,
998 use s390_inferior_tid. Recompute area spanned by watchpoints.
999 (s390_insert_watchpoint, s390_remove_watchpoint): Remove pid
1000 argument. Reimplement.
1001
d0f54f9d
JB
1002 * config/s390/nm-linux.h: Update comments. Do not include "solib.h".
1003 (KERNEL_U_ADDR, REGISTER_U_ADDR, U_REGS_OFFSET): Remove.
1004 (FETCH_INFERIOR_REGISTERS): Define.
8a1dac83 1005 * config/s390/s390.mh (NATDEPFILES): Remove core-aout.o and
d0f54f9d
JB
1006 core-regset.o.
1007 * config/s390/s390x.mt: Remove.
1008 * config/s390/tm-s390.h: Remove.
1009 * config/s390/tm-linux.h: Do not include "s390/tm-s390.h".
1010 (TARGET_ELF64): Remove.
1011 (SKIP_TRAMPOLINE_CODE): Do not undefine.
1012 * configure.tgt [s390-*-*, s390x-*-*]: Merge into single
1013 s390*-*-* case; always set gdb_target to s390.
1014 * regformats/reg-s390.dat: Remove control registers.
1015 * regformats/reg-s390x.dat: Likewise.
1016 * s390-tdep.h: New file.
8a1dac83 1017 * s390-nat.c: Do not include <asm/processor.h> or <value.h>.
d0f54f9d
JB
1018 Include "inferior.h" and "s390-tdep.h".
1019 Remove private definition of offsetof.
1020 (s390_register_u_addr): Remove.
1021 (regmap_gregset, regmap_fpregset): Define.
1022 (supply_gregset, fill_gregset): Reimplement.
1023 (supply_fpregset, fill_fpregset): Likewise.
1024 (s390_inferior_tid): New function.
1025 (fetch_regs, store_regs, fetch_fpregs, store_fpregs): Likewise.
1026 (fetch_inferior_registers, store_inferior_registers): Likewise.
1027 * s390-tdep.c: Do not define S390_TDEP. Include "defs.h" instead
1028 of <defs.h>. Include "reggroups.h", "regset.h", and "s390-tdep.h".
1029 Global replace of S390_GP0_REGNUM by S390_R0_REGNUM.
1030 Global replace of S390_FP0_REGNUM by S390_F0_REGNUM.
1031 (struct gdbarch_tdep): Define.
1032 (struct s390_register_info): Define.
1033 (s390_register_info): New variable.
1034 (s390_register_name): Reimplement.
1035 (s390_register_type): New function.
1036 (s390_register_raw_size, s390x_register_raw_size): Remove.
1037 (s390_cannot_fetch_register): Remove.
1038 (s390_register_byte): Remove.
1039 (s390_register_virtual_type, s390x_register_virtual_type): Remove.
1040 (s390_dwarf_regmap): New variable.
1041 (s390_dwarf_reg_to_regnum): New function.
1042 (s390_stab_reg_to_regnum): Remove.
1043 (s390_pseudo_register_read, s390_pseudo_register_write): New functions.
1044 (s390x_pseudo_register_read, s390x_pseudo_register_write): Likewise.
1045 (s390_convert_register_p): Likewise.
1046 (s390_register_to_value, s390_value_to_register): Likewise.
1047 (s390_register_reggroup_p): Likewise.
1048 (s390_regmap_gregset, s390x_regmap_gregset, s390_regmap_fpregset,
1049 s390_gregset, s390x_gregset, s390_fpregset): New variables.
1050 (s390_supply_regset, s390_regset_from_core_section): New functions.
1051 (GDB_TARGET_IS_ESAME): Move here from tm-s390.h.
1052 (S390_FPR_SIZE): Likewise.
1053 (S390_GPR_SIZE): Likewise. Redefine in terms of GDB_TARGET_IS_ESAME.
1054 Global replace of DEPRECATED_REGISTER_SIZE by S390_GPR_SIZE.
1055 (S390_NUM_GPRS): Move here from tm-s390.h.
1056 (S390_NUM_FPRS): Likewise.
1057 (s390_in_function_epilogue_p): New function.
1058 (s390_is_sigreturn): Replace S390_PSW_ADDR_SIZE by S390_GPR_SIZE.
1059 Replace S390_PC_REGNUM by S390_PSWA_REGNUM.
1060 (s390_gdbarch_init): Allocate and set up gdbarch_tdep structure.
1061 Replace s390_stab_reg_to_regnum by s390_dwarf_reg_to_regnum.
1062 Replace S390_FP_REGNUM by S390_SP_REGNUM.
1063 Remove calls to:
1064 set_gdbarch_deprecated_max_register_raw_size,
8a1dac83
RM
1065 set_gdbarch_deprecated_max_register_virtual_size,
1066 set_gdbarch_deprecated_register_byte,
d0f54f9d 1067 set_gdbarch_cannot_fetch_register,
8a1dac83 1068 set_gdbarch_cannot_store_register,
d0f54f9d
JB
1069 set_gdbarch_deprecated_register_size,
1070 set_gdbarch_deprecated_register_raw_size,
1071 set_gdbarch_deprecated_register_virtual_size,
1072 set_gdbarch_deprecated_register_virtual_type,
1073 set_gdbarch_deprecated_register_bytes.
1074 Add calls to:
1075 set_gdbarch_num_pseudo_regs,
1076 set_gdbarch_register_type,
1077 set_gdbarch_convert_register_p,
1078 set_gdbarch_register_to_value,
1079 set_gdbarch_value_to_register,
1080 set_gdbarch_register_reggroup_p,
1081 set_gdbarch_regset_from_core_section,
1082 set_gdbarch_pseudo_register_read,
1083 set_gdbarch_pseudo_register_write,
1084 set_gdbarch_in_function_epilogue_p.
1085 * Makefile.in (s390-nat.o, s390-tdep.o): Update dependencies.
1086 (s390_tdep_h): New variable.
1087
8cfe231d
JB
10882004-02-17 Jim Blandy <jimb@redhat.com>
1089
4589a601
JB
1090 * findvar.c (value_from_register): If the type has no length, just
1091 return an acceptable value --- don't report an internal error.
1092
8cfe231d
JB
1093 * stabsread.c (read_type): If we find any type numbers that are
1094 forward references, complain if the references aren't resolved by
1095 the time we're finished reading.
1096 (cleanup_undefined_types): Make error message more appropriate for
1097 a complaint.
1098
5bf0017e
EZ
10992004-02-17 Elena Zannoni <ezannoni@redhat.com>
1100
9d62932d
EZ
1101 * Makefile.in (defs_h): Remove dependency on progress_h.
1102 * defs.h (QUIT): Remove use of PROGRESS macro. Remove include of
1103 progress.h.
1104 * main.c (captured_main): Delete use of START_PROGRESS and
1105 END_PROGRESS.
1106
11072004-02-17 Elena Zannoni <ezannoni@redhat.com>
8a1dac83 1108
5bf0017e
EZ
1109 * objfiles.c (terminate_minimal_symbol_table): Add back
1110 initialization of MSYMBOL_TYPE.
1111
9fc9f5e2
AC
11122004-02-17 David Mosberger <davidm@hpl.hp.com>
1113
1114 Committed by Andrew Cagney.
1115 * Makefile.in (ia64_tdep_h): New macro.
1116 (ia64-linux-tdep.o): Mention $(ia64_tdep_h).
1117 (ia64-tdep.o): Likewise.
1118 * ia64-tdep.h: New file.
1119 * ia64-tdep.c: Update copyright notice. Include "ia64-tdep.h".
1120 (ia64_linux_sigcontext_register_address): Move decl to ia64-tdep.h.
1121 (ia64_aix_sigcontext_register_address): Likewise.
1122 (ia64_linux_getunwind_table): Delete declaration.
1123 * ia64-linux-tdep.c: Likewise.
1124
76cd2bd9
CV
11252004-02-17 Corinna Vinschen <vinschen@redhat.com>
1126
1127 * sh-tdep.c (sh_dsp_register_sim_regno): Use DSP_Rx_BANK_REGNUM.
1128 * sh-tdep.h: Rename R0_BANK_REGNUM and R7_BANK_REGNUM to
1129 DSP_R0_BANK_REGNUM and DSP_R7_BANK_REGNUM.
1130
634aa483
AC
11312004-02-17 Andrew Cagney <cagney@redhat.com>
1132
1133 * symtab.c (skip_prologue_using_sal): New function.
1134 * symtab.h (skip_prologue_using_sal): Declare.
1135 * frv-tdep.c: Include "symtab.h".
1136 (skip_prologue_using_sal): Delete function.
1137 * mips-tdep.c (skip_prologue_using_sal): Delete function.
1138 * rs6000-tdep.c (refine_prologue_limit): Mention
1139 skip_prologue_using_sal.
1140 * ia64-tdep.c (refine_prologue_limit): Ditto.
1141 * Makefile.in: Update dependencies.
1142
11432004-02-16 Andrew Cagney <cagney@redhat.com>
19772a2c 1144
39ce7b3f
AC
1145 * config/alpha/tm-nbsd.h: Update copyright, delete #undef
1146 START_INFERIOR_TRAPS_EXPECTED.
1147 * config/alpha/tm-fbsd.h: Update copyright, delete #undef
1148 START_INFERIOR_TRAPS_EXPECTED.
1149 * config/alpha/tm-alphalinux.h (START_INFERIOR_TRAPS_EXPECTED):
1150 Delete macro.
1151 * config/alpha/tm-alpha.h (START_INFERIOR_TRAPS_EXPECTED): Delete
1152 macro, moved to "nm-osf.h". Update copyright.
1153 * config/alpha/nm-osf.h (START_INFERIOR_TRAPS_EXPECTED): Define,
1154 update copyright.
1155
19772a2c
AC
1156 * gdbarch.sh (DEPRECATED_FRAMELESS_FUNCTION_INVOCATION): Predicate
1157 and function replacing FRAMELESS_FUNCTION_INVOCATION.
1158 * blockframe.c (legacy_frameless_look_for_prologue): Rename
1159 frameless_look_for_prologue.
1160 * frame.h (legacy_frameless_look_for_prologue): Rename
1161 frameless_look_for_prologue.
1162 * gdbarch.h, gdbarch.c: Re-generate.
1163 * sh64-tdep.c (sh64_gdbarch_init): Update.
1164 * sh-tdep.c (sh_gdbarch_init): Update.
1165 * s390-tdep.c (s390_gdbarch_init): Update.
1166 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1167 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
1168 * m68k-tdep.c (m68k_gdbarch_init): Update.
1169 (delta68_frame_args_address): Update.
1170 * m32r-tdep.c (m32r_gdbarch_init): Update.
1171 * hppa-tdep.c (hppa_gdbarch_init): Update.
1172 * h8300-tdep.c (h8300_gdbarch_init): Update.
1173 * frv-tdep.c (frv_gdbarch_init): Update.
1174 (frv_frameless_function_invocation): Update.
1175 * cris-tdep.c (cris_gdbarch_init): Update.
1176 (cris_frameless_function_invocation): Update.
1177 * avr-tdep.c (avr_gdbarch_init): Update.
1178 * arm-tdep.c (arm_gdbarch_init): Update.
1179 * stack.c (frame_info): Update, call predicate.
1180 * rs6000-tdep.c (rs6000_frame_chain): Update, call predicate..
1181 * frame.c (legacy_get_prev_frame): Update, call predicate..
1182 * arch-utils.c (generic_frameless_function_invocation_not): Delete.
1183 * arch-utils.h (generic_frameless_function_invocation_not): Delete.
1184 * alpha-tdep.c (alpha_gdbarch_init): Do not set frameless function
1185 invocation.
1186 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
1187 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
1188 * vax-tdep.c (vax_gdbarch_init): Ditto.
2be8b3c1
AC
1189
1190 * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): Delete unused
1191 function.
1192
7dcaac91
DJ
11932004-02-16 Daniel Jacobowitz <drow@mvista.com>
1194
1195 * objfiles.c (terminate_minimal_symbol_table): Remove unnecessary
1196 initializations.
1197
88289b6e
AC
11982004-02-16 Andrew Cagney <cagney@redhat.com>
1199
1200 * tui/tui-windata.c: Include "gdb_string.h".
1201 * tui/tui-source.c, tui/tui-winsource.c: Ditto.
1202 * tui/tui-layout.c, tui/tui-command.c: Ditto.
1203 * Makefile.in: Update dependencies.
1204
9f976b41
DJ
12052004-02-16 Daniel Jacobowitz <drow@mvista.com>
1206
1207 * Makefile.in (infrun.o): Add $(gdb_assert_h).
1208 * infrun.c: Include "gdb_assert.h".
1209 (singlestep_ptid, saved_singlestep_ptid)
1210 (stepping_past_singlestep_breakpoint): New variables.
1211 (resume): Set singlestep_ptid. Check for singlestep thread
1212 hop.
1213 (init_wait_for_inferior): Clear stepping_past_singlestep_breakpoint.
1214 (handle_inferior_event): Handle singlestep thread hop.
1215
c324d747
AC
12162004-02-16 Andrew Cagney <cagney@redhat.com>
1217
f090b9b1
AC
1218 * dwarf2-frame.c (dwarf2_frame_ops): New function.
1219 (dwarf2_frame_set_init_reg): Use, instead of gdbarch_data.
1220 (dwarf2_frame_init_reg): Ditto.
1221
fd33e6cb
AC
1222 * printcmd.c (display_command): Check that EXP isn't NULL. Fix
1223 suggested by Joshua Neuheisel
1224
c324d747
AC
1225 * configure.in: Always check for curses, including pdcurses.
1226 Warn, instead of error, when no curses are found. Enable TUI when
1227 curses is available.
1228 * configure: Re-generate.
1229
b66ba949
CV
12302004-02-16 Corinna Vinschen <vinschen@redhat.com>
1231
1232 * sh-tdep.c (sh_register_convert_to_virtual): Rename from
1233 sh_sh4_register_convert_to_virtual.
1234 (sh_register_convert_to_raw): Rename from
1235 sh_sh4_register_convert_to_raw.
1236 (sh_pseudo_register_read): Accomodate above name change.
1237 (sh_pseudo_register_write): Ditto.
1238
b58cbbf2
CV
12392004-02-16 Corinna Vinschen <vinschen@redhat.com>
1240
1241 * sh-tdep.c (sh_generic_register_name): Remove.
1242 (sh_gdbarch_init): Use sh_sh_register_name in default case.
1243
5929a910
AC
12442004-02-15 Andrew Cagney <cagney@redhat.com>
1245
4566dfcf
AC
1246 * configure.in (build_warnings): Add -Wunused-function.
1247 * configure: Re-generate.
1248
db11ed55
AC
1249 * config/tm-lynx.h (START_INFERIOR_TRAPS_EXPECTED): Delete macro.
1250 * config/rs6000/tm-rs6000.h (START_INFERIOR_TRAPS_EXPECTED): Ditto.
1251
46ac7a5d
AC
1252 * procfs.c (procfs_init_inferior): Assume that
1253 START_INFERIOR_TRAPS_EXPECTED is defined.
1254 * config/ns32k/nbsdaout.mt (TM_FILE): Set to tm-ns32k.h.
1255 * config/ns32k/tm-nbsd.h: Delete file,
1256 START_INFERIOR_TRAPS_EXPECTED already defined as 2.
1257
ba801595
AC
1258 * config/vax/tm-vaxbsd.h: Do not include "tm-vax.h".
1259 * config/vax/tm-vax.h: Delete file.
1260
5929a910
AC
1261 * config/mips/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
1262 * config/i386/tm-i386bsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
1263 * config/arm/tm-linux.h (SIGCONTEXT_PC_OFFSET): Delete macro.
1264 * config/vax/tm-vaxbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
1265 * vax-tdep.c (vax_sigtramp_saved_pc): Inline only reference.
1266 * config/ns32k/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
1267 * ns32k-tdep.c (ns32k_sigtramp_saved_pc): Inline only reference.
1268
8f22cb90
MK
12692004-02-15 Mark Kettenis <kettenis@gnu.org>
1270
1271 * dwarf2-frame.h (dwarf2_frame_set_init_reg): New prototype.
1272 * dwarf2-frame.c (dwarf2_frame_data): New variable.
1273 (struct dwarf2_frame_ops): New.
1274 (dwarf2_frame_default_init_reg): New function, based on
1275 dwarf2_frame_init_reg.
1276 (dwarf2_frame_init, dwarf2_frame_set_init_reg): New function.
1277 (dwarf2_frame_init_reg): Call architecture-specific function.
1278 (dwarf2_frame_objfile_data): Renamed from dwarf2_frame_data.
1279 (dwarf2_frame_find_fde, add_fde): Use dwarf2_frame_objfile_data
1280 instead of dwarf2_frame_data.
1281 (_initialize_dwarf2_frame): Initailize new dwarf2_frame_data.
1282 Initialize dwarf2_frame_objfile instead of old dwarf2_frame_data.
1283
8132723e
AC
12842004-02-15 Andrew Cagney <cagney@redhat.com>
1285
046a4708
AC
1286 * gdbarch.sh (deprecated_register_gdbarch_swap): Rename
1287 register_gdbarch_swap.
1288 (DEPRECATED_REGISTER_GDBARCH_SWAP): Rename REGISTER_GDBARCH_SWAP.
1289 * f-lang.c (_initialize_f_language): Update, use
1290 DEPRECATED_REGISTER_GDBARCH_SWAP.
1291 * remote.c (_initialize_remote): Ditto.
1292 * regcache.c (_initialize_regcache): Ditto.
1293 * parse.c (_initialize_parse): Ditto.
1294 * infrun.c (_initialize_infrun): Ditto.
1295 * mi/mi-main.c (_initialize_mi_main): Ditto.
1296 * gdbtypes.c (_initialize_gdbtypes): Ditto.
8a1dac83 1297
549c1eea
AC
1298 * solib.c (solib_map_sections): Use bfd_set_cacheable instead of
1299 poking .cacheable directly.
1300 * symfile.c (symfile_bfd_open): Ditto.
1301
0c0b39de
AC
1302 * Makefile.in: Update all dependencies.
1303
8132723e
AC
1304 * Makefile.in: (.SUFFIXES): Add ".l" and ".y".
1305 (.y.c, .l.c): Specify implicit rule. Instead of .tab.c, generate
1306 .c. Update references. Delete unnecessary .tab.c and -lex.c rules.
1307 (ada-exp.o, c-exp.o, f-exp.o): Replace ada-exp.tab.o et.al. rule.
1308 (jv-exp.o, m2-exp.o, objc-exp.o, p-exp.o): Similar.
0c0b39de 1309
b9d26eb9
AC
13102004-02-14 Andrew Cagney <cagney@redhat.com>
1311
8e1f669a
AC
1312 * arch-utils.c (legacy_convert_register_p): Check
1313 DEPRECATED_REGISTER_CONVERTIBLE_P.
1314 * findvar.c (value_of_register): Ditto.
1315
cd0bfa36
AC
1316 * gdbarch.sh (DEPRECATED_REGISTER_CONVERTIBLE): Add predicate.
1317 * gdbarch.h, gdbarch.c: Re-generate.
1318 * arch-utils.c (deprecated_register_convertible_not): Delete.
1319 * arch-utils.h (deprecated_register_convertible_not): Delete.
1320 * mi/mi-main.c (get_register): Update. Update copyright.
1321 * infcmd.c (default_print_registers_info): Update.
1322
b9d26eb9
AC
1323 * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
1324 (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Delete.
1325 (DEPRECATED_CALL_DUMMY_ADDRESS): Delete.
8a1dac83 1326 * gdbarch.h, gdbarch.c: Re-generate.
b9d26eb9
AC
1327 * frame.c (deprecated_get_next_frame_hack): Delete function.
1328 * frame.h (deprecated_get_next_frame_hack): Delete declaration.
1329 * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point):
1330 Update.
1331 * infcall.c (call_function_by_hand): Update.
1332
9ab9195f
EZ
13332004-02-14 Elena Zannoni <ezannoni@redhat.com>
1334
1335 * symfile.c (init_entry_point_info, entry_point_address): Move
8a1dac83 1336 from here...
9ab9195f
EZ
1337 * objfiles.c (init_entry_point_info, entry_point_address):..to
1338 here.
1339 * symfile.h (init_entry_point_info, entry_point_address): Remove
1340 prototypes.
1341 * objfiles.h (init_entry_point_info, entry_point_address):Add
8a1dac83 1342 prototypes.
9ab9195f
EZ
1343 * cris-tdep.c: Remove include of symfile.h. Add include of
1344 objfiles.h.
1345 * infcall.c: Ditto.
1346 * mcore-tdep.c: Ditto.
1347 * mn10300-tdep.c: Ditto.
1348 * sh64-tdep.c: Ditto.
1349 * v850-tdep.c: Ditto.
1350 * arm-tdep.c: Remove include of symfile.h.
1351 * blockframe.c: Ditto.
1352 * coffread.c: Ditto.
1353 * dbxread.c: Ditto.
1354 * dwarf2read.c: Ditto.
1355 * dwarfread.c: Ditto.
8a1dac83 1356 * frv-tdep.c: Ditto.
9ab9195f
EZ
1357 * ia64-tdep.c: Ditto.
1358 * mdebugread.c: Ditto.
1359 * mipsread.c: Ditto.
8a1dac83 1360 * rs6000-tdep.c: Ditto.
9ab9195f
EZ
1361 * s390-tdep.c: Ditto.
1362 * sh-tdep.c: Ditto.
8a1dac83 1363 * xstormy16-tdep.c: Ditto.
9ab9195f
EZ
1364 * gdbarch.sh: Remove include of symfile.h.
1365 * gdbarch.c: Regenerate.
1366 * solib-irix.c (enable_break): Use entry_point_address().
1367 Add comment about include file.
1368 * xcoffread.c: Add comment about include file.
8a1dac83
RM
1369 * Makefile.in (arm-tdep.o, blockframe.o, coffread.o, cris-tdep.o)
1370 (dbxread.o, dwarf2read.o, dwarfread.o, frv-tdep.o, gdbarch.o)
1371 (ia64-tdep.o, infcall.o, mcore-tdep.o, mdebugread.o, mipsread.o)
1372 (mn10300-tdep.o, rs6000-nat.o, s390-tdep.o, sh64-tdep.o)
9ab9195f
EZ
1373 (sh-tdep.o, v850-tdep.o, xstormy16-tdep.o): Update dependencies.
1374
c4c5b7ba
AC
13752004-02-13 Andrew Cagney <cagney@redhat.com>
1376
1377 * corelow.c (core_xfer_partial): Use "struct bfd_section".
1378 * config/sparc/nm-nbsd.h (struct target_ops): Declare, update
1379 copyright.
1380 * mips-linux-tdep.c: Use "GNU/Linux", update copyright.
1381
3e7879de
FF
13822004-02-12 Fred Fish <fnf@redhat.com>
1383
1384 * m68hc11-tdep.c (m68hc11_gdbarch_init): Remove duplicate call to
1385 set_gdbarch_store_return_value.
1386
6a7760b6
AC
13872004-02-12 Andrew Cagney <cagney@redhat.com>
1388
1389 * remote-rdi.c (arm_rdi_start_remote): Delete unused function.
1390 (arm_rdi_interrupt, arm_rdi_interrupt_twice): Ditto.
1391 (interrupt_query): Ditto.
1392 (ofunc): Delete unused variable.
1393 * cris-tdep.c (cris_abi): Delete unused function.
1394 (reg_pop_op, move_reg_to_mem_index_inc_op): Ditto.
1395 (cris_get_wide_opcode, cris_get_short_size): Ditto.
1396 (cris_get_asr_quick_shift_steps): Ditto.
1397 (cris_skip_prologue_frameless_p): Ditto.
1398 * arm-tdep.c (arm_push_return_address): Delete unused function.
1399 (arm_push_dummy_frame, arm_fix_call_dummy): Ditto.
1400 * rs6000-tdep.c (rs6000_pc_in_call_dummy): Delete unused function.
1401 * s390-tdep.c (s390_function_start): Delete unused function.
1402
31687c3c
AC
14032004-02-12 Andrew Cagney <cagney@redhat.com>
1404
1405 * gdbarch.sh (PROLOGUE_FRAMELESS_P): Delete.
1406 gdbarch.h, gdbarch.c: Re-generate.
1407 * cris-tdep.c (cris_gdbarch_init): Do not set prologue_frameless_p
1408 to generic_prologue_frameless_p.
1409 * arch-utils.h (generic_prologue_frameless_p): Delete declaration.
1410 * arch-utils.c (generic_prologue_frameless_p): Delete function.
1411
6de918a6
DJ
14122004-02-11 Daniel Jacobowitz <drow@mvista.com>
1413
1414 * mips-linux-tdep.c: Include "frame.h".
1415 (mips_linux_in_dynsym_stub, mips_linux_in_dynsym_resolve_code)
1416 (mips_linux_skip_resolver): New functions.
1417 (mips_linux_init_abi): Call set_gdbarch_skip_solib_resolver
1418 and set_gdbarch_in_solib_call_trampoline.
1419 * mips-tdep.c (mips_gdbarch_init): Move gdbarch_init_osabi call
1420 to after set_gdbarch_in_solib_return_trampoline. Only set the
1421 solib hooks to mips16 functions if the OS ABI is unknown.
1422 * config/mips/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Undefine after
1423 including "config/tm-linux.h".
1424 (IN_SOLIB_DYNSYM_RESOLVE_CODE): Define.
1425 * Makefile.in (mips-linux-tdep.o): Update.
1426
87b3ede8
DC
14272004-02-11 David Carlton <carlton@kealia.com>
1428
1429 * linespec.c (decode_compound): Only look for a class symbol when
1430 considering all but the rightmost component.
1431
5979bc46
AC
14322004-02-11 Andrew Cagney <cagney@redhat.com>
1433
1434 * hppa-tdep.c (hppa_gdbarch_init): Re-order so that the frame and
1435 abi code are are separatly grouped.
1436
5867a2fb
AC
14372004-02-11 Andrew Cagney <cagney@redhat.com>
1438
1439 * gdbarch.sh (FRAME_ARGS_SKIP): Default to 0.
1440 * gdbarch.h, gdbarch.c: Re-generate.
1441 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1442 * v850-tdep.c (v850_gdbarch_init): Update.
1443 * sh64-tdep.c (sh64_gdbarch_init): Update.
1444 * sh-tdep.c (sh_gdbarch_init): Update.
1445 * s390-tdep.c (s390_gdbarch_init): Update.
1446 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1447 * mips-tdep.c (mips_gdbarch_init): Update.
1448 * mcore-tdep.c (mcore_gdbarch_init): Update.
1449 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1450 * m32r-tdep.c (m32r_gdbarch_init): Update.
1451 * ia64-tdep.c (ia64_gdbarch_init): Update.
1452 * hppa-tdep.c (hppa_gdbarch_init): Update.
1453 * h8300-tdep.c (h8300_gdbarch_init): Update.
1454 * frv-tdep.c (frv_gdbarch_init): Update.
1455 * d10v-tdep.c (d10v_gdbarch_init): Update.
1456 * cris-tdep.c (cris_gdbarch_init): Update.
1457 * avr-tdep.c (avr_gdbarch_init): Update.
1458 * arm-tdep.c (arm_gdbarch_init): Update.
1459 * alpha-tdep.c (alpha_gdbarch_init): Update.
1460
026a72f8
CV
14612004-02-11 Corinna Vinschen <vinschen@redhat.com>
1462
1463 * sh-tdep.c (sh_sh3_dsp_register_name): Fix formatting. Add missing
1464 comma.
1465 (sh_sh4al_dsp_register_name): Ditto.
1466
3903d437
AC
14672004-02-10 Andrew Cagney <cagney@redhat.com>
1468
1469 * mips-tdep.c (mips_gdbarch_init): Delete deprecated frame code.
1470 (mips_init_frame_pc_first): Delete function.
1471 (mips_frame_saved_pc): Delete function.
1472 (mips_frame_chain): Delete function.
1473 (mips_init_extra_frame_info): Delete function.
1474 (mips_xfer_register): Delete unused variable "reg".
1475 (mips_n32n64_push_dummy_call): Delete unused variable "valbuf".
1476 (mips_n32n64_return_value): Delete unused variable "reg".
1477 (mips_n32n64_return_value): Delete unused variable "pos".
1478 (mips_o32_push_dummy_call): Delete unused variable "valbuf".
1479 (mips_o32_return_value): Delete unused variable "pos".
1480 (mips_o64_push_dummy_call): Delete unused variable "valbuf".
1481 (mips_print_fp_register): Delete unused variable "namelen"
1482 (mips_print_fp_register): Delete unused variable "flt2"
1483 (get_frame_pointer): Delete function.
1484 (cached_proc_desc): Delete static variable.
1485 (mips_pop_frame): Delete function.
1486 (mips_find_saved_regs): Delete function.
1487 (mips_get_saved_register): Delete function.
1488 (mips_saved_pc_after_call): Delete function.
1489 (SIGFRAME_BASE): Delete macro.
1490 (SIGFRAME_FPREGSAVE_OFF): Delete macro.
1491 (SIGFRAME_PC_OFF): Delete macro.
1492 (SIGFRAME_REGSAVE_OFF): Delete macro.
1493 (mips_dump_tdep): Do not print deleted macro definitions.
1494
b9fb98bd
AC
14952004-02-10 Andrew Cagney <cagney@redhat.com>
1496
1497 * Makefile.in (SFILES): Remove explictly listed tui files.
1498 (SUBDIR_GDBTK_SRCS): Fix path to gdbtk-interp.c.
1499
78ced177 15002004-02-10 Jeff Johnston <jjohnstn@redhat.com>
8a1dac83 1501
78ced177
JJ
1502 * ia64-tdep.c (ia64_frame_this_id): Fix tracing print statement
1503 to use paddr functions to format ia64 addresses and long values.
1504 (ia64_frame_prev_register, ia64_sigtramp_frame_this_id): Ditto.
1505 (ia64_sigtramp_frame_prev_register, ia64_access_reg): Ditto.
1506 (get_kernel_table, ia64_find_proc_info_x): Ditto.
1507 (ia64_get_dyn_info_list, ia64_libunwind_this_frame_id): Ditto.
1508 (ia64_libunwind_frame_prev_register, ia64_unwind_dummy_id): Ditto.
1509
6a83354a
AC
15102004-02-10 Andrew Cagney <cagney@redhat.com>
1511
1512 * defs.h: Do not include "tui.h".
1513 * gdb_curses.h: New file.
1514 * tui/tui-hooks.h: New file.
1515 * tui/tui.h (tui_update_all_exec_infos): Delete declaration.
1516 (tui_install_hooks, tui_remove_hooks): Delete declarations.
1517 (tui_initialize_io): Delete declaration.
1518 (tui_initialize_readline: Delete redundant declaration.
1519 (struct tui_point): Delete definition.
1520 * tui/tui-data.h (struct tui_point): Define.
1521 * cli/cli-decode.c [TUI]: Include "tui/tui.h".
1522 * utils.c: Include "tui/tui.h".
1523 * tui/tui-data.h: Include "tui/tui.h" and "gdb_curses.h".
1524 * printcmd.c [TUI]: Include "tui/tui.h".
1525 * cli/cli-cmds.c [TUI]: Include "tui/tui.h".
1526 * tui/tui-command.c: Include "gdb_curses.h".
1527 * tui/tui.c, tui/tui-winsource.c, tui/tui-wingeneral.c: Ditto.
1528 * tui/tui-windata.c, tui/tui-win.c, tui/tui-stack.c: Ditto.
1529 * tui/tui-source.c, tui/tui-regs.c, tui/tui-layout.c: Ditto.
1530 * tui/tui-io.c, tui/tui-disasm.c, tui/tui-data.c: : Ditto.
1531 * tui/tui-hooks.c: Include "tui-hooks.h" and "gdb_curses.h".
1532 * Makefile.in: Update all dependencies.
1533 (tui_hooks_h, gdb_curses_h): Define.
1534 (SUBDIR_TUI_CFLAGS): Remove -I${srcdir}/tui.
1535
997470ef
EZ
15362004-02-10 Elena Zannoni <ezannoni@redhat.com>
1537
1538 * objfiles.h (struct objfile): Remove unused fields auxf1 and
1539 auxf2. Add comments about some other rarely used fields.
1540
4ff2cc4d
AC
15412004-02-10 Andrew Cagney <cagney@redhat.com>
1542
1543 * Makefile.in (init.c): Fix script removing duplicates. Problem
1544 reported by Peter Schauer.
1545
1ab21617
EZ
15462004-02-09 Elena Zannoni <ezannoni@redhat.com>
1547
1548 * bcache.c (bcache_xmalloc): Use obstack_init instead of
1549 obstack_specify_allocation.
1550 * objfiles.c (allocate_objfile): Ditto.
8a1dac83 1551 * solib-sunos.c (solib_add_common_symbols)
1ab21617
EZ
1552 (allocate_rt_common_objfile): Ditto.
1553 * symfile.c (reread_symbols): Ditto.
1554 * gdb_obstack.h: Add comment.
1555
17763fd9
EZ
15562004-02-09 Elena Zannoni <ezannoni@redhat.com>
1557
1558 * linespec.c (decode_line_1, locate_first_half)
1559 (decode_compound, lookup_prefix_sym): Update comments. Delete old
1560 commented out code.
1561
ec5cdd75
DJ
15622004-02-09 Daniel Jacobowitz <drow@mvista.com>
1563
1564 * cp-namespace.c (check_one_possible_namespace_symbol): Don't use
1565 obstack_free.
1566
43b54b88
AC
15672004-02-09 Andrew Cagney <cagney@redhat.com>
1568
1569 * blockframe.c (find_pc_partial_function): If find_pc_overlay
1570 fails, try find_pc_section. Fix PR c++/1267.
1571 * minsyms.c (lookup_minimal_symbol_by_pc): Use find_pc_section
1572 instead of find_pc_mapped_section.
1573 (lookup_minimal_symbol_by_pc_section): If the SECTION is NULL, do
1574 not default to the section containing PC. Fix PR symtab/1519.
1575
edfae063
AC
15762004-02-09 Andrew Cagney <cagney@redhat.com>
1577
1578 * Makefile.in (mips-tdep.o): Update dependencies.
1579 * mips-tdep.c: Include "frame-unwind.h", "frame-base.h" and
1580 "trad-frame.h".
1581 (mips_unwind_pc): Return the pseudo PC register.
1582 (mips_unwind_dummy_id): New function.
1583 (mips16_fetch_instruction): New function.
1584 (mips32_fetch_instruction): New function.
1585 (struct mips_frame_cache): Define.
1586 (mips_mdebug_frame_cache): New function.
1587 (mips_mdebug_frame_this_id): New function.
1588 (mips_mdebug_frame_prev_register): New function.
1589 (mips_mdebug_frame_unwind): Define.
1590 (mips_mdebug_frame_sniffer): New function.
1591 (mips_mdebug_frame_base_address): New function.
1592 (mips_mdebug_frame_base): Define.
1593 (mips_mdebug_frame_base_sniffer): New function.
1594 (mips_gdbarch_init): Append unwind and base sniffers. Set
1595 unwind_dummy_id.
1596
defc864c
AC
15972004-02-08 Andrew Cagney <cagney@redhat.com>
1598
6764ddad
AC
1599 * frame.c: Print both the register number and name.
1600
defc864c
AC
1601 * Makefile.in (init.c): Eliminate duplicates. Combine two greps
1602 and a sed into a single sed. Make .c and .o patterns more robust.
1603 (OBS): Delete.
1604 (INIT_FILES): Replace OBS with COMMON_OBS.
1605 (COMMON_OBS): Move DEPFILES and YYOBJ to start of definition.
1606
645d6d10
MK
16072004-02-08 Mark Kettenis <kettenis@gnu.org>
1608
1609 * sparc-nat.c (sparc_xfer_wcookie): Try to fetch the cookie using
1610 the PT_WCOOKIE request.
1611
23e3c3fc
AC
16122004-02-08 Andrew Cagney <cagney@redhat.com>
1613
58dfe9ff
AC
1614 * mips-tdep.c (mips_unwind_pc): New function.
1615 (mips_gdbarch_init): Set mips_unwind_pc.
1616
1152e35e
AC
1617 * frame.c (legacy_saved_regs_this_id): Return a null frame ID.
1618 (get_frame_id): Allow the UNKNOWN_FRAME.
1619 (frame_register_unwind, get_frame_type): Ditto.
1620
31b75dbf
AC
1621 * frame.c (legacy_frame_p): Check for DEPRECATED_TARGET_READ_FP_P
1622 and DEPRECATED_FP_REGNUM. Don't assume that the lack of
1623 unwind_dummy_id indicates a legacy frame.
1624
3483b318
AC
1625 * configure.in (CONFIG_LIB_OBS): Replace with CONFIG_OBS.
1626 * configure: Re-generate.
1627
23e3c3fc
AC
1628 * mips-tdep.c (mips_gdbarch_init): Group deprecated frame unwind
1629 methods.
1630
33f8ca73
AC
16312004-02-08 Andrew Cagney <cagney@redhat.com>
1632
1633 * configure.in (CONFIG_ALL): Set to Makefile target, and not
1634 makefile macro.
1635 * configure: Re-generate.
1636 (CONFIG_CLEAN, CONFIG_INSTALL, CONFIG_UNINSTALL): Ditto.
1637 * Makefile.in (SUBDIR_CLI_CLEAN): Delete.
1638 (SUBDIR_CLI_INSTALL, SUBDIR_CLI_UNINSTALL): Delete.
1639 (SUBDIR_CLI_ALL, SUBDIR_GDBTK_ALL): Delete.
1640 (SUBDIR_GDBTK_CLEAN, SUBDIR_GDBTK_INSTALL): Delete.
1641 (SUBDIR_GDBTK_UNINSTALL, SUBDIR_MI_ALL): Delete.
1642 (SUBDIR_MI_CLEAN, SUBDIR_MI_INSTALL): Delete.
1643 (SUBDIR_MI_UNINSTALL, SUBDIR_TUI_ALL): Delete.
1644 (SUBDIR_TUI_CLEAN, SUBDIR_TUI_INSTALL): Delete.
1645 (SUBDIR_TUI_UNINSTALL, SUBDIR_CLI_CLEAN): Delete.
1646
6ba8e26f 16472004-02-07 Andrew Cagney <cagney@redhat.com>
d836ee13 1648
20d286a5
AC
1649 * Makefile.in: Update all dependencies.
1650
d836ee13
AC
1651 * configure.in (CONFIG_INITS, CONFIG_LIB_OBS): Delete.
1652 * configure: Re-generate.
1653 * Makefile.in (INIT_FILES): Replace CONFIG_INITS with CONFIG_SRCS.
1654 (CONFIG_LIB_OBS, CONFIG_INITS): Delete.
1655 (COMMON_OBS): Add "main.o" and "annotate.o".
1656 (ANNOTATE_OBS): Delete.
1657 (OBS): Remove ANNOTATE_OBS.
1658 (DEPFILES): Replace CONFIG_LIB_OBS with CONFIG_LIB_OBS, remove
1659 CONFIG_INITS.
1660 (gdb$(EXEEXT), insight$(EXEEXT)): Do not depend on, or link
1661 against CONFIG_OBS and "main.o".
1662 (SUBDIR_CLI_INITS, SUBDIR_MI_INITS): Delete.
1663 (SUBDIR_TUI_INITS, SUBDIR_GDBTK_INITS): Delete.
1664
d02c80cd
AC
1665 * tui/tui-command.c: Include "gdb_string.h", delete register
1666 attribute, use ISO-C function signatures.
1667 * tui/tui-disasm.c, tui/tui-file.c, tui/tui-io.c: Ditto.
1668 * tui/tui-layout.c, tui/tui-regs.c, tui/tui-source.c: Ditto.
1669 * tui/tui-stack.c, tui/tui-win.c, tui/tui-winsource.c: Ditto.
1670 * tui/tui.c: Ditto.
6ba8e26f
AC
1671
1672 * tui/tui-command.c: Change variable and function names to lower
1673 case.
1674 * tui/tui-data.c, tui/tui-disasm.c: Ditto.
1675 * tui/tui-hooks.c, tui/tui-io.c, tui/tui-layout.c: Ditto.
1676 * tui/tui-regs.c, tui/tui-source.c, tui/tui-stack.c: Ditto.
1677 * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
1678 * tui/tui-winsource.c, tui/tui.c: Ditto.
1679
4a146b47
EZ
16802004-02-07 Elena Zannoni <ezannoni@redhat.com>
1681
1682 * buildsym.c (free_pending_blocks, finish_block)
1683 (record_pending_block, make_blockvector, end_symtab): Replace
1684 symbol_obstack with objfile_obstack.
8a1dac83 1685 * coffread.c (process_coff_symbol, coff_read_struct_type)
4a146b47 1686 (coff_read_enum_type): Ditto.
8a1dac83 1687 * cp-namespace.c (initialize_namespace_symtab)
4a146b47 1688 (check_one_possible_namespace_symbol): Ditto.
8a1dac83 1689 * dwarf2read.c (new_symbol, dwarf2_const_value, macro_start_file)
4a146b47
EZ
1690 (dwarf2_symbol_mark_computed): Ditto.
1691 * dwarfread.c (enum_type, new_symbol, synthesize_typedef): Ditto.
1692 * elfread.c (elf_symtab_read): Ditto.
1693 * hpread.c (hpread_symfile_init, hpread_symfile_init)
1694 (hpread_read_enum_type, hpread_read_function_type)
1695 (hpread_read_doc_function_type, hpread_process_one_debug_symbol):
1696 Ditto.
8a1dac83 1697 * jv-lang.c (get_java_class_symtab, add_class_symbol)
4a146b47 1698 (java_link_class_type): Ditto.
8a1dac83 1699 * mdebugread.c (parse_symbol, psymtab_to_symtab_1, new_symtab)
4a146b47
EZ
1700 (new_symbol): Ditto.
1701 * minsyms.c (install_minimal_symbols): Ditto.
1702 * objfiles.c (allocate_objfile): Remove init of symbol_obstack.
1703 (terminate_minimal_symbol_table): Replace symbol_obstack with
1704 objfile_obstack.
1705 (free_objfile): Remove freeing of symbol_obstack.
1706 * objfiles.h: Remove symbol_obstack field.
1707 * pa64solib.c (add_to_solist): Replace symbol_obstack with
1708 objfile_obstack.
1709 * solib-sunos.c (allocate_rt_common_objfile): Remove init of
1710 symbol_obstack.
1711 (solib_add_common_symbols): Replace symbol_obstack with
1712 objfile_obstack.
1713 * somsolib.c (som_solib_add): Ditto.
1714 * stabsread.c (patch_block_stabs, define_symbol, read_enum_type)
1715 (common_block_start, common_block_end): Ditto.
1716 * symfile.c (reread_symbols): Remove freeing and init of
1717 symbol_obstack.
1718 (allocate_symtab): Rename symbol_obstack to objfile_obstack.
1719 * symfile.h: Update comment.
1720 * symmisc.c (print_objfile_statistics): Remove symbol_obstack
1721 stats printing.
1722 * symtab.c (symbol_set_names): Replace symbol_obstack with
1723 objfile_obstack.
1724 * symtab.h (struct general_symbol_info, struct minimal_symbol):
1725 Update comments.
1726 * xcoffread.c (read_xcoff_symtab, SYMBOL_DUP, SYMNAME_ALLOC)
1727 (init_stringtab, xcoff_initial_scan): Replace symbol_obstack with
1728 objfile_obstack.
1729
6d012f14
AC
17302004-02-07 Andrew Cagney <cagney@redhat.com>
1731
1732 * tui/tui.h: Do not include <stdarg.h>, <string.h>, and
1733 "ansidecl.h". Do not undef "reg" and "chtype". Fix case of
1734 fields and variables.
1735 * tui/tui-wingeneral.h (m_beVisible): Delete macro.
1736 (m_beInvisible): Delete macro.
1737 * tui/tui-data.h: Fix case case fields and variables.
1738 (m_genWinPtrIsNull): Delete macro.
1739 (tui_win_list): Rename winList.
1740 (TUI_SRC_WIN): Rename srcWin.
1741 (TUI_DISASM_WIN): Rename disassemWin.
1742 (TUI_DATA_WIN): Rename dataWin.
1743 (TUI_CMD_WIN): Rename cmdWin.
1744 (m_genWinPtrNotNull): Delete macro.
1745 (m_winPtrIsNull): Delete macro.
1746 (m_winPtrNotNull): Delete macro.
1747 (tui_win_is_source_type): Replace m_winIsSourceType
1748 (tui_win_is_auxillary): Replace m_winIsAuzillary.
1749 (tui_win_has_locator): Replace m_hasLocator.
1750 (tui_set_win_highlight): Replace m_setWinHighlightOn and
1751 m_setWinHighlightOff.
1752 * tui/tui-data.c: Update references.
1753 (tui_win_is_source_type, tui_set_win_highlight): New functions.
1754 (tui_win_has_locator, tui_win_is_auxillary): New functions.
1755 * tui/tui-command.c, tui/tui-disasm.c: Update references.
1756 * tui/tui-io.c, tui/tui-layout.c, tui/tui-regs.c: Ditto.
1757 * tui/tui-regs.h, tui/tui-source.c, tui/tui-stack.c: Ditto.
1758 * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
1759 * tui/tui-winsource.c, tui/tui.c: Ditto.
1760
7d34766b
MK
17612004-02-07 Mark Kettenis <kettenis@gnu.org>
1762
1c800673
MK
1763 * sparc-tdep.h (sparc_fetch_wcookie): New prototype.
1764 * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): Handle
1765 StackGhost.
1766
7d34766b
MK
1767 * sparc-tdep.c (sparc32_frame_prev_register): Rename local
1768 variable `i6' to `i7'.
1769 (sparc_supply_rwindow, sparc_collect_rwindow): Likewise.
1770
22940a24
AC
17712004-02-07 Andrew Cagney <cagney@redhat.com>
1772
1773 * tui/tui.h (Opaque, OpaquePtr OpaqueList): Delete definition.
1774 (TuiPoint, TuiPointPtr): Ditto.
1775 (TuiStatus, TuiStatusPtr): Ditto.
1776 (TuiWinType, TuiWinTypePtr): Ditto.
1777 (struct tui_point): Rename _TuiPoint.
1778 (tui_get_low_disassembly_address): Rename
1779 tuiGetLowDisassemblyAddress.
1780 (tui_update_all_exec_infos): Rename tuiUpdateAllExecInfos.
1781 (tuiFree): Delete declaration.
1782 (OpaqueFuncPtr, TuiOpaqueFuncPtr): Delete definitions.
1783 (TuiVoidFuncPtr, TuiIntFuncPtr): Delete definitions.
1784 * tui/tui.c (tuiFree): Delete function.
1785 * cli/cli-cmds.c (disassemble_command): Update references.
1786 * tui/tui-data.c, tui/tui-data.h, tui/tui-disasm.c: Ditto.
1787 * tui/tui-layout.c, tui/tui-regs.c, tui/tui-source.c: Ditto.
1788 * tui/tui-stack.c, tui/tui-win.c, tui/tui-wingeneral.c: Ditto.
1789 * tui/tui-winsource.c: Ditto.
1790
8b92e4d5
EZ
17912004-02-07 Elena Zannoni <ezannoni@redhat.com>
1792
1793 * dbxread.c (dbx_symfile_init, start_psymtab, end_psymtab,
1794 coffstab_build_psymtabs, elfstab_build_psymtabs)
1795 (stabsect_build_psymtabs): Replace psymbol_obstack with
1796 objfile_obstack.
1797 * dwarf2-frame.c (decode_frame_entry_1): Ditto.
1798 * dwarf2read.c (dwarf2_build_psymtabs_hard, dwarf2_read_section):
1799 Ditto.
1800 * dwarfread.c (scan_compilation_units): Ditto.
1801 * elfread.c (elfstab_offset_sections): Ditto.
1802 * hppa-tdep.c (read_unwind_info): Ditto.
1803 * hpread.c (hpread_build_psymtabs, hpread_start_psymtab)
1804 (hpread_end_psymtab): Ditto.
1805 * mdebugread.c (mdebug_build_psymtabs, add_pending)
1806 (parse_partial_symbols, new_psymtab, elfmdebug_build_psymtabs):
1807 Ditto.
1808 * mips-tdep.c (non_heuristic_proc_desc): Ditto.
8a1dac83 1809 * objfiles.c (add_to_objfile_sections)
8b92e4d5
EZ
1810 (build_objfile_section_table): Ditto.
1811 (allocate_objfile): Remove init of psymbol_obstack.
1812 (free_objfile): Remove freeing of psymbol_obstack.
1813 * objfiles.h (struct objfile): Remove field
1814 psymbol_obstack. Update comments.
1815 * pa64solib.c (pa64_solib_add_solib_objfile): Replace
1816 psymbol_obstack with objfile_obstack.
1817 * solib-sunos.c (allocate_rt_common_objfile): Remove init of
1818 psymbol_obstack.
1819 * somread.c (som_symfile_offsets, init_import_symbols)
1820 (init_export_symbols): Replace psymbol_obstack with
1821 objfile_obstack.
1822 * somsolib.c (som_solib_add_solib_objfile): Ditto.
1823 * symfile.c (default_symfile_offsets, syms_from_objfile)
1824 (reread_symbols): Remove freeing and init of psymbol_obstack.
1825 (cashier_psymtab): Update comment.
1826 * symmisc.c (print_objfile_statistics): Don't report stats for
1827 psymbol obstack.
1828 * symtab.h (struct general_symbol_info, struct partial_symtab):
1829 Update comments.
1830 * xcoffread.c (xcoff_start_psymtab, xcoff_end_psymtab, swap_sym)
1831 (xcoff_symfile_offsets): Replace psymbol_obstack with
1832 objfile_obstack.
1833
b99607ea
EZ
18342004-02-07 Elena Zannoni <ezannoni@redhat.com>
1835
1836 * objfiles.h (struct objfile): Add objfile_obstack field.
1837 Remove type_obstack field.
1838
1839 * dwarf2read.c (dwarf2_add_field,dwarf2_add_member_fn,
1840 read_structure_scope read_enumeration, new_symbol): Replace
1841 type_obstack with objfile_obstack.
1842 * dwarfread.c (struct_type, enum_type): Ditto.
8a1dac83 1843 * gdbtypes.c (alloc_type, alloc_type_instance, init_type)
b99607ea
EZ
1844 (lookup_fundamental_type): Ditto.
1845 * gdbtypes.h (TYPE_ALLOC): Ditto.
8a1dac83
RM
1846 * hpread.c (hpread_read_enum_type, hpread_read_function_type)
1847 (hpread_read_doc_function_type, hpread_read_struct_type)
1848 (fix_static_member_physnames, hpread_read_array_type)
b99607ea 1849 (hpread_read_subrange_type, hpread_type_lookup): Ditto.
8a1dac83 1850 * jv-lang.c (java_lookup_class, type_from_class, type_from_class)
b99607ea
EZ
1851 (java_link_class_type): Ditto.
1852 * mdebugread.c (parse_type): Ditto.
1853 * objfiles.c (allocate_objfile, free_objfile): Ditto.
1854 * solib-sunos.c (solib_add_common_symbols): Ditto.
1855 * stabsread.c (define_symbol, read_type, read_member_functions,
1856 read_cpp_abbrev, read_one_struct_field): Ditto.
1857 * symfile.c (reread_symbols): Ditto.
1858 * symmisc.c (print_objfile_statistics): Ditto.
8a1dac83 1859
2a8854a7
AC
18602004-02-07 Andrew Cagney <cagney@redhat.com>
1861
1862 * tui/tui-data.h (tui_win_element): Rename TuiWinElement.
1863 (tui_exec_info_content): Rename TuiExecInfoContent.
1864 (TuiGenWinInfo, TuiGenWinInfoPtr): Delete definitions.
1865 (TuiWinInfo, TuiWinInfoPtr): Ditto.
1866 (TuiScrollDirection, TuiScrollDirectionPtr): Ditto.
1867 (TuiList, TuiListPtr): Ditto.
1868 (TuiLayoutType, TuiLayoutTypePtr): Ditto.
1869 (TuiDataType, TuiDataTypePtr): Ditto.
1870 (TuiRegisterDisplayType, TuiRegisterDisplayTypePtr): Ditto.
1871 (TuiLineOrAddress, TuiLineOrAddressPtr): Ditto.
1872 (TuiLayoutDef, TuiLayoutDefPtr): Ditto.
1873 (TuiSourceElement, TuiSourceElementPtr): Ditto.
1874 (TuiDataElement, TuiDataElementPtr): Ditto.
1875 (TuiWinElement, TuiWinElementPtr): Ditto.
1876 (TuiDataInfo, TuiDataInfoPtr): Ditto.
1877 (TuiCommandElement, TuiCommandElementPtr): Ditto.
1878 (TuiLocatorElement, TuiLocatorElementPtr): Ditto.
1879 (TuiWhichElement, TuiWhichElementPtr): Ditto.
1880 (TuiSourceInfo, TuiSourceInfoPtr): Ditto.
1881 (TuiCommandInfo, TuiCommandInfoPtr): Ditto.
1882 * tui/tui-command.c, tui/tui-data.c: Update references.
1883 * tui/tui-data.h, tui/tui-disasm.c, tui/tui-layout.c: Ditto.
1884 * tui/tui-regs.c, tui/tui-source.c, tui/tui-stack.c: Ditto.
1885 * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
1886 * tui/tui-winsource.c, tui/tui.c: Ditto.
8a1dac83 1887
05cbe71a
MK
18882004-02-07 Mark Kettenis <kettenis@gnu.org>
1889
1890 * dwarf2-frame.h: Update copyright.
1891 (enum dwarf2_frame_reg_rule): New.
1892 (struct dwarf2_frame_state_reg): New.
1893 (dwarf2_frame_sniffer, dwarf2_frame_base_sniffer): Make extern.
1894 * dwarf2-frame.c: Update copyright.
1895 (enum dwarf2_reg_rule): Remove.
1896 (struct dwarf2_frame_state): Remove defenition of `struct
1897 dwarf2_frame_state_reg'.
1898 (read_reg): Call get_frame_arch to get the architecture instead of
1899 using CURRENT_GDBARCH.
1900 (execute_cfa_program): Prefix old `enum dwarf2_reg_rule' tags with
1901 DWARF2_FRAME_.
1902 (dwarf2_frame_init_reg): New function.
1903 (dwarf2_frame_cache): Call get_frame_arch to get the architecture
1904 instead of using CURRENT_GDBARCH. Call dwarf2_frame_init_reg to
1905 initialize the register state. Prefix old `enum dwarf2_reg_rule'
1906 tags with DWARF2_FRAME_.
1907 (dwarf2_frame_prev_register): Call get_frame_arch to get the
1908 architecture instead of using CURRENT_GDBARCH. Prefix old `enum
1909 dwarf2_reg_rule' tags with DWARF2_FRAME_.
1910
ec7d9e56
AC
19112004-02-06 Andrew Cagney <cagney@redhat.com>
1912
dd1abb8c
AC
1913 * tui/tui-data.h (struct tui_list): Rename _TuiList.
1914 (enum tui_data_type): Rename _TuiDataType.
1915 (struct tui_layout_def): Rename _TuiLayoutDef.
1916 (struct tui_source_element): Rename _TuiSourceElement.
1917 (struct tui_data_element): Rename _TuiDataElement.
1918 (struct tui_command_element): Rename _TuiCommandElement.
1919 (struct tui_locator_element): Rename _TuiLocatorElement.
1920 (union tui_which_element): Define.
1921 (struct tui_win_element): Rename _TuiWinElement.
1922 (struct tui_data_info): Rename _TuiDataInfo.
1923 (struct tui_source_info): Rename _TuiSourceInfo.
1924 (struct tui_command_info): Rename _TuiCommandInfo.
1925 (tui_initialize_static_data): Rename initializeStaticData.
1926 (tui_alloc_generic_win_info): Rename allocGenericWinInfo.
1927 (tui_alloc_win_info): Rename allocWinInfo.
1928 (tui_init_generic_part): Rename initGenericPart.
1929 (tui_init_win_info): Rename initWinInfo.
1930 (tui_alloc_content): Rename allocContent.
1931 (tui_add_content_elements): Rename addContentElements.
1932 (tui_init_content_element): Rename initContentElement.
1933 (tui_free_window): Rename freeWindow.
1934 (tui_free_win_content): Rename freeWinContent.
1935 (tui_free_data_content): Rename freeDataContent.
1936 (tui_free_all_source_wins_content): Rename
1937 freeAllSourceWinsContent.
1938 (tui_del_window): Rename tuiDelWindow.
1939 (tui_del_data_windows): Rename tuiDelDataWindows.
1940 (tui_partial_win_by_name): Rename partialWinByName.
1941 (tui_win_name): Rename winName.
1942 (tui_current_layout): Rename currentLayout.
1943 (tui_set_current_layout_to): Rename setCurrentLayoutTo.
1944 (tui_term_height): Rename termHeight.
1945 (tui_set_term_height_to): Rename setTermHeightTo.
1946 (tui_term_width): Rename termWidth.
1947 (tui_set_term_width_to): Rename setTermWidthTo.
1948 (tui_set_gen_win_origin): Rename setGenWinOrigin.
1949 (tui_locator_win_info_ptr): Rename locatorWinInfoPtr.
1950 (tui_source_exec_info_win_ptr): Rename tui_gen_win_info.
1951 (tui_disassem_exec_info_win_ptr): Rename disassemExecInfoWinPtr.
1952 (tui_source_windows): Rename sourceWindows.
1953 (tui_clear_source_windows): Rename clearSourceWindows.
1954 (tui_clear_source_windows_detail): Rename
1955 clearSourceWindowsDetail.
1956 (tui_clear_win_detail): Rename clearWinDetail.
1957 (tui_add_to_source_windows): Rename tuiAddToSourceWindows.
1958 (tui_default_tab_len): Rename tuiDefaultTabLen.
1959 (tui_set_default_tab_len): Rename tuiSetDefaultTabLen.
1960 (tui_win_with_focus): Rename tuiWinWithFocus.
1961 (tui_set_win_with_focus): Rename tuiSetWinWithFocus.
1962 (tui_layout_def): Rename tuiLayoutDef.
1963 (tui_win_resized): Rename tuiWinResized.
1964 (tui_set_win_resized_to): Rename tuiSetWinResizedTo.
1965 (tui_next_win): Rename tuiNextWin.
1966 (tui_prev_win): Rename tuiPrevWin.
1967 (tui_add_to_source_windows): Rename addToSourceWindows.
1968 * tui/tui-winsource.c, tui/tui-win.c: Update references.
1969 * tui/tui-layout.c, tui/tui-source.c: Ditto.
1970 * tui/tui-stack.c, tui/tui-io.c: Ditto.
1971 * tui/tui.c, tui/tui-data.c: Ditto.
1972 * tui/tui-interp.c, tui/tui-data.c: Ditto.
1973 * tui/tui-disasm.c, tui/tui-command.c: Ditto.
1974
a358af15
AC
1975 * tui/tui-source.h: Update copyright. Include "tui-data.h".
1976 (struct symtab): Declare.
1977 (tui_set_source_content): Rename tuiSetSourceContent.
1978 (tui_show_symtab_source): Rename tuiShowSource.
1979 (tui_source_is_displayed): Rename tuiSourceIsDisplayed.
1980 (tui_vertical_source_scroll): Rename tuiVerticalSourceScroll.
1981 * tui/tui-source.c: Update copyright. Update references.
1982 * tui/tui-win.c, tui/tui-winsource.c: Update references.
1983 * tui/tui-stack.c: Update references.
1984
a21fcd8f
AC
1985 * tui/tui-win.h: Update copyright. Include "tui-data.h".
1986 (struct tui_win_info): Declare.
1987 (tui_scroll_forward): Rename tuiScrollForward.
1988 (tui_scroll_backward): Rename tuiScrollBackward.
1989 (tui_scroll_left): Rename tuiScrollLeft.
1990 (tui_scroll_right): Rename tuiScrollRight.
1991 (tui_set_win_focus_to): Rename tuiSetWinFocusTo.
1992 (tui_resize_all): Rename tuiResizeAll.
1993 (tui_refresh_all_win): Rename tuiRefreshAll.
1994 (tui_sigwinch_handler): Rename tuiSigwinchHandler.
1995 * tui/tui-layout.c, * tui/tui-io.c: Update references.
1996 * tui/tui-wingeneral.h, * tui/tui.c: Update references.
1997 * tui/tui-disasm.c, * tui/tui-command.c: Update references.
1998
edae1ccf
AC
1999 * tui/tui-windata.h: Update copyright. Include "tui-data.h".
2000 (tui_erase_data_content): Rename tuiEraseDataContent.
2001 (tui_display_all_data): Rename tuiDisplayAllData.
2002 (tui_check_data_values): Rename tuiCheckDataValues.
2003 (tui_display_data_from_line): Rename tuiDisplayDataFromLine.
2004 (tui_first_data_item_displayed): Rename tuiFirstDataItemDisplayed.
2005 (tui_first_data_element_no_in_line): Rename
2006 tuiFirstDataElementNoInLine.
2007 (tui_delete_data_content_windows): Rename
2008 tuiDeleteDataContentWindows.
2009 (tui_refresh_data_win): Rename tuiRefreshDataWin.
2010 (tui_display_data_from): Rename tuiDisplayDataFrom.
2011 (tui_vertical_data_scroll): Rename tuiVerticalDataScroll.
2012 * tui/tui-windata.c, tui/tui-hooks.c: Update references.
2013 * tui/tui-win.c, tui/tui-regs.c: Update references.
2014 * tui/tui-layout.c, tui/tui.c: Update references.
2015
ec7d9e56
AC
2016 * tui/tui-wingeneral.h: Update copyright.
2017 (m_allBeVisible): Delete macro.
8a1dac83 2018 (m_allBeInvisible): Delete macro.
ec7d9e56
AC
2019 (struct tui_gen_win_info): Declare.
2020 (struct tui_win_info): Declare.
2021 (tui_unhighlight_win): Rename unhighlightWin.
2022 (tui_make_visible, tui_make_invisible): Replace makeVisible.
2023 (tui_make_all_visible, tui_make_all_invisible): Replace makeAllVisible.
2024 (tui_make_window): Rename makeWindow.
2025 (tui_copy_win): Rename copyWin.
2026 (tui_box_win): Rename boxWin.
2027 (tui_highlight_win): Rename highlightWin.
2028 (tui_check_and_display_highlight_if_needed): Rename
2029 checkAndDisplayHighlightIfNeeded.
2030 (tui_refresh_all): Rename refreshAll.
2031 (tui_delete_win): Rename tuiDelwin.
2032 (tui_refresh_win): Rename tuiRefreshWin.
2033 * tui/tui-wingeneral.c (make_visible): Rename makeVisible.
2034 (tui_make_visible, tui_make_invisible): New functions.
2035 (tui_make_all_visible, tui_make_all_invisible): New functions.
2036 (make_all_visible): Rename makeAllVisible.
2037 * tui/tui-winsource.c, tui/tui-windata.c: Update references.
2038 * tui/tui-data.c, tui/tui-winsource.c: Update references.
2039 * tui/tui-windata.c, tui/tui-win.c: Update references.
2040 * tui/tui-regs.c, tui/tui-layout.c: Update references.
2041 * tui/tui-data.h (struct tui_gen_win_info): Rename _TuiGenWinInfo.
2042
1e52e2eb
MK
20432004-02-06 Mark Kettenis <kettenis@gnu.org>
2044
2045 * proc-api.c (write_with_trace): Initialize local variable to
2046 silence compiler warning.
2047
f80bda8e
AC
20482004-02-06 Andrew Cagney <cagney@redhat.com>
2049
2050 * tui/tui-source.h: Do not include "defs.h".
2051 (struct tui_win_info): Declare.
2052 (tui_set_source_content_nil): Declare.
2053 * tui/tui-data.h (struct tui_win_info): Rename _TuiWinInfo.
2054 (union tui_line_or_address): Rename _TuiLineOrAddress.
2055 * tui/tui-winsource.h: Update copyright. Include "tui-data.h".
2056 (tui_update_source_window): Rename tuiUpdateSourceWindow.
2057 (tui_update_source_window_as_is): Rename
2058 tuiUpdateSourceWindowAsIs.
2059 (tui_update_source_windows_with_addr): Rename
2060 tuiUpdateSourceWindowsWithAddr.
2061 (tui_update_source_windows_with_line): Rename
2062 tuiUpdateSourceWindowsWithLine.
2063 (tui_clear_source_content): Rename tuiClearSourceContent.
2064 (tui_erase_source_content): Rename tuiEraseSourceContent.
2065 (tui_set_source_content_nil): Rename tuiSetSourceContentNil.
2066 (tui_show_source_content): Rename tuiShowSourceContent.
2067 (tui_horizontal_source_scroll): Rename tuiHorizontalSourceScroll.
2068 (tui_set_exec_info_content): Rename tuiSetExecInfoContent.
2069 (tui_show_exec_info_content): Rename tuiShowExecInfoContent.
2070 (tui_erase_exec_info_content): Rename tuiEraseExecInfoContent.
2071 (tui_clear_exec_info_content): Rename tuiClearExecInfoContent.
2072 (tui_update_exec_info): Rename tuiUpdateExecInfo.
2073 (tui_set_is_exec_point_at): Rename tuiSetIsExecPointAt.
2074 (tui_alloc_source_buffer): Rename tuiAllocSourceBuffer.
2075 (tui_line_is_displayed): Rename tuiLineIsDisplayed.
2076 (tui_addr_is_displayed): Rename tuiAddrIsDisplayed.
2077 (struct tui_win_info): Declare.
2078 * tui/tui-stack.c: Update references.
2079 * tui/tui-layout.c, tui/tui-winsource.c: Ditto.
2080 * tui/tui-win.c, tui/tui-source.c: Ditto.
2081 * tui/tui.c, tui/tui-disasm.c: Ditto.
2082
9fbfb822
MK
20832004-02-06 Mark Kettenis <kettenis@gnu.org>
2084
2085 * i386-linux-tdep.c (i386_linux_sigcontext_addr): Fix calculation
2086 of UCONTEXT_ADDR. Fixes PR backtrace/1545.
2087
03cebad2
MK
20882004-02-05 Mark Kettenis <kettenis@gnu.org>
2089
2090 * infrun.c (handle_inferior_event): Allow for breakpoint
2091 instructions to generate a SIGSEGV in addition to SIGTRAP, SIGILL
2092 and SIGEMT. Update comments.
2093 * NEWS (Revised SPARC target): Mention support for non-executable
2094 stack.
2095
290281b1
MK
20962004-02-04 Mark Kettenis <kettenis@gnu.org>
2097
2098 * target.h (target_object): Add TARGET_OBJECT_WCOOKIE.
2099 * inftarg.c: Update copyright year.
2100 (child_xfer_partial): Add support for TARGET_OBJECT_WCOOKIE.
2101 * sparc-nat.c: Include "target.h" and "gdb_assert.h".
2102 (sparc_xfer_wcookie): New function.
2103 * sparc-tdep.c (sparc_fetch_wcookie): New function.
2104 * Makefile.in (sparc-nat.o): Update dependencies.
2105 * config/sparc/nm-nbsd.h: Include "target.h".
2106 (NATIVE_XFER_WCOOKIE): New define.
2107 (sparc_xfer_wcookie): New prototype.
2108
212161df
AC
21092004-02-04 Andrew Cagney <cagney@redhat.com>
2110
2111 * m68k-tdep.c (m68k_saved_pc_after_call): Delete #ifdef
2112 SYSCALL_TRAP function.
2113 (m68k_gdbarch_init): Delete #ifdef SYSCALL_TRAP code.
2114
6e4c6c91
DJ
21152004-02-04 Andrew Cagney <cagney@redhat.com>
2116 Daniel Jacobowitz <drow@mvista.com>
2117
2118 * objfiles.h: Delete comments refering to inside_entry_func and
2119 DEPRECATED_FRAME_CHAIN_VALID.
2120 * defs.h (inside_entry_func): Update prototype..
2121 * blockframe.c (inside_entry_func): Rename to
2122 legacy_inside_entry_func. Add new inside_entry_func taking a frame.
2123 * frame.c (get_prev_frame): Pass the frame to inside_entry_func.
2124
cae688ec
JJ
21252004-02-03 Jeff Johnston <jjohnstn@redhat.com>
2126
2127 * breakpoint.c (struct captured_parse_breakpoint_args): Move
2128 outside of #ifdef SOLIB_ADD region.
2129 (do_restore_lang_radix_cleanup): Ditto.
2130 (resolve_pending_breakpoint): Ditto.
2131
19217676
AC
21322004-02-03 Andrew Cagney <cagney@redhat.com>
2133
2134 * ia64-tdep.c (read_sigcontext_register): Delete unused function.
2135 (process_note_abi_tag_sections): Delete unused function.
2136 (ia64_read_fp): Delete unused function.
2137 (gdbarch_extract_struct_value_address): Delete declaration.
2138
876753be
AC
21392004-02-02 Andrew Cagney <cagney@redhat.com>
2140
2141 * vax-tdep.c (vax_frame_chain): Delete call to
2142 deprecated_inside_entry_file.
2143 * ns32k-tdep.c (ns32k_frame_chain): Ditto.
2144
d4f10bf2
MK
21452004-02-02 Mark Kettenis <kettenis@gnu.org>
2146
2147 * dwarf2-frame.c (dwarf2_frame_cache): Deal with a return address
2148 column that's "empty" or "same value" when eliminating REG_RA
2149 rules.
2150
cae688ec
JJ
21512004-02-02 Jeff Johnston <jjohnstn@redhat.com>
2152
2153 * NEWS: Add information about new pending breakpoint support.
2154
0101ce28
JJ
21552004-02-02 Jeff Johnston <jjohnstn@redhat.com>
2156
2157 * breakpoint.h (struct breakpoint): Add new flag, from_tty,
2158 and pending fields for pending breakpoint support.
2159 * breakpoint.c (breakpoint_enabled): Add check for not pending.
2160 (condition_command): Only parse condition if not a pending
2161 breakpoint.
2162 (print_one_breakpoint): Add support for pending breakpoints.
2163 (describe_other_breakpoints): Add checks to verify we are not
2164 dealing with pending breakpoints.
2165 (check_duplicates): Don't check pending breakpoints.
2166 (set_raw_breakpoint): Initialize pending flag.
2167 (do_restore_lang_radix_cleanup): New cleanup routine.
2168 (resolve_pending_breakpoint): New function.
2169 (re_enable_breakpoints_in_shlibs): Try and resolve any
2170 pending breakpoints via resolve_pending_breakpoint.
2171 (mention): Add pending breakpoint support.
2172 (parse_breakpoint_sals): Add new parameter to pass to
2173 decode_line_1 to indicate silent errors when files or functions
2174 are not found. Change all callers.
2175 (do_captured_parse_breakpoint): New function.
2176 (break_command_1): Change prototype to return an rc value and to
2177 take an optional pending breakpoint pointer. Support creating
2178 a pending breakpoint if a "not found" form of error occurs when
2179 parsing the breakpoint. Also support resolving an existing pending
2180 breakpoint and be silent if the resolution fails.
2181 (create_breakpoints): Change prototype to take pending breakpoint
2182 pointer. When resolving a pending breakpoint, use the new pointer
2183 to provide a conditional or commands added by the end-user.
2184 (delete_breakpoint): Add appropriate check for pending.
2185 (breakpoint_re_set_one): Ditto.
2186 (do_enable_breakpoint): Ditto.
2187
8d577d32
DC
21882004-02-02 David Carlton <carlton@kealia.com>
2189
2190 * valops.c (enum oload_classification): New.
2191 (find_overload_match): Break implementation into separate
2192 functions; delete #if 0'd code; look for symbols within
2193 namespaces.
2194 (find_oload_champ_namespace,find_oload_champ_namespace_loop)
2195 (find_oload_champ,oload_method_static,classify_oload_match): New.
2196 * cp-support.h: Add declaration for cp_func_name; update
2197 declaration for make_symbol_overload_list.
2198 * cp-support.c (cp_func_name): New.
2199 (overload_list_add_symbol): Fix comment, use
2200 SYMBOL_LINKAGE_NAME and SYMBOL_NATURAL_NAME.
2201 (make_symbol_overload_list): Take a function name and a namespace
2202 instead of a symbol; change implementation.
2203 (make_symbol_overload_list_using): New.
2204 (make_symbol_overload_list_qualified, read_in_psymtabs): New.
2205
22e8e3c7
FF
22062004-02-02 Fred Fish <fnf@redhat.com>
2207
2208 * main.c (gdb_stdtarg): Move definition to group with other
15390fef 2209 gdb_stdtarg definitions and update copyright years.
22e8e3c7
FF
2210 * remote-sim.c (gdb_os_write_stderr): Write output to
2211 gdb_stdtargerr stream instead of gdb_stdtarg stream.
2212 (gdb_os_flush_stderr): Flush gdb_stdtargerr steam instead of
15390fef 2213 gdb_stderr stream and update copyright years.
22e8e3c7 2214
6b753f60
DJ
22152004-02-01 Daniel Jacobowitz <drow@mvista.com>
2216
2217 * Makefile.in (mips-linux-nat.o): Update dependencies.
2218 * mips-linux-nat.c: Include mips-tdep.h.
2219
22202004-02-01 Roland McGrath <roland@redhat.com>
2cb6b099
RM
2221
2222 * sol-thread.c (sol_thread_xfer_partial): New function.
2223 (init_sol_thread_ops): Use that for to_xfer_partial hook.
2224 (init_sol_core_ops): Likewise.
2225
2226 * procfs.c (procfs_xfer_partial): New function.
2227 (init_procfs_ops): Use that for procfs_ops.to_xfer_partial.
2228 * Makefile.in (procfs.o): Add $(auxv_h) dep.
2229
2230 * config/nm-linux.h (NATIVE_XFER_AUXV): New macro, uses auxv.c's
2231 procfs_xfer_auxv function.
2232
2233 * procfs.c (procfs_make_note_section): If we can read
2234 TARGET_OBJECT_AUXV data, add an NT_AUXV note containing it.
2235 * linux-proc.c (linux_make_note_section): Likewise.
2236
2237 * auxv.h: New file.
2238 * auxv.c: New file.
2239 * Makefile.in (auxv_h): New variable.
2240 (COMMON_OBS): Add auxv.o here.
2241 (auxv.o): New target.
2242
2243 * corelow.c (core_xfer_partial): New function.
2244 (init_core_ops): Use it for core_ops.to_xfer_partial.
2245
2246 * target.h (enum target_object): Add TARGET_OBJECT_AUXV.
2247 * inftarg.c (child_xfer_partial): Support it using NATIVE_XFER_AUXV
2248 macro if that is defined.
2249
fa5281d0
DJ
22502004-02-01 Daniel Jacobowitz <drow@mvista.com>
2251
2252 * breakpoint.c (bpstat_stop_status): Take a ptid_t argument,
2253 and check the specified thread for each breakpoint.
2254 * breakpoint.h (bpstat_stop_status): Update prototype.
2255 * infrun.c (handle_inferior_event): Update calls to
2256 bpstat_stop_status.
2257
26ee262d
DJ
22582004-02-01 Daniel Jacobowitz <drow@mvista.com>
2259
2260 * Makefile.in (cli-cmds.o): Add $(readline_h).
2261
d9b52655
DJ
22622004-02-01 Daniel Jacobowitz <drow@mvista.com>
2263
2264 * cli/cli-cmds.c: Include readline.h.
2265 (complete_command): Pass the start of the last word to
2266 complete_line.
2267
9709f61c
DJ
22682004-01-31 Daniel Jacobowitz <drow@mvista.com>
2269
2270 * breakpoint.c (bpstat_stop_status): Remove not_a_sw_breakpoint
2271 argument, and change first argument to a CORE_ADDR.
2272 * breakpoint.h (bpstat_stop_status): Update prototype.
2273 * infrun.c (adjust_pc_after_break): Add a new comment.
2274 (handle_inferior_event): Update calls to bpstat_stop_status.
2275
4f1280bb
DJ
22762004-01-31 Daniel Jacobowitz <drow@mvista.com>
2277
2278 * breakpoint.h: Update copyright years.
2279
4fa8626c
DJ
22802004-01-31 Daniel Jacobowitz <drow@mvista.com>
2281
2282 * breakpoint.c (software_breakpoint_inserted_here_p): New function.
2283 (bpstat_stop_status): Don't decrement PC.
2284 * breakpoint.h (software_breakpoint_inserted_here_p): Add
2285 prototype.
2286 * infrun.c (adjust_pc_after_break): New function.
2287 (handle_inferior_event): Call it, early. Remove later references
2288 to DECR_PC_AFTER_BREAK.
2289 (normal_stop): Add commentary.
2290
fad0733a
DJ
22912004-01-31 Daniel Jacobowitz <drow@mvista.com>
2292
2293 * breakpoint.c (breakpoint_re_set_one): Add missing chunk of
2294 2004-01-27 double-free fix.
2295
42cdca6c
MK
22962004-01-31 Mark Kettenis <kettenis@gnu.org>
2297
2298 * sparc-tdep.c (sparc_fetch_wcookie): New function.
2299 (sparc32_frame_prev_register): Handle StackGhost.
2300 (sparc_supply_rwindow, sparc_collect_rwindow): Likewise.
2301
932d5416
RM
23022004-01-29 Roland McGrath <roland@redhat.com>
2303
2304 * configure.in (NEW_PROC_API): Also match solaris2.9 for this test.
2305 * configure: Regenerated.
2306
2307 * procfs.c: Include gdb_string.h for str* decls, otherwise warnings.
2308 * Makefile.in (procfs.o): Add dep.
2309
47d3492a
AC
23102004-01-28 Andrew Cagney <cagney@redhat.com>
2311
2312 * tui/tui-stack.h: Update copyright.
2313 (struct frame_info): Add opaque declaration.
2314 (tui_update_locator_filename): Rename tuiUpdateLocatorFilename.
2315 (tui_show_locator_content): Rename tuiShowLocatorContent.
2316 (tui_show_frame_info): Rename tuiShowFrameInfo.
2317 * tui/tui-stack.c: Update copyright. Update references.
2318 * tui/tui-winsource.c: Update references.
2319 * tui/tui-win.c: Update references.
2320 * tui/tui-layout.c: Update references.
2321 * tui/tui-hooks.c: Update copyright, update references.
2322 * tui/tui.c: Update copyright, update references.
2323 * tui/tui-disasm.c: Update references.
2324
5d51ca54
DC
23252004-01-28 David Carlton <carlton@kealia.com>
2326
2327 * dwarf2read.c (add_partial_structure): Use demangled name if
2328 namespace equals "".
2329
086ed43d
JB
23302004-01-27 Jim Blandy <jimb@redhat.com>
2331
2332 Clean up misapplied patch:
2333 * dwarf2read.c (determine_prefix): Change one of the two forward
2334 declarations for 'determine_prefix_aux' to a declaration for this.
2335 (read_func_scope): Use cu->language, not cu_language. Pass 'cu'
2336 argument to 'die_specification'.
2337
2a35147e
JB
2338 * dwarf2read.c (read_func_scope): Re-indent comment.
2339
a355c7de 23402004-01-27 Paul N. Hilfinger <hilfinger@gnat.com>
932d5416 2341
a355c7de
AC
2342 * breakpoint.c (breakpoint_re_set_one): Set b->cond, b->val, and
2343 b->exp to NULL after freeing so that error during re-parsing or
2344 evaluation of expressions associated with breakpoint don't
2345 eventually lead to re-freeing of storage.
2346 Committed by Andrew Cagney.
2347
63ff5125
AC
23482004-01-27 Andrew Cagney <cagney@redhat.com>
2349
2350 * source.c (ambiguous_line_spec): Delete undefined declaration.
2351 * m32r-rom.c (m32r_set_board_address): Delete unused function.
2352 (m32r_set_server_address, m32r_set_download_path): Ditto.
2353 * remote-fileio.c (remote_fileio_to_fio_int): Ditto.
2354
e142c38c
DJ
23552004-01-27 Daniel Jacobowitz <drow@mvista.com>
2356
2357 * dwarf2read.c: Update calls to changed and renamed functions, and
2358 references to moved variables.
2359
2360 (struct dwarf2_cu): Add first_fn, last_fn, cached_fn,
2361 language, language_defn, list_in_scope, and ftypes members.
2362 (cu_first_fn, cu_last_fn, cu_cached_fn, cu_language)
2363 (cu_language_defn, list_in_scope, ftypes, cu_header_offset)
2364 (baseaddr): Remove globals.
2365
2366 (dwarf_attr): Renamed to dwarf2_attr. Add CU argument.
2367 (set_cu_language, die_is_declaration, die_specification)
2368 (determine_prefix, determin_prefix_aux, class_name, namespace_name)
2369 (dwarf2_linkage_name, dwarf2_name, dwarf2_extension)
2370 (dwarf2_get_ref_die_offset, dwarf2_fundamental_type)
2371 (initialize_cu_func_list, add_to_cu_func_list): Add CU argument.
2372
2373 (dwarf2_build_psymtabs_hard): Add local baseaddr. Initialize
2374 cu.list_in_scope. Don't initialize cu_header_offset.
2375 (add_partial_symbol): Add local baseaddr.
2376 (psymtab_to_symtab_1): Add local baseaddr. Use
2377 objfile->section_offsets for consistency. Don't initialize
2378 cu_header_offset; do initialize cu.header.offset and
2379 cu.list_in_scope.
2380 (read_file_scope, read_func_scope, read_lexical_block_scope)
2381 (dwarf_decode_lines, new_symbol): Add local baseaddr.
2382
c6e06ede
MC
23832004-01-27 Michael Chastain <mec.gnu@mindspring.com>
2384
fb328ecc 2385 * PROBLEMS: Add gdb/1516.
c6e06ede 2386
48184fd4
AC
23872003-12-29 Robert Millan <robertmh@gnu.org>
2388
2389 Patch committed by Andrw Cagney.
2390 * configure.host: Match knetbsd*-gnu and kfreebsd*-gnu.
2391 * configure.tgt: Match knetbsd*-gnu.
2392
c1321b30
AC
23932004-01-26 Andrew Cagney <cagney@redhat.com>
2394
f3699be3
AC
2395 * breakpoint.c (catch_command_1): Delete #ifdef code.
2396 (catch_fork_command_1): Delete #ifdef wrapper.
2397 (catch_exec_command_1): Ditto.
2398 (catch_load_command_1): Ditto.
2399 (catch_unload_command_1): Ditto.
2400
c1321b30
AC
2401 * breakpoint.c (watchpoint_check): Delete #if0ed variable.
2402 (catch_breakpoint): Delete #if0ed function.
2403 (disable_catch_breakpoint): Ditto.
2404 (delete_catch_breakpoint, enable_catch_breakpoint): Ditto.
2405 (disable_catch, enable_catch, delete_catch): Ditto.
2406
b4501125
AC
24072004-01-26 Andrew Cagney <cagney@redhat.com>
2408
2409 * remote.c (echo_check, quit_flag): Delete variables.
2410 (cisco_kernel_mode): Delete variable.
2411 (minitelnet_return, tty_input, escape_count): Delete variables.
2412 (remote_cisco_mode): Delete variable.
2413 (remote_cisco_open, remote_cisco_close): Delete function.
2414 (remote_cisco_mourn, remote_cisco_wait): Delete function.
2415 (init_remote_cisco_ops): Delete function.
2416 (_initialize_remote): Do not install "remote cisco" code.
2417 (read_frame): Delete cisco specific code.
2418 (remote_info_process): Delete function.
2419 (remote_wait): Delete cisco specific code.
2420 (remote_cisco_section_offsets): Delete function.
2421 (remote_cisco_objfile_relocate): Delete function.
2422 (remote_async_wait): Delete cisco specific code.
2423 (minitelnet, readtty, readsocket): Delete function.
2424
74055713
AC
24252004-01-26 Andrew Cagney <cagney@redhat.com>
2426
2427 * gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS): Deprecate. Add
2428 comments mentioning extract_returned_value_address.
2429 * infcmd.c (print_return_value): Update. Add comments on
2430 extract_returned_value_address.
2431 * stack.c (return_command): Add comments on
2432 extract_returned_value_address.
2433 * values.c: Update comment.
2434 * m32r-tdep.c: Update comment.
2435 * sparc-tdep.c: Update comment.
2436 * ia64-tdep.c (ia64_use_struct_convention): Update comment.
2437 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
2438 * sh64-tdep.c (sh64_gdbarch_init): Update.
2439 * sh-tdep.c (sh_gdbarch_init): Update.
2440 * s390-tdep.c (s390_gdbarch_init): Update.
2441 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
2442 * m68klinux-tdep.c (m68k_linux_init_abi): Update.
2443 * m68k-tdep.c (m68k_gdbarch_init): Update.
2444 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
2445 * m32r-tdep.c (m32r_gdbarch_init): Update.
2446 * ia64-tdep.c (ia64_gdbarch_init): Update.
2447 * h8300-tdep.c (h8300_gdbarch_init): Update.
2448 * frv-tdep.c (frv_gdbarch_init): Update.
2449 * arm-tdep.c (arm_gdbarch_init): Update.
2450 * alpha-tdep.c (alpha_gdbarch_init): Update.
2451
a67af2b9
AC
24522004-01-26 Andrew Cagney <cagney@redhat.com>
2453
2454 * dwarf2loc.c (dwarf_expr_frame_base): Use SYMBOL_OPS instead of
2455 SYMBOL_LOCATION_FUNCS
2456 (dwarf2_loclist_funcs, dwarf2_locexpr_funcs): Change type to
2457 "struct symbol_ops".
2458 * dwarf2loc.h (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Change
2459 type to "struct symbol_ops".
2460 * symtab.h (struct symbol_ops): Rename "struct location_funcs".
2461 (struct symbol): Replace ".aux_value.loc.funcs" and
2462 ".aux_value.loc.baton" with ".ops" and ".aux_value.ptr".
2463 (SYMBOL_OBJFILE): Delete macro.
2464 (SYMBOL_LOCATION_FUNCS): Delete macro.
2465 (SYMBOL_LOCATION_BATON): Update.
2466 * dwarf2read.c (dwarf2_symbol_mark_computed): Set SYMBOL_OPS
2467 intead of SYMBOL_LOCATION_FUNCS.
2468 * ax-gdb.c (gen_var_ref): Ditto.
2469 * printcmd.c (address_info): Ditto.
2470 * findvar.c (read_var_value): Ditto.
2471 (symbol_read_needs_frame): Ditto.
2472
c034e007
AC
24732004-01-26 Andrew Cagney <cagney@redhat.com>
2474
2475 * dwarf2read.c (read_func_scope): Document frame-base hack.
2476
bb472c1e
MK
24772004-01-25 Mark Kettenis <kettenis@gnu.org>
2478
2479 * infcmd.c (print_return_value): Plug memory leak; delete
2480 ui_stream object. Rename argument `structure_return' to
2481 `struct_return'.
2482
c8e737d5
MK
24832004-01-25 Mark Kettenis <kettenis@gnu.org>
2484
f941662f
MK
2485 * infcmd.c (print_return_value): Wrap long lines.
2486 (finish_command_continuation, finish_command): Remove unused
2487 variable `funcaddr'. Fix some coding-standards problems.
2488
c558d81a
MK
2489 * sparc-tdep.c (sparc_regset_from_core_section): Check whether
2490 SECT_SIZE is large enough, not wheter it's exactly the right size.
2491 (sparc32_gdbarch_init): Initialize TDEP->sizeof_gregset and
2492 TDEP->fpregset to zero.
2493
bf1e5861 2494 * sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Also supply the
c8e737d5
MK
2495 floating-point registers for traditional NetBSD core files.
2496 (sparc32nbsd_init_abi): Initialize TDEP->sizeof_gregset and
2497 TDEP->sizeof_fpregset here.
2498
4c72d57a
MK
24992004-01-25 Mark Kettenis <kettenis@gnu.org>
2500
566626fa
MK
2501 * sparc-tdep.h (sparc32nbsd_sigcontext_saved_regs): New prototype.
2502 * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): New
2503 function with code split out from
2504 sparc32nbsd_sigcontext_frame_cache.
2505 (sparc32nbsd_sigcontext_frame_cache): Use
2506 sparc32nbsd_sigcontext_saved_regs.
2507 (_initialize_sparc32nbsd_tdep): Don't register OS ABI handler for
2508 OpenBSD.
2509 * sparcobsd-tdep.c: New file.
2510 * Makefile.in (ALLDEPFILES): Add sparcobsd-tdep.c.
2511 (sparcobsd-tdep.o): New dependency.
2512 * configure.tgt (sparc-*-openbsd*): Set gdb_target to obsd.
2513 * config/sparc/obsd.mt: New file.
2514
4c72d57a
MK
2515 * sparc-tdep.c (sparc32_gdbarch_init): Don't require
2516 TDEP->fpregset to be initialized to enable core file register
2517 sets.
2518
7e5e9f88
MK
25192004-01-24 Mark Kettenis <kettenis@gnu.org>
2520
f0f207fd 2521 * sparc64-tdep.h (struct frame_info, struct trad_frame_saved_reg):
1e067c66
MK
2522 Add opaque declarations.
2523 (sparc64nbsd_sigcontext_saved_regs): New prototype.
2524 * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): New
2525 function with code split out from
2526 sparc64nbsd_sigcontext_frame_cache.
2527 (sparc64nbsd_sigcontext_frame_cache): Use
2528 sparc64nbsd_sigcontext_saved_regs.
2529 (_initialize_sparc64nbsd_tdep): Don't register OS ABI handler for
2530 OpenBSD.
2531 * sparc64obsd-tdep.c: New file.
2532 * Makefile.in (ALLDEPFILES): Add sparc64obsd-tdep.c.
2533 (sparc64obsd-tdep.o): New dependency.
2534 * configure.tgt (sparc64-*-openbsd*): Set gdb_target to obsd64 and
2535 gdb_osabi to GDB_OSABI_OPENBSD_ELF.
2536 * config/sparc/obsd64.mt: New file.
2537
690668cc
MK
2538 * sparc-tdep.c (sparc_fetch_instruction): Return zero if we can't
2539 read the instruction at PC.
2540
7e5e9f88
MK
2541 * sparcnbsd-tdep.c (GDB_OSABI_NETBSD_CORE): Define, based on the
2542 value of GDB_OSABI_DEFAULT.
2543 (sparcnbsd_core_osabi_sniffer): Return GDB_OSABI_NETBSD_CORE
2544 instead of GDB_OSABI_NETBSD_AOUT.
2545
68b6dce9
NR
25462004-01-24 Nick Roberts <nick@nick.uklinux.net>
2547
2548 * mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-cmds.h: Update
2549 copyright.
2550
080ce8c0
AC
25512004-01-23 Andrew Cagney <cagney@redhat.com>
2552
2553 * printcmd.c (display_command): Replace tui_set_display call with
2554 tui_set_layout_for_display_command.
2555 * tui/tui.h (enum tui_win_type): Define.
2556 (tui_set_layout): Delete declaration.
2557 (tui_set_layout_for_display_command): Rename set_tui_layout.
2558 * tui/tui-data.h (enum tui_layout_type): Define.
2559 * tui/tui-layout.h: Update copyright. Include "tui-data.h" and
2560 "tui.h".
2561 (tui_add_win_to_layout): Rename tuiAddWinToLayout.
2562 (tui_default_win_height): Rename tuiDefaultWinHeight.
2563 (tui_default_win_viewport_height): Rename
2564 tuiDefaultWinViewportHeight.
2565 (tui_set_layout): RenametuiSetLayout.
2566 * tui/tui-layout.c: Update references.
2567 * tui/tui.c: Update references.
2568 * tui/tui-disasm.c: Update references.
2569
b368761e
DC
25702004-01-23 David Carlton <carlton@kealia.com>
2571
2572 Partial workaround for PR c++/1511:
2573 * cp-namespace.c: Include frame.h.
2574 (cp_lookup_transparent_type): New
2575 (cp_lookup_transparent_type_loop): New.
2576 * cp-support.h: Declare cp_lookup_transparent_type.
2577 * symtab.c (basic_lookup_transparent_type): Renamed from
2578 lookup_transparent_type.
2579 (lookup_transparent_type): Replace old body by a call to
2580 current_language->la_lookup_transparent_type.
2581 * symtab.h: Update copyright. Declare
2582 basic_lookup_transparent_type.
2583 * language.h: Update copyright.
2584 (struct language_defn): Add la_lookup_transparent_type.
2585 * language.c: Update copyright.
2586 (unknown_language_defn): Add basic_lookup_transparent_type.
2587 (auto_language_defn): Add basic_lookup_transparent_type.
2588 (local_language_defn): Add basic_lookup_transparent_type.
2589 * ada-lang.c: Update copyright.
2590 (ada_language_defn): Add basic_lookup_transparent_type.
2591 * c-lang.c: Update copyright.
2592 (c_language_defn): Add basic_lookup_transparent_type.
2593 (cplus_language_defn): Add basic_lookup_transparent_type.
2594 (asm_language_defn): Add basic_lookup_transparent_type.
2595 (minimal_language_defn): Add basic_lookup_transparent_type.
2596 * f-lang.c: Update copyright.
2597 (f_language_defn): Add basic_lookup_transparent_type.
2598 * jv-lang.c: Update copyright.
2599 (java_language_defn): Add basic_lookup_transparent_type.
2600 * m2-lang.c: Update copyright.
2601 (m2_language_defn): Add basic_lookup_transparent_type.
2602 * objc-lang.c: Update copyright.
2603 (objc_language_defn): Add basic_lookup_transparent_type.
2604 * p-lang.c: Update copyright.
2605 (p_language_defn): Add basic_lookup_transparent_type.
2606 * scm-lang.c: Update copyright.
2607 (scm_language_defn): Add basic_lookup_transparent_type.
2608 * Makefile.in (cp-namespace.o): Depend on frame.h.
2609
fdde2d81
DC
26102004-01-23 David Carlton <carlton@kealia.com>
2611
2612 Patch for PR c++/1520:
2613 * dwarf2read.c (read_func_scope): Set processing_current_prefix
2614 properly if we have a specification die.
2615 (determine_prefix_aux): Rename from determine_prefix.
2616 (determine_prefix): Like the old determine_prefix, but never
2617 returns NULL.
2618
5b828b6b
TR
26192004-01-23 Theodore A. Roth <troth@openavr.org>
2620
2621 * avr-tdep.c: Update copyright.
2622 (avr_iaddr_p): Delete unused function.
2623 (avr_saddr_p): Delete unused function.
2624
a1b8c067
DC
26252004-01-23 David Carlton <carlton@kealia.com>
2626
2627 * symfile.c (reread_symbols): Clear objfile->cp_namespace_symtab.
2628 Fix for PR symtab/1534.
2629
f2cab569
MK
26302004-01-23 Mark Kettenis <kettenis@gnu.org>
2631
2632 * NEWS (New native configurations): Mention OpenBSD/sparc and
2633 OpenBSD/sparc64.
2634 * configure.tgt: Add sparc-*-openbsd* and sparc64-*-openbsd*.
2635 * configure.host: Likewise.
2636 * sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Register OS ABI
2637 handler for OpenBSD.
2638 * sparc64nbsd-tdep.c (_initialize_sparc64nbsd_tdep): Likewise.
2639
642d8300
MK
26402004-01-22 Mark Kettenis <kettenis@gnu.org>
2641
89aac506
MK
2642 * sparcnbsd-tdep.c (sparcnbsd_core_osabi_sniffer): New function.
2643 (_initialize_sparnbsd_tdep): Register sparcnbsd_core_osabi_sniffer.
2644
36662fde
MK
2645 * ser-pipe.c (pipe_open): Use proper null pointer in execl call.
2646 * cli/cli-cmds.c (shell_escape): Likewise.
2647
642d8300
MK
2648 * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Recognize
2649 OpenBSD .note.openbsd.ident sections.
2650
fae299cd
DC
26512004-01-22 David Carlton <carlton@kealia.com>
2652
2653 * dwarf2read.c (psymtab_to_symtab_1): Calculate lowpc, highpc via
2654 get_scope_pc_bounds.
2655 (read_file_scope): Ditto.
2656 (get_scope_pc_bounds): New function, produced by extracting code
2657 from the above two functions, consolidating it, and adding support
2658 for DW_TAG_namespace.
2659
a49d618c
MK
26602004-01-22 Mark Kettenis <kettenis@gnu.org>
2661
2662 * osabi.c (MAX_NOTESZ): New define.
2663 (check_note): New function.
2664 (generic_elf_osabi_sniff_abi_tag_sections): Reorganize code using
2665 check_note.
2666
fe61caab
RM
26672004-01-21 Roland McGrath <roland@redhat.com>
2668
2669 * MAINTAINERS (write after approval): Add myself.
2670
ec145965
EZ
26712004-01-21 Eli Zaretskii <eliz@gnu.org>
2672
2673 * utils.c (init_page_info): Move declarations of `rows' and
2674 `cols' before the __GO32__-specific code. Move the closing brace
2675 outside the #ifdef __GO32__..#endif block.
2676 [__GO32__]: Use `rows' and `cols' to avoid compiler warnings.
2677
877522db
PB
26782004-01-21 Paul Brook <paul@codesourcery.com>
2679
2680 * infrun.c (handle_inferior_event): Check stop_stack_dummy if handling
2681 BPSTAT_WHAT_CHECK_SHLIBS.
2682
dbf5be1c
PB
26832004-01-21 Paul Brook <paul@codesourcery.com>
2684
2685 * MAINTAINERS: Add myself to write-after-approval.
2686
81f08b92
AC
26872004-01-20 Andrew Cagney <cagney@redhat.com>
2688
5a1efed7
AC
2689 * ax-gdb.c (print_axs_value): Delete unused function.
2690 * jv-lang.c (java_lookup_type): Delete unused function.
2691 * cli/cli-dump.c (dump_filetype): Delete unused function.
2692 * remote-mips.c (remote_mips_insert_hw_breakpoint)
2693 (remote_mips_remove_hw_breakpoint): Delete unused functions.
2694 (mips_getstring): Delete unused function.
2695 (pmon_insert_breakpoint): Delete #if0ed function.
2696 (PMON_MAX_BP): Delete #if0ed MACRO.
2697 (mips_pmon_bp_info): Delete #if0ed variable.
2698 (pmon_remove_breakpoint): Delete #if0ed function.
2699 * monitor.c (monitor_write_even_block): Delete unused function.
2700 (monitor_write_memory_block): Delete #if0ed code.
2701 * dink32-rom.c (dink32_load): Delete unused function.
2702 (_initialize_dink32_rom): Delete #if0ed code.
2703 * d10v-tdep.c (d10v_daddr_p): Delete unused function.
2704
b0a30fce
AC
2705 * tui/tui-command.c: Update references.
2706 * tui/tui-io.c: Update references.
2707 * tui/tui-command.h: Update copyright.
2708 (tui_dispatch_ctrl_char): Rename tuiDispatchCtrlChar.
2709
81f08b92
AC
2710 * source.c (ambiguous_line_spec): Delete never-defined function.
2711 * remote-rdi.c (arm_rdi_mourn, arm_rdi_send): Ditto.
2712 * gdbtypes.c (add_name, add_mangled_type): Ditto.
2713 * cli/cli-cmds.c (validate_comname): Ditto.
2714
65f05602
AC
2715 * tui/tui-disasm.h: Update copyright. Include "tui.h" and
2716 "tui-data.h".
2717 (tui_set_disassem_content): Rename tuiSetDisassemContent.
2718 (tui_show_disassem): Rename tuiShowDisassem.
2719 (tui_show_disassem_and_update_source): Rename
2720 tuiVerticalDisassemScroll.
2721 (tui_vertical_disassem_scroll): Rename tuiVerticalDisassemScroll.
2722 (tui_get_begin_asm_address): Rename tuiGetBeginAsmAddress.
2723 * tui/tui.h: Update copyright.
2724 (enum tui_status): Define.
2725 * tui/tui-data.h (enum tui_scroll_direction): Define.
2726 * tui/tui-disasm.c: Update copyright. Update references.
2727 * tui/tui-winsource.c: Update copyright. Update references.
2728 * tui/tui-win.c: Update references.
2729 * tui/tui-layout.c: Update references.
2730
6bb0384f
AC
27312004-01-20 Andrew Cagney <cagney@redhat.com>
2732
2733 * mi/mi-cmd-stack.c (list_args_or_locals): Move declaration of
2734 sym2 to start of block.
2735
9175c9a3
MC
27362004-01-19 Michael Chastain <mec.gnu@mindspring.com>
2737
2738 * MAINTAINERS: Delete mmalloc.
2739 * Makefile.in: Delete MMALLOC, MMALLOC_CFLAGS, -lmmalloc, mmalloc_h.
2740 * NEWS: Mention removal of --with-malloc.
2741 * acconfig.h: Delete USE_MMALLOC, MMCHECK_FORCE.
2742 * config.in: Regenerate.
2743 * configure: Regenerate.
6bb0384f
AC
2744 * configure.in: Delete MMALLOC_CFLAGS, MMALLOC, --with-mmalloc,
2745 USE_MMALLOC, MMCHECK_FORCE.
9175c9a3
MC
2746 * gdbinit.in: Remove mmalloc.
2747 * utils.c: Delete USE_MMALLOC, NO_MMCHECK, MMCHECK_FORCE, malloc_botch.
2748 * config/alpha/alpha-linux.mh: Delete MMALLOC, MMALLOC_CFLAGS.
2749 * config/i386/go32.mh: Likewise.
2750 * config/i386/interix.mh: Likewise.
2751 * config/powerpc/xm-linux.h: Delete MMAP_BASE_ADDRESS, MMAP_INCREMENT.
2752
4fcef00a
JJ
27532004-01-19 Jeff Johnston <jjohnstn@redhat.com>
2754
2755 * linespec.c (decode_variable, symtab_from_filename): Call
2756 error_silent with error message instead of throwing an exception
2757 directly.
2758 * defs.h (error_silent, error_output_message): Add prototypes.
2759 (catch_exceptions_with_msg): Ditto.
2760 * utils.c (error_silent, error_output_message): New functions.
2761 * top.c (catch_exceptions_with_msg): New function.
2762
8e94b928
NR
27632004-01-20 Nick Roberts <nick@nick.uklinux.net>
2764
2765 * mi/mi-cmds.h (enum print_values): Add definition.
2766
2767 * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Print the name,
2768 type and value for simple data types and just the name and type
2769 for complex ones, if required.
2770
2771 * mi/mi-cmd-var.c (mi_cmd_var_list_children): Print the values of the
2772 children, if required.
2773
a02d6af8
KB
27742004-01-19 Kevin Buettner <kevinb@redhat.com>
2775
2776 * frv-tdep.c (frv_push_arguments, frv_saved_pc_after_call): Delete
2777 unused declarations.
2778
78a4a9b9
AC
27792004-01-19 Andrew Cagney <cagney@redhat.com>
2780
2781 * top.h (mapped_symbol_files): Delete declaration.
2782 * main.c (captured_main): Delete option "m" and "mapped".
2783 * objfiles.c (mapped_symbol_files): Delete variable.
2784 * symfile.c (symbol_file_command): Delete mmap code.
2785 (symbol_file_add_with_addrs_or_offsets): Ditto.
2786 (add_symbol_file_command, reread_separate_symbols): Ditto.
2787 * objfiles.h (OBJF_MAPPED): Delete.
2788 * objfiles.c (allocate_objfile) [USE_MMALLOC]: Delete.
2789 (free_objfile) [USE_MMALLOC]: Ditto.
2790 (open_existing_mapped_file): Delete function.
2791 (open_mapped_file): Delete function.
2792 (map_to_file): Delete function.
2793
2dbd5e30
KB
27942004-01-19 Kevin Buettner <kevinb@redhat.com>
2795
2796 * infrun.c (step_into_function): Account for possible breakpoint
2797 adjustment when computing ``stop_func_start''.
2798
437b434f
KB
27992004-01-19 Kevin Buettner <kevinb@redhat.com>
2800
2801 * target.c (default_region_size_ok_for_hw_watchpoint): Compare
2802 the region size against the size of a pointer, not the size of
2803 a register as given by DEPRECATED_REGISTER_SIZE.
2804
55fb0713
AC
28052004-01-19 Andrew Cagney <cagney@redhat.com>
2806
2807 * tui/tui-regs.h: Include "tui-data.h".
2808 (tuiFirstRegElementNoInLine): Delete declaration.
2809 (tui_display_registers_from): Rename tuiDisplayRegistersFrom.
2810 (tui_last_regs_line_no): Rename tuiLastRegsLineNo.
2811 (tui_line_from_reg_element_no): Rename tuiLineFromRegElementNo.
2812 (tui_calculate_regs_column_count): Rename
2813 tuiCalculateRegsColumnCount.
2814 (tui_check_register_values): Rename tuiCheckRegisterValues.
2815 (tui_show_registers): Rename tuiShowRegisters.
2816 (tui_display_registers_from_line): Rename
2817 tuiDisplayRegistersFromLine.
2818 (tui_first_reg_element_inline): Rename tuiFirstRegElementInLine.
2819 (tui_toggle_float_regs): Rename tuiToggleFloatRegs.
2820 (tui_first_reg_element_no_inline): Rename
2821 tuiFirstRegElementNoInLine.
2822 * tui/tui-data.h: Update copyright.
2823 (enum tui_register_display_type): Rename _TuiRegisterDisplayType.
2824 * tui/tui-windata.c: Update copyright, update references.
2825 * tui/tui-regs.c: Update copyright, update references.
2826 * tui/tui-win.c: Update copyright, update references.
2827 * tui/tui-layout.c: Update copyright, update references.
fe61caab 2828
cebe9500
AC
28292004-01-18 Andrew Cagney <cagney@redhat.com>
2830
bcdf1568
AC
2831 * tui/tui-io.c: Update copyright.
2832 (key_is_end_sequence, key_is_backspace): New functions.
2833 (key_is_command_char, key_is_start_sequence): New function.
2834 (tui_getc): Update references.
2835 * tui/tui-io.h: Update copyright.
2836 (m_tuiStartNewLine): Delete macro.
2837 (m_isBackspace, m_isDeleteChar): Delete macros.
2838 (m_isDeleteLine, m_isDeleteToEol): Delete macros.
2839 (m_isNextPage, m_isPrevPage): Delete macros.
2840 (m_isLeftArrow, m_isRightArrow): Delete macros.
2841 (m_isXdbStyleCommandChar): Delete macro.
2842 (key_is_start_sequence): Declare, replace m_isStartSequence.
2843 (key_is_end_sequence): Declare, replace m_isEndSequence.
2844 (key_is_backspace): Declare ,replace m_isBackspace.
2845 (key_is_command_char): Declare, replace m_isCommandChar.
2846 * tui/tui-command.c: Update copyright.
2847 (tuiDispatchCtrlChar): Update references.
2848
130d87e6
AC
2849 * config/djgpp/fnchange.lst: Delete tui/tuiSourceWin.c and
2850 tuiSourceWin.h.
2851
d7b2e967
AC
2852 * tui/tui-command.c: Rename tui/tuiCommand.c.
2853 * tui/tui-command.h: Rename tui/tuiCommand.h.
2854 * tui/tui-data.c: Rename tui/tuiData.c.
2855 * tui/tui-data.h: Rename tui/tuiData.h.
2856 * tui/tui-disasm.c: Rename tui/tuiDisassem.c.
2857 * tui/tui-disasm.h: Rename tui/tuiDisassem.h.
2858 * tui/tui-io.c: Rename tui/tuiIO.c.
2859 * tui/tui-io.h: Rename tui/tuiIO.h.
2860 * tui/tui-layout.c: Rename tui/tuiLayout.c.
2861 * tui/tui-layout.h: Rename tui/tuiLayout.h.
2862 * tui/tui-regs.c: Rename tui/tuiRegs.c.
2863 * tui/tui-regs.h: Rename tui/tuiRegs.h.
2864 * tui/tui-source.c: Rename tui/tuiSource.c.
2865 * tui/tui-source.h: Rename tui/tuiSource.h.
2866 * tui/tui-stack.c: Rename tui/tuiStack.c.
2867 * tui/tui-stack.h: Rename tui/tuiStack.h.
2868 * tui/tui-win.c: Rename tui/tuiWin.c.
2869 * tui/tui-win.h: Rename tui/tuiWin.h.
2870 * tui/tui-windata.c: Rename tui/tuiDataWin.c.
2871 * tui/tui-windata.h: Rename tui/tuiDataWin.h.
2872 * tui/tui-wingeneral.c: Rename tui/tuiGeneralWin.c.
2873 * tui/tui-wingeneral.h: Rename tui/tuiGeneralWin.h.
2874 * tui/tui-winsource.c: Rename tui/tuiSourceWin.c.
2875 * tui/tui-winsource.h: Rename tui/tuiSourceWin.h.
2876 * tui/tui-file.c: Update includes.
2877 * tui/tui-hooks.c: Update includes.
2878 * tui/tui-interp.c: Update includes.
2879 * tui/tui.c: Update includes.
2880 * Makefile.in: Update all tui/ dependencies.
2881 (SUBDIR_TUI_OBS, SUBDIR_TUI_SRCS): Update file names.
2882
b2100910
AC
2883 * Makefile.in: Update copyright. Update dependencies.
2884
cebe9500
AC
2885 * tui/tuiSourceWin.c (tui_update_breakpoint_info): Fix compile
2886 problem.
2887
c6f0559b
AC
28882004-01-18 Andrew Cagney <cagney@redhat.com>
2889
43e9390b
AC
2890 * mn10300-tdep.c (_initialize_mn10300_tdep): Call gdbarch_register
2891 instead of register_gdbarch_init.
2892
c6f0559b
AC
2893 * remote-sds.c (tohex): Delete unused function. Update copyright.
2894 * xstormy16-tdep.c (xstormy16_register_virtual_size): Ditto.
2895 * v850-tdep.c (v850_register_virtual_size): Ditto.
2896 * target.c (normal_target_post_startup_inferior): Ditto.
2897 * source.c (ambiguous_line_spec): Ditto.
2898 * remote.c (adapt_remote_get_threadinfo): Ditto.
2899 * mi/mi-out.c (out_field_fmt): Ditto.
2900 * mi/mi-interp.c (mi_interp_read_one_line_hook): Ditto.
2901 (output_control_change_notification): Ditto.
2902 * m68k-tdep.c (m68k_register_byte): Ditto.
2903 (m68k_remote_breakpoint_from_pc): Ditto.
2904 * ui-out.c (init_ui_out_state): Delete unused declaration.
2905 * stabsread.c (search_value): Ditto.
2906 * mi/mi-cmd-env.c (env_cli_command): Ditto.
2907 * maint.c (print_section_table): Ditto.
2908 * infrun.c (set_follow_fork_mode_command): Ditto.
2909
a8504492
MK
29102004-01-18 Mark Kettenis <kettenis@gnu.org>
2911
2912 * dwarf2-frame.c (execute_cfa_program): Move DWA_CFA_nop before
2913 DW_CFA_def_cfa_exporession. Add support for
2914 DW_CFA_offset_extendend_sf, DW_CFA_def_cfa_sf and
2915 DW_CFA_def_cfa_offset_sf. This should fix PR backtrace/1391.
2916
0bd8997e
AC
29172004-01-18 Andrew Cagney <cagney@redhat.com>
2918
2919 * ocd.c: Update copyright.
2920 (bdm_read_register_command): Delete unused function.
2921 (_initialize_remote_ocd): Delete commented out reference.
2922 (get_quoted_char, reset_packet): Delete #if0ed function.
2923 (output_packet, put_quoted_char): Delete #if0ed function.
2924 (stu_put_packet, stu_get_packet): Delete #if0ed function.
2925 (ocd_start_remote): Delete #if0ed code, remove #if1 wrapper.
2926 (BDM_BREAKPOINT): Delete #if0ed macro.
2927 (remote_timeout): Delete #if0ed variable.
2928
31bb40e4
MK
29292004-01-18 Mark Kettenis <kettenis@gnu.org>
2930
2931 * Makefile.in (ALLDEPFILES): Remove core-sol2.c.
2932 (core-sol2.o): Remove dependency.
2933 * core-sol2.c: Remove file.
2934
887432a5
AC
29352004-01-17 Andrew Cagney <cagney@redhat.com>
2936
2937 * mdebugread.c (compare_blocks): Make addr_diff a LONGEST.
2938 * block.h: Make GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOOCK
2939 enums.
2940
29182b13
DJ
29412004-01-17 Daniel Jacobowitz <drow@mvista.com>
2942
2943 * remote.c: Update copyright years.
2944
2963ee1d
DJ
29452004-01-17 Daniel Jacobowitz <drow@mvista.com>
2946
2947 * remote.c (remote_vcont_resume): Use xstrprintf instead of sprintf.
2948
79d45cd4
AC
29492004-01-17 Andrew Cagney <cagney@redhat.com>
2950
ee300cd4
AC
2951 * mdebugread.c: Update copyright.
2952 (parse_symbol): Replace DEPRECATED_STREQ with strcmp.
2953 (parse_type, parse_procedure): Ditto.
2954 (parse_partial_symbols, psymtab_to_symtab_1): Ditto.
2955
fcacc9c2
AC
2956 * cris-tdep.c (cris_store_struct_return): Put back accidently
2957 deleted function.
2958
79d45cd4
AC
2959 * gdbarch.sh: Update copyright year.
2960 * gdbarch.h, gdbarch.c: Re-generate.
2961
b263358a
DJ
29622004-01-17 Daniel Jacobowitz <drow@mvista.com>
2963
2964 Suggested by George Anzinger.
2965 * dwarf2expr.c (execute_stack_op): Fetch the second item from the
2966 correct stack offset. Include unknown opcode numbers in the error
2967 message.
2968
931aecf5
AC
29692004-01-17 Andrew Cagney <cagney@redhat.com>
2970
2971 * x86-64-tdep.c (x86_64_init_abi): No need to clear
2972 extract_struct_value_address, i386 does not set it.
2973 * sparc64-tdep.c (sparc64_init_abi): Do not set
2974 extract_struct_value_address, never called.
2975 (sparc64_extract_struct_value_address): Delete function.
2976 * m68hc11-tdep.c: Update copyright.
2977 (m68hc11_gdbarch_init): Delete redundant assignment of
2978 extract_struct_value_address.
2979 * i386-tdep.c: Update copyright.
2980 (i386_gdbarch_init): Do not set extract_struct_value_address,
2981 never called.
2982 (i386_extract_struct_value_address): Delete function.
2983 * sparc-tdep.c (sparc32_gdbarch_init): Do not set
2984 extract_struct_value_address, never called.
2985 (sparc32_extract_struct_value_address): #if 0 function. Add
2986 comments explaining its future.
2987
756fe439
DJ
29882004-01-17 Daniel Jacobowitz <drow@mvista.com>
2989
2990 * arm-tdep.c (arm_write_pc): New function.
2991 (arm_gdbarch_init): Call set_gdbarch_write_pc.
2992
e74f0f02
DJ
29932004-01-17 Daniel Jacobowitz <drow@mvista.com>
2994
2995 * breakpoint.c (must_shift_inst_regs): Delete.
2996 (bpstat_stop_status): Delete references to DECR_PC_AFTER_HW_BREAK
2997 and SHIFT_INST_REGS.
2998 * infcmd.c (step_1, step_1_continuation): Delete references to
2999 SHIFT_INST_REGS.
3000 * infrun.c (keep_going): Likewise.
3001 * target.h (DECR_PC_AFTER_HW_BREAK): Don't define.
3002 * config/i386/nm-i386.h (DECR_PC_AFTER_HW_BREAK): Likewise.
3003
b6cb9035
AC
30042004-01-17 Andrew Cagney <cagney@redhat.com>
3005
444a1e2e
AC
3006 * gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
3007 * gdbarch.h, gdbarch.c: Re-generate.
3008 * infcmd.c (print_return_value): Delete reference to
3009 DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS.
3010
def7e6ed
AC
3011 * cris-tdep.c (cris_gdbarch_init): Do not set
3012 deprecated_extract_struct_value_address.
3013
07be497a
AC
3014 * xstormy16-tdep.c: Update copyright.
3015 (xstormy16_extract_struct_value_address): Update to current
3016 extract struct value address interface.
3017 (xstormy16_gdbarch_init): Set extract_struct_value_address.
3018 * sh64-tdep.c (sh64_extract_struct_value_address): Update to
3019 current extract struct value address interface.
3020 (sh64_gdbarch_init): Set extract_struct_value_address.
3021
6b4d5c91
AC
3022 * cris-tdep.c: Update copyright.
3023 (cris_extract_struct_value_address): Delete function.
3024 (struct_return_address): Delete variable.
3025 (cris_store_struct_return): Do not set struct_return_address.
3026
464e0365
AC
3027 * mcore-tdep.c: Update copyright.
3028 (mcore_extract_struct_value_address): Delete function. Update
3029 comments.
3030 (mcore_gdbarch_init): Update.
3031 * mn10300-tdep.c: Update copyright.
3032 (mn10300_extract_struct_value_address): Delete function.
3033 (mn10300_gdbarch_init): Update.
3034 * v850-tdep.c: Update copyright.
3035 (v850_extract_struct_value_address): Delete.
3036 (v850_gdbarch_init): Update.
3037 * ns32k-tdep.c: Update copyright.
3038 (ns32k_extract_struct_value_address): Delete.
3039 (ns32k_gdbarch_init): Update.
3040 * hppa-tdep.c (hppa_extract_struct_value_address): Delete.
3041 (hppa_gdbarch_init): Update.
3042 * vax-tdep.c: Update copyright.
3043 (vax_extract_struct_value_address): Delete.
3044 (vax_gdbarch_init): Update.
3045
afb18d0f
AC
3046 * gdbarch.sh (DEPRECATED_NPC_REGNUM): Delete.
3047 * gdbarch.h, gdbarch.c: Re-generate.
3048 * procfs.c (procfs_fetch_registers): Delete reference to
3049 DEPRECATED_NPC_REGNUM.
3050 (procfs_store_registers): Ditto.
3051 * regcache.c (generic_target_write_pc): Simplify.
3052 * lynx-nat.c: Delete #ifdef SPARC code. Not used.
3053
a698f53e
AC
3054 * core-sol2.c (fetch_core_registers): Replace
3055 DEPRECATED_NPC_REGNUM with equivalent tdep value.
3056
adc11376
AC
3057 * hppa-tdep.c: Update copyright year.
3058 (hppa_target_write_pc): Use PCOQ_TAIL_REGNUM instead of
3059 NPC_REGNUM.
3060 (hppa_gdbarch_init): Do not set deprecated_npc_regnum.
3061
b6cb9035
AC
3062 * mips-tdep.c (mips_write_pc): New function.
3063 (mips_gdbarch_init): Set "write_pc" to "mips_write_pc".
3064 (mips_read_pc): Use mips_regnum instead of PC_REGNUM.
3065 (mips_find_saved_regs, mips_software_single_step: Ditto.
3066 (mips_frame_saved_pc, mips_frame_saved_pc): Ditto.
3067 mips_init_extra_frame_info, mips_pop_frame): Ditto.
3068
6d82d43b
AC
30692004-01-17 Andrew Cagney <cagney@redhat.com>
3070
3071 * mips-tdep.c: Re-indent. Group functions by ABI.
3072
71bd6bd4
AC
30732004-01-17 Andrew Cagney <cagney@redhat.com>
3074
3075 * gdbarch.sh (DECR_PC_AFTER_BREAK): Make zero the default.
3076 * gdbarch.c: Re-generate.
3077 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
3078 DECR_PC_AFTER_BREAK to zero.
3079 * vax-tdep.c (vax_gdbarch_init): Ditto.
3080 * v850-tdep.c (v850_gdbarch_init): Ditto.
3081 * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
3082 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
3083 * sh-tdep.c (sh_gdbarch_init): Ditto.
3084 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
3085 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
3086 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
3087 * mips-tdep.c (mips_gdbarch_init): Ditto.
3088 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
3089 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
3090 * m32r-tdep.c (m32r_gdbarch_init): Ditto.
3091 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
3092 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
3093 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
3094 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
3095 * frv-tdep.c (frv_gdbarch_init): Ditto.
3096 * cris-tdep.c (cris_gdbarch_init): Ditto.
3097 * avr-tdep.c (avr_gdbarch_init): Ditto.
3098 * arm-tdep.c (arm_gdbarch_init): Ditto.
3099 * i386-nto-tdep.c (i386nto_init_abi): Add comment.
3100
a02abb62
JB
31012004-01-17 J. Brobecker <brobecker@gnat.com>
3102
3103 * dwarf2read.c (dwarf2_non_const_array_bound_ignored_complaint):
3104 Delete, no longer used.
3105 (read_subrange_type): New function, mostly extracted from
3106 read_array_type().
3107 (read_array_type): Replace extracted code by call to
3108 read_subrange_type().
3109 (dwarf2_get_attr_constant_value): New function.
3110 (scan_partial_symbols): Add handling for DW_TAG_subrange_type.
3111 (add_partial_symbol): Likewise.
3112 (process_die): Likewise.
3113 (new_symbol): Likewise.
3114 (read_type_die): Likewise.
3115
cf5b2f1b
AC
31162004-01-16 Andrew Cagney <cagney@redhat.com>
3117
3118 * symfile.c: Update copyright year.
3119 (compare_symbols): Delete unused function.
3120 * stabsread.c: Update copyright year.
3121 (lrs_general_complaint): Delete unused function.
3122 (ref_search_value): Ditto.
3123 (get_substring): Delete declaration.
3124 * sh64-tdep.c: Update copyright year.
3125 (sh64_get_gdb_regnum): Delete unused function.
3126 * dwarf2read.c (dwarf2_unsupported_at_frame_base_complaint):
3127 Delete unused function.
3128
d33b9831
MK
31292004-01-17 Mark Kettenis <kettenis@gnu.org>
3130
3131 * defs.h (gdb_osabi): Add GDB_OSABI_OPENBSD_ELF.
3132 * osabi.c (gdb_osabi_names): Add "OpenBSD ELF".
3133
7aea86e6
AC
31342004-01-16 Andrew Cagney <cagney@redhat.com>
3135
3136 Changes from Peter Schauer.
3137 * rs6000-tdep.c: Update copyright year.
3138 (rs6000_push_dummy_call): Update the stack pointer before
3139 accessing the corresponding stack region.
3140 * rs6000-nat.c: Update copyright year.
3141 (set_host_arch): Set "info.abfd" to "exec_bfd".
3142
26b0da32
MK
31432004-01-15 Mark Kettenis <kettenis@gnu.org>
3144
3145 * blockframe.c: Update copyright year.
3146 (inside_entry_func): Don't treat a zero PC specially.
3147
86fbe6cc
EZ
31482004-01-14 Elena Zannoni <ezannoni@redhat.com>
3149
3150 * gcore.c (gcore_copy_callback): Use paddr_d to print size
3151 variable.
3152 (gcore_create_callback): Ditto. Skip any memory segment that has
3153 no permissions set.
3154
63d06c5c
DC
31552004-01-14 David Carlton <carlton@kealia.com>
3156
3157 Change symbols for C++ nested types to contain the fully qualified
3158 name, if possible. (At least in the DWARF-2 case.) Partial fix
3159 for PR's c++/57, c++/488, c++/539, c++/573, c++/609, c++/832,
3160 c++/895.
3161 * c-exp.y (qualified_type): Handle types nested within classes.
3162 * cp-namespace.c: Update comments.
3163 (cp_set_block_scope): Delete #if 0.
3164 (cp_lookup_nested_type): Handle types nested within classes.
3165 * dwarf2read.c: (scan_partial_symbols): Call add_partial_structure
3166 when appropriate.
3167 (add_partial_symbol): Add the name of the enclosing namespace to
3168 types.
3169 (pdi_needs_namespace): New.
3170 (add_partial_namespace): Tweak comment.
3171 (add_partial_structure): New.
3172 (psymtab_to_symtab_1): Initialize processing_current_prefix
3173 here...
3174 (process_die): instead of here.
3175 (read_structure_scope): Try to figure out the name of the class or
3176 namespace that the structure might be defined within.
3177 (read_enumeration): Generate fully-qualified names, if possible.
3178 (read_namespace): Don't set name to NULL.
3179 (die_specification): New.
3180 (new_symbol): Generate fully-qualified names for types.
3181 (read_type_die): Determine appropriate prefix.
3182 (determine_prefix): New.
3183 (typename_concat): New.
3184 (class_name): New.
3185 * valops.c (value_aggregate_elt): Pass NOSIDE to
3186 value_struct_elt_for_reference.
3187 (value_struct_elt_for_reference): Make static, add NOSIDE
3188 parameter, call value_maybe_namespace_elt as a last resort.
3189 (value_namespace_elt): Break out code into
3190 value_maybe_namespace_elt.
3191 (value_maybe_namespace_elt): New.
3192
87783b8b
AC
31932004-01-12 Andrew Cagney <cagney@redhat.com>
3194
3195 * mips-tdep.c (mips_convert_register_p): Handle both raw and
3196 cooked floating-point registers.
3197 (mips_gdbarch_init): Set convert_register_p, register_to_value,
3198 and value_to_register.
3199
6503b91e
AC
32002004-01-13 Andrew Cagney <cagney@redhat.com>
3201
3202 * gdbarch.sh (FUNCTION_START_OFFSET): Make zero the default.
3203 * gdbarch.c: Re-generate.
3204 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
3205 FUNCTION_START_OFFSET.
3206 * v850-tdep.c (v850_gdbarch_init): Ditto.
3207 * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
3208 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
3209 * sh-tdep.c (sh_gdbarch_init): Ditto.
3210 * s390-tdep.c (s390_gdbarch_init): Ditto.
3211 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
3212 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
3213 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
3214 * mips-tdep.c (mips_gdbarch_init): Ditto.
3215 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
3216 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
3217 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
3218 * m32r-tdep.c (m32r_gdbarch_init): Ditto.
3219 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
3220 * i386-tdep.c (i386_gdbarch_init): Ditto.
3221 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
3222 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
3223 * frv-tdep.c (frv_gdbarch_init): Ditto.
3224 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
3225 * cris-tdep.c (cris_gdbarch_init): Ditto.
3226 * avr-tdep.c (avr_gdbarch_init): Ditto.
3227 * arm-tdep.c (arm_gdbarch_init): Ditto.
3228 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
3229
ea1dd7bc
DJ
32302004-01-13 Daniel Jacobowitz <drow@mvista.com>
3231
3232 * infrun.c (follow_fork_mode_ask): Remove.
3233 (follow_fork_mode_kind_names): Remove follow_fork_mode_ask.
3234 (follow_fork): Simplify and remove internal error for
3235 follow_fork_mode_ask.
3236 (_initialize_infrun): Update "set follow-fork-mode" help text.
3237
0f0cffd2
AC
32382004-01-13 Andrew Cagney <cagney@redhat.com>
3239
3240 * configure.in: Update copyright year.
3241 (build_warnings): Add -Wunused-label.
3242 * configure: Re-generate.
3243
de38af99
AC
32442004-01-12 Andrew Cagney <cagney@redhat.com>
3245
954a7fba
AC
3246 * exec.h (exec_ops): Make "extern".
3247
de38af99
AC
3248 * mips-tdep.c (mips_pseudo_register_read): Don't return a value,
3249 the function is void.
3250 (mips_pseudo_register_write): Ditto.
3251
1a111ce3
AC
32522004-01-12 Andrew Cagney <cagney@redhat.com>
3253
3254 * stack.c (frame_info): Delete DEPRECATED_PRINT_EXTRA_FRAME_INFO
3255 call. Never defined.
3256 * sparc-tdep.h (struct frame_info): Add opaque declaration.
3257 * sparc64-tdep.h (struct gdbarch): Add opaque declaration.
3258 (struct sparc_gregset, struct regcache): Ditto.
3259 * sparc-nat.c: Update copyright. Specify "GNU/Linux".
3260
48efe704
AC
32612004-01-12 Andrew Cagney <cagney@redhat.com>
3262
3263 * mi/ChangeLog: Delete file. Renamed to ...
3264 * mi/ChangeLog-1999-2003: New file.
3265 * tui/ChangeLog: Delete file. Renamed to ...
3266 * tui/ChangeLog-1998-2003: New file.
fe61caab 3267
a54124c5
MK
32682004-01-11 Mark Kettenis <kettenis@gnu.org>
3269
2ca62865
MK
3270 * sparc64nbsd-tdep.c: Include "regset.h".
3271 (sparc64nbsd_sizeof_struct_reg, sparc64nbsd_sizeof_struct_fpreg):
3272 Remove variables.
3273 (fetch_core_registers): Remove function.
3274 (sparc64nbsd_core_fns): Remove variable.
3275 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): New
3276 functions.
3277 (sparc64nbsd_init_abi): Initialize TDEP->gregset,
3278 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
3279 (_initialize_sparc64nbsd_tdep): Remove call to add_core_fns.
3280
ca9d58e9
MK
3281 * sparc-tdep.c (sparc32_extract_struct_value_address): Rename from
3282 sparc_extract_struct_value_address.
3283 (sparc32_gdbarch_init): Set extract_struct_value_address.
3284 * sparc64-tdep.c (sparc64_extract_struct_value_address): New
3285 function.
3286 (sparc64_init_abi): Set extract_struct_value_address. Don't set
3287 return_value_on_stack.
3288
3cc87ec0
MK
3289 * NEWS: Mention that %cs and %ss have been added to the AMD64
3290 configurations
3291
5bf00f29
MK
3292 * frame.c: Update copyright year.
3293 (get_prev_frame): Improve comment.
3294
4f7ec84e
MK
3295 * sparc64fbsd-tdep.c: Include "regset.h".
3296 (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
3297 Remove variables.
3298 (fetch_core_registers): Remove function.
3299 (sparc64fbsd_core_fns): Remove variable.
3300 (sparc64fbsd_supply_gregset, sparc64fbsd_supply_fpregset): New
3301 functions.
3302 (sparc64fbsd_init_abi): Initialize TDEP->gregset,
3303 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
46b58ce9 3304 (_initialize_sparc64fbsd_tdep): Remove call to add_core_fns.
4f7ec84e 3305
4e7b0cd3
MK
3306 * sparcnbsd-tdep.c: Include "regset.h".
3307 (fetch_core_registers): Remove function.
3308 (sparcnbsd_core_fns, sparcnbsd_elfcore_fns): Remove varaibles.
3309 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): New
3310 functions.
3311 (sparc32nbsd_init_abi): Initialize TDEP->gregset and
3312 TDEP->fpregset.
46b58ce9 3313 (_initialize_sparcnbsd_tdep): Remove calls to add_core_fns.
4e7b0cd3 3314
a54124c5
MK
3315 * sparc-tdep.h (struct regset): Provide opaque declaration.
3316 (struct gdbarch_tdep): Add gregset, sizeof_gregset,
3317 fpregset and sizeof_fpregset members.
3318 * sparc-tdep.c (struct regset): Provide opaque declaration.
3319 (sparc_regset_from_core_section): New function.
3320 (sparc32_gdbarch_init): Initialize TDEP->gregset,
3321 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_fpregset.
3322 Set regset_from_core_section when appropriate.
3323
29ff87c5
MK
33242004-01-10 Mark Kettenis <kettenis@gnu.org>
3325
79b1ab3d
MK
3326 * x86-64-tdep.c (amd64_non_pod_p): New function.
3327 (amd64_classify_aggregate): Return class memory for non-POD
3328 C++ structure types.
3329
6470d250
MK
3330 * x86-64-tdep.c (amd64_push_arguments): Add struct_return
3331 argument. Use it to reserve a register if necessary.
3332 (amd64_push_dummy_call): Pass STRUCT_RETURN in call to
3333 amd64_push_arguments.
3334
562c50c2
MK
3335 * x86-64-tdep.c (amd64_classify_aggregate): Ignore static fields.
3336
af233647
MK
3337 * x86-64-tdep.c (amd64_register_info): Add %cs and %ss. Adjust
3338 register numbers in comments.
3339 * x86-64-tdep.h: Update copyright year.
3340 (X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM):
3341 Adjust for addition of %cs and %ss.
3342 * amd64fbsd-nat.c: Update copyright year.
3343 (reg_offset): Add register offsets for %cs and %ss.
3344 * amd64fbsd-tdep.c: Update copyright year.
3345 (amd64fbsd_r_reg_offset): Add register offsets for %cs and %ss.
3346 (amd64fbsd_sc_reg_offset): Likewise.
3347 * x86-64-linux-nat.c: Update copyright year.
3348 (x86_64_linux_gregset64_reg_offset): Add register offsets for %cs
3349 and %ss.
3350 * amd64nbsd-nat.c: Update copyright year.
3351 (amd64nbsd32_r_reg_offset): Add register offsets for %cs and %ss.
3352 * amd64nbsd-tdep.c: Update copyright year.
3353 (amd64nbsd_r_reg_offset): Add register offsets for %cs and %ss.
3354 * x86-64-linux-tdep.c: Update copyright year.
3355 (user_to_gdb_regmap): Add mapping for %cs and %ss.
3356 (x86_64_linux_sc_reg_offset): Adjust for addition of %cs and %ss.
3357 * regformats/reg-x86-64.dat: Add %cs and %ss.
3358
29ff87c5
MK
3359 * blockframe.c (inside_entry_func): Reformat. Introduce new local
3360 variables to prevent long lines. Update comments to reflect
3361 reality.
3362
38d518c9
EZ
33632004-01-09 David Carlton <carlton@kealia.com>
3364
3365 Checked in by Elena Zannoni <ezannoni@redhat.com>.
3366 * dwarf2read.c (read_namespace): Pull out name-generating code
3367 into namespace_name. Rename previous_namespace to previous_prefix
3368 and processing_current_namespace to processing_current_prefix..
3369 (namespace_name): New function.
3370 (add_partial_symbol): Substitute uses of pdi->name with
3371 actual_name.
3372 * cp-support.h: Rename processing_current_namespace to
3373 processing_current_prefix.
3374 Update copyright year.
3375 * cp-namespace.c: Rename processing_current_namespace to
3376 processing_current_prefix.
3377 Update copyright year.
fe61caab 3378
1e4728e7
AC
33792004-01-09 Andrew Cagney <cagney@redhat.com>
3380
3381 * jv-valprint.c, ser-unix.c: Add missing copyright years.
3382
c77c642a
MK
33832004-01-09 Mark Kettenis <kettenis@gnu.org>
3384
3385 * dbxread.c (read_dbx_symtab): Ignore N_PATCH stabs instead of
3386 complaining.
3387 (process_one_symbol): Deal with N_PATCH stabs.
3388
b44e9041
EZ
33892004-01-09 Elena Zannoni <ezannoni@redhat.com>
3390
3391 * dwarf2read.c (read_array_type): Discard FORTRAN_HACK macro and
3392 ifdeffed code.
3393 Update copyright year.
38d518c9 3394
eccfb640
MC
33952004-01-08 Michael Chastain <mec.gnu@mindspring.com>
3396
3397 * config/pa/tm-hppa.h: Update extern declarations for
3398 hppa32_hpux_frame_saved_pc_in_sigtramp,
3399 hppa32_hpux_frame_base_before_sigtramp, and
3400 hppa32_hpux_frame_find_saved_regs_in_sigtramp.
3401
848c5feb
MC
34022004-01-08 Michael Chastain <mec.gnu@mindspring.com>
3403
3404 * config/pa/tm-hppah.h: Update copyright years.
3405
3cc5d663
AC
34062004-01-08 Andrew Cagney <cagney@redhat.com>
3407
3408 * mips-tdep.c (mips_n32n64_reg_struct_has_addr): Delete function.
3409 (mips_o32_reg_struct_has_addr): Delete function.
3410 (mips_gdbarch_init): Update.
3411 (mips_extract_struct_value_address): Delete function.
3412
bfec0b41
JJ
34132004-01-08 David Mosberger <davidm@hpl.hp.com>
3414
3415 * ia64-linux-tdep.c: Update GATE_AREA_END value to reflect
3416 reality.
3417
16e109ca
AC
34182004-01-07 Andrew Cagney <cagney@redhat.com>
3419
6214a8a1
AC
3420 * mips-tdep.c (mips_gdbarch_init): Set elf_flags to the previous
3421 architecture's elf flags (when available).
3422
8d5838b5
AC
3423 * mips-tdep.c (mips_gdbarch_init): Move code determining the MIPS
3424 FPU to the start, check the MIPS FPU when looking for an old
3425 architecture.
3426 (set_mipsfpu_single_command): Update the architecture.
3427 (set_mipsfpu_double_command, set_mipsfpu_none_command): Ditto.
3428
480d3dd2
AC
3429 * mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Delete macro.
3430 (mips_mask_address_p): Add "tdep" parameter.
3431 (show_mask_address, mips_addr_bits_remove): Update.
3432 (mips_dump_tdep): Update.
3433 (MIPS_DEFAULT_STACK_ARGSIZE): Delete macro.
3434 (MIPS_STACK_ARGSIZE): Delete macro.
3435 (mips_stack_argsize, mips_eabi_push_dummy_call): Update.
3436 (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call): Update.
3437 (mips_o64_push_dummy_call, mips_o32_return_value): Update.
3438 (mips_dump_tdep): Update.
3439 (MIPS_SAVED_REGSIZE): Delete macro.
3440 (MIPS_DEFAULT_SAVED_REGSIZE): Delete macro.
3441 (mips_saved_regsize, mips_eabi_use_struct_convention): Update.
3442 (mips_eabi_reg_struct_has_addr, mips_find_saved_regs): Update.
3443 (mips_frame_saved_pc, mips16_heuristic_proc_desc): Update.
3444 (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call): Update.
3445 (mips_o32_push_dummy_call, mips_o64_push_dummy_call): Update.
3446 (mips_pop_frame, return_value_location): Update.
3447 (mips_n32n64_return_value, mips_dump_tdep): Update.
3448
ec03c1ac
AC
3449 * mips-tdep.c (mips_gdbarch_init): Clean up code selecting the
3450 MIPS ABI.
3451
16e109ca
AC
3452 * mips-tdep.c: Update copyright.
3453 (mips_gdbarch_init): Merge two code blocks handling the register
3454 name and number layout.
3455
15255275
MS
34562004-01-02 Pawel Ostrowski <pasza@zodiac.mimuw.edu.pl>
3457
3458 * tracepoint.c (validate_actionline): Fix segv at EOF
3459
9f9057da
MC
34602004-01-07 Michael Chastain <mec.gnu@mindspring.com>
3461
3462 * hpread.c (hpread_read_struct_type): Call SET_FIELD_PHYSNAME
3463 properly for static fields.
3464
0127c0d3 34652004-01-06 Jeff Johnston <jjohnstn@redhat.com>
91562f53 3466 Jason Molenda <jmolenda@apple.com>
0127c0d3
JJ
3467
3468 * disasm.c: Update copyright to include 2004.
3469 (do_mixed_source_and_assembly): For uiout asm list
3470 and tuple cleanups, initialize to null_cleanup instead of
fe61caab 3471 NULL and do so prior to loop. Only reset when we close off
0127c0d3 3472 the tuple/list. Move check for whether to close off the
fe61caab 3473 asm tuple/list to after dump_insns call where it will be run
0127c0d3
JJ
3474 on each loop iteration.
3475
5269965e
AC
34762004-01-05 Andrew Cagney <cagney@redhat.com>
3477
54f1137d
AC
3478 * ser-unix.c (ser_unix_async): Fix tipo, "NOTHING_SECHEDULED"
3479 should be a switch case and not a label.
3480 * mips-tdep.c (mips32_next_pc): Delete unused labels
3481 "greater_equal_branch" and "less_zero_branch".
3482 * jv-valprint.c (java_print_value_fields): Delete unused label
3483 "flush_it".
3484
5269965e
AC
3485 * target.c (unpush_target): Only close a target that is in the
3486 target stack.
3487
dbc22fa1
MK
34882004-01-05 Mark Kettenis <kettenis@gnu.org>
3489
9515395e
MK
3490 * sparc-tdep.c (sparc_extract_struct_value_address): Get the
3491 address from [sp + 64] instead of %o2.
3492
dbc22fa1
MK
3493 * frame.c (get_prev_frame): Don't try to unwind the PC. This
3494 fixes PR backtrace/1476.
3495
5439edaa
AC
34962004-01-05 Andrew Cagney <cagney@redhat.com>
3497
3498 * libunwind-frame.h (struct frame_id): Add opaque declaration,
3499 move to start of file.
3500 * i386-tdep.h (struct regcache): Add opaque declaration.
3501 * config/ia64/nm-linux.h (struct target_ops): Add opaque
3502 declaration.
3503 * ia64-tdep.c (ia64_find_proc_info_x): Do not use __FUNCTION__.
3504 (ia64_gdbarch_init): Use "GNU/Linux" in comment.
3505 * win32-nat.c (fake_create_process): Use ISO C style definition.
3506 * stabsread.c (define_symbol): Delete #ifndef
3507 DEPRECATED_USE_REGISTER_NOT_ARG wrapper around
3508 stabs_argument_has_addr call, macro never defined.
3509
19061abe
MC
35102004-01-04 Michael Chastain <mec.gnu@mindspring.com>
3511
3512 * op50-rom.c: Delete.
3513 * w89k-rom.c: Delete.
3514 * Makefile.in: Remove references.
3515
e53bef9f
MK
35162004-01-04 Mark Kettenis <kettenis@gnu.org>
3517
3518 * x86-64-tdep.c: Update copyright year.
3519 (struct amd64_register_info): Rename from x86_64_register_info.
3520 (amd64_register_info): Rename from x86_64_register_info.
3521 (AMD64_NUM_REGS): Rename from X86_64_NUM_REGS.
3522 (amd64_register_name): Rename from x86_64_register_name.
3523 (amd64_register_type): Rename from x86_64_register_type.
3524 (amd64_dwarf_regmap): Rename from x86_64_dwarf_regmap.
3525 (amd64_dwarf_regmap_len): Rename from x86_64_dwarf_regmap_len.
3526 (amd64_dwarf_reg_to_regnum): Rename from
3527 x86_64_dwarf_reg_to_regnum.
3528 (amd64_convert_register_p): Rename from x86_64_convert_register_p.
3529 (amd64_push_dummy_call): Rename from x86_64_push_dummy_call.
3530 (AMD64_NUM_SAVED_REGS): Rename from X86_64_NUM_SAVED_REGS.
3531 (struct amd64_frame_cache): Renamed from x86_64_frame_cache.
3532 (amd64_alloc_frame_cache): Renamed from x86_64_alloc_frame_cache.
3533 (amd64_analyze_prologue): Rename from x86_64_analyze_prologue.
3534 (amd64_skip_prologue): Rename from x86_64_skip_prologue.
3535 (amd64_frame_cache): Rename from x86_64_frame_cache.
3536 (amd64_frame_this_id): Rename from x86_64_frame_this_id.
3537 (amd64_frame_prev_register): Rename from
3538 x86_64_frame_prev_register.
3539 (amd64_frame_unwind): Rename from x86_64_frame_unwind.
3540 (amd64_frame_sniffer): Rename from x86_64_frame_sniffer.
3541 (amd64_sigtramp_frame_cache): Rename from
3542 x86_64_sigtramp_frame_cache.
3543 (amd64_sigtramp_frame_prev_register): Rename from
3544 x86_64_sigtramp_frame_prev_register.
3545 (amd64_sigtramp_frame_unwind): Rename from
3546 x86_64_sigtramp_frame_unwind.
3547 (amd64_sigtramp_frame_sniffer): Rename from
3548 x86_64_sigtramp_frame_sniffer.
3549 (amd64_frame_base_address): Rename from x86_64_frame_base_address.
3550 (amd64_frame_base): Rename from x86_64_frame_base.
3551 (amd64_unwind_dummy_id): Rename from x86_64_unwind_dummy_id.
3552 (amd64_frame_align): Rename from x86_64_frame_align.
3553 (amd64_supply_fpregset): Rename from x86_64_supply_fpregset.
3554 (amd64_regset_from_core_section): Rename from
3555 x86_64_regset_from_core_section.
3556 (x86_64_init_abi): Update comments.
3557
fca6aa58
NR
35582004-01-04 Nick Roberts <nick@nick.uklinux.net>
3559
3560 * MAINTAINERS (write after approval): Add myself.
3561
8ada74e3
MK
35622004-01-04 Mark Kettenis <kettenis@gnu.org>
3563
3564 * sparc64-tdep.c (sparc64_store_arguments): Fix handling of
3565 `float' arguments.
3566
5154b0cd
MK
35672004-01-04 Mark Kettenis <kettenis@gnu.org>
3568
3569 * sparc64-tdep.c (sparc64_store_floating_fields): Update comment
3570 such that it mentions a specific version of GCC that exhibits this
3571 bug.
3572
fb316966
MK
35732004-01-03 Mark Kettenis <kettenis@gnu.org>
3574
200cc553
MK
3575 * sparc64-tdep.c (sparc64_store_floating_fields): If TYPE is a
3576 structure that has a single `float' member, store it in %f1 in
3577 addition to %f0.
3578
e226a4a0
MK
3579 * sparc-sol2-nat.c: Add missing '\'.
3580
b9d4c5ed
MK
3581 * sparc-tdep.c (sparc32_return_value): New function.
3582 (sparc32_use_struct_convention, sparc32_return_value_on_stack):
3583 Remove functions.
3584 (sparc32_gdbarch_init): Set return_value, don't set
3585 extract_return_value, store_return_value, use_struct_convention
3586 and return_value_on_stack.
3587
fb316966
MK
3588 * sparc-sol2-nat.c: Add missing ')'.
3589
1af510a8
JB
35902004-01-03 J. Brobecker <brobecker@gnat.com>
3591
3592 * infrun.c (handle_step_into_function): New function.
3593 (handle_inferior_event): Extract out some code into the new
3594 function above.
3595
5cf4d23a
JB
35962004-01-03 J. Brobecker <brobecker@gnat.com>
3597
3598 * infrun.c (handle_inferior_event): Move the declaration of
3599 real_stop_pc inside the if blocks where it is used.
3600
60af1db2
MK
36012004-01-03 Mark Kettenis <kettenis@gnu.org>
3602
3603 * sparc64-tdep.c (sparc64_16_byte_align_p)
3604 (sparc64_store_floating_fields, sparc64_store_floating_fields):
3605 Use check_typedef to get subtypes of structures and unions.
3606 (sparc64_store_return_value): Fix calculation of the appropriate
3607 offset into VALBUF when storing a structure or union.
3608 (sparc64_return_value): New function.
3609 (sparc64_use_struct_convention): Remove function.
3610 (sparc64_init_abi): Set return_value, don't set
3611 extract_return_value, store_return_value and
3612 use_struct_convention.
3613
1a901d3f
EZ
36142004-01-03 Eli Zaretskii <eliz@elta.co.il>
3615
3616 * config/djgpp/fnchange.lst: Add lines for COPYING.LIBGLOSS,
3617 bfd/doc/ChangeLog-9103, bfd/elf32-m68hc1x.c,
3618 gdb/config/alpha/xm-alphaosf.h,
3619 gdb/config/powerpc/tm-ppcle-eabi.h,
3620 gdb/config/rs6000/tm-rs6000-aix4.h, gdb/gdbtk/ChangeLog-2001,
3621 gdb/gdbtk/ChangeLog-2002, gdb/gdbtk/ChangeLog-2003,
3622 gdb/gdbtk/plugins/intel-pentium/intel-pentium.tcl.in,
3623 gdb/gdbtk/plugins/rhabout/rhabout.tcl.in, gdb/i386-linux-nat.c,
3624 gdb/ia64-aix-nat.c, gdb/ia64-aix-tdep.c, gdb/ia64-linux-nat.c,
3625 gdb/ia64-linux-nat.c, gdb/ppc-linux-tdep.c, gdb/ppc-linux-nat.c,
3626 gdb/sparc64nbsd-nat.c, gdb/sparc64nbsd-tdep.c,
3627 gdb/sparc64-linux-nat.c, gdb/sparc64-linux-tdep.c,
3628 gdb/sparc64-nat.c, gdb/sparc64-tdep.c, gdb/sparc64-sol2-tdep.c,
3629 gdb/sparc-sol2-nat.c, gdb/sparc-sol2-tdep.c,
3630 gdb/testsuite/gdb.gdbtk/, gdb/testsuite/gdb.mi/mi-var-child.exp,
3631 nclude/ChangeLog-9103, include/coff/ChangeLog-9103,
3632 include/elf/ChangeLog-9103, include/opcode/ChangeLog-9103,
3633 opcodes/ChangeLog-0001, opcodes/ChangeLog-0203,
3634 opcodes/openrisc-dis.c, opcodes/openrisc-desc.h,
3635 sim/frv/profile-fr550.c, sim/frv/profile-fr550.h,
3636 sim/sh64/sem-compact-switch.c, sim/sh64/sem-media-switch.c,
3637 sim/testsuite/sim/sh64/compact/ldsl-mach.cgs,
3638 sim/testsuite/sim/sh64/compact/ldsl-macl.cgs,
3639 sim/testsuite/sim/sh64/compact/stsl-mach.cgs, and
3640 sim/testsuite/sim/sh64/compact/stsl-macl.cgs.
3641 Remove lines for .cvsignore files.
3642
ef52e463
JB
36432004-01-03 J. Brobecker <brobecker@gnat.com>
3644
3645 * infrun.c: Back out the previous change.
3646
cb1bf9dc
MK
36472004-01-03 Mark Kettenis <kettenis@gnu.org>
3648
f0424ef6
MK
3649 * NEWS: Mention revised SPARC target. Add sparc-*-lynxos* and
3650 sparc-*-sunos4* to the list of REMOVED configurations.
3651
cb1bf9dc
MK
3652 * configure.tgt: Add back sparc-*-vxworks*.
3653 * remote-vxsparc.c: Remove all includes except for "defs.h",
3654 "regcache.h", "vx-share/ptrace.h" and "vx-share/regPacket.h".
3655 Include "sparc-tdep.h".
3656 (SPARC_R_G1): New define.
3657 (vxsparc_gregset): New variable.
3658 (ext_format_sparc): Remove extern declaration.
3659 (vx_read_register): Rewrite to use sparc32_supply_gregset and
3660 sparc32_supply_fpregset.
3661 (vx_write_register): Rewrite to use sparc32_collect_gregset,
3662 sparc_collect_rwindow and sparc32_collect_fpregset.
3663 * config/sparc/tm-vxworks.h: New file, based on recently removed
3664 tm-vxsparc.h.
3665 * config/sparc/vxworks.mt: New file, based on recently removed
3666 vxworks.mt.
fe61caab 3667
5e938f9f
JB
36682004-01-03 J. Brobecker <brobecker@gnat.com>
3669
3670 * infrun.c (handle_step_into_function): New function.
3671 (handle_inferior_event): Extract out some code into the new
3672 function above.
3673
386c036b
MK
36742004-01-02 Mark Kettenis <kettenis@gnu.org>
3675
3676 * Makefile.in (ALLDEPFILES): Remove sparc-linux-nat.c and
3677 sparcl-tdep.c. Add sparc-linux-tdep.c, sparc-sol2-nat.c,
3678 sparc-sol2-tdep.c, sparc-sol2-nat.c, sparc-sol2-tdep.c,
3679 sparc64-linux-nat.c, sparc64-linux-tdep.c, sparc64-nat.c,
3680 sparc64-sol2-tdep.c, sparc64-tdep.c, sparc64fbsd-nat.c,
3681 sparc64fbsd-tdep.c, sparcnbsd-nat.c, sparcnbsd-tdep.c.
3682 (sparc_nat_h): New variable.
3683 (sparcbsd_nat_h, sparcnbsd_tdep_h): Remove variables.
3684 (tm-sun4os4.h): Remove dependency.
3685 (sparcbsd-nat.o, sparc-linux-nat.o): Remove dependencies.
3686 (sparc64fbsd-nat.o, sparc64fbsd-tdep.o, sparc64nbsd-nat.o,
3687 sparc64-tdep.o, sparc-nat.o, sparcnbsd-nat.o, sparcnbsd-tdep.o,
3688 sparc-tdep.o): Update dependencies.
3689 (sparc-linux-tdep.o, sparc-sol2-nat.o, sparc-sol2-tdep.o,
3690 sparc64-linux-nat.o, sparc64-linux-tdep.o, sparc64-nat.o,
3691 sparc64-sol2-tdep.o, sparc64-tdep.o, sparc64nbsd-tdep.o): New
3692 dependencies.
3693 * configure.host: Remove existing sparc-*-lynxos*,
3694 sparc-*-solaris*, sparc-*-sunos4*, sparc-*-sunos5*, sparc-*-*,
3695 ultrasparc-*-freebsd, sparcv9-*-freebsd, sparc64-*-linux*,
3696 sparcv9-*-* and sparc64-*-* triplets. Add new sparc64-*-linux*,
3697 sparc-*-solaris2*, sparcv9-*-solaris2* and sparc64-*-solaris2*
3698 triplets.
3699 * configure.tgt: Remove exitsing sparc-*-aout*, sparc-*-coff*,
3700 sparc-*-elf*, sparc*-lynxos*, sparc-*-solars2*, sparc-*-sunos4*,
3701 sparc-*-sunos5*, sparc-*-vxworks*, sparc64-*linux*, sparc64-*-*,
3702 sparcv9-*-* and commented out sparc64-*-solars2* triplets. Add
3703 new sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*,
3704 sparc64-*-linux, sparc-*-solaris2*, sparcv9-*-solaris*,
3705 sparc64-*-solaris2* and sparc64-*-* triplets.
3706 * sparc64-tdep.c: Update copyright year. Include "inferior.h",
3707 "symtab.h" and "objfiles.h".
3708 (BIAS): Remove define.
3709 (X_OP, X_RD, X_A, X_COND, X_OP2, X_IMM22, X_OP3, X_I, X_DISP22)
3710 (X_DISP19): Remove macros.
3711 (sparc_fetch_instruction): Remove function.
3712 (struct gdbarch_tdep): Remove definition.
3713 (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use ARRAY_SIZE.
3714 (sparc_breakpoint_from_pc): Remove function.
3715 (struct sparc64_frame_cache): Remove definition.
3716 (sparc64_alloc_frame_cache, sparc64_analyze_prologue,
3717 sparc64_unwind_pc): Remove functions.
3718 (sparc64_skip_prologue): Use `struct sparc_frame_cache' instead of
3719 `struct sparc64_frame_cache. Call sparc_analyze_prologue instead
3720 of sparc64_analyze_prologue. Mark constant as ULL instead of UL.
3721 (sparc64_frame_cache): Change return type to `struct
3722 sparc_frame_cache *'. Simply call sparc_frame_cache.
3723 (sparc64_frame_this_id, sparc64_frame_prev_register,
3724 sparc64_frame_base_address): Use `struct sparc_frame_cache'
3725 instead of `struct sparc64_frame_cache.
3726 (sparc_unwind_dummy_id, sparc_extract_struct_value_address,
3727 sparc_analyze_control_transfer, sparc_software_single_step,
3728 sparc64_gdbarch_init, sparc_supply_rwindow, sparc_fill_rwindow,
3729 _initialize_sparc64_tdep): Remove functions.
3730 (TSTATE_CWP, TSTATE_ICC, TSTATE_XCC): New macros.
3731 (PSR_S, PSR_ICC, PSR_VERS, PSR_IMPL, PSR_V8PLUS, PSR_XCC): New
3732 macros.
3733 (sparc64_supply_gregset, sparc64_collect_gregset,
3734 sparc64_supply_fpregset, sparc64_collect_fpregset): New functions.
3735 (sparc64_init_abi): New function.
3736 * sparc64-tdep.h: Update copyright year. Fix typo in multiple
3737 inclusion guard. Include "sparc-tdep.h".
3738 (BIAS): Define.
3739 (r_tstate_offset, r_fprs_offset): New defines.
3740 (enum sparc_regnum): Remove defenition.
3741 (enum sparc64_regnum): Reformat.
3742 (sparc_supply_rwindow, sparc_fill_rwindow): Remove prototypes.
3743 (sparc64_init_abi, sparc64_supply_gregset,
3744 sparc64_collect_gregset, sparc64_supply_fpregset,
3745 sparc64_collect_fpregset): New prototypes.
3746 (sparc64_sol2_gregset, sparc64nbsd_gregset, sparc64fbsd_gregset):
3747 Add extern declarations.
3748 (sparc64_sol2_init_abi): New prototype.
3749 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
3750 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
3751 prototypes.
3752 * sparc64fbsd-nat.c: Include "sparc-nat.h", don't include
3753 "sparnbsd-nat.h".
3754 (sparc64fbsd_reg_supplies_p, sparc64fbsd_fpreg_supplies_p): Remove
3755 functions.
3756 (_initialize_sparc64fbsd_nat): Remove initialization of
3757 sparcbsd_supply_reg, sparcbsd_fill_reg, sparcbsd_supply_fpreg,
3758 sparcbsd_fill_fpreg, sparcbsd_reg_supplies_p,
fe61caab 3759 sparcbsd_fpreg_supplies_p. Initialize sparc_gregset.
386c036b
MK
3760 * sparc64fbsd-tdep.c: Update copyright year. Include "frame.h",
3761 "frame-unwind.h", "trad-frame.h" and "gdb_assert.h".
3762 (sparc64fbsd_r_global_offset, sparc64fbsd_r_out_offset)
3763 (sparc64fbsd_r_fprs_offset, sparc64fbsd_r_tnpc_offset)
3764 (sparc64fbsd_r_tpc_offset, sparc64fbsd_r_tstate_offset)
3765 (sparc64fbsd_r_y_offset): Remove variables.
3766 (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
3767 Make static and const.
3768 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
3769 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
3770 functions.
3771 (sparc64fbsd_gregset): New variable.
3772 (fetch_core_registers): Replace calls to sparc64fbsd_supply_reg
3773 and sparc64fbsd_supply_fpreg with calls to sparc64_supply_gregset
3774 and sparc64_supply_fpregset.
3775 (sparc64fbsd_pc_in_sigtramp, sparc64fbsd_sigtramp_frame_cache)
3776 (sparc64fbsd_sigtramp_frame_this_id)
3777 (sparc64fbsd_sigtramp_frame_prev_register): New functions.
3778 (sparc64fbsd_sigtramp_frame_unwind): New variable.
3779 (sparc64fbsd_sigtramp_frame_sniffer): New function.
3780 (sparc64fbsd_init_abi): Set pc_in_sigtramp, append
3781 sparc64fbsd_sigtramp_frame_sniffer. Call sparc64_init_abi.
3782 * sparcnbsd-tdep.c: Update copyright year. Include
3783 "floatformat.h", "frame.h", "frame-unwind.h", "symtab.h",
3784 "trad-frame.h" and "gdb_assert.h", don't include "target.h",
3785 "value.h" and "sparcnbsd-tdep.h".
3786 (REG32_OFFSET_PSR, REG32_OFFSET_PC, REG32_OFFSET_NPC)
3787 (REG32_OFFSET_Y, REG32_OFFSET_GLOBAL, REG32_OFFSET_OUT)
3788 (REG64_OFFSET_TSTATE, REG64_OFFSET_PC, REG64_OFFSET_NPC)
3789 (REG64_OFFSET_Y, REG64_OFFSET_GLOBAL, REG64_OFFSET_OUT): Remove
3790 defines.
3791 (sparcnbsd_gregset): New variable.
3792 (sparcnbsd_supply_reg32, sparcnbsd_supply_reg64)
3793 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64)
3794 (sparcnbsd_supply_fpreg32, sparcnbsd_supply_fpreg64)
3795 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64): Remove functions.
3796 (sparc32nbsd_sigtramp_start, sparc32nbsd_sigtramp_end): New
3797 variables.
3798 (sparc32nbsd_pc_in_sigtramp, sparc32nbsd_sigcontext_frame_cache)
3799 (sparc32nbsd_sigcontext_frame_this_id)
3800 (sparc32nbsd_sigcontext_frame_prev_register): New functions.
3801 (sparc32nbsd_sigcontext_frame_unwind): New variable.
3802 (sparc32nbsd_sigtramp_frame_sniffer): New function.
3803 (sparcnbsd_get_longjmp_target_32,
3804 sparcnbsd_get_longjmp_target_64): Remove functions.
3805 (sparcnbsd_aout_in_solib_call_trampoline): Rewrite.
3806 (sparcnbsd_init_abi_common, sparcnbsd_init_aout,
3807 sparcnbsd_init_elf): Remove.
3808 (sparcnbsd_init_abi, sparcnbsd_aout_init_abi)
3809 (sparcnbsd_elf_init_abi): New functions.
3810 (_initialize_sparcnbsd_tdep): New prototype.
3811 (_initialize_sparnbsd_tdep): Update.
3812 * config/sparc/fbsd.mh (NATDEPFILES): Remove sparcbsd-nat.o and
3813 corelow.o. Add sparc64-nat.o and sparc-nat.o.
3814 * config/sparc/fbsd.mt (TDEPFILES): Add sparc-tdep.o and corelow.o.
3815 * config/sparc/linux.mh: Update comment.
3816 (XM_FILE, HOST_IPC): Remove variables.
3817 (NATDEPFILES): Add sparc-sol2-nat.o and core-regset.o. Remove
3818 sparc-linux-nat.o.
3819 * config/sparc/linux.mt: Update comment.
3820 (TDEPFILES): Add sparc-sol2-tdep.o and sparc-linux-tdep.o.
3821 * config/sparc/nbsd.mt: Reformat.
3822 * config/sparc/nbsd64.mh: Update comment.
3823 (NATDEPFILES): Add sparc-nat.o.
3824 * config/sparc/nbsd64.mt: Update comment.
3825 (TDEPFILES): Add sparc64-tdep.o and sparc64nbsd-tdep.o.
3826 (TM_FILE): Set to tm-nbsd.h.
3827 * config/sparc/nbsdelf.mh: Update comment.
3828 (NATDEPFILES): Add sparc-nat.o.
3829 (XM_FILE): Delete.
3830 * config/sparc/nbsdaout.mh: Update comment.
3831 (NATDEPFILES): Add sparc-nat.o
3832 (XM_FILE): Delete.
3833 * config/sparc/nm-linux.h: Update copyright year. Don't include
3834 "config/nm-svr4.h" and "solib.h". Add protection against multiple
3835 inclusion.
3836 (KERNEL_U_SIZE): Remove define.
3837 (kernel_u_size): Remove prototype.
3838 (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define.
3839 * config/sparc/nm-nbsd.h: Update copyright. Don't include
3840 "regcache.h".
3841 (CHILD_PREPARE_TO_STORE): Remove define.
3842 * config/sparc/nm-nbsdaout.h: Tweak some comments.
3843 * sparc-nat.c, sparc-tdep.c, sparc-tdep.h, sparc64nbsd-nat.c,
3844 sparcnbsd-nat.c: Rewrite files.
3845 * config/sparc/tm-linux.h, config/sparc/tm-nbsd.h: Rewrite files.
3846 * sparc-linux-nat.c, sparcbsd-nat.c, sparcbsd-nat.h,
3847 sparcnbsd-tdep.h: Remove files.
3848 * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4os4.h,
3849 config/sparc/nm-sun4sol2.h, config/sparc/sp64.mt,
3850 config/sparc/sp64linux.mt, config/sparc/sp64sol2.mt,
3851 config/sparc/sparc-em.mt, config/sparc/sparclynx.mh,
3852 config/sparc/sparclynx.mt, config/sparc/sun4os4.mh,
3853 config/sparc/sun4os4.mt, config/sparc/sun4sol2.mh,
3854 config/sparc/sun4sol2.mt, config/sparc/tm-sp64.h,
3855 config/sparc/tm-sp64linux.h, config/sparc/tm-sparc.h,
3856 config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h,
3857 config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h,
3858 config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt,
3859 config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h: Remove files.
3860 * sparc-linux-tdep.c, sparc-nat.h, sparc-sol2-nat.c,
3861 sparc-sol2-tdep.c, sparc64-linux-nat.c, sparc64-linux-t dep.c,
3862 sparc64-nat.c, sparc64-sol2-tdep.c, sparc64nbsd-tdep.c: New files.
3863 * config/sparc/linux64.mh, config/sparc/linux64.mt,
3864 config/sparc/nm-sol2.h, config/sparc/sol2-64.mt,
3865 config/sparc/sol2.mh, config/sparc/sol2.mt, config/sparc/sparc.mt,
3866 config/sparc/sparc64.mt, config/sparc/tm-sol2.h: New files.
3867
ee84457a
AC
38682004-01-02 Andrew Cagney <cagney@redhat.com>
3869
3870 From 2003-12-18 Kazuhiro Inaoka:
3871 * configure.host: Add m32r-linux target.
3872
0bc2134e
MC
38732004-01-02 Michael Chastain <mec.gnu@mindspring.com>
3874
3875 * top.c (print_gdb_version): Update year to 2004.
3876
89a72f9c
MM
38772004-01-02 Mark Mitchell <mark@codesourcery.com>
3878
3879 * MAINTAINERS: Add myself to the write-after-approval category.
3880
86b013ed
DJ
38812004-01-02 Daniel Jacobowitz <drow@mvista.com>
3882
3883 From Bernardo Innocenti <bernie@develer.com>:
3884 * configure.tgt: Add uClinux target.
3885
e42c9534
AC
38862004-01-02 Andrew Cagney <cagney@redhat.com>
3887
3888 * utils.c (do_my_cleanups): Make static, add forward declaration.
3889 * defs.h (do_my_cleanups): Delete declaration.
3890
162467d3
EZ
38912004-01-02 Eli Zaretskii <eliz@elta.co.il>
3892
3893 * config/djgpp/fnchange.lst: Add lines for gdb/ChangeLog-2003 and
3894 bfd/ChangeLog-0203.
3895
78434e59
MK
38962004-01-02 Mark Kettenis <kettenis@gnu.org>
3897
3898 * configure.in: Check for <machine/reg.h>. Check for `struct reg'
3899 in <machine/reg.h>.
3900 * configure, config.in: Regenerate.
3901
48efe704
AC
3902For older changes see ChangeLog-2003, mi/ChangeLog-1999-2003, and
3903tui/ChangeLog-1998-2003.
c906108c
SS
3904\f
3905Local Variables:
3906mode: change-log
3907left-margin: 8
3908fill-column: 74
3909version-control: never
3910End: