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