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