Commit | Line | Data |
---|---|---|
827f338d MK |
1 | 2004-05-01 Mark Kettenis <kettenis@gnu.org> |
2 | ||
3 | * m68knbsd-nat.c: Remove file. | |
4 | * m68knbsd-tdep.c: Remove file. | |
5 | * Makefile.in: (m68knbsd-nat.o, m68knbsd-tdep.o): Remove | |
6 | dependencies. | |
7 | * configure.host: Add m68k-*-netbsdelf*. | |
8 | * configure.tgt (m68k-*-netbsd*): Set gdb_target to nbsd. | |
9 | * config/m68k/nbsdaout.mh (NATDEPFILES): Add m68kbsd-nat.o, | |
10 | solib.o and solib-sunos.o. Remove m68knbsd-nat.o, corelow.o. | |
11 | (XM_FILE): Remove. | |
12 | * config/m68k/nbsdelf.mh: New file. | |
13 | * config/m68k/nbsd.mt: New file. | |
14 | * config/m68k/nbsdaout.mt: Remove file. | |
15 | * config/m68k/tm-nbsd.h: Don't include <sys/param.h>, | |
16 | <machine/vmparam.h> and "m68k/tm-m68k.h". Include "solib.h". | |
17 | (BPT_VECTOR, STACK_END_ADDR): Remove defines. | |
18 | (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Likewise. | |
19 | (use_struct_convention): Remove prototype. | |
20 | (USE_STRUCT_CONVENTION): Remove define. | |
21 | * config/m68k/xm-nbsd.h: Remove file. | |
22 | ||
66894781 MS |
23 | 2004-05-04 Michael Snyder <msnyder@redhat.com> |
24 | ||
25 | * m68k-tdep.c (m68k_gdbarch_init): Default to using | |
26 | reg_struct_return method (as gcc usually does for cross targets). | |
27 | ||
f0f63663 AC |
28 | 2004-05-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
29 | ||
30 | Committed by Andrew Cagney. | |
31 | * s390-tdep.c (s390_sigtramp_frame_unwind_cache): Account for | |
32 | alignment padding when accessing ucontext struct members. | |
33 | ||
edf61169 JB |
34 | 2004-05-04 Jim Blandy <jimb@redhat.com> |
35 | ||
8bf659e8 JB |
36 | * config/ppc-tdep.h (struct gdbarch_tdep): Delete |
37 | 'ppc_gplast_regnum' member. | |
38 | (ppc_num_gprs): New enum constant. | |
39 | * ppc-linux-nat.c (ppc_register_u_addr): Use tdep->ppc_gp0_regnum | |
40 | and ppc_num_gprs instead of tdep->ppc_gplast_regnum. | |
41 | * rs6000-nat.c (regmap, fetch_inferior_registers, | |
42 | store_inferior_registers): Same. | |
43 | * rs6000-tdep.c (e500_pseudo_register_read) | |
44 | (e500_pseudo_register_write): Same. | |
45 | (rs6000_gdbarch_init): Don't initialize tdep->ppc_gplast_regnum. | |
46 | ||
b967e06f JB |
47 | * config/rs6000/tm-rs6000.h (FPLAST_REGNUM): Delete #definition. |
48 | * ppc-tdep.h (ppc_num_fprs): New enum constant. | |
49 | * aix-thread.c (fetch_regs_kernel_thread, fill_fprs, | |
50 | store_regs_kernel_thread): Use FP0_REGNUM + ppc_num_fprs, not | |
51 | FPLAST_REGNUM. | |
52 | * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers): | |
53 | Same. | |
54 | * ppc-linux-nat.c (ppc_register_u_addr): Same. | |
55 | * rs6000-nat.c (regmap, fetch_inferior_registers) | |
56 | (store_inferior_registers): Same. | |
57 | ||
edf61169 JB |
58 | * aix-thread.c (fill_fprs): Fix off-by-one error comparing regno |
59 | with FPLAST_REGNUM. | |
60 | ||
58a9656e JB |
61 | 2004-05-03 Joel Brobecker <brobecker@gnat.com> |
62 | ||
63 | * dwarf2read.c (dwarf2_create_include_psymtab): Fix build | |
64 | failure detected by recent versions of GCC. | |
65 | (psymtab_to_symtab_1): No longer use the PST_PRIVATE macro | |
66 | to be consistent with the usage in dwarf2_create_include_psymtab. | |
67 | ||
dc305454 MS |
68 | 2004-05-03 Michael Snyder <msnyder@redhat.com> |
69 | ||
70 | * mips-tdep.c (mips_gdbarch_init): Fix typo in comment. | |
71 | (heuristic_proc_start): Whitespace cleanup. | |
72 | ||
29972665 MK |
73 | 2004-05-04 Mark Kettenis <kettenis@gnu.org> |
74 | ||
6b57680d MK |
75 | * sun3-nat.c: Remove file. |
76 | * Makefile.in (tm-sun3.h tm-altos.h tm-sun2.h tm-3b1.h): Remove | |
77 | dependencies. | |
78 | (ALLDEPFILES): Remove sun3-nat.c. | |
79 | (sun3-nat.o): Remove dependencies. | |
80 | ||
29972665 MK |
81 | * i386-interix-nat.c, i386-interix-tdep.c, |
82 | config/i386/nm-interix.h, config/i386/interix.mh, | |
83 | config/i386/interix.mt: Remove files. | |
84 | * Makefile.in (i386-interix-nat.o, i386-interix-tdep.o): Remove | |
85 | dependencies. | |
86 | ||
f595cb19 MK |
87 | 2004-05-03 Mark Kettenis <kettenis@gnu.org> |
88 | ||
89 | * m68k-tdep.h (struct gdbarch_tdep): Add member | |
90 | struct_value_regnum. | |
91 | (m68k_svr4_init_abi): New prototype. | |
92 | * m68k-tdep.c: Include "floatformat.h". Add comment about all the | |
93 | different calling conventions. | |
94 | (m68k_extract_return_value): Remove code dealing with single-field | |
95 | structs. | |
96 | (m68k_store_return_value): Remove code dealing with single-field | |
97 | structs. Correctly store return values of 5, 6, 7 or 8 bytes. | |
98 | (m68k_extract_struct_value_address): Remove function. | |
99 | (m68k_svr4_extract_return_value,m68k_svr4_store_return_value) | |
100 | (m68k_reg_struct_return_p, m68k_return_value) | |
101 | (m68k_svr4_return_value): New functions. | |
102 | (m68k_use_struct_convention): Remove function. | |
103 | (m68k_push_dummy_call): Use new struct_value_regnum member of | |
104 | `struct gdbarch_tdep' instead of hardcoded register number to | |
105 | store STRUCT_ADDR. | |
106 | (m68k_svr4_init_abi): New function. | |
107 | (m68k_gdbarch_init): Don't set extract_return_value, | |
108 | store_return_values, deprecated_extract_struct_value_address and | |
109 | use_struct_convention. Set return_value instead. Initialize new | |
110 | struct_value_regnum member of `struct gdbarch_tdep'. | |
111 | * m68klinux-tdep.c: Update copyright year. | |
112 | (m68k_linux_extract_return_value, m68k_linux_store_return_value) | |
113 | (m68k_linux_extract_struct_value_address): Remove function. | |
114 | (m68k_linux_init_abi): Don't set extract_return_value, | |
115 | store_return_values, deprecated_extract_struct_value_address and | |
116 | use_struct_convention. Call m68k_svr4_init_abi but override the | |
117 | new struct_value_regnum member of `struct gdbarch_tdep'. | |
118 | * Makefile.in (m68k-tdep.o): Update dependencies. | |
119 | ||
aaa75496 JB |
120 | 2004-05-03 J. Brobecker <brobecker@gnat.com> |
121 | ||
122 | * dwarf2read.c (line_header): Add new included_p field in | |
123 | field file_names. | |
124 | (partial_die_info): New field has_stmt_list. New field line_offset. | |
125 | (dwarf2_create_include_psymtab): New function. | |
126 | (dwarf2_build_include_psymtabs): New function. | |
127 | (add_file_name): Add forward declaration. Initialize new field. | |
128 | (dwarf_decode_lines): Add new parameter. Enhance this procedure | |
129 | to be able to determine the list of files included by the | |
130 | given unit, and build their associated psymtabs. | |
131 | (dwarf2_build_psymtabs_hard): Build the psymtabs for the included | |
132 | files as well. | |
133 | (psymtab_to_symtab_1): Build the symtabs of all dependencies as well. | |
134 | (read_file_scope): Update call to dwarf_decode_lines. | |
135 | (read_partial_die): Handle DW_AT_stmt_list attributes. | |
136 | ||
c848556f MC |
137 | 2004-05-02 Michael Chastain <mec.gnu@mindspring.com> |
138 | ||
139 | Unfix PR gdb/1626. | |
140 | * configure.in: Revert special case for osf5.*. | |
141 | * configure: Regenerate. | |
142 | ||
eb4556d7 JB |
143 | 2004-05-02 Jim Blandy <jimb@redhat.com> |
144 | ||
145 | Move the symbol-file-from-memory functions into their own file. | |
146 | * symfile-mem.c, symfile-mem.h: New files. | |
147 | * symfile.c (symbol_file_add_from_bfd): New function. | |
148 | (symbol_file_add): Call symbol_file_add_from_bfd. | |
149 | (symbol_file_add_from_memory, add_symbol_file_from_memory_command): | |
150 | Moved to symfile-mem.c. | |
151 | (_initialize_symfile): Move definition of | |
152 | add-symbol-file-from-memory command to symfile-mem.c. | |
153 | * symfile.h (symbol_file_add_from_bfd): New declaration. | |
154 | * config/i386/linux.mt (TDEPFILES): Add symfile-mem.o. | |
155 | * config/powerpc/linux.mt (TDEPFILES): Same. | |
156 | * Makefile.in (SFILES): Add symfile-mem.c. | |
157 | (symfile_mem_h): New variable. | |
158 | (HFILES_NO_SRCDIR): Add symfile-mem.h. | |
159 | (symfile-mem.o): New rule. | |
160 | ||
80bb239e AC |
161 | 2004-05-01 Andrew Cagney <cagney@redhat.com> |
162 | ||
7789d0fa AC |
163 | * breakpoint.c (insert_bp_location): Use get_frame_id, and |
164 | frame_find_by_id instead of frame_relative_level. | |
165 | (do_enable_breakpoint): Ditto. | |
166 | * thread.c: Update copyright. | |
167 | (info_threads_command): Ditto, simplify. | |
168 | ||
80bb239e AC |
169 | * frame.c (deprecated_generic_get_saved_register): Delete |
170 | function, moved to "xstormy16-tdep.c". | |
171 | * xstormy16-tdep.c (xstormy16_get_saved_register): Inline | |
172 | deprecated_generic_get_saved_register from "frame.c". | |
173 | (xstormy16_frame_saved_register): Call | |
174 | xstormy16_get_saved_register. | |
175 | * dummy-frame.c (deprecated_find_dummy_frame_regcache): Make | |
176 | static. | |
177 | * dummy-frame.h (deprecated_find_dummy_frame_regcache): Delete. | |
178 | * frame.h (deprecated_generic_get_saved_register): Delete. | |
179 | ||
b2a871dd MC |
180 | 2004-05-01 Michael Chastain <mec.gnu@mindspring.com> |
181 | ||
182 | * dwarfread.c: Update documentation on the state of dwarf-1. | |
183 | ||
0e100dab AC |
184 | 2004-05-01 Andrew Cagney <cagney@redhat.com> |
185 | ||
acd8056e AC |
186 | * stack.c (select_frame_command): Delete call to |
187 | frame_relative_level. | |
188 | (print_frame, set_backtrace_limit_command, backtrace_limit_info): | |
189 | Delete #if0 code. | |
190 | (frame_info): Do not print FRAMELESS. | |
191 | (print_block_frame_labels): Replace DEPRECATED_STREQ. | |
192 | (catch_info): Delete #if0 code. | |
193 | ||
0e100dab AC |
194 | * frame.c (create_sentinel_frame): Set type to SENTINEL_FRAME. |
195 | * dummy-frame.c (dummy_frame_this_id): Use get_frame_type, instead | |
196 | of frame_relative_level. | |
197 | * sentinel-frame.c (sentinel_frame_unwinder): Set unwinder's type | |
198 | to SENTINEL_FRAME. | |
199 | * frame.h (enum frame_type): Add SENTINEL_FRAME. | |
200 | * s390-tdep.c (s390_prologue_frame_unwind_cache): Delete calls to | |
201 | frame_relative_level. | |
202 | ||
55699d59 AC |
203 | * frame.h (deprecated_set_frame_type): Delete declaration. |
204 | * frame.c (deprecated_set_frame_type): Delete function, update | |
205 | comments. | |
206 | ||
fcf70625 AC |
207 | * gdbarch.sh (DEPRECATED_PC_IN_SIGTRAMP): Delete. |
208 | * gdbarch.h, gdbarch.c: Re-generate. | |
209 | * shnbsd-tdep.c (shnbsd_init_abi): Do not set pc_in_sigtramp. | |
210 | (shnbsd_pc_in_sigtramp): Delete. | |
211 | * i386-interix-tdep.c (i386_interix_init_abi): Do not set | |
212 | pc_in_sigtramp. | |
213 | * hppa-hpux-tdep.c (hppa_hpux_init_abi): Do not set | |
214 | pc_in_sigtramp. | |
215 | * frame.h: Update comments. | |
216 | * ppc-linux-tdep.c: Update comments. | |
217 | * breakpoint.c (bpstat_what): Update comments. | |
218 | ||
ac5eccb7 AC |
219 | * Makefile.in (m68klinux-tdep.o, m68klinux-nat.o): Fix |
220 | m68klinux-tdep.o's dependencies, were previously added to | |
221 | m68klinux-nat.o. | |
222 | ||
f2524b93 AC |
223 | * alpha-tdep.c (alpha_sigtramp_frame_sniffer): Use pc_in_sigtramp. |
224 | * alpha-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp. | |
225 | * alphafbsd-tdep.c (alphafbsd_init_abi): Update. | |
226 | * alpha-osf1-tdep.c (alpha_osf1_init_abi): Update. | |
227 | * alpha-linux-tdep.c (alpha_linux_init_abi): Update. | |
228 | ||
17e20bce AC |
229 | * Makefile.in (m68klinux-nat.o): Update dependencies. |
230 | * m68klinux-tdep.c: Include "trad-frame.h" and "frame-unwind.h". | |
231 | (m68k_linux_sigtramp_frame_cache) | |
232 | (m68k_linux_sigtramp_frame_this_id) | |
233 | (m68k_linux_sigtramp_frame_prev_register) | |
234 | (m68k_linux_sigtramp_frame_unwind) | |
235 | (m68k_linux_sigtramp_frame_sniffer) | |
236 | (struct m68k_linux_sigtramp_info, m68k_linux_init_abi): Code from | |
237 | m68k-tdep.h and m68k-tdep.c, add "linux" to function and variable | |
238 | names, use trad-frame.h. | |
239 | * m68k-tdep.h (struct gdbarch_tdep): Delete get_sigtramp_info. | |
240 | (struct m68k_sigtramp_info): Delete. | |
241 | * m68k-tdep.c (m68k_sigtramp_frame_cache) | |
242 | (m68k_sigtramp_frame_this_id, m68k_sigtramp_frame_prev_register) | |
243 | (m68k_sigtramp_frame_unwind, m68k_sigtramp_frame_sniffer) | |
244 | (m68k_gdbarch_init): Delete all the sigtramp code, moved to | |
245 | "m68klinux-tdep.c". | |
246 | ||
c8864fa2 AC |
247 | * infrun.c (check_sigtramp2): Delete check for |
248 | DEPRECATED_PC_IN_SIGTRAMP and INNER_THAN. | |
249 | ||
511dd2cd MK |
250 | 2004-05-01 Mark Kettenis <kettenis@gnu.org> |
251 | ||
252 | * m68k-tdep.h (m68kbsd_fpreg_offset): New prototype. | |
253 | ||
8c6b0e06 AC |
254 | 2004-05-01 Andrew Cagney <cagney@redhat.com> |
255 | ||
9df0bb3f AC |
256 | * frv-linux-tdep.c: Include "trad-frame.h" and "frame-unwind.h". |
257 | (frv_linux_sigtramp_frame_cache) | |
258 | (frv_linux_sigtramp_frame_this_id) | |
259 | (frv_linux_sigtramp_frame_prev_register) | |
260 | (frv_linux_sigtramp_frame_unwind) | |
261 | (frv_linux_sigtramp_frame_sniffer): Copied from frv-tdep.c, | |
262 | include "linux" in function and variable names, directly call | |
263 | frv_linux_pc_in_sigtramp and frv_linux_sigcontext_reg_addr, use | |
264 | the latest trad-frame code. | |
265 | (frv_linux_init_abi): Append frv_linux_sigtramp_frame_sniffer, do | |
266 | not set frv_sigcontext_reg_addr or deprecated_pc_in_sigtramp | |
267 | * Makefile.in (frv-linux-tdep.o): Update dependencies. | |
268 | * frv-tdep.h (frv_set_sigcontext_reg_addr): Delete declaration. | |
269 | * frv-tdep.c (frv_sigtramp_frame_cache) | |
270 | (frv_sigtramp_frame_this_id, frv_sigtramp_frame_prev_register) | |
271 | (frv_sigtramp_frame_unwind, frv_sigtramp_frame_sniffer): Moved to | |
272 | frv-linux-tdep.c. | |
273 | (frv_gdbarch_init): Do not append a sigtramp sniffer. | |
274 | (struct gdbarch_tdep): Delete sigcontext_reg_addr. | |
275 | (frv_set_sigcontext_reg_addr): Delete function. | |
276 | ||
8c6b0e06 AC |
277 | * gdbarch.sh (DEPRECATED_SIGTRAMP_START) |
278 | (DEPRECATED_SIGTRAMP_END): Delete. | |
279 | * gdbarch.h, gdbarch.c: Re-generate. | |
280 | * arch-utils.c (legacy_pc_in_sigtramp): Simplify. | |
281 | * config/vax/tm-vaxbsd.h: Update copyright. | |
282 | (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete. | |
283 | (DEPRECATED_IN_SIGTRAMP): Define. | |
284 | * config/m68k/tm-nbsd.h: Update copyright. | |
285 | (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete. | |
286 | (DEPRECATED_IN_SIGTRAMP): Define. | |
287 | ||
50ea7769 MK |
288 | 2004-05-01 Mark Kettenis <kettenis@gnu.org> |
289 | ||
03ac2a74 MK |
290 | * dwarf2-frame.c (read_encoded_value): Handle DW_EH_PE_funcrel |
291 | encondings. Fixes PR gdb/1628. | |
292 | ||
50ea7769 MK |
293 | * dwarf2-frame.c (execute_cfa_program): Complain if we encounter a |
294 | DW_CFA_restore state without a matching DW_CFA_remember_state | |
295 | instead of aborting. Fixes PR backtrace/1589. | |
296 | ||
9a5d7be1 JB |
297 | 2004-04-30 Joel Brobecker <brobecker@gnat.com> |
298 | ||
299 | * MAINTAINERS: Add self as AIX maintainer. | |
300 | Update my e-mail address in write-after-approval section. | |
301 | ||
2593d1cd AC |
302 | 2004-04-30 Andrew Cagney <cagney@redhat.com> |
303 | ||
ce12bbf9 AC |
304 | * frame.c (frame_type_from_pc): Delete call to PC_IN_SIGTRAMP. |
305 | (legacy_get_prev_frame): Ditto. | |
306 | ||
36710c63 AC |
307 | * mips-tdep.c (mips_pc_in_sigtramp): Delete. |
308 | (mips_gdbarch_init): Do not set pc_in_sigtramp. | |
309 | * mipsread.c (sigtramp_address): Delete extern variable. | |
310 | (mipscoff_new_init): Delete reference. | |
311 | * mdebugread.c (sigtramp_address, sigtramp_end): Delete variables. | |
312 | (fixup_sigtramp): Delete function. | |
313 | * config/mips/tm-mips.h (sigtramp_address, sigtramp_end) | |
314 | (fixup_sigtramp): Delete declarations. | |
315 | ||
2593d1cd AC |
316 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Do not set |
317 | deprecated_pc_in_sigtramp. | |
318 | (ppcnbsd_pc_in_sigtramp): Delete function. | |
319 | ||
2a25f91c MK |
320 | 2004-05-01 Mark Kettenis <kettenis@gnu.org> |
321 | ||
322 | * config/m68k/nm-nbsd.h: Tweak comments. | |
323 | * config/m68k/nm-nbsdaout.h: Likewise. | |
324 | ||
0b281939 AC |
325 | 2004-04-30 Andrew Cagney <cagney@redhat.com> |
326 | ||
327 | * arm-tdep.c (arm_sigtramp_unwind_sniffer): Call | |
328 | legacy_pc_in_sigtramp. | |
329 | * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Ditto. | |
330 | ||
8f2d3ea0 MK |
331 | 2004-05-01 Mark Kettenis <kettenis@gnu.org> |
332 | ||
333 | Add OpenBSD/m68k support. | |
334 | * NEWS (New native configurations): Mention OpenBSD/m68k. | |
335 | * m68kbsd-tdep.c: New file. | |
336 | * m68kbsd-nat.c: New file. | |
337 | * Makefile.in (ALLDEPFILES): Add m68kbsd-nat.c and m68kbsd-tdep.c. | |
338 | (m68kbsd-nat.o, m68kbsd-tdep.o): New dependencies. | |
339 | * configure.host: Add m68k-*-openbsd. | |
340 | * configure.tgt: Add m68k-*-openbsd. | |
341 | * config/m68k/tm-obsd.h: New file. | |
342 | * config/m68k/obsd.mt: New file. | |
343 | * config/m68k/obsd.mh: New file. | |
344 | * config/djgpp/fnchange.lst: Add entries for m68kbsd-nat.c and | |
345 | m68kbsd-tdep.c. | |
346 | ||
c40f49a4 AC |
347 | 2004-04-30 Andrew Cagney <cagney@redhat.com> |
348 | ||
349 | * mipsnbsd-tdep.c (mipsnbsd_pc_in_sigtramp): Delete function. | |
350 | (mipsnbsd_init_abi): Do not set pc_in_sigtramp. | |
351 | ||
e81554cd MK |
352 | 2004-04-30 Mark Kettenis <kettenis@gnu.org> |
353 | ||
354 | * m68k-tdep.c (REMOTE_BPT_VECTOR): Remove define. | |
355 | * config/m68k/tm-nbsd.h (REMOTE_BPT_VECTOR): Remove define. | |
356 | ||
d4dc1a91 BF |
357 | 2004-04-30 Brian Ford <ford@vss.fsi.com> |
358 | ||
359 | Revert 2004-04-16 change. | |
360 | * i386-tdep.c (i386_gdbarch_init): Fix comment typos. | |
361 | (i386_coff_init_abi): Remove. | |
362 | * i386-tdep.h (i386_coff_init_abi): Remove. | |
363 | * i386-cygwin-tdep.c (i386_cygwin_init_abi): Remove call to above. | |
364 | ||
2f72f850 AC |
365 | 2004-04-30 Andrew Cagney <cagney@redhat.com> |
366 | ||
e492f9d6 AC |
367 | * blockframe.c (find_pc_partial_function): Delete use of |
368 | DEPRECATED_PC_IN_SIGTRAMP, DEPRECATED_SIGTRAMP_START and | |
369 | DEPRECATED_SIGTRAMP_END. | |
370 | ||
7b7adad0 AC |
371 | * config/mips/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Delete. |
372 | * config/mips/tm-irix6.h (DEPRECATED_IN_SIGTRAMP): Delete. | |
373 | * config/mips/tm-nbsd.h: Delete undef DEPRECATED_IN_SIGTRAMP. | |
374 | * config/mips/tm-irix5.h (DEPRECATED_IN_SIGTRAMP): Delete. | |
375 | * config/arm/tm-embed.h (DEPRECATED_IN_SIGTRAMP): Delete. | |
376 | ||
2f72f850 AC |
377 | * defs.h (deprecated_inside_entry_file): Delete declaration. |
378 | * blockframe.c (deprecated_inside_entry_file): Delete function. | |
379 | (legacy_frame_chain_valid): Delete call. | |
380 | * sh64-tdep.c (sh64_frame_chain): Delete call. | |
381 | * objfiles.h: Update comments. | |
382 | * i386-interix-tdep.c (i386_interix_frame_chain_valid): Delete | |
383 | call. | |
384 | * frame.c (get_prev_frame): Delete call, update comments. | |
385 | ||
283f90a7 BF |
386 | 2004-04-30 Brian Ford <ford@vss.fsi.com> |
387 | ||
388 | * MAINTAINERS (Write After Approval): Add myself. | |
389 | ||
8ee56bcf AC |
390 | 2004-04-30 Andrew Cagney <cagney@redhat.com> |
391 | ||
392 | * gdbarch.sh (BELIEVE_PCC_PROMOTION_TYPE): Delete. | |
393 | * gdbarch.h, gdbarch.c: Re-generate. | |
394 | * stabsread.c (define_symbol): Delete BELIEVE_PCC_PROMOTION_TYPE | |
395 | code. | |
396 | ||
ee27e1b6 AC |
397 | 2004-04-30 Andrew Cagney <cagney@redhat.com> |
398 | ||
399 | * gdb-events.sh (selected_thread_changed) | |
400 | (selected_frame_level_changed, target_changed): Delete. | |
401 | * gdb-events.h, gdb-events.c: Re-generate. | |
402 | * valops.c (value_assign): Update. | |
403 | * stack.c (select_frame_command, up_silently_base) | |
404 | (down_silently_base): Update. | |
405 | ||
d5ac5a39 AC |
406 | 2004-04-29 Andrew Cagney <cagney@redhat.com> |
407 | ||
408 | * mips-tdep.c (mips_register_type): Re-write, handle 32-bit ABI | |
409 | registers correctly. | |
410 | (print_gp_register_row, mips32_heuristic_proc_desc) | |
411 | (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call) | |
412 | (mips_o64_push_dummy_call, mips_eabi_push_dummy_call): Eliminate | |
413 | references to mips_isa_regsize. | |
414 | ||
ceae6e75 AC |
415 | 2004-04-29 Andrew Cagney <cagney@redhat.com> |
416 | ||
417 | * mips-tdep.c (struct gdbarch_tdep): Delete | |
418 | mips_fp_register_double. | |
419 | (FP_REGISTER_DOUBLE): Delete macro, replace with test for | |
420 | mips_abi_regsize. | |
421 | (mips_gdbarch_init): Do not set mips_fp_register_double. | |
422 | (mips_dump_tdep): Do not print FP_REGISTER_DOUBLE. | |
423 | ||
a587af0b AC |
424 | 2004-04-29 Joel Brobecker <brobecker@gnat.com> |
425 | ||
426 | Committed by Andrew Cagney. | |
427 | * infrun.c (handle_inferior_event): Rely on frame IDs to detect | |
428 | function calls. | |
429 | ||
13326b4e AC |
430 | 2004-04-29 Andrew Cagney <cagney@redhat.com> |
431 | ||
432 | * mips-tdep.c (mips_abi_regsize): Replace tdep parameter with | |
433 | gdbarch, use mips_abi, update callers. | |
434 | (mips_stack_argsize): Replace tdep parameter with gdbarch, use | |
435 | mips_abi_regsize, update callers. | |
436 | (struct gdbarch_tdep): Delete mips_default_stack_argsize and | |
437 | mips_default_abi_regsize. | |
438 | (mips_gdbarch_init): Do not set mips_default_stack_argsize and | |
439 | mips_default_abi_regsize. | |
440 | ||
711cc5cd AC |
441 | 2004-04-29 Andrew Cagney <cagney@redhat.com> |
442 | ||
1b13c4f6 AC |
443 | * mips-tdep.c (mips_abi_regsize): Rename mips_saved_regsize. |
444 | (mips_abi_regsize_string): Rename mips_saved_regsize_string. | |
445 | (struct gdbarch_tdep): Rename mips_default_saved_regsize to | |
446 | mips_default_abi_regsize. | |
447 | (mips_isa_regsize): Rename mips_regisze. | |
448 | * mipsnbsd-tdep.c: Update. | |
449 | * mips-linux-tdep.c: Update. | |
450 | * irix5-nat.c: Update. | |
451 | * mips-tdep.h (mips_isa_regsize): Update. | |
452 | ||
711cc5cd AC |
453 | * gdb-events.sh (WITH_GDB_EVENTS): Delete macro and references. |
454 | Delete all disabled code. | |
455 | * gdb-events.h, gdb-events.c: Re-generate. | |
456 | ||
e63bbc88 MK |
457 | 2004-04-19 Jerome Guitton <guitton@gnat.com> |
458 | Mark Kettenis <kettenis@gnu.org> | |
459 | ||
460 | * i386-tdep.c (i386_skip_prologue): follow the last jump only if | |
461 | the function begins with a branch instruction. | |
462 | ||
fd35795f MK |
463 | 2004-04-29 Mark Kettenis <kettenis@gnu.org> |
464 | ||
465 | * i386-tdep.c: Fix spelling mistakes. | |
466 | ||
c960c18f AC |
467 | 2004-04-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
468 | Andrew Cagney <cagney@redhat.com> | |
469 | ||
470 | * configure.in (mips-sgi-irix5*): Define _KMEMUSER for | |
471 | <sys/proc.h>. | |
472 | * acconfig.h: Provide default _KMEMUSER value. | |
473 | * config.in, configure: Re-generate. | |
474 | * NEWS: Mention fix. | |
475 | ||
50306a9d RC |
476 | 2004-04-24 Randolph Chung <tausq@debian.org> |
477 | ||
478 | * configure.host (hppa*-*-linux*): New target. | |
479 | * configure.tgt (hppa*-*-linux*): Likewise. | |
480 | * hppa-tdep.c (hppa_gdbarch_init): Set cannot_fetch_register, move | |
481 | gdbarch_init_osabi() call earlier so that osabi-specific frame | |
482 | unwinders can be registered first. | |
483 | * config/djgpp/fnchange.lst: Add entries for hppa-linux-tdep.c and | |
484 | hppa-linux-nat.c. | |
485 | * config/pa/tm-hppa.h (ISR_REGNUM, PID0_REGNUM, PID1_REGNUM) | |
486 | (PID2_REGNUM, PID3_REGNUM): Add definitions of some register numbers. | |
487 | * config/pa/linux.mh: New file. | |
488 | * config/pa/linux.mt: New file. | |
489 | * config/pa/nm-linux.h: New file. | |
490 | * config/pa/xm-linux.h: New file. | |
491 | * hppa-linux-nat.c: New file. | |
492 | * hppa-linux-tdep.c: New file. | |
493 | ||
2a6228ef RC |
494 | 2004-04-28 Randolph Chung <tausq@debian.org> |
495 | ||
496 | * hppa-tdep.c (hppa32_return_value): Handle both 4- and 8-byte fp | |
497 | return values. | |
498 | (hppa32_push_dummy_call): Fix small struct and floating point argument | |
499 | passing, and make sure the stack frame is properly aligned. | |
500 | ||
82c10df6 AC |
501 | 2004-04-28 Andrew Cagney <cagney@redhat.com> |
502 | ||
d762c46a AC |
503 | * stack.c (print_stack_frame): Fix description. |
504 | ||
82c10df6 AC |
505 | * NEWS: Mention gdb/gdbserver/configure execute permission |
506 | changed. PR server/519. | |
507 | ||
0faf0076 AC |
508 | 2004-04-28 Andrew Cagney <cagney@redhat.com> |
509 | ||
510 | * stack.c (print_stack_frame_stub): Delete declaration. | |
511 | (struct print_stack_frame_args, print_stack_frame) | |
512 | (print_frame_info, print_frame): Replace "source" with print what. | |
513 | Replace "print" with "print_level". Replace "args" with | |
514 | "print_args". | |
515 | * frame.h (show_and_print_stack_frame, print_stack_frame) | |
516 | (print_frame_info): Update declarations. | |
517 | * stack.c (select_and_print_frame, frame_command) | |
518 | (current_frame_command, up_command, down_command): Update calls - | |
519 | use get_selected_frame, pass "enum print_what" for source, do not | |
520 | call frame_relative_level. | |
521 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Ditto. | |
522 | * remote-rdp.c (remote_rdp_open): Ditto. | |
523 | * remote-mips.c (common_open): Ditto. | |
524 | * remote-e7000.c (e7000_start_remote): Ditto. | |
525 | * ocd.c (ocd_start_remote): Ditto. | |
526 | * mi/mi-main.c (mi_cmd_exec_return): Ditto. | |
527 | * infrun.c (normal_stop): Ditto. | |
528 | * inflow.c (kill_command): Ditto. | |
529 | * infcmd.c (finish_command): Ditto. | |
530 | * corelow.c (core_open): Ditto. | |
531 | * tracepoint.c (finish_tfind_command): Ditto. | |
532 | * thread.c (info_threads_command, info_threads_command) | |
533 | (restore_current_thread, do_captured_thread_select): Ditto. | |
534 | * ada-tasks.c (task_command): Ditto. | |
535 | ||
f4c5303c OF |
536 | 2004-04-26 Orjan Friberg <orjanf@axis.com> |
537 | ||
538 | * frame.c: Include "observer.h". | |
539 | (frame_observer_target_changed): New function. | |
540 | (_initialize_frame): Attach target_changed observer. | |
541 | * regcache.c: Include "observer.h". | |
542 | (regcache_observer_target_changed): New function. | |
543 | (_initialize_regcache): Attach target_changed observer. | |
544 | * valops.c: Include "observer.h". | |
545 | (value_assign): Notify target_changed event when modifying register. | |
546 | * Makefile.in (frame.o, regcache.o, valops.o): Add $(observer_h). | |
547 | ||
7270d8f2 OF |
548 | 2004-04-26 Orjan Friberg <orjanf@axis.com> |
549 | ||
550 | From Paul Koning <pkoning@equallogic.com>: | |
551 | * breakpoint.c (free_valchain): New function. | |
552 | (insert_bp_location, delete_breakpoint): Use free_valchain. | |
553 | (remove_breakpoint): Do not remove the valchain. | |
554 | (bpstat_stop_status): If not stopped by watchpoint, skip | |
555 | watchpoints when generating stop status list. | |
556 | * infrun.c (handle_inferior_event): Make | |
557 | stepped_after_stopped_by_watchpoint a global variable. | |
558 | * remote.c (remote_stopped_data_address): Return watch data | |
559 | address rather than zero if stepped_after_stopped_by_watchpoint is | |
560 | set. | |
561 | ||
02d62932 MC |
562 | 2004-04-25 Michael Chastain <mec.gnu@mindspring.com> |
563 | ||
564 | Fix PR gdb/1626. | |
565 | * configure.in: Check for curses after termcap. | |
566 | On osf5.*, do not check for ncurses. | |
567 | * configure: Regenerate. | |
568 | ||
3e9a183c MK |
569 | 2004-04-25 Mark Kettenis <kettenis@gnu.org> |
570 | ||
c79ac407 MK |
571 | * ppcobsd-nat.c: Include "ppc-tdep.h". |
572 | * Makefile.in (ppcobsd-nat.o): Update dependencies. | |
573 | ||
3e9a183c MK |
574 | * stack.c (return_command): Use CHECK_TYPEDEF on the return type. |
575 | Fixes PR tdep/1623 and PR tdep/1624. | |
576 | ||
38cc9c28 MC |
577 | 2004-04-24 Michael Chastain <mec.gnu@mindspring.com> |
578 | ||
579 | * xmodem.h, xmodem.c: Remove files. | |
580 | * Makefile.in: Remove references to xmodem.h, xmodem.c. | |
581 | ||
7f07c5b6 RC |
582 | 2004-04-23 Randolph Chung <tausq@debian.org> |
583 | ||
584 | * hppa-tdep.c (hppa_stub_unwind_cache, hppa_stub_frame_unwind_cache) | |
585 | (hppa_stub_frame_this_id, hppa_stub_frame_prev_register) | |
586 | (hppa_stub_frame_unwind, hppa_stub_unwind_sniffer): New stub unwinder | |
587 | for handling stackless frames. | |
588 | (hppa_gdbarch_init): Link in hppa_stub_unwind_sniffer. | |
589 | ||
9f7194c3 RC |
590 | 2004-04-23 Randolph Chung <tausq@debian.org> |
591 | ||
592 | * hppa-tdep.c (hppa_frame_cache): Handle the case when frame unwind | |
593 | starts at a pc before the frame is created. | |
594 | ||
dcff6009 JB |
595 | 2004-04-23 Joel Brobecker <brobecker@gnat.com> |
596 | ||
597 | * ChangeLog-2002: Fix year in one of the ChangeLog entries. | |
598 | ||
65951cd9 JG |
599 | 2004-04-23 Jerome Guitton <guitton@gnat.fr> |
600 | ||
601 | * rs6000-tdep.c (rs6000_extract_return_value): When extracting a float, | |
602 | use convert_typed_floating to get the appropriate format. | |
603 | ||
abc485a1 RC |
604 | 2004-04-22 Randolph Chung <tausq@debian.org> |
605 | ||
606 | * hppa-tdep.h (find_unwind_entry, hppa_get_field, hppa_extract_5_load) | |
607 | (hppa_extract_5R_store, hppa_extract_5r_store, hppa_extract_17) | |
608 | (hppa_extract_21, hppa_extract_14, hppa_low_sign_extend) | |
609 | (hppa_sign_extend): Add prototype. | |
610 | * hppa-tdep.c (get_field, extract_5_load, extract_5R_store) | |
611 | (extract_5r_store, extract_17, extract_21, extract_14, low_sign_extend) | |
612 | (sign_extend): Rename with hppa_ prefix and make non-static. Other | |
613 | hppa targets will also use these functions. | |
614 | (find_unwind_entry): Remove prototype (moved to hppa-tdep.h). | |
615 | (hppa_in_solib_call_trampoline, hppa_in_solib_return_trampoline) | |
616 | (hppa_skip_trampoline_code): Move to hppa-hpux-tdep.c | |
617 | (hppa_gdbarch_init): Remove gdbarch setting of | |
618 | skip_trampoline_code, in_solib_call_trampoline and | |
619 | in_solib_return_trampoline. | |
620 | * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline) | |
621 | (hppa64_hpux_in_solib_call_trampoline): New functions, split from | |
622 | hppa_in_solib_call_trampoline. | |
623 | (hppa_hpux_in_solib_return_trampoline, hppa_hpux_skip_trampoline_code): | |
624 | Moved from hppa-tdep.c. | |
625 | (hppa_hpux_init_abi): Set gdbarch for skip_trampoline_code, | |
626 | in_solib_call_trampoline and in_solib_return_trampoline. | |
627 | ||
369aa520 RC |
628 | 2004-04-22 Randolph Chung <tausq@debian.org> |
629 | ||
630 | * hppa-tdep.c (hppa_debug): New variable. | |
631 | (find_unwind_entry, hppa_frame_cache): Add debug output. | |
632 | (_initialize_hppa_tdep): Add command to set debug flag. | |
633 | ||
476be15e AC |
634 | 2004-04-22 Andrew Cagney <cagney@redhat.com> |
635 | ||
636 | * ppcnbsd-tdep.c: Update copyright. Include "tramp-frame.h" and | |
637 | "trad-frame.h". | |
638 | (ppcnbsd_sigtramp_cache_init, ppcnbsd_sigtramp): Implement a NetBSD | |
639 | signal trampoline unwinder. | |
640 | (ppcnbsd_init_abi): Register ppcnbsd_sigtramp. | |
641 | ||
d195bc9f MK |
642 | 2004-04-22 Mark Kettenis <kettenis@gnu.org> |
643 | ||
644 | Add OpenBSD/powerpc support. | |
645 | * NEWS (New native configurations): Mention OpenBSD/powerpc. | |
646 | * ppc-tdep.h (struct ppc_reg_offsets): New structure. | |
647 | (ppc_supply_gregset, ppc_supply_fpregset, ppc_collect_gregset) | |
648 | (ppc_collect_fpregset): New prototypes. | |
649 | * ppcobsd-nat.c: New file. | |
650 | * ppcobsd-tdep.c: New file. | |
651 | * ppcobsd-tdep.h: New file. | |
652 | * rs6000-tdep.c: Include "regset.h". | |
653 | (ppc_supply_reg, ppc_collect_reg, ppc_supply_gregset) | |
654 | (ppc_supply_fpregset, ppc_collect_gregset, ppc_collect_fpregset): | |
655 | New functions. | |
656 | * Makefile.in (ALLDEPFILES): Add pccobsd-nat.c and ppcobsd-tdep.c. | |
657 | (ppcobsd-nat.o, ppcobsd-tdep.o): New dependencies. | |
658 | (rs6000-tdep.o): Update dependencies. | |
659 | * configure.host: Add powerpc-*-openbsd. | |
660 | * configure.tgt: Add powerpc-*-openbsd. | |
661 | * config/powerpc/obsd.mh: New file. | |
662 | * config/powerpc/nm-obsd.h: New file. | |
663 | * config/powerpc/obsd.mt: New file. | |
664 | ||
6f14cc33 AC |
665 | 2004-04-22 Andrew Cagney <cagney@redhat.com> |
666 | ||
fcf29e5f AC |
667 | * frame.h (show_frame_info): Delete declaration. |
668 | ||
6f14cc33 AC |
669 | * arm-tdep.c (arm_prologue_this_id): Delete redundant cycle test. |
670 | * m68hc11-tdep.c (m68hc11_frame_this_id): Ditto. | |
671 | * m32r-tdep.c (m32r_frame_this_id): Ditto. | |
672 | * frv-tdep.c (frv_frame_this_id): Ditto. | |
673 | * avr-tdep.c (avr_frame_this_id): Ditto. | |
674 | ||
e5786a5c EZ |
675 | 2004-04-22 Elena Zannoni <ezannoni@redhat.com> |
676 | ||
677 | * MAINTAINERS: Drop maintenance of gdb.stabs, and linespec.c. | |
678 | ||
26e75e5c JB |
679 | 2004-04-22 Jim Blandy <jimb@redhat.com> |
680 | ||
681 | * ppc-linux-nat.c (ppc_register_u_addr): Don't assume that r0 is | |
682 | register number zero. | |
683 | ||
d8d65dd3 MS |
684 | 2004-04-21 Michael Snyder <msnyder@redhat.com> |
685 | ||
686 | * mips-tdep.c (heuristic_proc_start): | |
687 | Warning() already prefixes "Warning: ". | |
688 | ||
9a4105ab AC |
689 | 2004-04-21 Andrew Cagney <cagney@redhat.com> |
690 | ||
691 | * annotate.h (deprecated_annotate_starting_hook) | |
692 | (deprecated_annotate_stopped_hook) | |
693 | (deprecated_annotate_exited_hook) | |
694 | (deprecated_annotate_signal_hook) | |
695 | (deprecated_annotate_signalled_hook): Deprecate. | |
696 | * tracepoint.h (deprecated_create_tracepoint_hook) | |
697 | (deprecated_delete_tracepoint_hook) | |
698 | (deprecated_modify_tracepoint_hook) | |
699 | (deprecated_trace_find_hook) | |
700 | (deprecated_trace_start_stop_hook): Deprecate. | |
701 | * target.h (deprecated_target_new_objfile_hook): Deprecate. | |
702 | * remote.h (deprecated_target_resume_hook) | |
703 | (deprecated_target_wait_loop_hook): Deprecate. | |
704 | * gdbcore.h (deprecated_exec_file_display_hook) | |
705 | (deprecated_file_changed_hook): Deprecate. | |
706 | * frame.h (deprecated_selected_frame_level_changed_hook): Deprecate. | |
707 | * defs.h (deprecated_modify_breakpoint_hook) | |
708 | (deprecated_command_loop_hook, deprecated_show_load_progress) | |
709 | (deprecated_print_frame_info_listing_hook) | |
710 | (deprecated_query_hook, deprecated_warning_hook) | |
711 | (deprecated_flush_hook, deprecated_create_breakpoint_hook) | |
712 | (deprecated_delete_breakpoint_hook) | |
713 | (deprecated_interactive_hook, deprecated_registers_changed_hook) | |
714 | (deprecated_readline_begin_hook, deprecated_readline_hook) | |
715 | (deprecated_readline_end_hook, deprecated_register_changed_hook) | |
716 | (deprecated_memory_changed_hook, deprecated_init_ui_hook) | |
717 | (deprecated_context_hook, deprecated_target_wait_hook) | |
718 | (deprecated_attach_hook, deprecated_detach_hook) | |
719 | (deprecated_call_command_hook, deprecated_set_hook) | |
720 | (deprecated_error_hook, deprecated_error_begin_hook) | |
721 | (deprecated_ui_load_progress_hook): Deprecate. | |
722 | * valops.c, uw-thread.c, utils.c, tui/tui-io.c: Update. | |
723 | * tui/tui-hooks.c, tracepoint.c, top.c, thread-db.c: Update. | |
724 | * target.c, symfile.c, stack.c, sol-thread.c, rs6000-nat.c: Update. | |
725 | * remote.c, remote-mips.c, regcache.c, mi/mi-interp.c: Update. | |
726 | * main.c, interps.c, infcmd.c, hpux-thread.c, frame.c: Update. | |
727 | * exec.c, dsrec.c, d10v-tdep.c, corefile.c, complaints.c: Update. | |
728 | * cli/cli-script.c, cli/cli-setshow.c, breakpoint.c: Update. | |
729 | * annotate.c, aix-thread.c: Update. | |
730 | ||
62cf13cc AC |
731 | 2004-04-21 Andrew Cagney <cagney@redhat.com> |
732 | ||
b2e31a62 AC |
733 | * Makefile.in (vaxnbsd-tdep.o): Update dependencies. |
734 | * vaxnbsd-tdep.c: Include "gdb_string.h". | |
735 | ||
62cf13cc AC |
736 | * symfile.c (symbol_file_add_from_memory): #if 0 function. |
737 | (add_symbol_file_from_memory_command): #if 0 function body, call | |
738 | error instead. | |
739 | ||
00e32a35 AC |
740 | 2004-04-21 Andrew Cagney <cagney@redhat.com> |
741 | ||
742 | * gdbcore.h: Update copyright. | |
743 | (deprecated_add_core_fns): Rename add_core_fns. | |
744 | * win32-nat.c (_initialize_core_win32): Update. | |
745 | * sun3-nat.c (_initialize_core_sun3): Update. | |
746 | * shnbsd-tdep.c (_initialize_shnbsd_tdep): Update. | |
747 | * rs6000-nat.c (_initialize_core_rs6000): Update. | |
748 | * ppcnbsd-tdep.c (_initialize_ppcnbsd_tdep): Update. | |
749 | * nto-tdep.c (_initialize_nto_tdep): Update. | |
750 | * ns32knbsd-nat.c (_initialize_ns32knbsd_nat): Update. | |
751 | * mipsnbsd-tdep.c (_initialize_mipsnbsd_tdep): Update. | |
752 | * mips-nat.c (_initialize_core_mips): Update. | |
753 | * mips-linux-tdep.c (_initialize_mips_linux_tdep): Update. | |
754 | * m68knbsd-nat.c (_initialize_m68knbsd_nat): Update. | |
755 | * m68klinux-nat.c (_initialize_m68k_linux_nat): Update. | |
756 | * lynx-nat.c (_initialize_core_lynx): Update. | |
757 | * irix5-nat.c (_initialize_core_irix5): Update. | |
758 | * i386-interix-nat.c (_initialize_core_interix): Update. | |
759 | * cris-tdep.c (_initialize_cris_tdep): Update. | |
760 | * corelow.c (deprecated_add_core_fns): Update. | |
761 | * core-regset.c (_initialize_core_regset): Update. | |
762 | * core-aout.c (_initialize_core_aout): Update. | |
763 | * armnbsd-nat.c (_initialize_arm_netbsd_nat): Update. | |
764 | * alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Update. | |
765 | * alpha-nat.c (_initialize_core_alpha): Update. | |
766 | ||
13c7b1ca JB |
767 | 2004-04-21 Jim Blandy <jimb@redhat.com> |
768 | ||
769 | * rs6000-tdep.c (registers_e500, registers_7400): Doc fixes. | |
770 | ||
7b5a2f43 DJ |
771 | 2004-04-19 Daniel Jacobowitz <drow@mvista.com> |
772 | ||
773 | * dwarf2read.c (dwarf2_tmp_obstack, dwarf2_free_tmp_obstack): | |
774 | Delete. | |
775 | (dwarf_alloc_block): Take a CU argument. Use the comp_unit_obstack. | |
776 | (read_attribute_value): Update calls to dwarf_alloc_block. | |
777 | (dwarf2_build_psymtabs_hard): Don't initialize or clean up | |
778 | dwarf2_tmp_obstack. | |
779 | (psymtab_to_symtab_1): Likewise. Clean up using | |
780 | free_stack_comp_unit. | |
781 | (add_to_cu_func_list): Use the comp_unit_obstack. | |
782 | ||
05cf31d1 JB |
783 | 2004-04-19 Joel Brobecker <brobecker@gnat.com> |
784 | ||
785 | * dwarf2read.c (dwarf2_flag_true_p): New function. | |
786 | (die_is_declaration): Use the function above. Add some comments. | |
787 | ||
adf93a2f MK |
788 | 2004-04-19 Mark Kettenis <kettenis@gnu.org> |
789 | ||
790 | * sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Specify | |
791 | architecture when registering sparcnbsd_core_osabi_sniffer. | |
792 | Adjust comment. | |
793 | ||
748894bf MK |
794 | 2004-04-18 Mark Kettenis <kettenis@gnu.org> |
795 | ||
f622ad42 MK |
796 | * infcall.c (find_function_addr): Add FUNCTION_START_OFFSET to |
797 | return value. | |
798 | ||
c4fc7f1b MK |
799 | Based on a patch from Brian Ford <ford@vss.fsi.com>: |
800 | * i386-tdep.c: Correct register numbering scheme comments | |
801 | throughout. | |
802 | (i386_stab_reg_to_regnum): Rename to i386_dbx_reg_to_regnum. | |
803 | (i386_dwarf_reg_to_regnum): Rename to i386_svr4_reg_to_regnum. | |
804 | (i386_coff_init_abi, i386_elf_init_abi): Accomodate renames above. | |
805 | (i386_gdb_arch_init): Likewise. | |
806 | ||
b4ead1bd MK |
807 | * Makefile.in (ALLDEPFILES): List ppc-sysv-tdep.c, ppcnbsd-nat.c |
808 | and ppcnbsd-tdep.c instead of ppc-sysv-tdep.o, ppcnbsd-nat.o and | |
809 | ppcnbsd-tdep.o. | |
810 | ||
748894bf MK |
811 | * m68k-tdep.h: Tweak comments. |
812 | * m68k-tdep.c: Tweak comment. | |
813 | ||
fdd72f95 RC |
814 | 2004-04-17 Randolph Chung <tausq@debian.org> |
815 | ||
816 | * Makefile.in (hppa-hpux-tdep.o): Add $(hppa_tdep_h). | |
817 | * hppa-hpux-tdep.c (hppa-tdep.h): Include. | |
818 | (hppa_hpux_som_init_abi): Set is_elf to 0. | |
819 | (hppa_hpux_elf_init_abi): Set is_elf to 1. | |
820 | * hppa-tdep.c (low_text_segment_address): Remove global. | |
821 | (record_text_segment_lowaddr): Pass in low address as parameter. Use | |
822 | section offset to calculate segment address. | |
823 | (internalize_unwinds): Define low_text_segment_address as local and | |
824 | pass to record_text_segment_lowaddr for ELF targets. | |
825 | (hppa_gdbarch_init): Zero fill tdep structure. | |
826 | (hppa_dump_tdep): Print tdep structure. | |
827 | * hppa-tdep.h (gdbarch_tdep): Add is_elf member to tdep structure. | |
828 | ||
0f8d9d59 RC |
829 | 2004-04-17 Randolph Chung <tausq@debian.org> |
830 | ||
831 | * hppa-tdep.c (hppa_pseudo_register_read): Define. | |
832 | (hppa_gdbarch_init): Set pseudo_register_read. | |
833 | * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Remove. | |
834 | * regcache.c (supply_register): Remove check for | |
835 | DEPRECATED_CLEAN_UP_REGISTER_VALUE since we've removed the last user. | |
836 | ||
7c46b9fb RC |
837 | 2004-04-17 Randolph Chung <tausq@debian.org> |
838 | ||
839 | * Makefile.in (hpread.o, pa64solib.o, somsolib.o): Add $(hppa_tdep_h) | |
840 | * hppa-tdep.h (INSTRUCTION_SIZE): Move from tm-hppa.h. | |
841 | (hpread_adjust_stack_address): Move to hpread.c. | |
842 | * hppa-tdep.h (unwind_table_entry, unwind_stub_types, obj_unwind_info, | |
843 | obj_private_struct): Move from tm-hppa.h. | |
844 | * hpread.c (hppa-tdep.h): Include. | |
845 | (hpread_adjust_stack_address): Move from hppa-tdep.c. | |
846 | (hpread_read_function_type, hpread_read_doc_function_type) | |
847 | (hpread_process_one_debug_symbol): Call hpread_adjust_stack_address | |
848 | directly. | |
849 | * pa64solib.c (hppa-tdep.h): Include. | |
850 | * somsolib.c (hppa-tdep.h): Include. | |
851 | * config/pa/tm-hppa.h (frame_info, frame_saved_regs, value, type, | |
852 | inferior_status): Remove unused forward declarations. | |
853 | (INSTRUCTION_SIZE): Move to hppa-tdep.c. | |
854 | (unwind_table_entry, unwind_stub_types, obj_unwind_info, | |
855 | obj_private_struct): Move to hppa-tdep.h. | |
856 | (HPREAD_ADJUST_STACK_ADDRESS): Remove. | |
857 | ||
8d153463 RC |
858 | 2004-04-17 Randolph Chung <tausq@debian.org> |
859 | ||
860 | * hppa-tdep.c (hppa_reg_struct_has_addr, hppa_skip_prologue) | |
861 | (hppa_skip_trampoline_code, hppa_in_solib_call_trampoline) | |
862 | (hppa_in_solib_return_trampoline, hppa_cannot_store_register) | |
863 | (hppa_smash_text_address, hppa_target_read_pc, hppa_target_write_pc): | |
864 | Remove forward declaration and make static. | |
865 | (hppa_reg_struct_has_addr): Remove. | |
866 | ||
350c2e5b JB |
867 | 2004-04-16 Joel Brobecker <brobecker@gnat.com> |
868 | ||
869 | * observer.sh: Move comments in sed command to first column. | |
870 | ||
bbde78fa JM |
871 | 2004-04-16 Jason Molenda (jmolenda@apple.com) |
872 | ||
873 | * frame.c: Minor typeo corrections in comments. | |
874 | ||
e0270fd9 JB |
875 | 2004-04-16 Joel Brobecker <brobecker@gnat.com> |
876 | ||
877 | * observer.c (observer_test_first_notification_function): Update | |
878 | function profile. | |
879 | (observer_test_second_notification_function): Likewise. | |
880 | (observer_test_third_notification_function): Likewise. | |
881 | ||
3d049254 MK |
882 | 2004-04-16 Mark Kettenis <kettenis@gnu.org> |
883 | ||
884 | From Brian Ford <ford@vss.fsi.com>: | |
885 | * i386-tdep.c (i386_coff_init_abi): New function. | |
886 | * i386-tdep.h (i386_coff_init_abi): New prototype. | |
887 | * i386-cygwin-tdep.c (i386_cygwin_init_abi): Call it. Use correct | |
888 | register number translation functions for DWARF and DWARF 2. | |
889 | ||
7867684d JB |
890 | 2004-04-16 Joel Brobecker <brobecker@gnat.com> |
891 | ||
892 | * dwarf2read.c: Back out my previous change, it was incorrect. | |
893 | ||
72bf9492 DJ |
894 | 2004-04-16 Daniel Jacobowitz <drow@mvista.com> |
895 | ||
896 | * dwarf2read.c: Include "hashtab.h". | |
897 | (struct dwarf2_cu): Add partial_dies, comp_unit_obstack, | |
898 | has_namespace_info. | |
899 | (struct partial_die_info): Add comments. Use bitfields to reduce | |
900 | memory footprint. Add scope, scope_set, has_specification, | |
901 | spec_offset, die_parent, die_child, and die_sibling. | |
902 | (peek_die_abbrev): Add prototype. | |
903 | (partial_read_comp_unit_head): New function, broken out from | |
904 | dwarf2_build_psymtabs_hard. | |
905 | (dwarf2_build_psymtabs_hard): Remove unused variable abbrev_ptr. | |
906 | Use partial_read_comp_unit_head. Initialize the CU and | |
907 | comp_unit_obstack. Update calls to read_partial_die and | |
908 | scan_partial_symbols. Use free_stack_comp_unit and | |
909 | load_partial_dies. | |
910 | (scan_partial_symbols): Change PDI to a pointer. Use the child and | |
911 | sibling pointers to walk partial DIEs. Call fixup_partial_die. | |
912 | Update calls to helper functions. Remove NAMESPACE argument. | |
913 | Update comments. | |
914 | (partial_die_parent_scope, partial_die_full_name): New functions. | |
915 | (add_partial_symbol): Remove namespace argument. Update call to | |
916 | pdi_needs_namespace. Use partial_die_full_name. Handle | |
917 | DW_TAG_namespace. Check has_namespace_info flag. | |
918 | (pdi_needs_namespace): Remove NAMESPACE argument. Just check the | |
919 | tag. Handle namespaces. | |
920 | (add_partial_namespace, add_partial_enumeration): Simplify. | |
921 | (guess_structure_name): New function, derived from | |
922 | add_partial_structure. | |
923 | (add_partial_structure): Remove. | |
924 | (determine_class_name): Update comment. | |
925 | (dwarf2_read_abbrevs): Set has_namespace_info flag. | |
926 | (is_type_tag_for_partial, load_partial_dies): New functions. | |
927 | (read_partial_die): Pass abbrev and abbrev_len as arguments. | |
928 | Record specifications instead of following them immediately. | |
929 | (find_partial_die_in_comp_unit, find_partial_die) | |
930 | (fixup_partial_die, free_stack_comp_unit) | |
931 | (hashtab_obstack_allocate, dummy_obstack_deallocate) | |
932 | (partial_die_hash, partial_die_eq): New functions. | |
933 | * Makefile.in (hashtab_h): Define. | |
934 | (dwarf2read.o): Update dependencies. | |
935 | (observer_inc, observer_h): Move to the correct section. | |
936 | ||
fdc860a3 JB |
937 | 2004-04-15 Joel Brobecker <brobecker@gnat.com> |
938 | ||
939 | * dwarf2read.c (dwarf2_attribute_true_p): New function. | |
940 | (die_is_declaration): Use the function above. Add comment. | |
941 | ||
dc718098 JB |
942 | 2004-04-15 Joel Brobecker <brobecker@gnat.com> |
943 | ||
944 | * dwarf2read.c (read_structure_scope): Identify stub types | |
945 | using die_is_declaration() only. | |
946 | ||
8718a420 RM |
947 | 2004-04-15 Roland McGrath <roland@redhat.com> |
948 | ||
949 | * symfile.c (symbol_file_add_with_addrs_or_offsets): Take ABFD as | |
950 | argument instead of NAME. | |
951 | (symbol_file_add, reread_separate_symbols): Call symfile_bfd_open | |
952 | in call to symbol_file_add_with_addrs_or_offsets. | |
953 | (build_addr_info): New function, helper for ... | |
954 | (symbol_file_add_from_memory): New function. | |
955 | (add_symbol_file_from_memory_command): New function using that. | |
956 | (_initialize_symfile): Register it for add-symbol-file-from-memory. | |
957 | (pre_add_symbol_hook): Add const to argument type. | |
958 | * symfile.h (symbol_file_add_from_memory): Declare it. | |
959 | ||
8b910bab MK |
960 | 2004-04-15 Mark Kettenis <kettenis@gnu.org> |
961 | ||
9f076e7a MK |
962 | * NEWS (New native configurations): Mention OpenBSD/vax. |
963 | * configure.host: Add vax-*-openbsd*. | |
964 | * config/vax/obsd.mh: New file. | |
965 | * config/vax/nm-obsd.h: New file. | |
966 | ||
8b910bab MK |
967 | * vax-tdep.c: Include "regset.h". |
968 | (vax_supply_gregset): New function. | |
969 | (vax_gregset): New variable. | |
970 | (vax_regset_from_core_section): New function. | |
971 | (vax_gdbarch_init): Set regset_from_core_section. | |
972 | * Makefile.in (vax-tdep.o): Update dependencies. | |
973 | ||
7a464420 AC |
974 | 2004-04-15 Andrew Cagney <cagney@redhat.com> |
975 | ||
976 | * observer.c (normal_stop_subject, observer_notify_normal_stop) | |
977 | (observer_normal_stop_notification_stub) | |
978 | (observer_attach_normal_stop, observer_detach_normal_stop): | |
979 | Delete, replaced by #include "observer.inc". | |
980 | * infrun.c (normal_stop): Pass "stop_bpstat" to | |
981 | observer_notify_normal_stop. | |
982 | * Makefile.in (observer_inc): Define. | |
983 | (observer.o): Update dependencies. | |
984 | (observer.h, observer.inc): New rules. | |
985 | * observer.h: Delete file. | |
986 | * observer.sh: New file. | |
987 | ||
e36ad527 MK |
988 | 2004-04-15 Mark Kettenis <kettenis@gnu.org> |
989 | ||
990 | * vax-tdep.c (vax_frame_cache): Fix typo. | |
991 | ||
67b441e1 MK |
992 | 2004-04-14 Mark Kettenis <kettenis@gnu.org> |
993 | ||
6f606e1c MK |
994 | * NEWS (New native configurations): Mention NetBSD/vax. |
995 | * configure.host: Add vax-*-netbsdelf* and vax-*-netbsd*. | |
996 | * config/vax/nbsdelf.mh: New file. | |
997 | * config/vax/nbsdaout.mh: New file. | |
998 | * config/vax/nm-nbsd.h: New file. | |
999 | * config/vax/nm-nbsdaout.h: New file. | |
1000 | ||
9c5519a5 MK |
1001 | * vaxnbsd-tdep.c: New file. |
1002 | * Makefile.in (vaxnbsd-tdep.o): New dependency. | |
1003 | * configure.tgt: Add vax-*-netbsd* and vax-*-openbsd*. | |
1004 | * config/vax/nbsd.mt: New file. | |
1005 | * config/vax/tm-nbsd.h: New file. | |
1006 | ||
4844a614 MK |
1007 | * Makefile.in (vaxbsd-nat.o): New dependency. |
1008 | ||
67b441e1 MK |
1009 | * vax-tdep.h (vax_regnum): Add VAX_R0_REGNUM and VAX_R1_REGNUM. |
1010 | * vax-tdep.c (vax_store_arguments): Remove struct_return and | |
1011 | struct_addr arguments. Don't push return value address. | |
1012 | (vax_push_dummy_call): Don't pass STRUCT_RETURN and STRUCT_ADDR as | |
1013 | arguments to vax_store_arguments. Store return value address in | |
1014 | R1. | |
1015 | (vax_store_struct_return, vax_extract_return_value) | |
1016 | (vax_store_return_value): Remove functions. | |
1017 | (vax_return_value): New function. | |
1018 | (vax_gdbarch_init): Set return value. Don't set | |
1019 | deprecated_store_struct_return, deprecated_extract_struct_return | |
1020 | and deprecated_store_return_value. | |
1021 | ||
6672f2ae AS |
1022 | 2004-04-14 Andreas Schwab <schwab@suse.de> |
1023 | ||
1024 | * ia64-tdep.c (ia64_libunwind_frame_prev_register): Handle null | |
1025 | value buffer. | |
1026 | * libunwind-frame.c (libunwind_frame_prev_register): Likewise. | |
1027 | ||
7346c184 MK |
1028 | 2004-04-14 Mark Kettenis <kettenis@gnu.org> |
1029 | ||
1030 | * vax-tdep.c (vax_store_arguments, vax_push_dummy_call) | |
1031 | (vax_unwind_dummy_id): New functions. | |
1032 | (vax_push_dummy_frame, vax_pop_frame): Remove functions. | |
1033 | (vax_call_dummy_words, sizeof_vax_call_dummy_words): Remove | |
1034 | variables. | |
1035 | (vax_fix_call_dummy): Remove function. | |
1036 | (vax_gdbarch_init): Set push_dummy_call and unwind_dummy_id. | |
1037 | Don't set deprecated_push_dummy_frame, deprecated_pop_frame, | |
1038 | call_dummy_location, deprecated_call_dummy_words, | |
1039 | deprecated_sizeof_call_dummy_words, | |
1040 | deprecated_call_dummy_breakpoint_offset, | |
1041 | deprecated_use_generic_dummy_frames, deprecated_pc_in_call_dummy, | |
1042 | and deprecated_dummy_write_sp. | |
1043 | ||
58e23df4 DC |
1044 | 2004-04-13 David Carlton <carlton@kealia.com> |
1045 | ||
1046 | * MAINTAINERS: Move myself to "paper trail" section. | |
1047 | ||
5e6b39ff MK |
1048 | 2004-04-12 Mark Kettenis <kettenis@gnu.org> |
1049 | ||
7def7fef MK |
1050 | * vax-tdep.c: Include "frame-base.h", "frame-unwind.h" and |
1051 | "trad-frame.h". | |
1052 | (vax_frame_init_saved_regs): Remove function. | |
1053 | (vax_sigtramp_saved_pc): Remove function. | |
1054 | (vax_frame_saved_pc): Remove function. | |
1055 | (vax_frame_args_address): Remove function. | |
1056 | (vax_frame_num_args): Rewrite. | |
1057 | (vax_frame_chain): Remove function. | |
1058 | (vax_push_dummy_frame): Replace DEPRECATED_FP_REGNUM with | |
1059 | VAX_FP_REGNUM. | |
1060 | (vax_pop_frame): Likewise. | |
1061 | (vax_saved_pc_after_call): Remove function. | |
1062 | (struct vax_frame_cache): New structure. | |
1063 | (vax_frame_cache): New function. | |
1064 | (vax_frame_this_id): New function. | |
1065 | (vax_frame_prev_register): New function. | |
1066 | (vax_frame_unwind): New variable. | |
1067 | (vax_frame_sniffer): New function. | |
1068 | (vax_frame_base_address): New function. | |
1069 | (vax_frame_args_address): New function. | |
1070 | (vax_frame_base): New variable. | |
1071 | (vax_unwind_pc): New function. | |
1072 | (vax_gdbarch_init): Don't set deprecated_init_frame_pc, | |
1073 | deprecated_fp_regnum, deprecated_saved_pc_after_call, | |
1074 | deprecated_frame_chain, deprecated_frame_saved_pc, | |
1075 | deprecated_frame_args_address and | |
1076 | deprecated_frame_init_saved_regs. | |
1077 | * Makefile.in (vax-tdep.o): Update dependencies. | |
1078 | ||
53284fc1 MK |
1079 | * vaxbsd-nat.c: New file. |
1080 | ||
5e6b39ff MK |
1081 | * vax-tdep.h: Update copyright year. Adjust comments. |
1082 | (VAX_REGISTER_SIZE, VAX_REGISTER_BYTES, VAX_MAX_REGISTER_RAW_SIZE, | |
1083 | VAX_MAX_REGISTER_VIRTUAL_SIZE): Remove macros. | |
1084 | (vax_regnum): New enum. Replacing... | |
1085 | (VAX_AP_REGNUM, VAX_FP_REGNUM, VAX_SP_REGNUM, VAX_PC_REGNUM) | |
1086 | (VAX_PS_REGNUM): ... these removed macros. | |
1087 | * vax-tdep.c (vax_register_name): Remove prototype. | |
1088 | (vax_register_name): Reorganize somewhat. Use ARRAY_SIZE. | |
1089 | (vax_register_byte, vax_register_raw_size, | |
1090 | vax_register_virtual_size, vax_register_virtual_type): Remove | |
1091 | functions. | |
1092 | (vax_register_type): New function. | |
1093 | (vax_breakpoint_from_pc): Reorganize. | |
1094 | (vax_gdbarch_init): Set register_type. Don't set | |
1095 | deprecated_register_size, deprecated_register_bytes, | |
1096 | deprecated_register_byte, deprecated_register_raw_size, | |
1097 | deprecated_max_register_raw_size, | |
1098 | deprecated_register_virtual_size, | |
1099 | deprecated_max_register_virtual_size and | |
1100 | deprecated_register_virtual_type. Add comment on stack direction. | |
1101 | ||
e9c71e9f MK |
1102 | 2004-04-11 Mark Kettenis <kettenis@gnu.org> |
1103 | ||
1104 | * amd64-tdep.h (amd64_regnum): Add AMD64_CS_REGNUM, | |
1105 | AMD64_SS_REGNUM, AMD64_DS_REGNUM, AMD64_ES_REGNUM, | |
296bc76f | 1106 | AMD64_FS_REGNUM and AMD64_GS_REGNUM. |
e9c71e9f | 1107 | |
d46f1176 | 1108 | 2004-04-10 Randolph Chung <tausq@debian.org> |
8718a420 | 1109 | |
d46f1176 RC |
1110 | * MAINTAINERS (write after approval): Add myself. |
1111 | ||
a2a84a72 RC |
1112 | 2004-04-07 Randolph Chung <tausq@debian.org> |
1113 | ||
1114 | * hppa-tdep.c (hppa_inner_than): Remove. | |
1115 | (is_pa_2): Remove unused static variable. | |
8718a420 | 1116 | (hppa_gdbarch_init): Use core_addr_greaterthan instead of own version. |
a2a84a72 | 1117 | |
e85c3284 PH |
1118 | 2004-03-10 Paul N. Hilfinger <Hilfinger@gnat.com> |
1119 | ||
1120 | * language.h (language_defn): Add new la_post_parser field. | |
1121 | * parser-defs.h (null_post_parser): New declaration (default for | |
1122 | la_post_parser). | |
8718a420 | 1123 | |
e85c3284 PH |
1124 | * parse.c (parse_exp_1): Move code to parse_exp_in_context and |
1125 | insert call to that function. | |
1126 | (parse_exp_in_context): New function, including code formerly in | |
8718a420 | 1127 | parse_exp_1. Calls language-dependent post-parser after |
e85c3284 PH |
1128 | prefixification. |
1129 | (parse_expression_in_context): New exported function. | |
1130 | (null_post_parser): New definition. | |
1131 | * expression.h (parse_expression_in_context): Add declaration. | |
8718a420 | 1132 | |
e85c3284 PH |
1133 | * p-lang.c (pascal_language_defn): Add trivial post-parser. |
1134 | * c-lang.c (c_language_defn): Ditto. | |
1135 | (cplus_language_defn): Ditto. | |
1136 | (asm_language_defn): Ditto. | |
1137 | (minimal_language_defn): Ditto. | |
1138 | * f-lang.c (f_language_defn): Ditto. | |
1139 | * jv-lang.c (java_language_defn): Ditto. | |
1140 | * language.c (unknown_language_defn): Ditto. | |
1141 | (auto_language_defn): Ditto. | |
1142 | (local_language_defn): Ditto. | |
1143 | * m2-lang.c (m2_language_defn): Ditto. | |
1144 | * scm-lang.c (scm_language_defn): Ditto. | |
1145 | * obj-lang.c (objc_language_defn): Ditto. | |
8718a420 | 1146 | |
d9f8c85b MK |
1147 | 2004-04-10 Mark Kettenis <kettenis@gnu.org> |
1148 | ||
fa34704a MK |
1149 | * amd64nbsd-tdep.c (amd64nbsd_sigcontext_addr): Remove function. |
1150 | (amd64nbsd_mcontext_addr): New function. | |
1151 | (amd64nbsd_init_abi): Initialize TDEP->sigcontext_addr as | |
1152 | amd64nbsd_mcontext_addr. Directly initialize TDEP->sc_reg_offset | |
1153 | with amd64nbsd_r_reg_offset, instead of building it on the fly. | |
1154 | ||
403e1656 MK |
1155 | * corelow.c (core_xfer_partial): Fix coding standards violation. |
1156 | Add support for TARGET_OBJECT_WCOOKIE. | |
1157 | ||
a57e5a95 MK |
1158 | * sparc-linux-tdep.c (sparc32_linux_init_abi): Don't set |
1159 | deprecated_pc_in_sigtramp. | |
1160 | * sparc-sol2-tdep.c (sparc32_sol2_init_abi): Likewise. | |
1161 | * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Likewise. | |
1162 | * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Likewise. | |
1163 | * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Likewise. | |
1164 | * sparc64obsd-tdep.c (sparc64obsd_init_abi): Likewise. | |
1165 | * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Likewise. | |
1166 | * sparcobsd-tdep.c (sparc32obsd_init_abi): Likewise. | |
1167 | ||
377d9ebd MK |
1168 | * amd64-linux-tdep.c, amd64nbsd-tdep.c, amd64obsd-tdep.c, |
1169 | i386-linux-tdep.c, i386-tdep.c, i386nbsd-tdep.c, i386obsd-tdep.c: | |
1170 | Fix typo. | |
1171 | ||
f0ef85a5 MK |
1172 | * amd64-tdep.c (amd64_supply_fxsave): Only fiddle with |
1173 | I387_FISEG_REGNUM and I387_FOSEG_REGNUM in 64-bit mode. | |
1174 | (amd64_collect_fxsave): Likewise. | |
1175 | ||
d9f8c85b MK |
1176 | * i386-sol2-tdep.c: Include "gdb_string.h". |
1177 | (i386_sol2_sigtramp_p): Recognize signal trampoline based on its | |
1178 | name. | |
1179 | * Makefile.in (i386-sol2-tdep.o): Update dependencies. | |
1180 | ||
75f501b5 MK |
1181 | 2004-04-10 Mark Kettenis <kettenis@gnu.org> |
1182 | ||
1183 | * i386-sol2-tdep.c: Include "solib-svr4.h". | |
1184 | (i386_sol2_init_abi): Set solib_svr4_fetch_link_map_offsets. | |
1185 | * Makefile.in (i386-sol2-tdep.o): Update dependencies. | |
1186 | * config/i386/tm-i386sol2.h: Include :solib.h". | |
1187 | * config/i386/i386sol2.mh (NATDEPFILES): Remove solib.o, | |
1188 | solib-svr4.o and solib-legacy.o. | |
1189 | * config/i386/i386sol2.mt (TDEPFILES): Add solib.o and | |
1190 | solib-svr4.o. | |
1191 | ||
b31bc724 MK |
1192 | 2004-04-09 Mark Kettenis <kettenis@gnu.org> |
1193 | ||
18bbbd9e MK |
1194 | * amd64-linux-nat.c (fetch_inferior_registers): Correctly check |
1195 | whether a register is supplied by PTRACE_GETFPREGS. | |
1196 | (store_inferior_registers): Likewise. | |
1197 | * amd64bsd-nat.c (fetch_inferior_registers): Correctly check | |
1198 | whether a register is supplied by PT_GETFPREGS. | |
1199 | (store_inferior_registers): Likewise. | |
1200 | ||
3c30bf1b MK |
1201 | * config/i386/linux.mt (TDEPFILES): Remove solib-legacy.o. |
1202 | * config/i386/linux64.mt (TDEPFILES): Likewise. | |
1203 | ||
a4194092 MK |
1204 | * i386-linux-nat.c: Update copyrigth year. Tweak comment. |
1205 | ||
911bc6ee MK |
1206 | * amd64-tdep.c (amd64_sigtramp_frame_sniffer): Rewrite to use new |
1207 | sigtramp_p member of `struct gdbarch_tdep'. Also check whether | |
1208 | the program counter is in the range specified by `struct | |
1209 | gdbarch_tdep'. | |
1210 | * amd64-linux-tdep.c: Include "symtab.h". | |
1211 | (amd64_linux_pc_in_sigtramp): Remove function. | |
1212 | (amd64_linux_sigtramp_p): New function. | |
1213 | (amd64_linux_init_abi): Initialize TDEP->sigtramp_p. Don't set | |
1214 | deprecated_pc_in_sigtramp. | |
1215 | * amd64nbsd-tdep.c: Include "symtab.h". | |
1216 | (amd64nbsd_sigtramp_p): New function. | |
1217 | (amd64nbsd_init_abi): Initialize TDEP->sigtramp_p. Don't set | |
1218 | deprecated_pc_in_sigtramp. | |
1219 | * amd64obsd-tdep.c: Include "symtab.h" and "objfiles.h". Add a | |
1220 | few comments. | |
1221 | (amd64obsd_pc_in_sigtramp): Remove function. | |
1222 | (amd64obsd_sigtramp_p): New function. | |
1223 | (amd64obsd_init_abi): Initialize TDEP->sigtramp_p. Don't set | |
1224 | deprecated_pc_in_sigtramp. | |
1225 | * i386-tdep.h (struct gdbarch_tdep): Add sigtramp_p member. | |
1226 | (i386bsd_pc_ins_sigtramp): Remove prototype. | |
1227 | (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Remove prototypes. | |
1228 | * i386-tdep.c (i386_sigtramp_frame_sniffer): Rewrite to use new | |
1229 | sigtramp_p member of `struct gdbarch_tdep'. Also check whether | |
1230 | the program counter is in the range specified by `struct | |
1231 | gdbarch_tdep'. | |
1232 | (i386_pc_in_sigtramp, i386_svr4_pc_in_sigtramp): Remove functions. | |
1233 | (i386_sigtramp_p, i386_svr4_sigtramp_p): New functions. | |
1234 | (i386_go32_pc_in_sigtramp): Remove function. | |
1235 | (i386_svr4_init_abi): Don't set deprecated_pc_in_sigtramp. | |
1236 | Initialize TDEP->sigtramp_p. | |
1237 | (i386_go32_init_abi): Initialize TDEP->sigtramp_p to NULL. | |
1238 | (i386_gdbarch_init): Initialize TDEP->sigtramp_p. Don't set | |
1239 | deprecated_pc_in_sigtramp. | |
1240 | * i386-linux-tdep.c: Adjust comments. | |
1241 | (i386_linux_pc_in_sigtramp): Remove function. | |
1242 | (i386_linux_sigtramp_p): New function. | |
1243 | (i386_linux_init_abi): Initialize TDEP->sigtramp_p. Don't set | |
1244 | deprecated_pc_in_sigtramp. | |
1245 | * i386-nto-tdep.c: Update copyright year. | |
1246 | (i386nto_pc_in_sigtramp): Remove function. | |
1247 | (i386nto_sigtramp_p): New function. | |
1248 | (i386nto_sigcontext_addr): Use I386_ESP_REGNUM instead of | |
1249 | SP_REGNUM. | |
1250 | (i386nto_init_abi): Initialize TDEP->sigtramp_p. Don't set | |
1251 | deprecated_pc_in_sigtramp. | |
1252 | * i386-sol2-tdep.c: Update copyright year. | |
1253 | (i386_sol2_pc_in_sigtramp): Remove function. | |
1254 | (i386_sol2_sigtramp_p): New function. | |
1255 | (i386_sol2_init_abi): Initialize TDEP->sigtramp_p. Don't set | |
1256 | deprecated_pc_in_sigtramp. | |
1257 | * i386bsd-tdep.c (i386bsd_pc_in_sigtramp): Remove function. | |
1258 | (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Remove functions. | |
1259 | (i386bsd_init_abi): Don't set deprecated_pc_in_sigtramp, | |
1260 | deprecated_sigtramp_start and deprecated_sigtramp_end. | |
1261 | * i386nbsd-tdep.c: Include "frame.h" and "symtab.h". | |
1262 | (i386nbsd_pc_in_sigtramp): Remove function. | |
1263 | (i386nbsd_sigtramp_p): New function. | |
1264 | (i386nbsd_init_abi): Don't set deprecated_pc_in_sigtramp, | |
1265 | deprecated_sigtramp_start, deprecated_sigtramp_end. Initialize | |
1266 | TDEP->sigtramp_start, TDEP->sigtramp_end and TDEP->sigtramp_p. | |
1267 | * i386obsd-tdep.c: Include "frame.h", "symtab.h" and "objfiles.h". | |
1268 | (i386obsd_pc_in_sigtramp): Remove function. | |
1269 | (i386obsd_sigtramp_p): New function. | |
1270 | (i386obsd_sigtramp_start, i386obsd_sigtramp_end): Remove | |
1271 | functions. | |
1272 | (i386bsd_init_abi): Don't set deprecated_pc_in_sigtramp, | |
1273 | deprecated_sigtramp_start, deprecated_sigtramp_end. Initialize | |
1274 | TDEP->sigtramp_p. | |
1275 | * Makefile.in (amd64-linux-tdep.o, amd64nbsd-tdep.o, | |
1276 | amd64obsd-tdep.o, i386nbsd-tdep.o, i386obsd-tdep.o): Update | |
1277 | dependencies. | |
1278 | ||
e083e6ec MK |
1279 | * config/i386/i386aout.mt: Remove file. |
1280 | ||
bd153b94 MK |
1281 | * configure.tgt: Remove i[34567]86-*-go32*, |
1282 | i[34567]86-*-msdosdjgpp*, i[34567]86-*-sco*, i[34567]86-*-sysv* | |
1283 | and i[34567]86-*-isc*. Set gdb_target to i386 for | |
1284 | i[34567]86-*-netware* and i[34567]86-*-*. | |
1285 | * config/i386/i386.mt: New file. | |
1286 | * config/i386/embed.mt: Remove file. | |
1287 | * config/i386/go32.mt: Remove file. | |
1288 | * config/i386/i386nw.mt: Remove file. | |
1289 | * config/i386/i386v.mt: Remove file. | |
1290 | * config/i386/tm-go32.h: Remove file. | |
1291 | ||
4a1bcc8c MK |
1292 | * tui/tui-hooks.c: Include "readline/readline.h" after |
1293 | "gdb_curses.h" instead of before. | |
1294 | * tui/tui-io.c: Likewise. | |
1295 | ||
f9a79064 MK |
1296 | * tui/tui.c: Fix typo in comment. |
1297 | ||
b31bc724 MK |
1298 | * sparc64-tdep.c (sparc_address_from_register): Remove function. |
1299 | ||
f83f82bc AC |
1300 | 2004-04-08 Andrew Cagney <cagney@redhat.com> |
1301 | ||
1302 | * breakpoint.h (deprecated_exception_catchpoints_are_fragile) | |
1303 | (deprecated_exception_support_initialized): Declare. | |
8718a420 | 1304 | * hppa-hpux-tdep.c (initialize_hp_cxx_exception_support) |
f83f82bc AC |
1305 | (initialize_hp_cxx_exception_support) |
1306 | (child_enable_exception_callback): Update. | |
1307 | * breakpoint.c (deprecated_exception_catchpoints_are_fragile) | |
1308 | (deprecated_exception_support_initialized): Rename | |
1309 | deprecated_exception_catchpoints_are_fragile and | |
1310 | deprecated_exception_support_initialized. | |
1311 | (breakpoint_init_inferior, breakpoint_init_inferior): Update. | |
1312 | ||
1313 | * symtab.c (deprecated_hp_som_som_object_present): Rename | |
1314 | hp_som_som_object_present. | |
1315 | * symtab.h (deprecated_hp_som_som_object_present): Declare. | |
1316 | * symfile.c (hp_som_som_object_present, RESET_HP_UX_GLOBALS): | |
1317 | Update. Delete extern declaration. | |
1318 | * valops.c (hp_som_som_object_present): Ditto. | |
8718a420 | 1319 | * parse.c (deprecated_hp_som_som_object_present) |
f83f82bc AC |
1320 | (parse_nested_classes_for_hpacc): Ditto. |
1321 | * hpread.c (hp_som_som_object_present, hpread_expand_symtab): Ditto. | |
8718a420 | 1322 | * hppa-hpux-tdep.c (hp_som_som_object_present) |
f83f82bc AC |
1323 | (initialize_hp_cxx_exception_support): Ditto. |
1324 | * eval.c (hp_som_som_object_present, evaluate_subexp_standard): Ditto. | |
8718a420 | 1325 | * cp-valprint.c (hp_som_som_object_present) |
f83f82bc | 1326 | (cp_print_class_method): Ditto. |
8718a420 | 1327 | * c-typeprint.c (hp_som_som_object_present): |
f83f82bc AC |
1328 | (c_type_print_base): Ditto. |
1329 | * c-exp.y (hp_som_som_object_present): Ditto. | |
1330 | ||
fb2be677 AC |
1331 | 2004-04-08 Andrew Cagney <cagney@redhat.com> |
1332 | ||
1333 | * frame-unwind.c (struct frame_unwind_table, frame_unwind_init) | |
1334 | (frame_unwind_prepend_unwinder, frame_unwind_append_sniffer) | |
1335 | (frame_unwind_find_by_frame): Re-implement the unwind code so | |
1336 | that it can both prepend and append sniffers. Replace | |
1337 | frame_unwind_register_unwinder with frame_unwind_prepend_unwinder. | |
1338 | * tramp-frame.c (tramp_frame_append): Use | |
1339 | frame_unwind_prepend_unwinder. | |
1340 | * frame-unwind.h (frame_unwind_prepend_unwinder): Replace | |
1341 | frame_unwind_register_unwinder. | |
1342 | * tramp-frame.h (tramp_frame_prepend_unwinder): Rename | |
1343 | tramp_frame_append. | |
1344 | * tramp-frame.c (tramp_frame_prepend_unwinder): Update. | |
8718a420 | 1345 | * mips-linux-tdep.c (mips_linux_init_abi, mips_linux_init_abi) |
fb2be677 AC |
1346 | (mips_linux_init_abi): Update. |
1347 | ||
67faf007 KB |
1348 | 2004-04-08 Kevin Buettner <kevinb@redhat.com> |
1349 | ||
1350 | * ppc-linux-tdep.c (ELF_NREG, ELF_NFPREG, ELF_NVRREG) | |
1351 | (ELF_FPREGSET_SIZE): Delete constants formerly used in core | |
1352 | file support. | |
1353 | ||
8973ff21 KB |
1354 | 2004-04-07 Kevin Buettner <kevinb@redhat.com> |
1355 | ||
1356 | * ia64-tdep.c (elf.h): Don't include. | |
1357 | (elf/ia64.h) [HAVE_LIBUNWIND_IA64_H]: Include. | |
1358 | ||
4a0e2f88 JM |
1359 | 2004-04-07 Jason Molenda (jmolenda@apple.com) |
1360 | ||
1361 | * frame.h: Typeo corrections in comments. | |
1362 | ||
9872ad24 JB |
1363 | 2004-04-07 Jim Blandy <jimb@redhat.com> |
1364 | ||
1365 | * i386-tdep.c (i386_stab_reg_to_regnum): Correct numbering for | |
1366 | %esp and %ebp | |
1367 | ||
70b216c8 MK |
1368 | 2004-04-07 Mark Kettenis <kettenis@gnu.org> |
1369 | ||
11d5789c MK |
1370 | * config/sparc/linux.mt (TDEPFILES): Remove solib-legacy.o. |
1371 | * config/sparc/linux64.mt (TDEPFILES): Likewise. | |
1372 | * config/sparc/sol2.mt (TDEPFILES): Add solib.o and solib-svr4.o. | |
1373 | * config/sparc/sol2.mh (NATDEPFILES): Remove solib.o, solib-svr4.o | |
1374 | and solib-legacy.o. | |
1375 | * config/sparc/sol2-64.mt (TDEPFILES): Add solib.o and | |
1376 | solib-svr4.o. | |
1377 | * config/sparc/tm-sol2.h: Update copyright year. Include | |
1378 | "solib.h". | |
1379 | ||
70b216c8 MK |
1380 | * sparc-sol2-tdep.c: Update copyright year. Include |
1381 | "solib-svr4.h". | |
1382 | (sparc32_sol2_init_abi): Set solib_svr4_fetch_link_map_offsets. | |
1383 | * sparc64-sol2-tdep.c: Include "solib-svr4.h". | |
1384 | (sparc64_sol2_init_abi): Set solib_svr4_fetch_link_map_offsets. | |
096f864c | 1385 | * Makefile.in (sparc-sol2-tdep.o, sparc64-sol2-tdep.o): Update |
70b216c8 MK |
1386 | dependencies. |
1387 | ||
6339dc9e AC |
1388 | 2004-04-06 Andrew Cagney <cagney@redhat.com> |
1389 | ||
1390 | * infttrace.c: Include "infttrace.h". | |
1391 | * infttrace.h: Include "target.h". | |
1392 | * Makefile.in (infttrace_h): Update. | |
1393 | (infttrace.o): Update. | |
8718a420 | 1394 | |
93449403 AC |
1395 | 2004-04-06 Andrew Cagney <cagney@redhat.com> |
1396 | ||
6d518969 AC |
1397 | * hppah-nat.c (hpux_has_forked, hpux_has_vforked) |
1398 | (hpux_has_execd, hpux_has_syscall_event): Include "infttrace.h", | |
1399 | move extern declarations from here ... | |
1400 | * infttrace.h: ... to here. | |
1401 | * Makefile.in (hppah-nat.o): Update dependencies. | |
1402 | ||
85f4f2d8 AC |
1403 | * hppa-tdep.c (hppa_breakpoint_from_pc): Make static. |
1404 | (hppa_gdbarch_init): Set gdbarch_breakpoint_from_pc | |
8718a420 | 1405 | * config/pa/tm-hppa.h (BREAKPOINT_FROM_PC, BREAKPOINT32): |
85f4f2d8 AC |
1406 | (hppa_breakpoint_from_pc): Delete. |
1407 | ||
93449403 AC |
1408 | * MAINTAINERS: Mark hppa-elf as buildable with -Werror. |
1409 | ||
71456ec6 AC |
1410 | 2004-04-05 Andrew Cagney <cagney@redhat.com> |
1411 | ||
1412 | * hppa-tdep.c: Do not include <sys/types.h>, <sys/param.h>, | |
1413 | <signal.h>, <sys/ptrace.h>, #include "a.out.encap.h", | |
1414 | <sys/file.h>. | |
8718a420 | 1415 | |
4c02c60c AC |
1416 | 2004-04-06 Randolph Chung <tausq@debian.org> |
1417 | ||
1418 | Committed by Andrew Cagney (mechanical change). | |
1419 | * hppa-tdep.c: (args_for_find_stub, hp_som_som_object_present, | |
1420 | exception_catchpoints_are_fragile, find_stub_with_shl_get, | |
1421 | cover_find_stub_with_shl_get, initialize_hp_cxx_exception_support, | |
1422 | child_enable_exception_callback, current_ex_event, | |
1423 | null_symtab_and_line, child_get_current_exception_event, | |
1424 | HP_ACC_EH_notify_hook, HP_ACC_EH_set_hook_value, | |
1425 | HP_ACC_EH_notify_callback, HP_ACC_EH_break, HP_ACC_EH_catch_throw, | |
1426 | HP_ACC_EH_catch_catch, __eh_notification, hp_cxx_exception_support, | |
1427 | hp_cxx_exception_support_initialized, eh_notify_hook_addr, | |
1428 | eh_notify_callback_addr, eh_break_addr, eh_catch_catch_addr, | |
1429 | eh_catch_throw_addr, break_callback_sal, setup_d_pid_in_inferior): | |
1430 | Move hpux-specific definitions ... | |
1431 | * hppa-hpux-tdep.c: ... to here. | |
1432 | ||
3a515653 AC |
1433 | 2004-04-05 Andrew Cagney <cagney@redhat.com> |
1434 | ||
1435 | * hppa-tdep.c (hppa_frame_cache): Pass the frame's func to | |
1436 | skip_prologue_using_sal. | |
1437 | ||
c1730d02 AC |
1438 | 2004-04-05 Andrew Cagney <cagney@redhat.com> |
1439 | ||
1440 | * config/i386/tm-i386.h: Delete file. | |
1441 | * config/i386/tm-vxworks.h: Update copyright, do not include | |
1442 | "tm-i386.h". | |
1443 | * config/i386/tm-nto.h, config/i386/tm-linux.h: Ditto. | |
1444 | * config/i386/tm-i386sol2.h, config/i386/tm-i386lynx.h: Ditto. | |
1445 | * config/i386/tm-go32.h, config/i386/tm-cygwin.h: Ditto. | |
1446 | * config/i386/ncr3000.mt (TM_FILE): Delete. | |
1447 | * config/i386/interix.mt (TM_FILE): Delete. | |
1448 | * config/i386/i386v.mt (TM_FILE): Delete. | |
1449 | * config/i386/i386nw.mt (TM_FILE): Delete. | |
1450 | * config/i386/i386gnu.mt (TM_FILE): Delete. | |
1451 | * config/i386/i386aout.mt (TM_FILE): Delete. | |
1452 | * config/i386/embed.mt (TM_FILE): Delete. | |
1453 | ||
8b67aa36 KB |
1454 | 2004-04-05 Kevin Buettner <kevinb@redhat.com> |
1455 | ||
1456 | * frv-tdep.h (fsr0_regnum, acc0_regnum, acc7_regnum, accg0123_regnum) | |
1457 | (accg4567_regnum, msr0_regnum, msr1_regnum, gner0_regnum) | |
1458 | (gner1_regnum, fner0_regnum, fner1_regnum, accg0_regnum) | |
1459 | (accg7_regnum): New constants. | |
1460 | (last_spr_regnum, last_pseudo_regnum): Update. | |
c2f59a1a KB |
1461 | * frv-tdep.c (new_variant): Initialize names for fsr0, acc0-acc7, |
1462 | accg0-accg7, msr0, msr1, gner0, gner1, fner0, and fner1. | |
8b67aa36 KB |
1463 | (frv_pseudo_register_read, frv_pseudo_register_write): Add support |
1464 | for accg registers. | |
1465 | (frv_register_sim_regno): Update spr_map[]. | |
1466 | ||
3c7012f5 AC |
1467 | 2004-04-04 Andrew Cagney <cagney@redhat.com> |
1468 | ||
1469 | * config/mips/xm-riscos.h: Delete. | |
1470 | * config/mips/xm-mipsv4.h, config/mips/xm-mips.h: Delete. | |
1471 | * config/mips/tm-mipsv4.h, config/mips/riscos.mh: Delete. | |
1472 | * config/mips/nm-riscos.h, config/mips/nm-news-mips.h: Delete. | |
1473 | * config/mips/nm-mips.h, config/mips/news-mips.mh: Delete. | |
1474 | * config/mips/news-mips.mh, config/m68k/tm-m68kv4.h: Delete. | |
1475 | * config/mips/decstation.mh, config/mips/littlemips.mh: Delete. | |
1476 | * config/mips/mipsv4.mt, config/m68k/tm-sun3.h: Delete. | |
1477 | * config/m68k/xm-sun3os4.h, config/m68k/xm-sun3.h: Delete. | |
1478 | * config/m68k/xm-sun2.h, config/m68k/xm-m68kv4.h: Delete. | |
1479 | * config/m68k/xm-dpx2.h, config/m68k/xm-delta68.h: Delete. | |
1480 | * config/m68k/xm-3b1.h, config/m68k/tm-sun3os4.h: Delete. | |
1481 | * config/m68k/tm-m68klynx.h, config/m68k/tm-dpx2.h: Delete. | |
1482 | * config/m68k/tm-delta68.h, config/m68k/tm-3b1.h: Delete. | |
1483 | * config/m68k/sun3os4.mt, config/m68k/nm-sysv4.h: Delete. | |
1484 | * config/m68k/nm-sun3.h, config/m68k/sun3os4.mh: Delete. | |
1485 | * config/m68k/sun2os3.mh, config/m68k/nm-sun2.h: Delete. | |
1486 | * config/m68k/nm-m68klynx.h, config/m68k/sun3os3.mt: Delete. | |
1487 | * config/m68k/nm-dpx2.h, config/m68k/sun2os3.mt: Delete. | |
1488 | * config/m68k/dpx2.mh, config/m68k/sun3os3.mh: Delete. | |
1489 | * config/m68k/sun2os4.mh, config/m68k/nm-delta68.h: Delete. | |
1490 | * config/m68k/m68kv4.mt, config/m68k/m68klynx.mt: Delete. | |
1491 | * config/m68k/3b1.mt, config/m68k/m68klynx.mh: Delete. | |
1492 | * config/m68k/m68kv4.mh, config/m68k/sun2os4.mt: Delete. | |
1493 | * config/m68k/tm-sun2os4.h, config/m68k/3b1.mh: Delete. | |
1494 | * config/m68k/dpx2.mt, config/m68k/delta68.mt: Delete. | |
1495 | * config/m68k/tm-sun2.h, config/m68k/delta68.mh: Delete. | |
8718a420 | 1496 | |
3c7012f5 AC |
1497 | * configure.tgt: Remove m68000-*-sunos3*, m68000-*-sunos4*, |
1498 | m68*-bull-sysv*, m68*-att-*, m68*-motorola-*, m68*-*-lynxos*, | |
1499 | m68*-*-sunos3*, m68*-*-sunos4*, m68*-*-sysv4*, mips*-*-sysv4*. | |
1500 | * configure.host: Remove m680[01]0-sun-sunos3*, | |
1501 | m680[01]0-sun-sunos4*, m68*-att-*, m68*-bull*-sysv*, | |
1502 | m68*-*-lynxos*, m68*-*-sysv4*, m68*-motorola-*, m68*-sun-sunos3*, | |
1503 | m68*-sun-sunos4*, m68*-sun-*, mips-dec-*, mips-little-*, | |
1504 | mips-sony-*, mips-*-mach3*, mips-*-sysv4*, mips-*-sysv*, | |
1505 | mips-*-riscos*. | |
1506 | * NEWS: Mention removed systems. | |
1507 | ||
99d16a21 AC |
1508 | 2004-04-04 Andrew Cagney <cagney@redhat.com> |
1509 | ||
1510 | GDB 6.1 release created from 6.1 branch. | |
1511 | ||
6cdf9d98 AC |
1512 | 2004-04-04 Andrew Cagney <cagney@redhat.com> |
1513 | ||
98d346c3 AC |
1514 | * gnu-nat.c (gnu_wait): Use memcpy instead of bcopy. |
1515 | * remote-vxmips.c (vx_read_register, vx_write_register): Ditto. | |
1516 | * remote-vx68.c (vx_read_register, vx_write_register): Ditto. | |
1517 | ||
6cdf9d98 AC |
1518 | * config/vax/xm-vax.h (FAULT_CODE_ORIGIN, INIT_STACK): Delete. |
1519 | * config/alpha/xm-alphaosf.h (NO_SIGINTERRUPT): Delete. | |
1520 | * config/alpha/xm-alphalinux.h (NO_SIGINTERRUPT): Delete. | |
1521 | ||
859a326d JB |
1522 | 2004-04-03 Jim Blandy <jimb@redhat.com> |
1523 | ||
1524 | * MAINTAINERS: Chris Faylor has changed employers; add him to | |
1525 | "paper trail" section, and update his E-mail address. | |
1526 | ||
b87178c3 AC |
1527 | 2004-04-03 Andrew Cagney <cagney@redhat.com> |
1528 | ||
4ea2acf0 AC |
1529 | * frame-unwind.c (frame_unwind_find_by_frame): Delete check for |
1530 | generic dummy frames. | |
1531 | * dummy-frame.c: Update copyright. | |
1532 | (dummy_frame_sniffer): Delete check for generic dummy frames. | |
1533 | ||
d0bd2d18 | 1534 | * config/pa/tm-hppa.h (REG_PARM_STACK_SPACE): Delete. |
8718a420 | 1535 | * config/pa/tm-hppa64.h (PA20W_CALLING_CONVENTIONS) |
d0bd2d18 AC |
1536 | (REG_PARM_STACK_SPACE): Delete. |
1537 | * hppa-tdep.c (hppa64_push_dummy_call, hppa32_push_dummy_call): | |
1538 | Inline reference to REG_PARM_STACK_SPACE. | |
1539 | ||
b87178c3 AC |
1540 | * config/pa/tm-hppah.h (FRAME_SAVED_PC_IN_SIGTRAMP) |
1541 | (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP) | |
1542 | (hppa32_hpux_frame_find_saved_regs_in_sigtramp) | |
1543 | (FRAME_BASE_BEFORE_SIGTRAMP) | |
1544 | (hppa32_hpux_frame_base_before_sigtramp) | |
1545 | (hppa32_hpux_frame_saved_pc_in_sigtramp): Delete. | |
1546 | * config/pa/tm-hppa64.h (hppa64_hpux_frame_saved_pc_in_sigtramp) | |
1547 | (hppa64_hpux_frame_find_saved_regs_in_sigtramp) | |
1548 | (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP) | |
1549 | (FRAME_BASE_BEFORE_SIGTRAMP) | |
1550 | (hppa64_hpux_frame_base_before_sigtramp) | |
1551 | (FRAME_SAVED_PC_IN_SIGTRAMP): Delete. | |
1552 | ||
43e2e1a0 AC |
1553 | 2004-04-03 Andrew Cagney <cagney@redhat.com> |
1554 | ||
1555 | * PROBLEMS: Mention that GDB doesn't build on HP/UX 11.00. | |
1556 | ||
ddc135a4 AC |
1557 | 2004-04-02 Andrew Cagney <cagney@redhat.com> |
1558 | ||
1559 | * sh64-tdep.c (sh64_init_extra_frame_info): Replace | |
1560 | DEPRECATED_CALL_DUMMY_LENGTH with 0, simplify. | |
1561 | * dummy-frame.h: Delete out-of-date comments. | |
1562 | * gdbarch.sh (DEPRECATED_CALL_DUMMY_LENGTH): Delete. | |
1563 | * gdbarch.h, gdbarch.c: Re-generate. | |
1564 | ||
d15bfd3a | 1565 | 2004-04-02 Joel Brobecker <brobecker@gnat.com> |
8718a420 | 1566 | |
d15bfd3a AC |
1567 | Committed by Andrew Cagney <cagney@redhat.com>. |
1568 | * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Do not take | |
1569 | into account an instruction saving a register if we have already | |
1570 | seen an earlier instruction saving that same register. | |
1571 | ||
f04ceafa AC |
1572 | 2004-04-02 Andrew Cagney <cagney@redhat.com> |
1573 | ||
08be3abd AC |
1574 | * gdbarch.sh (DEPRECATED_INIT_FRAME_PC_FIRST): Delete. |
1575 | * gdbarch.h, gdbarch.c: Re-generate. | |
1576 | * frame.c (legacy_get_prev_frame): Delete references to | |
1577 | DEPRECATED_INIT_FRAME_PC_FIRST. | |
1578 | ||
f04ceafa AC |
1579 | * infrun.c (pc_in_sigtramp): Delete function. |
1580 | (check_sigtramp2): Inline call to pc_in_sigtramp, use | |
1581 | get_frame_type. | |
1582 | ||
08e69816 AC |
1583 | 2004-04-02 Andrew Cagney <cagney@redhat.com> |
1584 | ||
1585 | * infrun.c (handle_step_into_function): Delete code conditional on | |
1586 | legacy_frame_p. | |
1587 | (handle_inferior_event, step_over_function): Ditto. | |
1588 | ||
adb54772 AC |
1589 | 2004-04-02 Andrew Cagney <cagney@redhat.com> |
1590 | ||
1591 | * frame.c (get_prev_frame_1): Exclude signal trampolines from the | |
1592 | "previous frame inner to this frame" test. | |
1593 | ||
304396fb AC |
1594 | 2004-04-02 Andrew Cagney <cagney@redhat.com> |
1595 | ||
1596 | * frame.c (safe_frame_unwind_memory): New function. | |
1597 | * frame.h (safe_frame_unwind_memory): Declare. Update description | |
1598 | of /safe_/ methods. | |
1599 | * tramp-frame.c (tramp_frame_start): Re-order parmeters, add | |
1600 | "next_frame". Use safe_frame_unwind_memory. | |
1601 | (tramp_frame_sniffer): Update call to tramp_frame_start. | |
1602 | ||
6502dd73 DJ |
1603 | 2004-04-01 Daniel Jacobowitz <drow@mvista.com> |
1604 | ||
1605 | * dwarf2read.c (dwarf2_objfile_data_key): New. | |
1606 | (struct dwarf2_per_objfile, dwarf2_per_objfile): New. | |
1607 | (dwarf_info_size, dwarf_abbrev_size, dwarf_line_size) | |
1608 | (dwarf_pubnames_size, dwarf_aranges_size, dwarf_loc_size) | |
1609 | (dwarf_macinfo_size, dwarf_str_size, dwarf_ranges_size) | |
1610 | (dwarf_frame_size, dwarf_eh_frame_size, dwarf_info_buffer) | |
1611 | (dwarf_abbrev_buffer, dwarf_line_buffer, dwarf_str_buffer) | |
1612 | (dwarf_macinfo_buffer, dwarf_ranges_buffer, dwarf_loc_buffer): | |
1613 | Remove variables. | |
1614 | (struct dwarf2_pinfo): Remove per-objfile members. Update comments. | |
1615 | (DWARF_ABBREV_SIZE, DWARF_LINE_SIZE) | |
1616 | (DWARF_LOC_SIZE, DWARF_MACINFO_SIZE, DWARF_STR_SIZE) | |
1617 | (DWARF_RANGES_SIZE, DWARF_INFO_BUFFER) | |
1618 | (DWARF_ABBREV_BUFFER, DWARF_LINE_BUFFER, DWARF_STR_BUFFER) | |
1619 | (DWARF_MACINFO_BUFFER, DWARF_RANGES_BUFFER, DWARF_LOC_BUFFER): | |
1620 | Remove macros. | |
1621 | (dwarf2_has_info): Take an objfile argument. Allocate per-objfile | |
1622 | data. | |
1623 | (dwarf2_locate_sections, dwarf2_build_psymtabs) | |
1624 | (dwarf2_build_psymtabs_easy, dwarf2_build_psymtabs_hard) | |
1625 | (skip_one_die, dwarf2_get_pc_bounds, dwarf2_read_abbrevs) | |
1626 | (read_partial_die, read_full_die, read_indirect_string) | |
1627 | (dwarf_decode_line_header, dwarf_decode_macros) | |
1628 | (dwarf2_symbol_mark_computed): Remove use of removed macros. | |
1629 | Update uses of removed variables. | |
1630 | (psymtab_to_symtab_1): Restore per-objfile data pointer. Remove use | |
1631 | of removed macros. | |
1632 | (_initialize_dwarf2_read): New function. | |
1633 | * symfile.h (dwarf2_has_info): Update prototype. | |
1634 | * coffread.c (coff_symfile_read): Update call to dwarf2_has_info. | |
1635 | * elfread.c (elf_symfile_read): Likewise. | |
1636 | ||
408752b0 JB |
1637 | 2004-04-01 Jim Blandy <jimb@redhat.com> |
1638 | ||
9f744501 JB |
1639 | * rs6000-tdep.c (rs6000_dwarf2_stab_reg_to_regnum): New, unified |
1640 | function for register numbers on all the rs6000-derived targets. | |
1641 | (rs6000_gdbarch_init): Don't register a separate | |
1642 | gdbarch_dwarf2_reg_to_regnum function for the E500. Use | |
1643 | rs6000_dwarf2_stab_reg_to_regnum for both Dwarf 2 and stabs on all | |
1644 | variants. | |
1645 | ||
408752b0 JB |
1646 | * i386-tdep.c: Add FIXME regarding STABS vs. Dwarf 2 register |
1647 | numbering. | |
1648 | ||
2de41bce PH |
1649 | 2004-04-01 Paul N. Hilfinger <Hilfinger@gnat.com> |
1650 | ||
1651 | * valarith.c: Update copyright notice. | |
1652 | (value_add): Handle range types. | |
1653 | (value_sub): Ditto. | |
1654 | (value_equal): Ditto. | |
1655 | (value_less): Ditto. | |
1656 | (value_neg): Ditto. | |
1657 | (value_complement): Ditto. | |
8718a420 | 1658 | (value_binop): Simplify slightly by using is_integral_type and |
2de41bce | 1659 | eliminiating unnecessary COERCE_ENUMs. |
8718a420 | 1660 | |
5613d8d3 AC |
1661 | 2004-03-31 Andrew Cagney <cagney@redhat.com> |
1662 | ||
1663 | * frame.h (frame_unwind_id): Declare. | |
1664 | * frame.c (frame_unwind_id): New function. | |
1665 | (get_prev_frame_1): New function. | |
1666 | (frame_debug_got_null_frame): New function. | |
1667 | (get_prev_frame): Use frame_debug_got_null_frame. Move unwind | |
1668 | code proper to prev_frame, update description. | |
1669 | * infrun.c (step_over_function): Use frame_unwind_id. | |
1670 | ||
c4557624 JB |
1671 | 2004-04-31 J. Brobecker <brobecker@gnat.com> |
1672 | ||
1673 | * hppa-tdep.c (hppa32_push_dummy_call): Set the Stack Pointer. | |
1674 | (hppa64_push_dummy_call): Likewise. | |
1675 | ||
3e6bb910 JB |
1676 | 2004-03-30 Jim Blandy <jimb@redhat.com> |
1677 | ||
1678 | From Ulrich Weigand: | |
1679 | * utils.c (query): Do not use a va_list variable multiple times. | |
1680 | ||
a2f23071 DJ |
1681 | 2004-03-29 Daniel Jacobowitz <drow@mvista.com> |
1682 | ||
1683 | * Makefile.in (linux_nat_h): Update dependencies. | |
1684 | * configure.in: Check for <gnu/libc-version.h>. | |
1685 | * configure: Regenerate. | |
1686 | * config.in: Regenerate. | |
1687 | * linux-nat.h: Include "target.h". Add waitstatus field to | |
1688 | struct lwp_info. | |
1689 | * lin-lwp.c (add_lwp): Initialize waitstatus.kind. | |
1690 | (lin_lwp_attach_lwp): Don't attach to LWPs we have already attached | |
1691 | to. | |
1692 | (lin_lwp_handle_extended): New function. Handle clone events. | |
1693 | (wait_lwp): Use lin_lwp_handle_extended. Update comment about | |
1694 | thread exit events. | |
1695 | (child_wait): Handle clone events. | |
1696 | (lin_lwp_wait: Use lin_lwp_handle_extended and handle clone events. | |
1697 | * linux-nat.c (linux_enable_event_reporting): Turn on | |
1698 | PTRACE_O_TRACECLONE. | |
1699 | (linux_handle_extended_wait): Handle clone events. | |
1700 | * thread-db.c: Include <gnu/libc-version.h>. | |
1701 | (struct private_thread_info): Add dying flag. | |
1702 | (enable_thread_event_reporting): Enable TD_DEATH for glibc 2.2 and | |
1703 | higher. | |
1704 | (attach_thread): Update comments. Handle dying threads. | |
1705 | (detach_thread): Set the dying flag. | |
1706 | (check_event): Always call attach_thread. | |
1707 | ||
8d5f9dcb DJ |
1708 | 2004-03-29 Daniel Jacobowitz <drow@mvista.com> |
1709 | ||
1710 | * mips-tdep.c (mips_pdr_data): New. | |
1711 | (non_heuristic_proc_desc): Use objfile_data and set_objfile_data. | |
1712 | (_initialize_mips_tdep): Initialize mips_pdr_data. | |
1713 | ||
66337bb1 CV |
1714 | 2004-03-29 Corinna Vinschen <vinschen@redhat.com> |
1715 | ||
1716 | * minsyms.c (install_minimal_symbols): Move dropping leading | |
1717 | char from linkage name from here... | |
1718 | (prim_record_minimal_symbol_and_info): ...to here. Simplify | |
1719 | test for "__gnu_compiled*" symbols. | |
1720 | ||
e802b915 JB |
1721 | 2004-03-28 Jim Blandy <jimb@redhat.com> |
1722 | ||
1723 | * rs6000-tdep.c (skip_prologue): Recognize moves from argument | |
1724 | registers to temp register r0 and byte stores as prologue | |
1725 | instructions. | |
1726 | ||
72b56458 AC |
1727 | 2004-03-28 Andrew Cagney <cagney@redhat.com> |
1728 | ||
1729 | * PROBLEMS (Stack backtraces): Rewrite. Remove reference to | |
1730 | arm*-*-*. | |
1731 | ||
0bfbda3b SC |
1732 | 2004-03-28 Stephane Carrez <stcarrez@nerim.fr> |
1733 | ||
1734 | * tui/tui-regs.c (tui_show_registers): Make sure the TUI is active | |
1735 | and switch the layout to force a display of register window. | |
1736 | ||
5a7225ed JB |
1737 | 2004-02-26 J. Brobecker <brobecker@gnat.com> |
1738 | ||
1739 | * amd64-tdep.c (amd64_classify): make RANGE_TYPE objects be part | |
1740 | of the INTEGER class. | |
1741 | ||
81a07a45 JB |
1742 | 2004-03-26 Jim Blandy <jimb@redhat.com> |
1743 | ||
1744 | * ppc-linux-tdep.c (ppc_linux_init_abi): Long doubles are eight | |
1745 | bytes long on PPC GNU/Linux. | |
1746 | ||
8c691c7a DC |
1747 | 2004-03-26 David Carlton <carlton@kealia.com> |
1748 | ||
1749 | * PROBLEMS: Refer to gdb/1588 instead of gdb/826. | |
1750 | ||
103a0089 AC |
1751 | 2004-03-25 Andrew Cagney <cagney@redhat.com> |
1752 | ||
1753 | * PROBLEMS: Add general section titles, remove references to | |
1754 | specific releases. | |
1755 | ||
7a5ea0d4 DJ |
1756 | 2004-03-25 Daniel Jacobowitz <drow@mvista.com> |
1757 | ||
1758 | * arm-linux-tdep.c (ARM_LINUX_JB_ELEMENT_SIZE): Define to | |
1759 | INT_REGISTER_SIZE. | |
1760 | (arm_linux_push_arguments): Use TARGET_DOUBLE_BIT instead of | |
1761 | FP_REGISTER_VIRTUAL_SIZE. | |
1762 | * arm-tdep.c (arm_make_sigtramp_cache): Use register_size instead | |
1763 | of DEPRECATED_REGISTER_RAW_SIZE. | |
1764 | (arm_register_type): Add gdbarch argument. | |
1765 | (arm_register_raw_size, arm_register_virtual_size): Delete. | |
1766 | (arm_register_byte, arm_extract_return_value) | |
1767 | (arm_store_return_value, arm_get_longjmp_target): Update references | |
1768 | to INT_REGISTER_RAW_SIZE and FP_REGISTER_RAW_SIZE. | |
1769 | (arm_gdbarch_init): Likewise. Don't set | |
1770 | deprecated_register_raw_size, deprecated_register_virtual_size, | |
1771 | deprecated_max_register_raw_size, | |
1772 | deprecated_max_register_virtual_size, or | |
1773 | deprecated_max_register_virtual_type. Do set register_type. | |
1774 | * arm-tdep.h (ARM_MAX_REGISTER_RAW_SIZE) | |
1775 | (ARM_MAX_REGISTER_VIRTUAL_SIZE, INT_REGISTER_VIRTUAL_SIZE) | |
1776 | (FP_REGISTER_VIRTUAL_SIZE): Delete. | |
1777 | (INT_REGISTER_RAW_SIZE): Rename to INT_REGISTER_SIZE. | |
1778 | (FP_REGISTER_RAW_SIZE): Rename to FP_REGISTER_SIZE. | |
1779 | * arm-linux-tdep.c (ARM_NBSD_JB_ELEMENT_SIZE): Define to | |
1780 | INT_REGISTER_SIZE. | |
1781 | * remote-rdp.c (remote_rdp_fetch_register): Use MAX_REGISTER_SIZE. | |
1782 | (remote_rdp_store_register): Likewise. | |
1783 | ||
5792a79b DJ |
1784 | 2004-03-24 Daniel Jacobowitz <drow@mvista.com> |
1785 | ||
1786 | * Makefile.in (mips-linux-tdep.o): Update dependencies. | |
1787 | * mips-tdep.c (mips_gdbarch_init): Move frame predicates | |
1788 | to after osabi initialization. | |
1789 | * mips-linux-tdep.c: Include "trad-frame.h" and "tramp-frame.h". | |
1790 | (mips_linux_o32_sigframe_init, mips_linux_n32n64_sigframe_init): New | |
1791 | functions. | |
1792 | (mips_linux_o32_sigframe, mips_linux_o32_rt_sigframe) | |
1793 | (mips_linux_n32_rt_sigframe, mips_linux_n64_rt_sigframe): New | |
1794 | variables. | |
1795 | (mips_linux_init_abi): Append signal trampoline unwinders. | |
1796 | ||
1196bfda AC |
1797 | 2004-03-24 Andrew Cagney <cagney@redhat.com> |
1798 | ||
1799 | * tramp-frame.h (TRAMP_SENTINEL_INSN): Define, document. | |
1800 | * tramp-frame.c: Include "gdb_assert.h". | |
1801 | (tramp_frame_start): Use TRAMP_SENTINEL_INSN. Use ULONGEST and | |
1802 | correct sizeof. | |
1803 | (tramp_frame_append): Validate the tramp frame's instructions. | |
1804 | * Makefile.in (tramp-frame.o): Update dependencies. | |
1805 | ||
4be282b4 AC |
1806 | 2004-03-23 Andrew Cagney <cagney@redhat.com> |
1807 | ||
1808 | * trad-frame.h (trad_frame_set_reg_addr): Declare. | |
1809 | ||
69aec09b AC |
1810 | 2004-03-23 Andrew Cagney <cagney@redhat.com> |
1811 | ||
1812 | * MAINTAINERS (Past Maintainers): Add Mark Salter and Fernando | |
1813 | Nasser as past testsuite/lib/ (and other) maintainers. | |
1814 | ||
63ed89b4 DJ |
1815 | 2004-03-23 Daniel Jacobowitz <drow@mvista.com> |
1816 | ||
1817 | * infcmd.c (attach_command): Reread symbols if we already have | |
1818 | an exec file. | |
1819 | ||
f3b36427 AC |
1820 | 2004-03-23 Andrew Cagney <cagney@redhat.com> |
1821 | ||
1822 | * rs6000-tdep.c (frame_get_saved_regs): Delete unused function. | |
1823 | ||
aa2a3f87 AC |
1824 | 2004-03-23 Andrew Cagney <cagney@redhat.com> |
1825 | ||
1826 | * gdbarch.sh (SIGTRAMP_START, SIGTRAMP_END): Deprecate. | |
1827 | * gdbarch.h, gdbarch.c: Re-generate. | |
1828 | * i386obsd-tdep.c (i386obsd_init_abi): Update. | |
1829 | * i386nbsd-tdep.c (i386nbsd_init_abi): Update. | |
1830 | * i386bsd-tdep.c (i386bsd_init_abi): Update. | |
8718a420 | 1831 | * config/vax/tm-vaxbsd.h (DEPRECATED_SIGTRAMP_END) |
aa2a3f87 | 1832 | (DEPRECATED_SIGTRAMP_START): Update. |
8718a420 | 1833 | * config/m68k/tm-nbsd.h (DEPRECATED_SIGTRAMP_END) |
aa2a3f87 AC |
1834 | (DEPRECATED_SIGTRAMP_START): Update. |
1835 | * blockframe.c (find_pc_sect_partial_function): Update. | |
1836 | * arch-utils.c (legacy_pc_in_sigtramp): Update. | |
1837 | ||
00cac895 DJ |
1838 | 2004-03-23 Daniel Jacobowitz <drow@mvista.com> |
1839 | ||
1840 | * remote.c (remote_open_1): Reopen the exec file and reread symbols | |
1841 | if necessary. | |
1842 | ||
f561f026 AC |
1843 | 2004-03-23 Andrew Cagney <cagney@redhat.com> |
1844 | ||
1845 | * gdbarch.sh (PC_IN_SIGTRAMP): Change to a function with | |
1846 | predicate, deprecate. | |
1847 | * gdbarch.h, gdbarch.c: Re-generate. | |
1848 | * alpha-linux-tdep.c (alpha_linux_init_abi): Update. | |
1849 | * alpha-osf1-tdep.c (alpha_osf1_init_abi): Update. | |
1850 | * alpha-tdep.c (alpha_sigtramp_frame_sniffer): Update. | |
1851 | * alphafbsd-tdep.c (alphafbsd_init_abi): Update. | |
1852 | * alphanbsd-tdep.c (alphanbsd_init_abi): Update. | |
1853 | * amd64-linux-tdep.c (amd64_linux_init_abi): Update. | |
1854 | * amd64-tdep.c (amd64_sigtramp_frame_sniffer): Update. | |
1855 | * amd64nbsd-tdep.c (amd64nbsd_init_abi): Update. | |
1856 | * amd64obsd-tdep.c (amd64obsd_init_abi): Update. | |
1857 | * arm-tdep.c (arm_sigtramp_unwind_sniffer): Update. | |
1858 | * blockframe.c (find_pc_partial_function): Update. | |
1859 | * breakpoint.c (bpstat_what): Update. | |
1860 | * frame.c (frame_type_from_pc, legacy_get_prev_frame): Update. | |
1861 | * frv-linux-tdep.c (frv_linux_init_abi): Update. | |
1862 | * frv-tdep.c (frv_sigtramp_frame_sniffer): Update. | |
1863 | * hppa-hpux-tdep.c (hppa_hpux_init_abi): Update. | |
1864 | * i386-interix-tdep.c (i386_interix_init_abi): Update. | |
1865 | * i386-linux-tdep.c (i386_linux_init_abi): Update. | |
1866 | * i386-nto-tdep.c (i386nto_init_abi): Update. | |
1867 | * i386-sol2-tdep.c (i386_sol2_init_abi): Update. | |
1868 | * i386-tdep.c (i386_sigtramp_frame_sniffer) | |
1869 | (i386_svr4_init_abi, i386_go32_init_abi, i386_gdbarch_init): Update. | |
1870 | * i386bsd-tdep.c (i386bsd_init_abi): Update. | |
1871 | * i386nbsd-tdep.c (i386nbsd_init_abi): Update. | |
1872 | * i386obsd-tdep.c (i386obsd_init_abi): Update. | |
1873 | * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Update. | |
1874 | * infrun.c (pc_in_sigtramp): Update. | |
1875 | * m68k-tdep.c (m68k_sigtramp_frame_sniffer): Update. | |
1876 | * m68klinux-tdep.c (m68k_linux_init_abi): Update. | |
1877 | * mips-tdep.c (mips_gdbarch_init): Update. | |
1878 | * mipsnbsd-tdep.c (mipsnbsd_init_abi): Update. | |
1879 | * ppc-linux-tdep.c: Update comment. | |
1880 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Update. | |
1881 | * shnbsd-tdep.c (shnbsd_init_abi): Update. | |
1882 | * sparc-linux-tdep.c (sparc32_linux_init_abi): Update. | |
1883 | * sparc-sol2-tdep.c (sparc32_sol2_init_abi): Update. | |
1884 | * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Update. | |
1885 | * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Update. | |
1886 | * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Update. | |
1887 | * sparc64obsd-tdep.c (sparc64obsd_init_abi): Update. | |
1888 | * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Update. | |
1889 | * sparcobsd-tdep.c (sparc32obsd_init_abi): Update. | |
8718a420 | 1890 | |
8050c72f AC |
1891 | 2004-03-23 Andrew Cagney <cagney@redhat.com> |
1892 | ||
d2259dd3 AC |
1893 | * tramp-frame.h, tramp-frame.h: New files. |
1894 | * Makefile.in (SFILES, tramp_frame_h, COMMON_OBS, tramp-frame.o): | |
1895 | Update rules to include "tramp-frame.h" and "tramp-frame.c". | |
1896 | ||
8050c72f AC |
1897 | * Makefile.in: Update all dependencies. |
1898 | ||
0db9b4b7 AC |
1899 | 2004-03-23 Andrew Cagney <cagney@redhat.com> |
1900 | ||
1901 | * Makefile.in (trad_frame_h): Add $(frame_h). | |
1902 | * trad-frame.h: Update copyright. Include "frame.h". | |
1903 | (struct trad_frame_cache, trad_frame_cache_zalloc): Declare. | |
1904 | (trad_frame_set_id, trad_frame_get_id): Declare. | |
1905 | (trad_frame_set_reg_addr, trad_frame_get_register): Declare. | |
1906 | * trad-frame.c: Update copyright. | |
1907 | (struct trad_frame_cache): Define. | |
1908 | (trad_frame_cache_zalloc): New function. | |
1909 | (trad_frame_set_id, trad_frame_get_id): New functions. | |
1910 | (trad_frame_set_reg_addr, trad_frame_get_register): New functions. | |
8718a420 | 1911 | |
8e645ae7 AC |
1912 | 2004-03-22 Andrew Cagney <cagney@redhat.com> |
1913 | ||
1914 | * s390-tdep.c (struct s390_stub_unwind_cache): Rename | |
1915 | s390_pltstub_unwind_cache. | |
1916 | (s390_stub_frame_unwind_cache): Rename | |
1917 | s390_pltstub_frame_unwind_cache. | |
1918 | (s390_stub_frame_this_id): Rename s390_pltstub_frame_this_id. | |
1919 | (s390_stub_frame_prev_register): Rename | |
1920 | s390_pltstub_frame_prev_register. | |
1921 | (s390_stub_frame_unwind): Rename s390_pltstub_frame_unwind. | |
1922 | (s390_stub_frame_sniffer): Rename s390_stub_frame_sniffer. | |
1923 | ||
1924 | From Ulrich Weigand: | |
1925 | * s390-tdep.c (s390_pltstub_frame_sniffer): Handle invalid function | |
1926 | pointer calls like PLT calls. | |
1927 | ||
34fcf120 DJ |
1928 | 2004-03-22 Daniel Jacobowitz <drow@mvista.com> |
1929 | ||
1930 | * mips-tdep.c (non_heuristic_proc_desc): Search using the specified | |
1931 | PC rather than the partial function start address. Use the start | |
1932 | address to sanity check the found PDR. | |
1933 | ||
5b917078 DJ |
1934 | 2004-03-22 Daniel Jacobowitz <drow@mvista.com> |
1935 | ||
1936 | * lin-lwp.c (lin_lwp_wait): Pass the LWP ID to | |
1937 | linux_handle_extended_wait. | |
1938 | ||
8adf9e78 AC |
1939 | 2004-03-22 Andrew Cagney <cagney@redhat.com> |
1940 | ||
c3122434 AC |
1941 | * rs6000-tdep.c (frame_initial_stack_address): Delete unused |
1942 | function. | |
1943 | ||
8adf9e78 AC |
1944 | * frame.h (generic_pop_current_frame): Delete declaration. |
1945 | (deprecate_pop_dummy_frame): Deprecate | |
1946 | generic_pop_dummy_frame. | |
1947 | * dummy-frame.c (deprecated_pop_dummy_frame): Update. | |
1948 | (generic_pop_current_frame): Delete function. | |
1949 | * mn10300-tdep.c (mn10300_pop_frame): Eliminate call to | |
1950 | generic_pop_current_frame. | |
1951 | * v850-tdep.c (v850_pop_frame): Update. | |
1952 | * mcore-tdep.c (mcore_pop_frame): Update. | |
1953 | * sh64-tdep.c (sh64_pop_frame): Update. | |
1954 | * h8300-tdep.c (h8300_pop_frame): Update. | |
1955 | ||
90ba813f AC |
1956 | 2004-03-22 Andrew Cagney <cagney@redhat.com> |
1957 | ||
1958 | * frame.h (deprecated_pc_in_call_dummy): Rename | |
1959 | generic_pc_in_call_dummy. | |
1960 | * dummy-frame.h (pc_in_dummy_frame): Delete declaration. | |
1961 | * dummy-frame.c (deprecated_pc_in_call_dummy): Rename | |
1962 | generic_pc_in_call_dummy. | |
1963 | (pc_in_dummy_frame): Make static. | |
1964 | * gdbarch.sh (DEPRECATED_PC_IN_CALL_DUMMY): Update. | |
1965 | * gdbarch.h, gdbarch.c: Re-generate. | |
1966 | * dummy-frame.c (dummy_frame_sniffer): Simplify. | |
1967 | * frame.c (frame_type_from_pc): Call deprecated_pc_in_call_dummy. | |
1968 | (legacy_get_prev_frame): Ditto. | |
1969 | * inferior.h: Delete reference to generic_pc_in_call_dummy in | |
1970 | comment. | |
8718a420 | 1971 | |
ca4bb888 AC |
1972 | 2004-03-21 Andrew Cagney <cagney@redhat.com> |
1973 | ||
244675f9 AC |
1974 | * inferior.h (deprecated_pc_in_call_dummy_at_entry_point): Delete |
1975 | declaration and out-of-date comment. | |
1976 | * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point): | |
1977 | Delete function. | |
1978 | * mn10300-tdep.c (mn10300_gdbarch_init): Do not set | |
1979 | deprecated_pc_in_call_dummy. | |
1980 | ||
ca4bb888 AC |
1981 | * infrun.c (handle_inferior_event): For non legacy frames, use the |
1982 | frame ID and frame type to identify a signal trampoline. Update | |
1983 | comments. | |
1984 | ||
1777c7b4 NW |
1985 | 2004-03-21 Nathan J. Williams <nathanw@wasabisystems.com> |
1986 | ||
1987 | * mipsnbsd-tdep.c: Update copyright. Include "mips-tdep.h". | |
1988 | * Makefile.in (mipsnbsd-tdep.o): Update dependencies. | |
1989 | ||
82417da5 AC |
1990 | 2004-03-21 Andrew Cagney <cagney@redhat.com> |
1991 | ||
1992 | * frame-unwind.h: Update copyright. | |
1993 | (struct frame_data): Add opaque declaration. | |
1994 | (frame_sniffer_ftype): Declare. | |
1995 | (struct frame_unwind): Add "unwind_data" and "sniffer". | |
1996 | (frame_unwind_register_unwinder): Declare. | |
1997 | (frame_unwind_find_by_frame): Add parameter "this_cache". | |
1998 | * frame.c (get_frame_id, create_new_frame, legacy_get_prev_frame) | |
1999 | (legacy_get_prev_frame, legacy_get_prev_frame) | |
2000 | (get_frame_type): Pass the prologue_cache to | |
2001 | frame_unwind_find_by_frame. | |
2002 | * frame-unwind.c (struct frame_unwind_table_entry): Add field | |
2003 | "unwinder". | |
2004 | (frame_unwind_register_unwinder): New function. | |
2005 | (frame_unwind_find_by_frame): Handle an unwind sniffer. | |
2006 | ||
b2ba182e PH |
2007 | 2004-03-20 Paul Hilfinger <hilfingr@nile.gnat.com> |
2008 | ||
2009 | * bcache.c (print_percentage): Use floating point to avoid | |
2010 | incorrect results when portion*100 overflows. | |
2011 | ||
81332287 KB |
2012 | 2004-03-19 Kevin Buettner <kevinb@redhat.com> |
2013 | ||
2014 | * ppc_tdep.h (ppc_linux_frame_saved_pc) | |
2015 | (ppc_linux_init_extra_frame_info) | |
2016 | (ppc_linux_frameless_function_invocation) | |
2017 | (ppc_linux_frame_init_saved_regs, ppc_linux_frame_chain) | |
2018 | (rs6000_frame_saved_pc, rs6000_init_extra_frame_info) | |
2019 | (rs6000_frameless_function_invocation, rs6000_frame_init_saved_regs) | |
2020 | (rs6000_frame_chain): Delete declarations. | |
2021 | * ppc-linux-tdep.c (ppc_linux_frame_saved_pc) | |
2022 | (ppc_linux_init_extra_frame_info) | |
2023 | (ppc_linux_frameless_function_invocation) | |
2024 | (ppc_linux_frame_init_saved_regs, ppc_linux_frame_chain): Delete. | |
2025 | (ppc_linux_init_abi): Remove registration of above deleted functions. | |
2026 | * rs6000-tdep.c (rs6000_init_extra_frame_info) | |
2027 | (rs6000_frame_init_saved_regs, rs6000_init_frame_pc_first) | |
2028 | (rs6000_frame_args_address, rs6000_saved_pc_after_call) | |
2029 | (rs6000_pop_frame, rs6000_frameless_function_invocation) | |
2030 | (rs6000_frame_saved_pc, rs6000_frame_chain): Delete. | |
2031 | (rs6000_gdbarch_init): Remove registration of above deleted functions. | |
2032 | Use rs6000_unwind_pc(), rs6000_frame_sniffer(), | |
2033 | rs6000_unwind_dummy_id(), and rs6000_frame_base_sniffer() for | |
2034 | frame management for all OSABIs. | |
2035 | ||
61a65099 KB |
2036 | 2004-03-19 Andrew Cagney <cagney@redhat.com> |
2037 | ||
2038 | Committed by Kevin Buettner <kevinb@redhat.com>. | |
2039 | ||
2040 | * ppc-linux-tdep.c: Include "trad-frame.h", and "frame-unwind.h". | |
2041 | Update copyright. | |
2042 | (struct ppc_linux_sigtramp_cache, ppc_linux_sigtramp_cache) | |
2043 | (ppc_linux_sigtramp_this_id, ppc_linux_sigtramp_prev_register) | |
2044 | (ppc_linux_sigtramp_unwind, ppc_linux_sigtramp_sniffer) | |
2045 | (ppc_linux_init_abi): Add both 32- and 64-bit signal trampoline | |
2046 | unwinders. #ifdef legacy frame code. | |
2047 | * rs6000-tdep.c: Include "trad-frame.h", "frame-unwind.h", and | |
2048 | "frame-base.h". | |
2049 | (rs6000_unwind_pc, rs6000_unwind_dummy_id) | |
2050 | (struct rs6000_frame_cache, rs6000_frame_cache) | |
2051 | (rs6000_frame_this_id, rs6000_frame_prev_register) | |
2052 | (rs6000_frame_sniffer, rs6000_frame_unwind) | |
2053 | (rs6000_frame_base_address, rs6000_frame_base_sniffer) | |
2054 | (rs6000_frame_base): Implement a traditional frame unwinder. | |
2055 | (rs6000_gdbarch_init): When unknown, NetBSD, or GNU/Linux use the | |
2056 | frame unwinder. | |
2057 | ||
88f7da05 KB |
2058 | 2004-03-19 Kevin Buettner <kevinb@redhat.com> |
2059 | ||
2060 | * breakpoint.c (adjust_breakpoint_address): Don't adjust | |
2061 | breakpoint address for watchpoints or the catch eventpoints. | |
2062 | Add new paramter ``bptype''. Adjust all callers. | |
2063 | ||
f826dce1 AC |
2064 | 2004-03-19 Andrew Cagney <cagney@redhat.com> |
2065 | ||
33cb8b0f AC |
2066 | * config/pa/tm-hppa.h (GDB_TARGET_IS_HPPA): Delete unused macro. |
2067 | ||
f826dce1 AC |
2068 | * PROBLEMS: Delete note that ARM does not use frame code, problem |
2069 | fixed. | |
2070 | ||
43b1ab88 AC |
2071 | 2004-03-18 Andrew Cagney <cagney@redhat.com> |
2072 | ||
292ab034 AC |
2073 | * stack.c (return_command): Delete code wrapped in #ifdef |
2074 | DEPRECATED_CALL_DUMMY_HAS_COMPLETED, macro no longer defined. | |
2075 | ||
43b1ab88 AC |
2076 | * rs6000-tdep.c (skip_prologue): Record only the first LR save. |
2077 | ||
dbfe4626 AC |
2078 | 2004-03-18 Andrew Cagney <cagney@redhat.com> |
2079 | ||
2080 | * config/mips/tm-nbsd.h: Replace IN_SIGTRAMP with | |
2081 | DEPRECATED_IN_SIGTRAMP. | |
2082 | * config/powerpc/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto. | |
2083 | * config/mips/tm-linux.h (DEPRECATED_IN_SIGTRAMP) Ditto. | |
2084 | * config/mips/tm-irix6.h (DEPRECATED_IN_SIGTRAMP): Ditto. | |
2085 | * config/mips/tm-irix5.h (DEPRECATED_IN_SIGTRAMP): Ditto. | |
2086 | * config/ia64/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto. | |
2087 | * config/ia64/tm-aix.h (DEPRECATED_IN_SIGTRAMP): Ditto. | |
2088 | * config/arm/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto. | |
2089 | * config/arm/tm-embed.h (DEPRECATED_IN_SIGTRAMP): Ditto. | |
2090 | * arch-utils.c (legacy_pc_in_sigtramp): Ditto. | |
2091 | * arch-utils.h: Remove reference to IN_SIGTRAMP in comment. | |
2092 | ||
0cad6aec AC |
2093 | 2004-03-18 Andrew Cagney <cagney@redhat.com> |
2094 | ||
2095 | * frame-base.c: Update copyright. Include "gdb_obstack.h". | |
2096 | (struct frame_base_table_entry): Define. | |
2097 | (struct frame_base_table): Re-implement as a linked list. | |
2098 | (frame_base_init): Re-implement. | |
2099 | (frame_base_table): Delete function. | |
2100 | (append_predicate): Delete function. | |
2101 | (frame_base_append_sniffer): Update. | |
2102 | (frame_base_set_default): Update. | |
2103 | (frame_base_find_by_frame): Update. | |
2104 | (_initialize_frame_base): Use gdbarch_data_register_pre_init. | |
2105 | * Makefile.in (frame-base.o): Update dependencies. | |
2106 | ||
9982c2e7 AC |
2107 | 2004-03-17 Andrew Cagney <cagney@redhat.com> |
2108 | ||
2109 | * frame.c (legacy_get_prev_frame): Pass correct frame to | |
2110 | frame_unwind_find_by_frame. | |
2111 | ||
8dfe8985 DC |
2112 | 2004-03-17 David Carlton <carlton@kealia.com> |
2113 | ||
2114 | * NEWS: Mention C++ nested types and namespaces | |
2115 | ||
ed47347a MC |
2116 | 2004-03-16 Michael Chastain <mec.gnu@mindspring.com> |
2117 | ||
2118 | * PROBLEMS: Add section headers, "Regressions since gdb 6.0" | |
2119 | and "Regressions since gdb 5.3.". Add known regressions since | |
2120 | gdb 6.0. | |
2121 | ||
90aeadfc DC |
2122 | 2004-03-16 David Carlton <carlton@kealia.com> |
2123 | ||
2124 | * dwarf2read.c (process_structure_scope): Process children even | |
2125 | when we're a declaration. | |
2126 | ||
73912b9b AC |
2127 | 2004-03-16 Andrew Cagney <cagney@redhat.com> |
2128 | ||
2129 | * symtab.h (find_pc_sect_partial_function): Delete declaration. | |
2130 | * blockframe.c (find_pc_partial_function) | |
2131 | (find_pc_sect_partial_function): Merge into a single | |
2132 | find_pc_partial_function. | |
2133 | ||
283accbc MK |
2134 | 2004-03-16 Mark Kettenis <kettenis@gnu.org> |
2135 | ||
2136 | * i386bsd-nat.c: s/regno/regnum/g. | |
2137 | (fetch_inferior_registers): Use I386_ST0_REGNUM instead of | |
2138 | FP0_REGNUM. | |
2139 | (store_inferior_registers): Likewise. | |
2140 | ||
f5b1afdf MK |
2141 | 2004-03-16 Mark Kettenis <kettenis@gnu.org> |
2142 | ||
2143 | * i386bsd-nat.c (fill_fpregset): Call i387_collect_fsave instead | |
2144 | of i387_fill_fsave. | |
2145 | (store_inferior_registers): Call i387_collect_fsave and | |
2146 | i387_collect_fxsave instead of i387_fill_fsave and | |
2147 | i387_fill_fxsave. | |
2148 | ||
41fe5eb3 AC |
2149 | 2004-03-15 Andrew Cagney <cagney@redhat.com> |
2150 | ||
2151 | * Makefile.in (frame-unwind.o): Update dependencies. | |
2152 | * frame-unwind.c: Include "gdb_obstack.h". | |
2153 | (frame_unwind_init): Replace "gdbarch" parameter with an "obstack" | |
2154 | parameter. | |
2155 | (append_predicate): Delete function. | |
2156 | (struct frame_unwind_table_entry): New structure. | |
2157 | (struct frame_unwind_table): Replace "sniffer" with "head" and | |
2158 | "tail". | |
2159 | (frame_unwind_append_sniffer): Update. | |
2160 | (frame_unwind_find_by_frame): Update. | |
2161 | (_initialize_frame_unwind): Registe frame_unwind_init using | |
2162 | gdbarch_data_register_pre_init. | |
2163 | ||
3f63813d MK |
2164 | 2004-03-15 Mark Kettenis <kettenis@gnu.org> |
2165 | ||
2166 | * i386bsd-nat.c: Update copyright year. | |
2167 | (CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): Undefine and then | |
2168 | define unconditionally. | |
2169 | ||
3248c325 | 2170 | 2004-03-15 Mark Kettenis <kettenis@gnu.org> |
63b6c53f MK |
2171 | |
2172 | * i387-tdep.h (i387_collect_fsave): New prototype. | |
2173 | * i387-tdep.c (i387_collect_fsave): New function containing most | |
2174 | of the code from i387_fill_fsave. | |
3248c325 | 2175 | (i387_fill_fsave): Call i387_collect_fsave. |
63b6c53f | 2176 | |
871fbe6a MK |
2177 | 2004-03-15 Mark Kettenis <kettenis@gnu.org> |
2178 | ||
2179 | * i386-linux-tdep.c: Update copyright year. | |
2180 | (i386_linux_svr4_fetch_link_map_offsets): Remove function. | |
2181 | (i386_linux_init_abi): Set solib_svr4_fetch_link_maop_offsets to | |
2182 | svr4_ilp32_link_map_offsets instead of | |
2183 | i386_linux_svr4_fetch_link_map_offsets. | |
2184 | ||
8176b9b8 DC |
2185 | 2004-03-15 David Carlton <carlton@kealia.com> |
2186 | ||
2187 | Fix for PR c++/1553: | |
2188 | * dwarf2read.c (read_structure_type): Determine type name by | |
2189 | calling determine_class_name. | |
2190 | (determine_class_name): New. | |
2191 | (determine_prefix): Look at TYPE_TAG_NAME and call | |
2192 | determine_class_name when appropriate. | |
2193 | (determine_prefix_aux, class_name): Delete. | |
9d58e29d | 2194 | (read_namespace): Set die->type. |
8176b9b8 | 2195 | |
fe8bf7d7 KB |
2196 | 2004-03-15 Kevin Buettner <kevinb@redhat.com> |
2197 | ||
2198 | * breakpoint.c (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete | |
2199 | unused macro definition. The definition in target.h (or perhaps | |
2200 | elsewhere) takes precedence. | |
2201 | ||
ed6edd9b AC |
2202 | 2004-03-15 Andrew Cagney <cagney@redhat.com> |
2203 | ||
f9be684a AC |
2204 | * ppc-tdep.h: Update copyright. |
2205 | (ppc_linux_supply_gregset, ppc_linux_supply_fpregset): Change | |
2206 | function signatures to match "regsets.h". | |
2207 | * ppc-linux-tdep.c: Include "regset.h". | |
2208 | (ELF_GREGSET_SIZE): Delete. | |
2209 | (right_supply_register): New function. | |
2210 | (ppc_linux_supply_fpregset, ppc_linux_supply_gregset): Rewrite | |
2211 | using right_supply_register. | |
2212 | (ppc32_linux_supply_gregset, ppc64_linux_supply_gregset): New | |
2213 | functions. | |
2214 | (ppc64_linux_gregset, ppc32_linux_gregset): Define. | |
2215 | (ppc_linux_init_abi): Register ppc_linux_regset_from_core_section. | |
2216 | (_initialize_ppc_linux_tdep): Do not register | |
2217 | ppc_linux_regset_core_fns. | |
2218 | (ppc_linux_regset_from_core_section): Replace | |
2219 | fetch_core_registers. | |
2220 | (ppc_linux_regset_core_fns): Delete. | |
2221 | * ppc-linux-nat.c: (right_fill_reg): New function. | |
2222 | (supply_gregset): Update call to ppc_linux_supply_gregset. | |
2223 | (fill_gregset): Clear the register set, use right_fill_reg. | |
2224 | (supply_fpregset): Update call to ppc_linux_supply_fpregset. | |
2225 | (fill_fpregset): Use right_fill_reg, correctly compute FP offsets. | |
2226 | ||
ed6edd9b AC |
2227 | * rs6000-tdep.c (rs6000_register_virtual_type): Make registers |
2228 | unsigned. | |
2229 | ||
030f20e1 AC |
2230 | 2004-03-15 Andrew Cagney <cagney@redhat.com> |
2231 | ||
2232 | * gdbarch.sh (gdbarch_data_pre_init_fytpe) | |
2233 | (gdbarch_data_register_pre_init, gdbarch_data_post_init_fytpe) | |
2234 | (gdbarch_data_register_post_init): Replace gdbarch_data_init_ftype | |
2235 | and register_gdbarch_data. | |
2236 | (deprecated_set_gdbarch_data): Rename set_gdbarch_data. | |
2237 | (struct gdbarch_data): Replace "init" by "pre_init" and | |
2238 | "post_init". | |
2239 | * gdbarch.h, gdbarch.c: Re-generate. | |
2240 | * dwarf2-frame.c (dwarf2_frame_init): Replace "gdbarch" paramter | |
2241 | with"obstack", use OBSTACK_ZALLOC. | |
2242 | (dwarf2_frame_ops): Delete. | |
2243 | (dwarf2_frame_set_init_reg): Use gdbarch_data. | |
2244 | (dwarf2_frame_init_reg): Use gdbarch_data. | |
2245 | (_initialize_dwarf2_frame): Use gdbarch_data_register_pre_init. | |
8718a420 | 2246 | * solib-svr4.c (set_solib_svr4_fetch_link_map_offsets) |
030f20e1 AC |
2247 | (_initialize_svr4_solib): Update. |
2248 | * user-regs.c (_initialize_user_regs): Update. | |
2249 | * reggroups.c (_initialize_reggroup): Update. | |
2250 | * regcache.c (_initialize_regcache): Update. | |
2251 | * mips-linux-tdep.c (_initialize_mips_linux_tdep): Update. | |
2252 | * libunwind-frame.c (_initialize_libunwind_frame): Update. | |
2253 | * gnu-v3-abi.c (init_gnuv3_ops): Update. | |
2254 | * frame-unwind.c (_initialize_frame_unwind): Update. | |
2255 | * frame-base.c (_initialize_frame_base): Update. | |
2256 | * user-regs.c (user_reg_add): Update. | |
2257 | * reggroups.c (reggroup_add): Update. | |
2258 | * mips-linux-tdep.c (set_mips_linux_register_addr): Update. | |
2259 | * libunwind-frame.c (libunwind_frame_set_descr): Update. | |
2260 | * frame-unwind.c (frame_unwind_append_sniffer): Update. | |
2261 | * frame-base.c (frame_base_table): Update. | |
2262 | * remote.c (_initialize_remote): Update. | |
2263 | * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Define. | |
8718a420 | 2264 | |
3111a3fc AC |
2265 | 2004-03-15 Andrew Cagney <cagney@redhat.com> |
2266 | ||
2267 | * cris-tdep.c (bfd_lookup_symbol): Delete unused function. | |
2268 | ||
5ecb7103 KB |
2269 | 2004-03-15 Kevin Buettner <kevinb@redhat.com> |
2270 | ||
2271 | * Makefile.in (frv-linux-tdep.o): Add dependencies. | |
2272 | * frv-linux-tdep.c: New file. | |
2273 | * frv-tdep.c (struct gdbarch_tdep): Add new field | |
2274 | ``sigcontext_reg_addr''. | |
2275 | (frv_set_sigcontext_reg_addr, frv_sigtramp,frame_cache) | |
2276 | (frv_sigtramp_frame_this_id, frv_sigtramp_frame_prev_register) | |
2277 | (frv_sigramp_frame_sniffer): New functions. | |
2278 | (frv_sigtramp_frame_unwind): New static global. | |
2279 | (frv_gdbarch_init): Hook in ABI-specific overrides. Hook up frame | |
2280 | sniffers. | |
2281 | * frv-tdep.h (frv_set_sigcontext_reg_addr): New function. | |
2282 | * config/frv/frv.mt (TDEPFILES): Add frv-linux-tdep.o. | |
2283 | ||
1ccda5e9 KB |
2284 | 2004-03-15 Kevin Buettner <kevinb@redhat.com> |
2285 | ||
2286 | * frv-tdep.c (frv_analyze_prologue): Terminate prologue scan, | |
2287 | but not via a call to error(), when unable to read memory. | |
2288 | ||
b375a0a5 KB |
2289 | 2004-03-15 Kevin Buettner <kevinb@redhat.com> |
2290 | ||
2291 | * frv-tdep.c (frv_call_dummy_words): Delete. | |
2292 | (frv_frame_unwind_cache): Delete unused variable, ``prev_sp''. | |
2293 | ||
4fdf6121 AC |
2294 | 2004-03-15 Andrew Cagney <cagney@redhat.com> |
2295 | ||
2296 | * infrun.c (handle_step_into_function, step_over_function): Only | |
2297 | update and use STEP_FRAME_ID when the system is using legacy | |
2298 | frames. Update comments. | |
2299 | ||
34021503 MK |
2300 | 2004-03-14 Mark Kettenis <kettenis@gnu.org> |
2301 | ||
187e21d1 MK |
2302 | * amd64-linux-tdep.h: Remove file. |
2303 | * amd64-linux-tdep.c: Don't include "inferior.h" and | |
2304 | "amd64-linux-tdep.h". Include "frame.h" and "solib-svr4.h". | |
2305 | (USER_R15, USER_R14, USER_R13, USER_R12, USER_RBP, USER_RBX) | |
2306 | (USER_R11, USER_R10, USER_R9, USER_R8, USER_RAX, USER_RCX) | |
2307 | (USER_RDX, USER_RSI, USER_RDI, USER_RIP, USER_CS, USER_EFLAGS) | |
2308 | (USER_RSP, USER_SS, USER_DS, USER_ES, USER_FS, USER_GS): Remove | |
2309 | macros. | |
2310 | (user_to_gdb_regmap): Remove variable. | |
2311 | (amd64_linux_gregset_reg_offset): New variable. | |
2312 | (amd64_core_fns): Remove variable. | |
2313 | (fetch_core_registers): Remove function. | |
2314 | (amd64_linux_supply_gregset, amd64_linux_fill_gregset): Remove | |
2315 | functions. | |
2316 | (_initialize_amd64_linux_tdep): Don't set add_core_fns. | |
2317 | * amd64-linux-nat.c: Don't include "amd64-linux-tdep.h". | |
2318 | * Makefile.in (amd64_linux_tdep_h): Remove. | |
2319 | (amd64-linux-nat.o): Update dependencies. | |
2320 | (amd64-linux-tdep.o): Update dependencies. | |
2321 | ||
99679982 MK |
2322 | * amd64-linux-nat.c (GETFPREGS_SUPPLIES): Remove macro. |
2323 | (fetch_regs, fetch_fpregs, store_regs, store_fpregs): Remove | |
2324 | functions. | |
2325 | (fetch_inferior_registers, store_inferior_registers): Rewrite. | |
2326 | ||
34021503 MK |
2327 | * amd64-tdep.h (amd64_fill_fxsave): Remove prototype. |
2328 | * amd64-tdep.c (amd64_fill_fxsave): Remove function. | |
2329 | ||
134d01f1 DJ |
2330 | 2004-03-14 Daniel Jacobowitz <drow@mvista.com> |
2331 | ||
2332 | * dwarf2read.c (read_structure_type): Rename from | |
8718a420 | 2333 | read_structure_scope. Don't create a symbol or call process_die. |
134d01f1 DJ |
2334 | Return immediately if die->type is set. Call read_type_die before |
2335 | dwarf2_add_member_fn. | |
2336 | (process_structure_scope): New function. | |
2337 | (read_enumeration_type, process_enumeration_scope): New functions, | |
2338 | broken out from read_enumeration. Don't create the enumeration | |
2339 | type if it has already been created. | |
2340 | (read_enumeration): Removed. | |
2341 | (process_die): Call read_structure_type, process_structure_scope, | |
2342 | read_enumeration_type, and process_enumeration_scope. Just call | |
2343 | new_symbol for base and subrange types. Add a comment about other | |
2344 | type dies. | |
2345 | (read_type_die): Call read_enumeration_type. | |
2346 | (add_partial_structure, new_symbol): Update comments. | |
2347 | ||
65760afb SC |
2348 | 2004-03-13 Stephane Carrez <stcarrez@nerim.fr> |
2349 | ||
2350 | * m68hc11-tdep.c (m68hc11_register_name): Get soft reg information. | |
2351 | ||
10f59415 SC |
2352 | 2004-03-13 Stephane Carrez <stcarrez@nerim.fr> |
2353 | ||
2354 | * tui/tui-win.h (tui_get_cmd_list): Declare. | |
2355 | * tui/tui-win.c (tui_command): New function. | |
2356 | (tui_get_cmd_list): New function. | |
2357 | (_initialize_tui_win): Moved initialization of tui command in | |
2358 | tui_get_cmd_list. | |
2359 | ||
2360 | * tui/tui-data.c (init_content_element): Setup new data members. | |
2361 | (init_win_info): Likewise. | |
2362 | (free_content_elements): Free it. | |
2363 | * tui/tui-data.h (struct tui_data_element): Store the register | |
2364 | content to print. | |
2365 | (struct tui_data_info): Keep the current register group. | |
2366 | ||
2367 | * tui/tui-layout.c (tui_set_layout): Update call to tui_show_registers. | |
2368 | ||
2369 | * tui/tui-regs.h (tui_show_registers): Update prototype. | |
2370 | (tui_toggle_float_regs, tui_calculate_regs_column_count): Remove. | |
2371 | (tui_resize_all): No need to calculate anything for register window. | |
2372 | * tui/tui-regs.c (tui_calculate_regs_column_count): Remove. | |
2373 | (tui_set_register_element, tui_set_general_regs_content): Remove. | |
2374 | (tui_set_special_regs_content): Remove. | |
2375 | (tui_set_general_and_special_regs_content): Remove. | |
2376 | (tui_set_float_regs_content): Remove. | |
2377 | (tui_reg_value_has_changed, tui_get_register_raw_value): Remove. | |
2378 | (tui_set_regs_content): Remove. | |
2379 | (tui_toggle_float_regs, _tui_toggle_float_regs_command): Remove. | |
2380 | (tui_v_show_registers_command_support): Remove. | |
2381 | (tui_show_registers): Use a reggroup to specify the registers to show. | |
2382 | (tui_show_register_group): New function. | |
2383 | (tui_display_registers_from): Compute the layout of register window | |
2384 | and refresh with new API; be sure to delete old register windows. | |
2385 | (tui_check_register_values): Update to use tui_get_register and | |
2386 | tui_display_data. | |
2387 | (tui_display_register): Just refresh the register window part. | |
2388 | (tui_register_format): Format registers and save in tui_data_element. | |
2389 | (tui_get_register): New to combine tui_reg_value_has_changed and | |
2390 | tui_get_register_raw_value; fix to use the new gdb API. | |
2391 | (tui_show_float_command): Renamed tui_reg_float_command. | |
2392 | (tui_show_general_command): Renamed tui_reg_general_command. | |
2393 | (tui_show_special_command): Renamed tui_reg_system_command. | |
2394 | (_initialize_tui_regs): Remove unused commands. | |
2395 | ||
c3364ea4 MK |
2396 | 2004-03-13 Mark Kettenis <kettenis@gnu.org> |
2397 | ||
27d1e716 MK |
2398 | * NEWS (New native configurations): Mention OpenBSD/amd64. |
2399 | ||
c3364ea4 MK |
2400 | * config/i386/nm-fbsd.h: Include "config/nm-bsd.h". |
2401 | (PTRACE_ARG3_TYPE, FETCH_INFERIOR_REGISTERS, ATTACH_DETACH): | |
2402 | Remove defines. | |
2403 | * config/i386/nm-fbsd64.h: Likewise. | |
2404 | * config/i386/nm-obsd.h: Likewise. | |
2405 | * config/sparc/nm-fbsd.h: Likewise. Update copyright year. | |
2406 | * config/alpha/nm-fbsd.h: Likewise. Update copyright year. | |
2407 | ||
b2d6d697 KB |
2408 | 2004-03-12 Kevin Buettner <kevinb@redhat.com> |
2409 | ||
2410 | * frv-tdep.c (set_variant_scratch_registers): New function. | |
b2d6d697 KB |
2411 | * frv-tdep.h (scr0_regnum, scr1_regnum, scr2_regnum, scr3_regnum): |
2412 | New constants. | |
2413 | ||
76e43199 KB |
2414 | From Richard Sandiford <rsandifo@redhat.com>: |
2415 | * frv-tdep.c (frv_gdbarch_init): Add FR450 support. | |
2416 | ||
34ce532e KB |
2417 | 2004-03-12 Kevin Buettner <kevinb@redhat.com> |
2418 | ||
2419 | * frv-tdep.c, frv-tdep.h (first_gpr_regnum, sp_regnum, fp_regnum) | |
2420 | (struct_return_regnum, last_gpr_regnum, first_fpr_regnum) | |
2421 | (last_fpr_regnum, pc_regnum, first_spr_regnum, psr_regnum, ccr_regnum) | |
2422 | (cccr_regnum, fdpic_loadmap_exec_regnum, fdpic_loadmap_interp_regnum) | |
2423 | (tbr_regnum, brr_regnum, dbar0_regnum, dbar1_regnum, dbar2_regnum) | |
2424 | (dbar3_regnum, lr_regnum, lcr_regnum, iacc0h_regnum, iacc0l_regnum) | |
2425 | (last_spr_regnum, frv_num_regs, first_pseudo_regnum, iacc0_regnum) | |
2426 | (last_pseudo_regnum, frv_num_pseudo_regs): Move constant (enum) | |
2427 | definitions from frv-tdep.c to frv-tdep.h. | |
2428 | ||
c4d10515 KB |
2429 | 2004-03-12 Kevin Buettner <kevinb@redhat.com> |
2430 | ||
2431 | Add shared library support for FR-V FDPIC ABI: | |
2432 | * Makefile.in (solib-frv.o): Add dependencies. | |
2433 | * frv-tdep.c (find_func_descr, frv_convert_from_func_ptr_addr): | |
2434 | New functions. | |
2435 | (frv_push_dummy_call): Add support for FDPIC ABI. | |
2436 | (frv_gdbarch_init): Call set_gdbarch_convert_from_func_ptr_addr() | |
2437 | for FDPIC ABI. | |
2438 | * frv-tdep.h (frv_fdpic_find_global_pointer): Declare. | |
2439 | (frv_fdpic_find_canonical_descriptor): Declare. | |
2440 | * solib-frv.c: New file. | |
2441 | * config/frv/frv.mt (TDEPFILES): Add solib.o and solib-frv.o. | |
2442 | * config/frv/tm-frv.h (solib.h): Include. | |
2443 | ||
ed1bd989 KB |
2444 | 2004-03-12 Kevin Buettner <kevinb@redhat.com> |
2445 | ||
2446 | * Makefile.in (elf_frv_h, frv_tdep_h): Define. | |
2447 | (frv-tdep.o): Update dependencies. | |
2448 | * frv-tdep.h: New file. | |
2449 | * frv-tdep.c (elf-bfd.h, elf/frv.h, osabi.h, frv-tdep.h): Include. | |
2450 | (fdpic_loadmap_exec_regnum, fdpic_loadmap_interp_regnum): New | |
2451 | constants. | |
2452 | (struct gdbarch_tdep): Add new member ``frv_abi''. | |
2453 | (frv_abi, frv_fdpic_loadmap_addresses, set_variant_abi_fdpic): New | |
2454 | functions. | |
2455 | (new_variant): Set ``frv_abi'' field. | |
2456 | (gdb_arch_init): Detect FDPIC executables. | |
2457 | ||
82b38f72 MK |
2458 | 2004-03-12 Mark Kettenis <kettenis@gnu.org> |
2459 | ||
2460 | * solib-svr4.h: Change SOLIB_SVR4 wrapper into SOLIB_SVR4_H | |
2461 | wrapper. | |
2462 | ||
db1ea9ba AC |
2463 | 2004-03-11 Andrew Cagney <cagney@redhat.com> |
2464 | ||
2465 | * solib-svr4.h: Add #ifndef SOLIB_SVR4 wrapper. | |
2466 | ||
f8766ec1 KB |
2467 | 2004-03-11 Kevin Buettner <kevinb@redhat.com> |
2468 | ||
2469 | * solist.h (master_so_list): New function. | |
2470 | * solib.c (master_so_list): Likewise. | |
2471 | * solib-svr4.c (enable_break): Iterate over so_list entries | |
2472 | obtained from master list instead of entries obtained directly | |
2473 | via svr4_current_sos(). | |
2474 | ||
523f6a27 BE |
2475 | 2004-03-10 Ben Elliston <bje@gnu.org> |
2476 | ||
2477 | * MAINTAINERS: Update my mail address. | |
2478 | ||
37814c18 KI |
2479 | 2004-03-10 Kei Sakamoto <sakamoto.kei@renesas.com> |
2480 | ||
2481 | * remote-m32r-sdi.c: Support hardware watchpoint. | |
2482 | ||
8b9740d8 DJ |
2483 | 2004-03-09 Daniel Jacobowitz <drow@mvista.com> |
2484 | ||
2485 | * user-regs.c: Update copyright years. | |
2486 | (struct user_regs): Rename to gdb_user_regs. | |
2487 | (append_user_reg, builtin_user_regs, user_regs_init) | |
2488 | (user_reg_add, user_reg_map_name_to_regnum) | |
2489 | (usernum_to_user_reg): Update. | |
2490 | ||
4bb7a0a7 DJ |
2491 | 2004-03-09 Daniel Jacobowitz <drow@mvista.com> |
2492 | ||
2493 | * dwarf2read.c (skip_leb128, peek_die_abbrev, skip_one_die) | |
2494 | (skip_children): New functions. | |
2495 | (locate_pdi_sibling): Call skip_children. | |
2496 | ||
44e1a9eb DJ |
2497 | 2004-03-09 Daniel Jacobowitz <drow@mvista.com> |
2498 | ||
2499 | * arm-tdep.c (arm_use_struct_convention): Look through typedefs. | |
2500 | * gdbtypes.c (check_typedef): Update comments. | |
2501 | ||
f3dd6933 DJ |
2502 | 2004-03-09 Daniel Jacobowitz <drow@mvista.com> |
2503 | ||
2504 | * dwarf2read.c (struct comp_unit_head): Remove dwarf2_abbrevs array. | |
2505 | (struct dwarf2_cu): Add abbrev_obstack and dwarf2_abbrevs | |
2506 | pointer. Update comment about comp_unit_head. | |
2507 | (struct abbrev_info): Shorten two int flags. | |
2508 | (dwarf_alloc_abbrev): Take a CU argument. | |
2509 | (dwarf2_build_psymtabs_hard): Call dwarf2_free_abbrev_table | |
2510 | each time through the loop. Update cleanup argument. | |
2511 | (psymtab_to_symtab_1): Update cleanup call. | |
2512 | (dwarf2_read_abbrevs, dwarf2_alloc_abbrev): Allocate on the | |
2513 | abbrev_obstack. | |
2514 | (dwarf2_free_abbrev_table): Renamed from dwarf2_empty_abbrev_table. | |
2515 | Just call obstack_free and clear the pointer. | |
2516 | ||
b40c7d58 DJ |
2517 | 2004-03-09 Daniel Jacobowitz <drow@mvista.com> |
2518 | ||
2519 | * infrun.c (handle_inferior_event): Remove short-circuit code for | |
2520 | events in a different thread. | |
2521 | ||
333dabeb DJ |
2522 | 2004-03-09 Daniel Jacobowitz <drow@mvista.com> |
2523 | ||
2524 | * target.c (debug_to_xfer_memory): If targetdebug is 1, don't | |
2525 | print the whole transfer. | |
2526 | (initialize_targets): Update description of "set debug target". | |
2527 | ||
aa17d93e DJ |
2528 | 2004-03-09 Daniel Jacobowitz <drow@mvista.com> |
2529 | ||
2530 | * arm-tdep.c (thumb_get_next_pc): Handle Thumb BLX. | |
2531 | ||
0b71f08f NW |
2532 | 2004-03-08 Nathan J. Williams <nathanw@wasabisystems.com> |
2533 | ||
2534 | * MAINTAINERS (write after approval): Add myself. | |
2535 | ||
3930f270 CV |
2536 | 2004-03-08 Corinna Vinschen <vinschen@redhat.com> |
2537 | ||
2538 | * sh-tdep.c (sh_print_registers_info): Use for loop. | |
2539 | Don't skip multiple registers when a float register is encountered. | |
2540 | ||
a2b4a96c CV |
2541 | 2004-03-08 Corinna Vinschen <vinschen@redhat.com> |
2542 | ||
2543 | Fix PR tdep/1291. | |
2544 | * sh-tdep.c (sh_analyze_prologue): Align PC relative addressing | |
2545 | to official SH documentation. | |
2546 | ||
f15a4bc0 AC |
2547 | 2004-03-07 Andrew Cagney <cagney@redhat.com> |
2548 | ||
2549 | * ppc-linux-nat.c (ppc_ptrace_cannot_fetch_store_register): Delete | |
2550 | unused function. | |
2551 | ||
9498281f DJ |
2552 | 2004-03-07 Daniel Jacobowitz <drow@mvista.com> |
2553 | ||
2554 | * arm-tdep.c (thumb_get_next_pc): Handle BX. | |
2555 | (arm_get_next_pc): Handle BX and BLX. | |
2556 | ||
449e1137 AC |
2557 | 2004-03-07 Andrew Cagney <cagney@redhat.com> |
2558 | ||
eded0a31 AC |
2559 | * hppa-tdep.c: Replace DEPRECATED_FP_REGNUM with HPPA_FP_REGNUM, |
2560 | FP0_REGNUM with HPPA_FP0_REGNUM, and SP_REGNUM with | |
2561 | HPPA_SP_REGNUM. | |
2562 | (hppa_register_raw_size, hppa_register_byte, hppa_read_fp) | |
2563 | (hppa_target_read_fp): Delete. | |
2564 | (hppa_gdbarch_init): Do not set deprecated register_raw_size, | |
2565 | register_virtual_size, max_register_raw_size, | |
2566 | max_register_virtual_size, register_byte, register_size, | |
2567 | target_read_fp, fp_regnum, and register_bytes. Set register_type | |
2568 | instead of register_virtual_type. | |
2569 | (hppa32_register_type, hppa64_register_type): Replace | |
2570 | hppa32_register_virtual_type and hppa64_register_virtual_type. | |
2571 | * config/pa/tm-hppa.h (HPPA_FP0_REGNUM, HPPA_SP_REGNUM) | |
2572 | (HPPA_FP_REGNUM): Define. | |
2573 | ||
f5f907e2 AC |
2574 | * hppa-tdep.c (hppa_gdbarch_init): Add missing "break". |
2575 | ||
69b4bbe4 AC |
2576 | * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO) |
2577 | (pa_do_registers_info): Delete. | |
2578 | * hppa-tdep.c (pa_do_registers_info, pa_do_strcat_registers_info) | |
8718a420 | 2579 | (pa_print_registers, pa_print_fp_reg, pa_strcat_registers) |
69b4bbe4 | 2580 | (pa_strcat_fp_reg, pa_register_look_aside): Delete. |
f5f907e2 | 2581 | |
78161e48 AC |
2582 | * infcall.c (legacy_push_dummy_code): Delete #ifdef |
2583 | GDB_TARGET_IS_HPPA code. | |
2584 | * config/pa/tm-hppa.h (DEPRECATED_FIX_CALL_DUMMY) | |
8718a420 | 2585 | (hppa_fix_call_dummy, DEPRECATED_CALL_DUMMY_HAS_COMPLETED) |
78161e48 AC |
2586 | (DEPRECATED_DUMMY_WRITE_SP, CALL_DUMMY): Delete. |
2587 | * config/pa/tm-hppa64.h (CALL_DUMMY): Delete. | |
8718a420 RM |
2588 | * hppa-tdep.c (hppa_frame_chain, hppa_frame_chain_valid) |
2589 | (hppa_push_dummy_frame, hppa_pop_frame, hppa_push_arguments) | |
2590 | (hppa_fix_call_dummy, hppa64_stack_align, hppa_frame_saved_pc) | |
78161e48 | 2591 | (hppa_init_extra_frame_info, hppa_saved_pc_after_call) |
8718a420 RM |
2592 | (hppa64_call_dummy_breakpoint_offset, hppa_frame_init_saved_regs) |
2593 | (hppa_frameless_function_invocation, hppa64_store_return_value) | |
2594 | (hppa_store_struct_return, hppa64_extract_return_value) | |
78161e48 | 2595 | (hppa64_use_struct_convention, hppa_frame_find_saved_regs) |
8718a420 | 2596 | (hppa32_call_dummy_length, hppa64_call_dummy_length) |
78161e48 | 2597 | (find_dummy_frame_regs, FUNC_LDIL_OFFSET, FUNC_LDO_OFFSET) |
8718a420 RM |
2598 | (find_proc_framesize, deposit_21, restore_pc_queue) |
2599 | (find_return_regnum, pc_in_interrupt_handler, deposit_14) | |
210197d2 | 2600 | (rp_saved, pc_in_linker_stub): Delete. |
78161e48 | 2601 | |
782eae8b AC |
2602 | Unconditionally enable 64-bit frame and ABI code. |
2603 | * hppa-tdep.c (hppa_gdbarch_init): Do not set deprecated | |
2604 | call_dummy_breakpoint_offset, call_dummy_length, stack_align, | |
2605 | push_dummy_frame, fix_call_dummy, push_arguments, | |
2606 | call_dummy_location, extract_return_value, use_struct_convention, | |
2607 | store_return_value, store_struct_return, saved_pc_after_call, | |
2608 | init_frame_pc, frame_init_saved_regs, init_extra_frame_info, | |
2609 | frame_chain, frame_chain_valid, frameless_function_invocation, | |
2610 | frame_saved_pc, and pop_frame. | |
78161e48 | 2611 | |
449e1137 AC |
2612 | * hppa-tdep.c: Replace PC_REGNUM with PCOQ_HEAD_REGNUM. |
2613 | (hppa64_return_value, hppa64_push_dummy_call): Rewrite. | |
2614 | (hppa_gdbarch_init): Do not set PC_REGNUM. | |
2615 | ||
12507572 MK |
2616 | 2004-03-06 Mark Kettenis <kettenis@gnu.org> |
2617 | ||
2618 | * config/alpha/tm-fbsd.h: Remove file. | |
2619 | * config/alpha/fbsd.mt: Tweak comment. | |
2620 | (TM_FILE): Set to tm-alpha.h. | |
2621 | ||
c107cc1b AC |
2622 | 2004-03-05 Andrew Cagney <cagney@redhat.com> |
2623 | ||
2624 | * infrun.c (step_over_function): When non-legacy code, and no | |
2625 | step_frame_id, use the unwinder to get the caller's frame ID. | |
2626 | ||
f2e7c15d MK |
2627 | 2004-03-05 Mark Kettenis <kettenis@gnu.org> |
2628 | ||
8b0c3633 MK |
2629 | * i386bsd-tdep.c (_initialize_i386bsd_tdep): Register |
2630 | i386bsd_core_osabi_sniffer for bfd_arch_i386 instead of | |
2631 | bfd_arch_unknown. Adjust comment. | |
2632 | ||
f2e7c15d MK |
2633 | * i386-nat.c: Fix typo in comment. Re-introduce paranoiac. |
2634 | * i386obsd-tdep.c: Correct spelling in comment. | |
2635 | * i386nbsd-tdep.c: Correct spelling in comment. | |
2636 | * sparc-tdep.c: Correct spelling in comments. | |
2637 | ||
1198ecbe DC |
2638 | 2004-03-05 David Carlton <carlton@kealia.com> |
2639 | ||
2640 | * cp-namespace.c (cp_lookup_transparent_type_loop): Fix recursion | |
2641 | bug. | |
2642 | ||
9eb42ed1 MK |
2643 | 2004-03-05 Mark Kettenis <kettenis@gnu.org> |
2644 | ||
2645 | * sparc-tdep.c: Fix typo in comment. | |
2646 | ||
52b5e991 JB |
2647 | 2004-03-04 J. Brobecker <brobecker@gnat.com> |
2648 | ||
2649 | * hppa-tdep.c (hppa_frame_cache): Avoid undefined return value. | |
2650 | ||
d8151005 DJ |
2651 | 2004-03-04 Daniel Jacobowitz <drow@mvista.com> |
2652 | ||
2653 | * dwarf2read.c: Add comment describing memory lifetimes. | |
2654 | (struct dwarf2_pinfo): Update comment. | |
2655 | (dwarf2_add_field, dwarf2_add_member_fn, read_structure_scope) | |
2656 | (read_enumeration, new_symbol): Don't use obsavestring. | |
2657 | ||
cbeae229 MK |
2658 | 2004-03-04 Mark Kettenis <kettenis@gnu.org> |
2659 | ||
722d18c2 MK |
2660 | * amd64-linux-nat.c (fill_fpregset): Call amd64_colletc_fxsave |
2661 | instead of amd64_fill_fxsave. | |
2662 | * amd64bsd-nat.c (store_inferior_registers): Likewise. | |
2663 | * amd64fbsd-nat.c (fill_fpregset): Likewise. | |
2664 | ||
cbeae229 MK |
2665 | * sparc-tdep.c (sparc_frame_cache): Don't bail out if %fp is zero. |
2666 | Reorganize code a bit. | |
2667 | ||
b4206d25 OF |
2668 | 2004-03-04 Orjan Friberg <orjanf@axis.com> |
2669 | ||
2670 | * cris-tdep.c (cris_scan_prologue): Save the frame pointer's offset | |
8718a420 RM |
2671 | when the frame pointer is pushed. Don't set the frame pointer's |
2672 | address on the stack unless it's actually located there. | |
b4206d25 OF |
2673 | Set the SRP's address on the stack correctly when the PC is still in |
2674 | the prologue. | |
2675 | (cris_return_value): New function. | |
2676 | (cris_gdbarch_init): Clear deprecated store_return_value, | |
2677 | extract_return_value. | |
2678 | ||
49b0b195 JB |
2679 | 2004-03-02 Jim Blandy <jimb@redhat.com> |
2680 | ||
2681 | * stabsread.c (reg_value_complaint): The maximum register number | |
2682 | is one less than the number of registers. | |
2683 | ||
e9ff708b AC |
2684 | 2004-03-02 Andrew Cagney <cagney@redhat.com> |
2685 | ||
2686 | * i386-tdep.h (enum i386_regnum): Add I386_DS_REGNUM, | |
2687 | I386_ES_REGNUM, I386_FS_REGNUM, and I386_GS_REGNUM. Remove | |
2688 | trailing comma and redundant assignment of I386_ST0_REGNUM. | |
2689 | * amd64-nat.c (amd64_collect_native_gregset): Zero-extend the | |
2690 | 32-bit segment registers. | |
2691 | ||
d4715e41 AC |
2692 | 2004-03-01 Andrew Cagney <cagney@redhat.com> |
2693 | ||
2694 | * rs6000-tdep.c (rs6000_init_frame_pc_first): Fix compiler error, | |
2695 | use frame_relative_level and get_next_frame. | |
2696 | ||
3ce2bf18 AC |
2697 | 2004-02-29 Andrew Cagney <cagney@redhat.com> |
2698 | ||
2699 | * rs6000-tdep.c (rs6000_init_frame_pc_first): New function. | |
2700 | (rs6000_gdbarch_init): Set deprecated_init_frame_pc_first. | |
2701 | * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): | |
2702 | Delete macro. | |
2703 | ||
2da6aac3 DJ |
2704 | 2004-02-29 Daniel Jacobowitz <drow@mvista.com> |
2705 | ||
2706 | * inflow.c (terminal_inferior): Don't give up the terminal if we | |
2707 | previously couldn't get the inferior's terminal state. | |
2708 | ||
6ba34a8d DJ |
2709 | 2004-02-29 Daniel Jacobowitz <drow@mvista.com> |
2710 | ||
2711 | * regcache.c (read_pc_pid): Restore inferior_ptid after reading | |
2712 | PC_REGNUM. | |
2713 | ||
faae5abe AC |
2714 | 2004-02-28 Andrew Cagney <cagney@redhat.com> |
2715 | ||
2716 | * NEWS: Refer to GDB 6.1. | |
2717 | * README: Refer to GDB 6.1. | |
2718 | * PROBLEMS: Refer to GDB 6.1. | |
2719 | ||
2227a3c5 DJ |
2720 | 2004-02-28 Daniel Jacobowitz <drow@mvista.com> |
2721 | ||
2722 | * thread-db.c (disable_thread_signals): Remove unused function. | |
2723 | ||
80571bff MK |
2724 | 2004-02-28 Mark Kettenis <kettenis@gnu.org> |
2725 | ||
041bd74b MK |
2726 | * amd64-nat.c: Include "gdb_string.h". |
2727 | (amd64_collect_native_gregset): Zero-extend the 32-bit | |
2728 | general-purpose registers and %eip. | |
2729 | ||
3c017e40 MK |
2730 | * amd64-tdep.h: (amd64_collect_fxsave): New prototype. |
2731 | * amd64-tdep.c (amd64_collect_fxsave): New function. | |
2732 | (amd64_fill_fxsave): Simply call amd64_collect_fxsave. | |
2733 | ||
80571bff MK |
2734 | * i387-tdep.h: Update copyright year. |
2735 | (i387_collect_fxsave): New prototype. | |
2736 | * i387-tdep.c: Update copyright year. | |
2737 | (i387_collect_fxsave): New function containing most of the code | |
2738 | from i387_fill_fxsave. | |
2739 | (i387_fill_fxsave): Call i387_collect_fxsave. | |
2740 | ||
50d71875 AC |
2741 | 2004-02-28 Andrew Cagney <cagney@redhat.com> |
2742 | ||
2743 | * amd64-linux-nat.c (ps_get_thread_area): When architecture is | |
2744 | i386 use PTRACE_GET_THREAD_AREA. Suggested by Roland McGrath. | |
2745 | ||
4a28816e MK |
2746 | 2004-02-28 Mark Kettenis <kettenis@gnu.org> |
2747 | ||
2748 | * amd64-tdep.c (amd64_frame_cache): Fix comment. | |
2749 | ||
dbda9972 AC |
2750 | 2004-02-28 Andrew Cagney <cagney@redhat.com> |
2751 | ||
2752 | * utils.c: Use "", instead of <>, to include readline. | |
2753 | tui/tui-win.c, tui/tui.c, tui/tui-hooks.c: Ditto. | |
2754 | * tracepoint.c, top.c, symmisc.c, symfile.c: Ditto. | |
2755 | * source.c, solib.c, exec.c, event-top.c: Ditto. | |
2756 | * corelow.c, completer.c, cli/cli-setshow.c: Ditto. | |
2757 | * cli/cli-dump.c, cli/cli-cmds.c: Ditto. | |
2758 | * Makefile.in: Update all dependencies. | |
2759 | (readline_tilde_h, readline_history_h): Define. | |
2760 | (readline_headers): Delete. | |
2761 | ||
83277a99 MK |
2762 | 2004-02-28 Mark Kettenis <kettenis@gnu.org> |
2763 | ||
91ae4303 MK |
2764 | * config/djgpp/fnchange.lst: Rename "config/i386/nm-linux64.h" to |
2765 | "config/i386/nm-lx64.h" and "config/i386/tm-linux64.h" to | |
2766 | "config/i386/tm-lx64.h". | |
2767 | ||
83277a99 MK |
2768 | * config/djgpp/fnchange.lst: Rename "amd64-linux-tdep.c" to |
2769 | "amd64-ltdep.c" and "amd64-linux-nat.c" to "amd64-lnat.c". Remove | |
2770 | rules for "x86-64-linux-tdep.c" and "x86-64-linux-nat.c". | |
2771 | ||
6e1d7d6c AC |
2772 | 2004-02-28 Andrew Cagney <cagney@redhat.com> |
2773 | ||
ecc9ac84 AC |
2774 | * dwarf2-frame.h (struct gdbarch): Add opaque declaration. |
2775 | ||
6e1d7d6c AC |
2776 | * breakpoint.c (_initialize_breakpoint): Use |
2777 | "add_setshow_auto_boolean_cmd. Better word-wrap help messages. | |
2778 | Add help to show command. | |
2779 | ||
9671aeef MK |
2780 | 2004-02-28 Mark Kettenis <kettenis@gnu.org> |
2781 | ||
7fa2737c MK |
2782 | * i386-nat.c: Reformat to be closer to coding standards. |
2783 | (i386_handle_nonaligned_watchpoint): Rename local variable `rv' to | |
2784 | `retval'. Make variables `align' and `size' local to while-loop. | |
2785 | (i386_stopped_data_address): Rename local variable `ret' to `addr'. | |
2786 | (_initialize_i386_nat): New prototype. | |
2787 | ||
9671aeef MK |
2788 | * tui/tui.c: Include <readline/readline.h> instead of |
2789 | "readline/readline.h". Include it after <term.h> and | |
2790 | "gdb_curses.h". | |
2791 | ||
fca7aa43 AC |
2792 | 2004-02-27 Andrew Cagney <cagney@redhat.com> |
2793 | ||
412275d5 AC |
2794 | * hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always use |
2795 | the new frame unwind code. | |
2796 | (hppa_frame_cache): Use PCOQ_HEAD_REGNUM instead of PC_REGNUM. | |
2797 | (hppa_frame_prev_register): Compute PCOQ_TAIL_REGNUM from | |
2798 | PCOQ_HEAD_REGNUM. | |
2799 | ||
fca7aa43 AC |
2800 | * hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always |
2801 | "return_value" and "push_dummy_call". | |
2802 | (hppa32_use_struct_convention): Delete unused function. | |
2803 | (hppa32_store_return_value): Delete unused function. | |
2804 | (hppa32_extract_return_value): Delete unused function. | |
2805 | (hppa32_stack_align): Delete function. | |
2806 | ||
e6a8a7d2 EZ |
2807 | 2004-02-27 Eli Zaretskii <eliz@elta.co.il> |
2808 | ||
2809 | * coffread.c (enter_linenos): Don't let rawptr reference memory | |
2810 | outside linetab[]'s limits. | |
2811 | ||
1797a8f6 AC |
2812 | 2004-02-27 Andrew Cagney <cagney@redhat.com> |
2813 | ||
2814 | * hppa-tdep.c (hppa32_push_dummy_call): Fix code reserving | |
2815 | inferior stack space - the stack needs to grow upwards. | |
2816 | (hppa32_frame_align): New function. | |
2817 | (hppa64_frame_align): Replace hppa_frame_align. | |
2818 | (hppa_gdbarch_init): Update. | |
2819 | ||
2e4b5889 OF |
2820 | 2004-02-26 Orjan Friberg <orjanf@axis.com> |
2821 | ||
2822 | * cris-tdep.c (frame_unwind.h, frame-base.h, trad-frame.h) | |
2823 | (dwarf2-frame.h): Include. | |
2824 | (enum cris_regnums): New enum CRIS_FP_REGNUM. | |
2825 | Remove static variables related to ABI setting. | |
2826 | (struct gdbarch_tdep): Remove cris_abi member. | |
2827 | (struct frame_extra_info): Remove. | |
2828 | (cris_unwind_cache, stack_item): New structs. | |
2829 | (cris_frame_unwind, cris_frame_base): New variables. | |
2830 | (push_stack_item, pop_stack_item) | |
2831 | (cris_frame_unwind_cache, cris_frame_this_id) | |
2832 | (cris_frame_prev_register, cris_unwind_dummy_id, cris_frame_align) | |
2833 | (cris_push_dummy_code, cris_push_dummy_call, cris_frame_sniffer) | |
2834 | (cris_frame_base_address, cris_scan_prologue, cris_unwind_pc) | |
2835 | (cris_unwind_sp, cris_store_return_value, cris_extract_return_value) | |
2836 | (cris_reg_struct_has_addr): New functions. | |
2837 | (cris_examine, cris_frame_init_saved_regs, cris_frame_chain) | |
8718a420 | 2838 | (cris_frame_saved_pc, cris_saved_pc_after_call, |
2e4b5889 OF |
2839 | (cris_store_struct_return, cris_frameless_function_invocation) |
2840 | (cris_pop_frame, cris_skip_prologue_main) | |
2841 | (cris_abi_original_store_return_value) | |
2842 | (cris_abi_v2_store_return_value) | |
2843 | (cris_abi_original_extract_return_value) | |
2844 | (cris_abi_v2_extract_return_value) | |
2845 | (cris_abi_original_reg_struct_has_addr) | |
2846 | (cris_abi_v2_reg_struct_has_addr) | |
2847 | (cris_abi_original_push_arguments, cris_abi_v2_push_arguments) | |
2848 | (cris_push_return_address, cris_abi_update): Remove. | |
2849 | (_initialize_cris_tdep): Remove ABI command. | |
2850 | (cris_dump_tdep): Ditto. | |
8718a420 | 2851 | (cris_gdbarch_init): Remove ABI command. |
2e4b5889 OF |
2852 | Set store_return_value, extract_return_value, push_dummy_code, |
2853 | push_dummy_call, frame_align, unwind_pc, unwind_sp, unwind_dummy_id, | |
2854 | frame_unwind_append_sniffer, frame_base_set_default. | |
2855 | Clear deprecated init_frame_pc, push_arguments, store_return_value, | |
2856 | extract_return_value, fp_regnum, pc_in_call_dummy, call_dummy_words, | |
2857 | sizeof_call_dummy_words, get_saved_register, push_return_address, | |
8718a420 | 2858 | pop_frame, store_struct_return, frame_init_saved_regs, |
2e4b5889 OF |
2859 | init_extra_frame_info, frameless_function_invocation, frame_chain, |
2860 | frame_saved_pc, saved_pc_after_call, save_dummy_frame_tos, | |
2861 | dummy_write_sp. | |
8718a420 | 2862 | |
6b9acc27 JJ |
2863 | 2004-02-26 Jeff Johnston <jjohnstn@redhat.com> |
2864 | ||
2865 | * valprint.h (print_hex_chars, print_char_chars): New prototypes. | |
2866 | * valprint.c (print_hex_chars): Change from static to external. | |
2867 | (print_char_chars): New function. | |
2868 | * printcmd.c (print_scalar_formatted): For integer and enum types | |
2869 | that are longer than LONGEST, perform processing via appropriate | |
2870 | print_*_chars routines. | |
2871 | ||
a431654a AC |
2872 | 2004-02-26 Andrew Cagney <cagney@redhat.com> |
2873 | ||
2874 | * Makefile.in: Update dependencies. | |
2875 | Changes from Ulrich Weigand, | |
2876 | * s390-tdep.c: Include "dwarf2-frame.h". | |
2877 | (s390_dwarf2_frame_init_reg): New function. | |
2878 | (s390_gdbarch_init): Install dwarf2_frame_sniffer and | |
2879 | dwarf2_frame_base_sniffer. Call dwarf2_frame_set_init_reg. | |
2880 | ||
fa8d40ab JJ |
2881 | 2004-02-26 Jeff Johnston <jjohnstn@redhat.com> |
2882 | ||
2883 | * breakpoint.c (pending_break_support): New setting variable. | |
2884 | (break_command_1): Account for pending_break_support setting | |
2885 | when creating pending breakpoints. | |
2886 | (set_breakpoint_cmd, show_breakpoint_cmd): New functions. | |
2887 | (_initialize_breakpoint): Add "set breakpoint pending" and | |
2888 | "show breakpoint pending" commands. | |
2889 | ||
0dcd613f AC |
2890 | 2004-02-26 Andrew Cagney <cagney@redhat.com> |
2891 | ||
2892 | Fix PR i18n/1570. | |
2893 | * charset.c (backslashable, backslashed, represented): Remove 'e' | |
2894 | from list of escaped characters, not part of ISO-C. | |
2895 | ||
479272a3 JB |
2896 | 2004-02-25 J. Brobecker <brobecker@gnat.com> |
2897 | ||
2898 | From Peter Schauer <schauer@pdf.de>: | |
2899 | * tui/tui.c: Move system header includes after local includes. | |
2900 | Fixes a build failure on solaris systems. | |
2901 | ||
7613d933 JB |
2902 | 2004-02-25 J. Brobecker <brobecker@gnat.com> |
2903 | ||
2904 | * configure.in: Refine the previous change. | |
2905 | * configure: Regenerate. | |
2906 | ||
9c1488cb MK |
2907 | 2004-02-25 Mark Kettenis <kettenis@gnu.org> |
2908 | ||
2909 | * amd64-tdep.h: Renamed from x86-64-tdep.h. | |
2910 | * amd64-tdep.c: Renamed from x86-64-tdep.c. Include | |
2911 | "amd64-tdep.h" instead of "x86-64-tdep.h". | |
2912 | * amd64-nat.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h". | |
2913 | * amd64-linux-tdep.h: Renamed from x86-64-linux.h. | |
2914 | * amd64-linux-tdep.c: Renamed from x86-64-linux-tdep.c. Include | |
2915 | "amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h" | |
2916 | and "x86-64-tdep.c". | |
2917 | * amd64-linux-nat.c: Renamed from x86-64-linux-nat.c. Include | |
2918 | "amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h" | |
2919 | and "x86-64-tdep.c". | |
2920 | * amd64bsd-nat.c: Update copyright year. | |
2921 | Include "amd64-tdep.h" instead of "x86-64-tdep.h". | |
2922 | * amd64fbsd-tdep.c: Include "amd64-tdep.h" instead of | |
2923 | "x86-64-tdep.h". | |
2924 | * amd64fbsd-nat.c: Include "amd64-tdep.h" instead of | |
2925 | "x86-64-tdep.h". | |
2926 | * amd64nbsd-tdep.c: Include "amd64-tdep.h" instead of | |
2927 | "x86-64-tdep.h". | |
2928 | * amd64nbsd-nat.c: Include "amd64-tdep.h" instead of | |
2929 | "x86-64-tdep.h". | |
2930 | * amd64obsd-tdep.c: Include "amd64-tdep.h" instead of | |
2931 | "x86-64-tdep.h". | |
2932 | * amd64obsd-nat.c: Include "amd64-tdep.h" instead of | |
2933 | "x86-64-tdep.h". | |
8718a420 | 2934 | * configure.host: (x86_64-*-linux*): Set gdb_target to linux64. |
9c1488cb MK |
2935 | * configure.tgt (x86_64-*-linux*): Set gdb_target to linux64. |
2936 | * Makefile.in (amd64_linux_tdep_h): Renamed from | |
2937 | x86_64_linux_tdep_h. | |
2938 | (amd64_tdep_h): Renamed from x86_64_tdep_h. | |
2939 | (amd64bsd-nat.o, amd64fbsd-nat.o, amd64fbsd-tdep.o, amd64-nat.o) | |
2940 | (amd64nbsd-nat.o, amd64nbsd-tdep.o, amd64obsd-nat.o) | |
2941 | (amd64obsd-tdep.o): Update dependencies. | |
2942 | (amd64-tdep.o, amd64-linux-nat.o, amd64-linux-tdep.o): New | |
2943 | dependencies. | |
2944 | (x86-64-linux-nat.o, x86-64-linux-tdep.o, x86-64-tdep.o): Remove | |
2945 | dependencies. | |
2946 | (ALLDEPFILES): Add amd64-tdep.c, amd64obsd-nat.c, amd64obsd-nat.c, | |
2947 | amd64-linux-nat.c amd64-linux-tdep.c. | |
2948 | * config/i386/tm-linux64.h: Renamed from tm-x86-64linux.h | |
2949 | * config/i386/nm-linux64.h: Renamed from nm-x86-64linux.h. | |
2950 | * config/i386/linux64.mt: Renamed from x86-64linux.mt. | |
2951 | (TDEPFILES): Replace x86-64-tdep.o and x86-64-linux-tdep.o with | |
2952 | amd64-tdep.o and amd64-linux-tdep.o. | |
2953 | (TM_FILE): Set to tm-linux64.h. | |
2954 | * config/i386/linux64.mh: Renamed from x86-64linux.mh. | |
2955 | (NAT_FILE): Set to nm-linux64.h. | |
2956 | (NATDEPFILES): Replace x86-64-linux-nat.o with amd64-linux-nat.o. | |
2957 | * config/i386/fbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with | |
2958 | amd64-tdep.o. | |
2959 | * config/i386/nbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with | |
2960 | amd64-tdep.o. | |
2961 | * config/i386/obsd64.mt (TDEPFILES): Replace x86-64-tdep.o with | |
2962 | amd64-tdep.o. | |
2963 | ||
4b8dad4a RM |
2964 | 2004-02-25 Roland McGrath <roland@redhat.com> |
2965 | ||
2966 | * remote.c (remote_protocol_qPart_auxv): New variable. | |
2967 | (init_all_packet_configs): Initialize it. | |
2968 | (set_remote_protocol_qPart_auxv_packet_cmd): New function. | |
2969 | (show_remote_protocol_qPart_auxv_packet_cmd): New function. | |
2970 | (show_remote_cmd): Call it. | |
2971 | (_initialize_remote): Initialize commands. | |
2972 | (remote_xfer_partial): If enabled, use qPart:auxv:read:... query to | |
2973 | service TARGET_OBJECT_AUXV requests. | |
2974 | ||
66745969 JB |
2975 | 2004-02-25 J. Brobecker <brobecker@gnat.com> |
2976 | ||
2977 | * configure.in: Make sure that the wborder function is available. | |
2978 | Otherwise, search for it in the cur_colr library. | |
2979 | * configure: Regenerate. | |
2980 | ||
79508e1e AC |
2981 | 2004-02-25 Andrew Cagney <cagney@redhat.com> |
2982 | ||
2983 | * hppa-tdep.c (hppa32_push_dummy_call): Rewrite. | |
2984 | ||
571ee600 MK |
2985 | 2004-02-25 Mark Kettenis <kettenis@gnu.org> |
2986 | ||
2987 | * config/i386/tm-x86-64linux.h: Tweak comments. | |
2988 | ||
2b1b322f | 2989 | 2004-02-25 Richard Sandiford <rsandifo@redhat.com> |
ad74788f RS |
2990 | |
2991 | * MAINTAINERS: Add self to write-after-approval list. | |
2992 | ||
4d2acc65 AC |
2993 | 2004-02-25 Andrew Cagney <cagney@redhat.com> |
2994 | ||
4b8dad4a | 2995 | PR cli/1566. Problem found, and fix suggested by David Allan. |
4d2acc65 AC |
2996 | * cli/cli-script.c (execute_control_command): Unconditionally |
2997 | install a cleanup. Default "ret" to "invalid_control". Use | |
2998 | "break" instead of "return" to escape from the switch. | |
2999 | ||
4cfcaf21 JB |
3000 | 2004-02-24 J. Brobecker <brobecker@gnat.com> |
3001 | ||
3002 | * tui/tui-disasm.c: %s/lines/asm_lines/g to avoid a collision | |
3003 | with the lines macro defined in term.h on AiX. | |
3004 | * tui/tui-regs.c: %s/label_width/tui_label_width/g, to avoid | |
3005 | a collision with the label_width macro defined in term.h on AiX. | |
3006 | ||
54a5c8d8 KB |
3007 | 2004-02-23 David Mosberger <davidm@hpl.hp.com> |
3008 | ||
3009 | Committed by Kevin Buettner <kevinb@redhat.com>. | |
3010 | ||
3011 | * ia64-tdep.h (ia64_write_pc, ia64_linux_write_pc): Declare. | |
3012 | * ia64-tdep.c (ia64_write_pc): Make it a global function. | |
3013 | (ia64_gdbarch_init): For Linux targets, use ia64_linux_write_pc() | |
3014 | instead of ia64_write_pc(). | |
3015 | * ia64-linux-tdep.c (regcache.h): Include. | |
3016 | (ia64_linux_write_pc): New function. | |
4b8dad4a | 3017 | |
8a1dac83 RM |
3018 | 2004-02-23 Roland McGrath <roland@redhat.com> |
3019 | ||
3020 | * auxv.c (info_auxv_command): Fix typos in error messages. | |
3021 | ||
90f90721 MK |
3022 | 2004-02-23 Mark Kettenis <kettenis@gnu.org> |
3023 | ||
8a1dac83 | 3024 | * x86-64-tdep.h: Tweak comment. |
90f90721 MK |
3025 | (enum amd64_regnum): New. |
3026 | (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM) | |
3027 | (X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM) | |
3028 | (X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM) | |
3029 | (X86_64_XMM1_REGNUM): Removed. | |
3030 | (AMD64_NUM_GREGS): Renamed from X86_64_NUM_GREGS. | |
3031 | (amd64_init_abi, amd64_supply_fxsave, amd64_fill_fxsave): Adjust | |
3032 | prototypes for renamed functions. | |
3033 | * x86-64-tdep.c: Fix typo. | |
3034 | (amd64_dwarf_regmap): Use constants from `enum amd64_regnum' for | |
3035 | register numbers. | |
3036 | (amd64_return_value, amd64_push_arguments, amd64_push_dummy_call): | |
3037 | Use constants from `enum amd64_regnum' for register numbers. | |
3038 | (AMD64_NUM_SAVED_REGS): Adjust for renamed macros. | |
3039 | (amd64_analyze_prologue, amd64_frame_cache, | |
3040 | amd64_sigtramp_frame_cache): Use constants from `enum | |
3041 | amd64_regnum' for register numbers. | |
3042 | (amd64_supply_fpregset): Adjust for renamed functions. | |
3043 | (amd64_init_abi): Rename from x86_64_init_abi. Use constants from | |
3044 | `enum amd64_regnum' for register numbers. | |
3045 | (I387_ST0_REGNUM): Use constant from `enum amd64_regnum'. | |
3046 | (amd64_supply_fxsave): Rename from x86_64_supply_fxsave. | |
3047 | (amd64_fill_fxsave): Rename fro x86_64_fill_fxsave. | |
3048 | * x86-64-linux-tdep.c (amd64_linux_supply_gregset) | |
3049 | (amd64_linux_fill_gregset): Adjust for renamed macros. | |
3050 | (fetch_core_registers): Adjust for renamed functions. | |
3051 | (amd64_linux_init_abi): Adjust for renamed functions. | |
3052 | * x86-64-linux-nat.c (supply_gregset, fill_gregset): Adjust for | |
3053 | renamed functions. | |
3054 | * amd64-nat.c: Adjust for renamed macros. | |
3055 | * amd64bsd-nat.c (fetch_inferior_registers) | |
3056 | (store_inferior_registers): Use constants from `enum amd64_regnum' | |
3057 | for register numbers. Adjust for renamed variables. | |
3058 | * amd64fbsd-nat.c (supply_gregset, fill_gregset): Adjust for | |
3059 | renamed variables. | |
3060 | (_initialize_amd64fbsd_nat): Use constants from `enum | |
3061 | amd64_regnum' for register numbers. | |
3062 | * amd64fbsd-tdep.c (amd64fbsd_sigcontext_addr): Use constants from | |
3063 | `enum amd64_regnum' for register numbers. | |
3064 | (amd64fbsd_init_abi): Adjust for renamed functions. | |
3065 | * amd64nbsd-tdep.c (amd64nbsd_sigcontext_addr): Use constants from | |
3066 | `enum amd64_regnum' for register numbers. | |
3067 | (amd64nbsd_init_abi): Adjust for renamed functions. | |
3068 | (_initialize_amd64nbsd_ndep): Adjust for renamed macros. | |
3069 | * amd64obsd-tdep.c (amd64obsd_sigcontext_addr): Use constants from | |
3070 | `enum amd64_regnum' for register numbers. | |
3071 | (amd64obsd_init_abi): Adjust for renamed functions. | |
3072 | (_initialize_amd64obsd_ndep): Adjust for renamed macros. | |
3073 | ||
d5479188 JJ |
3074 | 2004-02-23 Jeff Johnston <jjohnstn@redhat.com> |
3075 | ||
3076 | * breakpoint.c (print_one_breakpoint): Do not output spaces | |
3077 | after printing <PENDING> for a pending breakpoint. | |
3078 | ||
81cb7cc9 JJ |
3079 | 2004-02-23 Jeff Johnston <jjohnstn@redhat.com> |
3080 | ||
3081 | * printcmd.c (print_scalar_formatted): Initialize val_long | |
3082 | to remove compiler warning message. | |
3083 | ||
cbdeadca JJ |
3084 | 2004-02-23 Jeff Johnston <jjohnstn@redhat.com> |
3085 | ||
3086 | * defs.h (nquery, yquery): New prototypes. | |
3087 | * breakpoint.c (break_command_1): Use new nquery interface. | |
3088 | * utils.c (defaulted_query, nquery, yquery): New functions. | |
3089 | ||
da6bab63 AC |
3090 | 2004-02-23 Andrew Cagney <cagney@redhat.com> |
3091 | ||
2f690297 AC |
3092 | * hppa-tdep.c (hppa_frame_align): New function. |
3093 | (hppa32_push_dummy_call): New function. | |
3094 | (hppa64_push_dummy_call): New function. | |
3095 | (hppa_gdbarch_init): Set frame_align and push_dummy_call; keep | |
3096 | disabled. | |
8a1dac83 | 3097 | |
da6bab63 AC |
3098 | * infcall.c (legacy_push_dummy_code): Don't call deprecated |
3099 | FIX_CALL_DUMMY when push_dummy_call is available. | |
3100 | (call_function_by_hand, push_dummy_code): Ditto. | |
3101 | ||
abf9b42d AC |
3102 | 2004-02-22 Andrew Cagney <cagney@redhat.com> |
3103 | ||
3104 | * config/pa/tm-hppa.h (CALL_DUMMY_LOCATION): Delete macro. | |
3105 | (DEPRECATED_PC_IN_CALL_DUMMY): Delete macro. | |
3106 | (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Delete macro. | |
3107 | * hppa-tdep.c (hppa_gdbarch_init): Clear deprecated | |
3108 | use_generic_dummy_frames, set deprecated pc_in_call_dummy, set | |
3109 | call_dummy_location to ON_STACK. | |
3110 | ||
10fc94a4 MK |
3111 | 2004-02-22 Mark Kettenis <kettenis@gnu.org> |
3112 | ||
51433e4b MK |
3113 | * x86-64-linux-tdep.c: Tweak comment. |
3114 | (amd64_linux_supply_gregset): Renamed from | |
3115 | x86_64_linux_supply_gresget. | |
3116 | (amd64_linux_fill_gregset): Renamed from | |
3117 | x86_64_linux_fill_gregset. | |
3118 | (fetch_core_registers): Adjust for renamed functions. | |
3119 | (amd64_core_fns): Renamed from x86_64_core_fns. | |
3120 | (amd64_linux_sigtramp_start): Renamed from | |
3121 | x86_64_linux_sigtramp_start. | |
3122 | (amd64_linux_pc_in_sigtramp): Renamed from | |
3123 | x86_64_linux_pc_in_sigtramp. Adjust for renamed functions. | |
3124 | (AMD64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Renamed from | |
3125 | X86_64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET. | |
3126 | (amd64_linux_sigcontext_addr): Renamed from | |
3127 | x86_64_linux_sigcontext_addr. | |
3128 | (amd64_linux_sc_reg_offset): Renamed from | |
3129 | x86_64_linux_sc_reg_offset. | |
3130 | (amd64_linux_init_abi): Renamed from x86_64_linux_init_abi. | |
3131 | Adjust for renamed functions and variables. | |
3132 | (_initialize_amd64_linux_tdep): Renamed from | |
3133 | _initialize_x86_64_linux_tdep. Adjust for renamed functions and | |
3134 | variables. | |
3135 | * x86-64-linux-tdep.h: Update copyright year. Tweak comment. | |
3136 | Adjust for renamed functions. | |
3137 | ||
430eaf2e MK |
3138 | * x86-64-linux-nat.c (amd64_linux_gregset64_reg_offset): Rename |
3139 | from x86_64_linux_gregset64_reg_offset. | |
3140 | (amd64_linux_gregset32_reg_offset): Rename from | |
3141 | x86_64_linux_gregset64_reg_offset. | |
3142 | (amd64_linux_dr_get): Renamed from x86_64_linux_dr_get. | |
3143 | (amd64_linux_dr_set): Renamed from x86_64_linux_dr_set. | |
3144 | (amd64_linux_dr_set_control): Renamed from | |
3145 | x86_64_linux_dr_set_control. Adjust for renamed functions. | |
3146 | (amd64_linux_dr_set_addr): Renamed from x86_64_linux_dr_set_addr. | |
3147 | Adjust for renamed functions. | |
3148 | (amd64_linux_dr_reset_addr): Renamed from | |
3149 | x86_64_linux_dr_reset_addr. Adjust for renamed functions. | |
3150 | (amd64_linux_dr_get_status): Renamed from | |
3151 | x86_64_linux_dr_get_status. Adjust for renamed functions. | |
3152 | (_initialize_amd64_linux_nat): Renamed from | |
3153 | _initialize_x86_64_linux_nat. Adjust for renamed variables and | |
3154 | functions. | |
3155 | * config/i386/nm-x86-64linux.h: Update copyright year. | |
3156 | Adjust for renamed functions. | |
3157 | ||
10fc94a4 MK |
3158 | * amd64fbsd-tdep.c (amd64fbsd_sigtramp_start_addr): Renamed from |
3159 | amd64fbsd_sigtramp_start. | |
3160 | (amd64fbsd_sigtramp_end_addr): Renamed from | |
3161 | amd64fbsd_sigtramp_end. | |
3162 | (amd64fbsd_init_abi): Adjust for renamed variables. | |
3163 | * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Adjust for renamed | |
3164 | variables. | |
3165 | * x86-64-tdep.h (amd64fbsd_sigtramp_start_addr): Renamed from | |
3166 | amd64fbsd_sigtramp_start. | |
3167 | (amd64fbsd_sigtramp_end_addr): Renamed from | |
3168 | amd64fbsd_sigtramp_end. | |
3169 | ||
343af405 AC |
3170 | 2004-02-22 Andrew Cagney <cagney@redhat.com> |
3171 | ||
537987fc AC |
3172 | * hppa-tdep.c (hppa32_return_value): New function. |
3173 | (hppa64_return_value): New function. | |
3174 | (hppa_gdbarch_init): Set return_value; keep disabled. | |
3175 | ||
fad850b2 AC |
3176 | * hppa-tdep.c (hppa_gdbarch_init): Re-order separating |
3177 | struct-return and inferior function call methods. | |
3178 | ||
26d08f08 AC |
3179 | * hppa-tdep.c: Include "trad-frame.h", "frame-unwind.h", and |
3180 | "frame-base.h". | |
3181 | (struct hppa_frame_cache): Define. | |
3182 | (hppa_frame_cache, hppa_frame_this_id): New functions. | |
3183 | (hppa_frame_prev_register): New function. | |
3184 | (hppa_frame_unwind, hppa_frame_base): New variables. | |
3185 | (hppa_frame_unwind_sniffer): New function. | |
3186 | (hppa_frame_base_address, hppa_unwind_pc): New function. | |
3187 | (hppa_gdbarch_init): Set unwind_dummy_id, unwind_pc, frame unwind | |
3188 | sniffer, and frame base sniffer; keep disabled. | |
3189 | (hppa_frame_base_sniffer, hppa_unwind_dummy_id): New functions. | |
3190 | * Makefile.in: Update dependencies, fix s/nbsd/obsd/ typo. | |
3191 | ||
e7d7bd65 AC |
3192 | * frame-unwind.c (frame_unwind_find_by_frame): Add legacy_frame_p |
3193 | to predicates for "seriously old code". | |
3194 | ||
e963316f AC |
3195 | * hppa-tdep.c (hppa_gdbarch_init): Convert compile time #if0s into |
3196 | runtime if(0). | |
3197 | ||
56132691 AC |
3198 | * hppa-tdep.c (hppa_breakpoint_from_pc): Make "breakpoint" |
3199 | unsigned. | |
3200 | (hppa_frame_find_saved_regs): Fix "std" instruction pattern | |
e963316f | 3201 | |
343af405 AC |
3202 | * config/pa/tm-hppa.h: Update copyright. |
3203 | (DEPRECATED_INIT_FRAME_PC): Delete macro. | |
3204 | (deprecated_init_frame_pc_default): Delete declaration. | |
3205 | (hppa_frame_init_saved_regs): Delete declaration. | |
3206 | (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro. | |
3207 | * hppa-tdep.c: Include "arch-utils.h". | |
3208 | (hppa_gdbarch_init): Set deprecated init_frame_pc | |
3209 | and deprecated frame_init_saved_regs. | |
3210 | (hppa_frame_init_saved_regs): Make static. | |
3211 | ||
f5859b4d MK |
3212 | 2004-02-22 Mark Kettenis <kettenis@gnu.org> |
3213 | ||
86f6f8e7 | 3214 | Remove old 386BSD support. |
cf7c5c23 | 3215 | * NEWS (REMOVED configurations and files): Add i[3456]86-*-bsd*. |
86f6f8e7 MK |
3216 | * configure.host: Remove i[34567]86-*-bsd*. |
3217 | * configure.tgt: Remove i[34567]86-*-bsd*. | |
3218 | * i386b-nat.c: Removed. | |
3219 | * Makefile.in (ALLDEPFILES): Remove i386b-nat.c. | |
cf7c5c23 MK |
3220 | (i386b-nat.o): Remove dependencies. |
3221 | ||
86f6f8e7 MK |
3222 | * config/i386/i386bsd.mh: Removed. |
3223 | * config/i386/i386bsd.mt: Removed. | |
3224 | * config/i386/nm-i386bsd.h: Removed. | |
3225 | * config/i386/tm-i386bsd.h: Removed. | |
3226 | * config/i386/xm-i386bsd.h: Removed. | |
3227 | ||
971218cd MK |
3228 | * x86-64-tdep.h (amd64obsd_r_reg_offset): New extern declaration. |
3229 | ||
7e654c37 MK |
3230 | * amd64fbsd-tdep.c: Include "solib-svr4.h". |
3231 | (amd64fbsd_init_abi): Set link map offsets. | |
3232 | * amd64nbsd-tdep.c: Include "slib-svr4.h". | |
3233 | (amd64nbsd_init_abi): Set link map offsets. | |
3234 | * amd64obsd-tdep.c: Include "solib-svr4.h". | |
3235 | (amd64obsd_init_abi): Set link map offsets. | |
3236 | * i386fbsd-tdep.c: Include "solib-svr4.h". | |
3237 | (i386fbsd_init_abi): Set link map offsets. | |
3238 | * i386nbsd-tdep.c: Include "solib-svr4.h". | |
3239 | (i386nbsdelf_init_abi): Set link map offsets. | |
3240 | * Makefile.in (amd64fbsd-tdep.o, amd64nbsd-tdep.o) | |
3241 | (amd64obsd-tdep.o, i386fbsd-tdep.o): Update dependencies. | |
3242 | * config/i386/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o, | |
3243 | solib-legacy.o and core-aout.o. Reformat. | |
3244 | * config/i386/fbsd64.mh (NATDEPFILES): Remove solib.o, | |
3245 | solib-svr4.o, solib-legacy.o. Reformat. | |
3246 | * config/i386/nbsdaout.mh (NATDEPFILES): Add solib.o. Reformat. | |
3247 | * config/i386/nbsdelf.mh: Reformat. | |
3248 | * config/i386/nbsd64.mh (NATDEPFILES): Remove solib.o, | |
3249 | solib-svr4.o, solib-legacy.o and corelow.o. | |
3250 | * config/i386/obsd.mh, config/i386/obsdaout.mh: Reformat. | |
3251 | * config/i386/obsd64.mh (NATDEPFILES): Remove solib.o, | |
3252 | solib-svr4.o, solib-legacy.o and corelow.o. Reformat. | |
3253 | * config/i386/fbsd.mt (TDEPFILES): Add solib.o, solib-svr4.o. | |
3254 | * config/i386/fbsd64.mt (TDEPFILES): Add solib.o, solib-svr4.o. | |
3255 | (TM_FILE): Set to tm-fbsd.h. | |
3256 | * config/i386/nbsd.mt (TDEPFILES): Reformat. | |
3257 | * config/i386/nbsd64.mt (TDEPFILES): Add corelow.o, solib.o and | |
3258 | solib-svr4.o. | |
3259 | * config/i386/obsd.mt (TDEPFILES): Add corelow.o, solib.o and | |
3260 | solib-svr4.o. | |
3261 | (TM_FILE): Set to nm-nbsd.h. | |
3262 | * config/i386/nm-fbsd.h: Update copyright year. Tweak comments. | |
3263 | Simplify shared library support. Don't include "elf/common.h". | |
3264 | (SVR4_SHARED_LIBS): Don't define. | |
3265 | * config/i386/nm-fbsd64.h: Update copyright year. Don't include | |
3266 | "solib.h". | |
3267 | * config/i386/nm-nbsd.h, config/i386/nm-nbsdaout.h, | |
3268 | config/i386/nm-obsd.h: Update copyright year. Tweak comments. | |
3269 | * config/i386/tm-fbsd.h: Update copyright tear. Tweak comments. | |
3270 | Don't include "i386/tm-i386.h". Include "solib.h". | |
3271 | * config/i386/tm-nbsd.h: Update copyright year. Tweak comments. | |
3272 | Don't include "i386/tm-i386.h". | |
3273 | * config/i386/xm-i386.h: Update copyright year. Tweak comments. | |
3274 | * config/i386/xm-nbsd.h: Update copyright year. Tweak comments. | |
3275 | Include "i386/xm-i386.h". | |
3276 | (HOST_LONG_DOUBLE_FORMAT): Remove. | |
3277 | ||
5d93ae8c MK |
3278 | Fix OpenBSD/i386 sigtramp recognition. |
3279 | * i386-tdep.h: Update copyright year. | |
3280 | (i386bsd_pc_in_sigtramp, i386bsd_sigtramp_start) | |
3281 | (i386bsd_sigtramp_end): New prototypes. | |
3282 | (i386fbsd_sigtramp_start_addr): Renamed from | |
3283 | i386fbsd_sigtramp_start. | |
3284 | (i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end. | |
3285 | (i386obsd_sigtramp_start_addr): Renamed from | |
3286 | i386obsd_sigtramp_start. | |
3287 | (i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end. | |
3288 | * i386bsd-tdep.c: Update copyright year. | |
3289 | (i386bsd_pc_in_sigtramp): Make public. | |
3290 | * i386fbsd-nat.c: Update copyright year. | |
3291 | (_initialize_i386fbsd_nat): Adjust for renamed variables. | |
3292 | * i386fbsd-tdep.c: Update copyright year. | |
3293 | (i386fbsd_sigtramp_start_addr): Renamed from | |
3294 | i386fbsd_sigtramp_start. | |
3295 | (i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end. | |
3296 | (i386fbsdaout_init_abi): Adjust for renamed variables. | |
3297 | * i386obsd-nat.c: Update copyright year. | |
3298 | (_initialize_i386obsd_nat): Adjust for renamed variables. | |
3299 | * i386obsd-tdep.c: Include "target.h". | |
3300 | (i386obsd_page_size): New variable. | |
3301 | (i386obsd_pc_in_sigtramp, i386obsd_sigtramp_start) | |
3302 | (i386obsd_sigtramp_end): New functions. | |
3303 | (i386obsd_sigtramp_start_addr): Renamed from | |
3304 | i386obsd_sigtramp_start. | |
3305 | (i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end. | |
3306 | (i386obsd_init_abi): Adjust for renamed variables. Set | |
3307 | pc_in_sigtramp, sigtramp_start and sigtramp_end. | |
3308 | * Makefile.in (i386obsd-tdep.o): Update dependencies. | |
3309 | ||
84d04465 MK |
3310 | * amd64obsd-tdep.c (amd64obsd_pc_in_sigtramp): Adjust for signal |
3311 | trampoline change in OpenBSD kernel. | |
3312 | ||
b053aceb MK |
3313 | * amd64-nat.c: Update copyright year. |
3314 | (amd64_supply_native_gregset, amd64_collect_native_gregset): Use | |
3315 | architecture from REGCACHE. | |
3316 | ||
f5859b4d MK |
3317 | * x86-64-linux-nat.c (x86_64_linux_gregset32_reg_offset): Use |
3318 | symbolic constants from <sys/reg.h> instead of hard-coded numbers. | |
3319 | ||
e4bbbda8 MK |
3320 | 2004-02-21 Mark Kettenis <kettenis@gnu.org> |
3321 | ||
ba361932 MK |
3322 | * configure.host: Add i[34567]86-*-openbsd[0-2].* and |
3323 | i[34567]86-*-openbsd3.[0-3]. | |
3324 | * config/i386/obsdaout.mh: New file. | |
3325 | ||
d3e48264 MK |
3326 | * config/i386/obsd.mh (MH_FLAGS): Remove. |
3327 | ||
60a6eeb6 MK |
3328 | Fix PR build/1549. |
3329 | * i386obsd-tdep.c: Update copyright years. Include | |
3330 | "solib-svr4.h". | |
3331 | (i386obsd_init_abi): Don't set regset_from_core_section here. | |
3332 | (i386obsd_aout_init_abi): New function. Set | |
3333 | regset_from_core_section here. | |
3334 | (i386obsd_elf_init_abi): New function. | |
3335 | (_initialize_i386obsd_tdep): Register OS/ABI for OpenBSD ELF. | |
3336 | * Makefile.in (i386obsd-tdep.o): Update dependecies. | |
3337 | * config/i386/obsd.mt (TDEPFILES): Add solib.o and solib-svr4.o. | |
3338 | (TM_FILE): Set to tm-nbsd.h. | |
3339 | ||
3340 | * config/i386/obsd.mh (NATDEPFILES): Remove solib.o and | |
3341 | solib-sunos.o. | |
3342 | ||
e4bbbda8 MK |
3343 | * solib-svr4.h: Update copyright year. |
3344 | (svr4_ilp32_fetch_link_map_offsets) | |
3345 | (svr4_lp64_fetch_link_map_offsets): New prototype. | |
3346 | * solib-svr4.c: Update copyright year. | |
3347 | (svr4_ilp32_fetch_link_map_offsets) | |
3348 | (svr4_lp64_fetch_link_map_offsets): New function. | |
3349 | ||
f6fe98ef DJ |
3350 | 2004-02-20 Daniel Jacobowitz <drow@mvista.com> |
3351 | ||
3352 | * dwarf2read.c (add_partial_symbol): Fix typo in adding enumerators | |
3353 | to the partial symbol table. | |
3354 | ||
589ca796 JB |
3355 | 2004-02-20 J. brobecker <brobecker@gnat.com> |
3356 | ||
3357 | * PROBLEMS: Add description of problem documented under gdb/1560. | |
3358 | ||
2031c21a MK |
3359 | 2004-02-20 Mark Kettenis <kettenis@gnu.org> |
3360 | ||
30b344b1 MK |
3361 | * amd64obsd-tdep.c: Include "regset.h" and "i387-tdep.h". Fix |
3362 | comments. | |
3363 | (amd64obsd_supply_regset, amd64obsd_regset_from_core_section): New | |
3364 | functions. | |
3365 | (amd64obsd_init_abi): Reorder initializations. Use | |
3366 | amd64obsd_r_reg_offset to initialize the general-purpose register | |
3367 | set details. Set regset_from_core_section. | |
3368 | (_initialize_amd64obsd_tdep): Rename from | |
3369 | _initialize_amd64obsd_ndep. Add OS ABI handler for core dumps. | |
3370 | * Makefile.in (amd64obsd-tdep.o): Update dependencies. | |
3371 | * config/i386/obsd64.mt (TDEPFILES): Add i386-tdep.o. | |
3372 | ||
2031c21a MK |
3373 | * NEWS (New native configurations): Mention OpenBSD/alpha. |
3374 | * configure.tgt: Add alpha*-*-openbsd*. | |
3375 | * configure.host: Add alpha*-*-openbsd*. | |
3376 | * alphanbsd-tdep.c: Update copyright year. | |
3377 | (_initialize_alphanbsd_tdep): Register OS ABI for OpenBSD ELF. | |
3378 | ||
42471775 AC |
3379 | 2004-02-20 Andrew Cagney <cagney@redhat.com> |
3380 | ||
3381 | Fix PR tdep/1372. | |
3382 | * configure.tgt: Delete target "none-*-*". | |
3383 | * configure.host: Delete host "none-*-*". | |
3384 | * config/none/none.mh: Delete file. | |
3385 | * config/none/none.mt: Delete file. | |
3386 | * config/none/xm-none.h: Delete file. | |
3387 | * config/none/tm-none.h: Delete file. | |
3388 | * config/none/nm-none.h: Delete file. | |
3389 | ||
960ccd7d FF |
3390 | 2004-02-19 Fred Fish <fnf@redhat.com> |
3391 | ||
3392 | * sh-tdep.c (sh_analyze_prologue): Eliminate useless test of | |
3393 | cache->uses_fp prior to setting it. | |
3394 | ||
5f883edd FF |
3395 | 2004-02-19 Fred Fish <fnf@redhat.com> |
3396 | ||
3397 | Fix for PR breakpoint/1558. | |
3398 | * sh-tdep.c (IS_JSR): New macro. | |
3399 | (sh_analyze_prologue): Use IS_JSR to terminate prologue scan. | |
3400 | ||
f98c22d5 JB |
3401 | 2004-02-19 Jim Blandy <jimb@redhat.com> |
3402 | ||
3403 | * findvar.c (value_from_register): Doc fix. | |
3404 | ||
95051d27 JJ |
3405 | 2004-02-19 Jeff Johnston <jjohnstn@redhat.com> |
3406 | ||
3407 | * printcmd.c (print_scalar_formatted): Do not check for sizeof | |
3408 | type being greater than sizeof of host's LONGEST. Always use | |
3409 | unpack_long() unless format 'f' chosen. | |
3410 | ||
ccefbec3 EZ |
3411 | 2004-02-19 Joel Brobecker <brobecker@gnat.com> |
3412 | ||
3413 | Committed by Elena Zannoni <ezannoni@redhat.com> | |
2ede629f | 3414 | |
ccefbec3 EZ |
3415 | * symtab.c (find_pc_sect_psymtab): Return the psymtab that |
3416 | contains a symbol wich is the best, non-exact match for the given | |
3417 | pc. Update comments. | |
3418 | ||
3419 | 2004-02-19 Elena Zannoni <ezannoni@redhat.com> | |
8a1dac83 | 3420 | |
2ede629f EZ |
3421 | * event-top.c (async_request_quit): Remove uses of REQUEST_QUIT |
3422 | macro, which was part of the now removed Mach 3 port. | |
3423 | * utils.c (request_quit): Ditto. | |
3424 | ||
567ee972 MK |
3425 | 2004-02-18 Mark Kettenis <kettenis@gnu.org> |
3426 | ||
3427 | * config/djgpp/fnchange.lst: Rename "amd64obsd-tdep.c" and | |
3428 | "amd64obsd-nat.c" to "a64ob-tdep.c" and "a64ob-nat.c". | |
3429 | ||
50cca7bb MK |
3430 | 2004-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
3431 | ||
3432 | Committed by Mark Kettenis <kettenis@gnu.org>. | |
3433 | ||
3434 | * config/s390/nm-linux.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT): | |
3435 | Define. | |
3436 | ||
226361c4 AC |
3437 | 2004-02-18 Andrew Cagney <cagney@redhat.com> |
3438 | ||
3439 | * configure.in: Add a TUI target to CONFIG_ALL, CONFIG_CLEAN, | |
3440 | CONFIG_INSTALL and CONFIG_UNINSTALL. | |
3441 | * configure: Re-generate. | |
3442 | * interps.h (INTERP_TUI): Define. | |
3443 | * Makefile.in: Update dependencies. | |
3444 | (TUI): New macro. | |
3445 | (tui-main.o): Specify dependencies. | |
3446 | (install-tui, uninstall-tui, clean-tui, all-tui): New rules. | |
3447 | * tui/tui-main.c: New file. | |
3448 | ||
49cfa46f MK |
3449 | 2004-02-18 Mark Kettenis <kettenis@gnu.org> |
3450 | ||
e2879ccb MK |
3451 | * amd64obsd-tdep.c, amd64obsd-nat.c: New files. |
3452 | * Makefile.in (amd64obsd-nat.o, amd64obsd-tdep.o): New | |
3453 | dependencies. | |
3454 | * configure.host: Add x86_64-*-openbsd*. | |
3455 | * configure.tgt: Add x86_64-*-openbsd*. | |
3456 | * config/i386/obsd64.mt, config/i386/obsd64.mh: New files. | |
3457 | ||
c43f4bec MK |
3458 | * tui/tui.c: Don't include <malloc.h>. |
3459 | ||
09ae75b6 MK |
3460 | * Makefile.in (ALLDEPFILES): Add amd64-nat.c, amd64bsd-nat.c, |
3461 | amdfbsd-nat.c, amd64-fbsd-tdep.c, amd64nbsd-nat.c and | |
3462 | amd64nbsd-tdep.c. | |
3463 | ||
49cfa46f | 3464 | * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Make |
8a1dac83 | 3465 | static. Remove extraneous whitespace. |
49cfa46f MK |
3466 | * i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Make |
3467 | static. | |
3468 | ||
05957fdb JB |
3469 | 2004-02-17 Jim Blandy <jimb@redhat.com> |
3470 | ||
3471 | * findvar.c (value_from_register): Doc fix. | |
3472 | ||
d0f54f9d JB |
3473 | 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
3474 | ||
3475 | Committed by Jim Blandy <jimb@redhat.com>. | |
e1457d83 | 3476 | |
8a1dac83 | 3477 | * eval.c (evaluate_subexp_standard, case OP_OBJC_MSGCALL): Use |
c253954e JB |
3478 | CORE_ADDR as type for selectors. Correct types for GNU run time |
3479 | message lookup function to use double indirection. | |
3480 | * objc-lang.c (lookup_child_selector): Use CORE_ADDR as return type. | |
3481 | * objc-lang.h (lookup_child_selector): Adapt prototype. | |
3482 | ||
9cbd5950 JB |
3483 | * s390-nat.c (SUBOFF): New macro. |
3484 | (supply_gregset, fill_gregset): Use it to handle debugging | |
3485 | of 32-bit exectuables running under a 64-bit kernel. | |
3486 | * s390-tdep.c: Include "solib-svr4.h". | |
3487 | (s390_svr4_fetch_link_map_offset): New function. | |
3488 | (s390x_svr_fetch_link_map_offset): Likewise. | |
3489 | (s390_gdbarch_init): Call set_solib_svr4_fetch_link_map_offsets. | |
3490 | * Makefile.in (s390-tdep.o): Update dependencies. | |
3491 | ||
a8c99f38 JB |
3492 | * s390-tdep.c: Include "trad-frame.h", "frame-base.h", and |
3493 | "frame-unwind.h". | |
3494 | (s390_readinstruction): Reformat. Use read_memory_nobpt. | |
3495 | (GDB_TARGET_IS_ESAME, S390_GPR_SIZE, S390_FPR_SIZE): Remove. | |
3496 | (S390_SYSCALL_OPCODE, S390_SYSCALL_SIZE): Remove. | |
3497 | (S390_SIGCONTEXT_SREGS_OFFSET, S390X_SIGCONTEXT_SREGS_OFFSET, | |
3498 | S390_SIGREGS_FP0_OFFSET, S390X_SIGREGS_FP0_OFFSET, | |
3499 | S390_UC_MCONTEXT_OFFSET, S390X_UC_MCONTEXT_OFFSET, | |
8a1dac83 | 3500 | S390_SIGNAL_FRAMESIZE, |
a8c99f38 JB |
3501 | s390_NR_sigreturn, s390_NR_rt_sigreturn): Remove. |
3502 | (struct frame_extra_info): Remove. | |
3503 | (s390_memset_extra_info): Remove. | |
f73b1eff JB |
3504 | (op1_ag, op1_ay, op1_brasl, op1_brc, op1_brcl, op1_lay, op1_lg) |
3505 | (op1_lmy, op1_ly, op1_sg, op1_stmy, op1_sty, op1_sy, op_a) | |
3506 | (op_agr, op_bas, op_bc, op_bcr, op_sgr, op_sr): New opcodes. | |
a8c99f38 JB |
3507 | (is_rse): Renamed to ... |
3508 | (is_rsy): ... this. Support long displacements. | |
3509 | (is_rxe): Renamed to ... | |
3510 | (is_rxy): ... this. Support long displacements. | |
3511 | (compute_x_addr): Support long displacements. | |
3512 | (struct s390_prologue_data): New data type. | |
3513 | (s390_on_stack): Change API to use struct s390_prologue_data. | |
3514 | (s390_store): Reimplement. | |
3515 | (s390_load): New function. | |
3516 | (s390_get_signal_frame_info): Remove. | |
3517 | (s390_get_frame_info): Remove, replace by ... | |
3518 | (s390_analyze_prolog): ... this new function. | |
3519 | (s390_check_function_end): Remove. | |
3520 | (s390_function_start): Remove. | |
3521 | (s390_frameless_function_invokation): Remove. | |
3522 | (s390_is_sigreturn): Remove. | |
3523 | (s390_init_frame_pc_first): Remove. | |
3524 | (s390_init_frame_extra_info): Remove. | |
3525 | (s390_frame_init_saved_regs): Remove. | |
3526 | (s390_frame_saved_pc_nofix): Remove. | |
3527 | (s390_frame_saved_pc): Remove. | |
3528 | (s390_frame_chain): Remove. | |
3529 | (s390_fp_regnum, s390_read_fp): Remove. | |
3530 | (s390_pop_frame_regular, s390_pop_frame): Remove. | |
3531 | (s390_saved_pc_after_call): Remove. | |
3532 | (s390_skip_prologue): Reimplement. | |
3533 | (s390_in_function_epilogue_p): Support long displacements. | |
3534 | (struct s390_unwind_cache): New data structure. | |
3535 | (s390_frame_unwind_cache): New function. | |
3536 | (s390_prologue_frame_unwind_cache): Likewise. | |
3537 | (s390_backchain_frame_unwind_cache): Likewise. | |
3538 | (s390_frame_this_id, s390_frame_prev_register): Likewise. | |
3539 | (s390_frame_unwind): Define. | |
3540 | (s390_frame_sniffer): New function. | |
3541 | (struct s390_pltstub_unwind_cache): New data structure. | |
3542 | (s390_pltstub_frame_unwind_cache): New function. | |
3543 | (s390_pltstub_frame_this_id): Likewise. | |
3544 | (s390_pltstub_frame_prev_register): Likewise. | |
3545 | (s390_pltstub_frame_unwind): Define. | |
3546 | (s390_pltstub_frame_sniffer): New function. | |
3547 | (struct s390_sigtramp_unwind_cache): New data structure. | |
3548 | (s390_sigtramp_frame_unwind_cache): New function. | |
3549 | (s390_sigtramp_frame_this_id): Likewise. | |
3550 | (s390_sigtramp_frame_prev_register): Likewise. | |
3551 | (s390_sigtramp_frame_unwind): Define. | |
3552 | (s390_sigtramp_frame_sniffer): New function. | |
3553 | (s390_frame_base_address, s390_local_base_address): New functions. | |
3554 | (s390_frame_base): Define. | |
3555 | (s390_unwind_pc, s390_unwind_sp): New function. | |
3556 | (s390_push_dummy_call): Use new frame base location. | |
3557 | (s390_unwind_dummy_id): Likewise. | |
3558 | (s390_gdbarch_init): Remove calls to: | |
3559 | set_gdbarch_frameless_function_invocation, | |
3560 | set_gdbarch_deprecated_init_frame_pc, | |
3561 | set_gdbarch_deprecated_frame_chain, | |
3562 | set_gdbarch_deprecated_frame_init_saved_regs, | |
3563 | set_gdbarch_deprecated_pop_frame, | |
3564 | set_gdbarch_deprecated_init_extra_frame_info, | |
3565 | set_gdbarch_deprecated_init_frame_pc_first, | |
3566 | set_gdbarch_deprecated_target_read_fp, | |
3567 | set_gdbarch_deprecated_frame_saved_pc, | |
3568 | set_gdbarch_deprecated_saved_pc_after_call, | |
3569 | set_gdbarch_deprecated_fp_regnum. | |
3570 | Add calls to: | |
3571 | set_gdbarch_in_solib_call_trampoline, | |
3572 | frame_unwind_append_sniffer, | |
3573 | frame_base_set_default, | |
3574 | set_gdbarch_unwind_pc, | |
3575 | set_gdbarch_unwind_sp. | |
3576 | * Makefile.in (s390-tdep.o): Update dependencies. | |
3577 | ||
b0cf273e JB |
3578 | * s390-tdep.c (struct gdbarch_tdep): Add 'abi' member. |
3579 | (S390_STACK_FRAME_OVERHEAD): Remove. | |
3580 | (S390_STACK_PARAMETER_ALIGNMENT): Remove. | |
3581 | (S390_NUM_FP_PARAMETER_REGISTERS): Remove. | |
3582 | (s390_promote_integer_argument): Remove. | |
3583 | (s390_cannot_extract_struct_value_address): Remove. | |
3584 | (s390_use_struct_convention, s390_store_struct_return): Remove. | |
3585 | (s390_extract_return_value, s390_store_return_value): Remove. | |
3586 | (s390_return_value_convention, s390_return_value): New functions. | |
3587 | (is_float_singleton): Handle typedefs. | |
8a1dac83 | 3588 | (is_double_or_float, is_double_arg, is_simple_arg, pass_by_copy_ref): |
b0cf273e JB |
3589 | Remove, replace by ... |
3590 | (s390_function_arg_pass_by_reference, s390_function_arg_float, | |
3591 | s390_function_arg_integer): ... these new functions. | |
3592 | (s390_push_arguments, s390_push_return_address): Remove, replace by ... | |
3593 | (s390_push_dummy_call, s390_unwind_dummy_id): ... these new functions. | |
3594 | (s390_gdbarch_init): Remove s390_call_dummy_words and elf_flags. | |
3595 | Fill in tdep->abi. | |
3596 | Remove calls to: | |
3597 | set_gdbarch_deprecated_store_struct_return, | |
3598 | set_gdbarch_deprecated_extract_return_value, | |
3599 | set_gdbarch_deprecated_store_return_value, | |
3600 | set_gdbarch_use_struct_convention, | |
3601 | set_gdbarch_extract_struct_value_address, | |
3602 | set_gdbarch_deprecated_pc_in_call_dummy, | |
3603 | set_gdbarch_deprecated_push_arguments, | |
3604 | set_gdbarch_deprecated_save_dummy_frame_tos, | |
3605 | set_gdbarch_deprecated_push_return_address, | |
3606 | set_gdbarch_deprecated_sizeof_call_dummy_words, | |
3607 | set_gdbarch_deprecated_call_dummy_words, | |
3608 | set_gdbarch_deprecated_dummy_write_sp. | |
3609 | Add calls to: | |
3610 | set_gdbarch_push_dummy_call, | |
3611 | set_gdbarch_unwind_dummy_id, | |
3612 | set_gdbarch_return_value. | |
8a1dac83 | 3613 | |
e1457d83 JB |
3614 | * config/s390/nm-linux.h: Update comments. |
3615 | (target_insert_watchpoint, target_remove_watchpoint): Redefine. | |
3616 | (STOPPED_BY_WATCHPOINT): Redefine. | |
3617 | (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Redefine to 1. | |
3618 | (s390_insert_watchpoint, s390_remove_watchpoint): Update prototype. | |
3619 | (s390_stopped_by_watchpoint): Likewise. | |
3620 | (watch_area_cnt): Remove. | |
3621 | * s390-nat.c: Update comments. | |
3622 | (watch_area): Remove typedef. | |
3623 | Global replace watch_area by struct watch_area. | |
3624 | (watch_area_cnt, watch_lo_addr, watch_hi_addr): Remove. | |
8a1dac83 | 3625 | (s390_stopped_by_watchpoint): Remove pid argument, |
e1457d83 JB |
3626 | use s390_inferior_tid. Add short-cut for the no watchpoint case. |
3627 | (s390_fix_watch_points): Remove pid argument, | |
3628 | use s390_inferior_tid. Recompute area spanned by watchpoints. | |
3629 | (s390_insert_watchpoint, s390_remove_watchpoint): Remove pid | |
3630 | argument. Reimplement. | |
3631 | ||
d0f54f9d JB |
3632 | * config/s390/nm-linux.h: Update comments. Do not include "solib.h". |
3633 | (KERNEL_U_ADDR, REGISTER_U_ADDR, U_REGS_OFFSET): Remove. | |
3634 | (FETCH_INFERIOR_REGISTERS): Define. | |
8a1dac83 | 3635 | * config/s390/s390.mh (NATDEPFILES): Remove core-aout.o and |
d0f54f9d JB |
3636 | core-regset.o. |
3637 | * config/s390/s390x.mt: Remove. | |
3638 | * config/s390/tm-s390.h: Remove. | |
3639 | * config/s390/tm-linux.h: Do not include "s390/tm-s390.h". | |
3640 | (TARGET_ELF64): Remove. | |
3641 | (SKIP_TRAMPOLINE_CODE): Do not undefine. | |
3642 | * configure.tgt [s390-*-*, s390x-*-*]: Merge into single | |
3643 | s390*-*-* case; always set gdb_target to s390. | |
3644 | * regformats/reg-s390.dat: Remove control registers. | |
3645 | * regformats/reg-s390x.dat: Likewise. | |
3646 | * s390-tdep.h: New file. | |
8a1dac83 | 3647 | * s390-nat.c: Do not include <asm/processor.h> or <value.h>. |
d0f54f9d JB |
3648 | Include "inferior.h" and "s390-tdep.h". |
3649 | Remove private definition of offsetof. | |
3650 | (s390_register_u_addr): Remove. | |
3651 | (regmap_gregset, regmap_fpregset): Define. | |
3652 | (supply_gregset, fill_gregset): Reimplement. | |
3653 | (supply_fpregset, fill_fpregset): Likewise. | |
3654 | (s390_inferior_tid): New function. | |
3655 | (fetch_regs, store_regs, fetch_fpregs, store_fpregs): Likewise. | |
3656 | (fetch_inferior_registers, store_inferior_registers): Likewise. | |
3657 | * s390-tdep.c: Do not define S390_TDEP. Include "defs.h" instead | |
3658 | of <defs.h>. Include "reggroups.h", "regset.h", and "s390-tdep.h". | |
3659 | Global replace of S390_GP0_REGNUM by S390_R0_REGNUM. | |
3660 | Global replace of S390_FP0_REGNUM by S390_F0_REGNUM. | |
3661 | (struct gdbarch_tdep): Define. | |
3662 | (struct s390_register_info): Define. | |
3663 | (s390_register_info): New variable. | |
3664 | (s390_register_name): Reimplement. | |
3665 | (s390_register_type): New function. | |
3666 | (s390_register_raw_size, s390x_register_raw_size): Remove. | |
3667 | (s390_cannot_fetch_register): Remove. | |
3668 | (s390_register_byte): Remove. | |
3669 | (s390_register_virtual_type, s390x_register_virtual_type): Remove. | |
3670 | (s390_dwarf_regmap): New variable. | |
3671 | (s390_dwarf_reg_to_regnum): New function. | |
3672 | (s390_stab_reg_to_regnum): Remove. | |
3673 | (s390_pseudo_register_read, s390_pseudo_register_write): New functions. | |
3674 | (s390x_pseudo_register_read, s390x_pseudo_register_write): Likewise. | |
3675 | (s390_convert_register_p): Likewise. | |
3676 | (s390_register_to_value, s390_value_to_register): Likewise. | |
3677 | (s390_register_reggroup_p): Likewise. | |
3678 | (s390_regmap_gregset, s390x_regmap_gregset, s390_regmap_fpregset, | |
3679 | s390_gregset, s390x_gregset, s390_fpregset): New variables. | |
3680 | (s390_supply_regset, s390_regset_from_core_section): New functions. | |
3681 | (GDB_TARGET_IS_ESAME): Move here from tm-s390.h. | |
3682 | (S390_FPR_SIZE): Likewise. | |
3683 | (S390_GPR_SIZE): Likewise. Redefine in terms of GDB_TARGET_IS_ESAME. | |
3684 | Global replace of DEPRECATED_REGISTER_SIZE by S390_GPR_SIZE. | |
3685 | (S390_NUM_GPRS): Move here from tm-s390.h. | |
3686 | (S390_NUM_FPRS): Likewise. | |
3687 | (s390_in_function_epilogue_p): New function. | |
3688 | (s390_is_sigreturn): Replace S390_PSW_ADDR_SIZE by S390_GPR_SIZE. | |
3689 | Replace S390_PC_REGNUM by S390_PSWA_REGNUM. | |
3690 | (s390_gdbarch_init): Allocate and set up gdbarch_tdep structure. | |
3691 | Replace s390_stab_reg_to_regnum by s390_dwarf_reg_to_regnum. | |
3692 | Replace S390_FP_REGNUM by S390_SP_REGNUM. | |
3693 | Remove calls to: | |
3694 | set_gdbarch_deprecated_max_register_raw_size, | |
8a1dac83 RM |
3695 | set_gdbarch_deprecated_max_register_virtual_size, |
3696 | set_gdbarch_deprecated_register_byte, | |
d0f54f9d | 3697 | set_gdbarch_cannot_fetch_register, |
8a1dac83 | 3698 | set_gdbarch_cannot_store_register, |
d0f54f9d JB |
3699 | set_gdbarch_deprecated_register_size, |
3700 | set_gdbarch_deprecated_register_raw_size, | |
3701 | set_gdbarch_deprecated_register_virtual_size, | |
3702 | set_gdbarch_deprecated_register_virtual_type, | |
3703 | set_gdbarch_deprecated_register_bytes. | |
3704 | Add calls to: | |
3705 | set_gdbarch_num_pseudo_regs, | |
3706 | set_gdbarch_register_type, | |
3707 | set_gdbarch_convert_register_p, | |
3708 | set_gdbarch_register_to_value, | |
3709 | set_gdbarch_value_to_register, | |
3710 | set_gdbarch_register_reggroup_p, | |
3711 | set_gdbarch_regset_from_core_section, | |
3712 | set_gdbarch_pseudo_register_read, | |
3713 | set_gdbarch_pseudo_register_write, | |
3714 | set_gdbarch_in_function_epilogue_p. | |
3715 | * Makefile.in (s390-nat.o, s390-tdep.o): Update dependencies. | |
3716 | (s390_tdep_h): New variable. | |
3717 | ||
8cfe231d JB |
3718 | 2004-02-17 Jim Blandy <jimb@redhat.com> |
3719 | ||
4589a601 JB |
3720 | * findvar.c (value_from_register): If the type has no length, just |
3721 | return an acceptable value --- don't report an internal error. | |
3722 | ||
8cfe231d JB |
3723 | * stabsread.c (read_type): If we find any type numbers that are |
3724 | forward references, complain if the references aren't resolved by | |
3725 | the time we're finished reading. | |
3726 | (cleanup_undefined_types): Make error message more appropriate for | |
3727 | a complaint. | |
3728 | ||
5bf0017e EZ |
3729 | 2004-02-17 Elena Zannoni <ezannoni@redhat.com> |
3730 | ||
9d62932d EZ |
3731 | * Makefile.in (defs_h): Remove dependency on progress_h. |
3732 | * defs.h (QUIT): Remove use of PROGRESS macro. Remove include of | |
3733 | progress.h. | |
3734 | * main.c (captured_main): Delete use of START_PROGRESS and | |
3735 | END_PROGRESS. | |
3736 | ||
3737 | 2004-02-17 Elena Zannoni <ezannoni@redhat.com> | |
8a1dac83 | 3738 | |
5bf0017e EZ |
3739 | * objfiles.c (terminate_minimal_symbol_table): Add back |
3740 | initialization of MSYMBOL_TYPE. | |
3741 | ||
9fc9f5e2 AC |
3742 | 2004-02-17 David Mosberger <davidm@hpl.hp.com> |
3743 | ||
3744 | Committed by Andrew Cagney. | |
3745 | * Makefile.in (ia64_tdep_h): New macro. | |
3746 | (ia64-linux-tdep.o): Mention $(ia64_tdep_h). | |
3747 | (ia64-tdep.o): Likewise. | |
3748 | * ia64-tdep.h: New file. | |
3749 | * ia64-tdep.c: Update copyright notice. Include "ia64-tdep.h". | |
3750 | (ia64_linux_sigcontext_register_address): Move decl to ia64-tdep.h. | |
3751 | (ia64_aix_sigcontext_register_address): Likewise. | |
3752 | (ia64_linux_getunwind_table): Delete declaration. | |
3753 | * ia64-linux-tdep.c: Likewise. | |
3754 | ||
76cd2bd9 CV |
3755 | 2004-02-17 Corinna Vinschen <vinschen@redhat.com> |
3756 | ||
3757 | * sh-tdep.c (sh_dsp_register_sim_regno): Use DSP_Rx_BANK_REGNUM. | |
3758 | * sh-tdep.h: Rename R0_BANK_REGNUM and R7_BANK_REGNUM to | |
3759 | DSP_R0_BANK_REGNUM and DSP_R7_BANK_REGNUM. | |
3760 | ||
634aa483 AC |
3761 | 2004-02-17 Andrew Cagney <cagney@redhat.com> |
3762 | ||
3763 | * symtab.c (skip_prologue_using_sal): New function. | |
3764 | * symtab.h (skip_prologue_using_sal): Declare. | |
3765 | * frv-tdep.c: Include "symtab.h". | |
3766 | (skip_prologue_using_sal): Delete function. | |
3767 | * mips-tdep.c (skip_prologue_using_sal): Delete function. | |
3768 | * rs6000-tdep.c (refine_prologue_limit): Mention | |
3769 | skip_prologue_using_sal. | |
3770 | * ia64-tdep.c (refine_prologue_limit): Ditto. | |
3771 | * Makefile.in: Update dependencies. | |
3772 | ||
3773 | 2004-02-16 Andrew Cagney <cagney@redhat.com> | |
19772a2c | 3774 | |
39ce7b3f AC |
3775 | * config/alpha/tm-nbsd.h: Update copyright, delete #undef |
3776 | START_INFERIOR_TRAPS_EXPECTED. | |
3777 | * config/alpha/tm-fbsd.h: Update copyright, delete #undef | |
3778 | START_INFERIOR_TRAPS_EXPECTED. | |
3779 | * config/alpha/tm-alphalinux.h (START_INFERIOR_TRAPS_EXPECTED): | |
3780 | Delete macro. | |
3781 | * config/alpha/tm-alpha.h (START_INFERIOR_TRAPS_EXPECTED): Delete | |
3782 | macro, moved to "nm-osf.h". Update copyright. | |
3783 | * config/alpha/nm-osf.h (START_INFERIOR_TRAPS_EXPECTED): Define, | |
3784 | update copyright. | |
3785 | ||
19772a2c AC |
3786 | * gdbarch.sh (DEPRECATED_FRAMELESS_FUNCTION_INVOCATION): Predicate |
3787 | and function replacing FRAMELESS_FUNCTION_INVOCATION. | |
3788 | * blockframe.c (legacy_frameless_look_for_prologue): Rename | |
3789 | frameless_look_for_prologue. | |
3790 | * frame.h (legacy_frameless_look_for_prologue): Rename | |
3791 | frameless_look_for_prologue. | |
3792 | * gdbarch.h, gdbarch.c: Re-generate. | |
3793 | * sh64-tdep.c (sh64_gdbarch_init): Update. | |
3794 | * sh-tdep.c (sh_gdbarch_init): Update. | |
3795 | * s390-tdep.c (s390_gdbarch_init): Update. | |
3796 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
3797 | * ppc-linux-tdep.c (ppc_linux_init_abi): Update. | |
3798 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
3799 | (delta68_frame_args_address): Update. | |
3800 | * m32r-tdep.c (m32r_gdbarch_init): Update. | |
3801 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
3802 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
3803 | * frv-tdep.c (frv_gdbarch_init): Update. | |
3804 | (frv_frameless_function_invocation): Update. | |
3805 | * cris-tdep.c (cris_gdbarch_init): Update. | |
3806 | (cris_frameless_function_invocation): Update. | |
3807 | * avr-tdep.c (avr_gdbarch_init): Update. | |
3808 | * arm-tdep.c (arm_gdbarch_init): Update. | |
3809 | * stack.c (frame_info): Update, call predicate. | |
3810 | * rs6000-tdep.c (rs6000_frame_chain): Update, call predicate.. | |
3811 | * frame.c (legacy_get_prev_frame): Update, call predicate.. | |
3812 | * arch-utils.c (generic_frameless_function_invocation_not): Delete. | |
3813 | * arch-utils.h (generic_frameless_function_invocation_not): Delete. | |
3814 | * alpha-tdep.c (alpha_gdbarch_init): Do not set frameless function | |
3815 | invocation. | |
3816 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
3817 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
3818 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
2be8b3c1 AC |
3819 | |
3820 | * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): Delete unused | |
3821 | function. | |
3822 | ||
7dcaac91 DJ |
3823 | 2004-02-16 Daniel Jacobowitz <drow@mvista.com> |
3824 | ||
3825 | * objfiles.c (terminate_minimal_symbol_table): Remove unnecessary | |
3826 | initializations. | |
3827 | ||
88289b6e AC |
3828 | 2004-02-16 Andrew Cagney <cagney@redhat.com> |
3829 | ||
3830 | * tui/tui-windata.c: Include "gdb_string.h". | |
3831 | * tui/tui-source.c, tui/tui-winsource.c: Ditto. | |
3832 | * tui/tui-layout.c, tui/tui-command.c: Ditto. | |
3833 | * Makefile.in: Update dependencies. | |
3834 | ||
9f976b41 DJ |
3835 | 2004-02-16 Daniel Jacobowitz <drow@mvista.com> |
3836 | ||
3837 | * Makefile.in (infrun.o): Add $(gdb_assert_h). | |
3838 | * infrun.c: Include "gdb_assert.h". | |
3839 | (singlestep_ptid, saved_singlestep_ptid) | |
3840 | (stepping_past_singlestep_breakpoint): New variables. | |
3841 | (resume): Set singlestep_ptid. Check for singlestep thread | |
3842 | hop. | |
3843 | (init_wait_for_inferior): Clear stepping_past_singlestep_breakpoint. | |
3844 | (handle_inferior_event): Handle singlestep thread hop. | |
3845 | ||
c324d747 AC |
3846 | 2004-02-16 Andrew Cagney <cagney@redhat.com> |
3847 | ||
f090b9b1 AC |
3848 | * dwarf2-frame.c (dwarf2_frame_ops): New function. |
3849 | (dwarf2_frame_set_init_reg): Use, instead of gdbarch_data. | |
3850 | (dwarf2_frame_init_reg): Ditto. | |
3851 | ||
fd33e6cb AC |
3852 | * printcmd.c (display_command): Check that EXP isn't NULL. Fix |
3853 | suggested by Joshua Neuheisel | |
3854 | ||
c324d747 AC |
3855 | * configure.in: Always check for curses, including pdcurses. |
3856 | Warn, instead of error, when no curses are found. Enable TUI when | |
3857 | curses is available. | |
3858 | * configure: Re-generate. | |
3859 | ||
b66ba949 CV |
3860 | 2004-02-16 Corinna Vinschen <vinschen@redhat.com> |
3861 | ||
3862 | * sh-tdep.c (sh_register_convert_to_virtual): Rename from | |
3863 | sh_sh4_register_convert_to_virtual. | |
3864 | (sh_register_convert_to_raw): Rename from | |
3865 | sh_sh4_register_convert_to_raw. | |
3866 | (sh_pseudo_register_read): Accomodate above name change. | |
3867 | (sh_pseudo_register_write): Ditto. | |
3868 | ||
b58cbbf2 CV |
3869 | 2004-02-16 Corinna Vinschen <vinschen@redhat.com> |
3870 | ||
3871 | * sh-tdep.c (sh_generic_register_name): Remove. | |
3872 | (sh_gdbarch_init): Use sh_sh_register_name in default case. | |
3873 | ||
5929a910 AC |
3874 | 2004-02-15 Andrew Cagney <cagney@redhat.com> |
3875 | ||
4566dfcf AC |
3876 | * configure.in (build_warnings): Add -Wunused-function. |
3877 | * configure: Re-generate. | |
3878 | ||
db11ed55 AC |
3879 | * config/tm-lynx.h (START_INFERIOR_TRAPS_EXPECTED): Delete macro. |
3880 | * config/rs6000/tm-rs6000.h (START_INFERIOR_TRAPS_EXPECTED): Ditto. | |
3881 | ||
46ac7a5d AC |
3882 | * procfs.c (procfs_init_inferior): Assume that |
3883 | START_INFERIOR_TRAPS_EXPECTED is defined. | |
3884 | * config/ns32k/nbsdaout.mt (TM_FILE): Set to tm-ns32k.h. | |
3885 | * config/ns32k/tm-nbsd.h: Delete file, | |
3886 | START_INFERIOR_TRAPS_EXPECTED already defined as 2. | |
3887 | ||
ba801595 AC |
3888 | * config/vax/tm-vaxbsd.h: Do not include "tm-vax.h". |
3889 | * config/vax/tm-vax.h: Delete file. | |
3890 | ||
5929a910 AC |
3891 | * config/mips/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro. |
3892 | * config/i386/tm-i386bsd.h (SIGCONTEXT_PC_OFFSET): Delete macro. | |
3893 | * config/arm/tm-linux.h (SIGCONTEXT_PC_OFFSET): Delete macro. | |
3894 | * config/vax/tm-vaxbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro. | |
3895 | * vax-tdep.c (vax_sigtramp_saved_pc): Inline only reference. | |
3896 | * config/ns32k/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro. | |
3897 | * ns32k-tdep.c (ns32k_sigtramp_saved_pc): Inline only reference. | |
3898 | ||
8f22cb90 MK |
3899 | 2004-02-15 Mark Kettenis <kettenis@gnu.org> |
3900 | ||
3901 | * dwarf2-frame.h (dwarf2_frame_set_init_reg): New prototype. | |
3902 | * dwarf2-frame.c (dwarf2_frame_data): New variable. | |
3903 | (struct dwarf2_frame_ops): New. | |
3904 | (dwarf2_frame_default_init_reg): New function, based on | |
3905 | dwarf2_frame_init_reg. | |
3906 | (dwarf2_frame_init, dwarf2_frame_set_init_reg): New function. | |
3907 | (dwarf2_frame_init_reg): Call architecture-specific function. | |
3908 | (dwarf2_frame_objfile_data): Renamed from dwarf2_frame_data. | |
3909 | (dwarf2_frame_find_fde, add_fde): Use dwarf2_frame_objfile_data | |
3910 | instead of dwarf2_frame_data. | |
3911 | (_initialize_dwarf2_frame): Initailize new dwarf2_frame_data. | |
3912 | Initialize dwarf2_frame_objfile instead of old dwarf2_frame_data. | |
3913 | ||
8132723e AC |
3914 | 2004-02-15 Andrew Cagney <cagney@redhat.com> |
3915 | ||
046a4708 AC |
3916 | * gdbarch.sh (deprecated_register_gdbarch_swap): Rename |
3917 | register_gdbarch_swap. | |
3918 | (DEPRECATED_REGISTER_GDBARCH_SWAP): Rename REGISTER_GDBARCH_SWAP. | |
3919 | * f-lang.c (_initialize_f_language): Update, use | |
3920 | DEPRECATED_REGISTER_GDBARCH_SWAP. | |
3921 | * remote.c (_initialize_remote): Ditto. | |
3922 | * regcache.c (_initialize_regcache): Ditto. | |
3923 | * parse.c (_initialize_parse): Ditto. | |
3924 | * infrun.c (_initialize_infrun): Ditto. | |
3925 | * mi/mi-main.c (_initialize_mi_main): Ditto. | |
3926 | * gdbtypes.c (_initialize_gdbtypes): Ditto. | |
8a1dac83 | 3927 | |
549c1eea AC |
3928 | * solib.c (solib_map_sections): Use bfd_set_cacheable instead of |
3929 | poking .cacheable directly. | |
3930 | * symfile.c (symfile_bfd_open): Ditto. | |
3931 | ||
0c0b39de AC |
3932 | * Makefile.in: Update all dependencies. |
3933 | ||
8132723e AC |
3934 | * Makefile.in: (.SUFFIXES): Add ".l" and ".y". |
3935 | (.y.c, .l.c): Specify implicit rule. Instead of .tab.c, generate | |
3936 | .c. Update references. Delete unnecessary .tab.c and -lex.c rules. | |
3937 | (ada-exp.o, c-exp.o, f-exp.o): Replace ada-exp.tab.o et.al. rule. | |
3938 | (jv-exp.o, m2-exp.o, objc-exp.o, p-exp.o): Similar. | |
0c0b39de | 3939 | |
b9d26eb9 AC |
3940 | 2004-02-14 Andrew Cagney <cagney@redhat.com> |
3941 | ||
8e1f669a AC |
3942 | * arch-utils.c (legacy_convert_register_p): Check |
3943 | DEPRECATED_REGISTER_CONVERTIBLE_P. | |
3944 | * findvar.c (value_of_register): Ditto. | |
3945 | ||
cd0bfa36 AC |
3946 | * gdbarch.sh (DEPRECATED_REGISTER_CONVERTIBLE): Add predicate. |
3947 | * gdbarch.h, gdbarch.c: Re-generate. | |
3948 | * arch-utils.c (deprecated_register_convertible_not): Delete. | |
3949 | * arch-utils.h (deprecated_register_convertible_not): Delete. | |
3950 | * mi/mi-main.c (get_register): Update. Update copyright. | |
3951 | * infcmd.c (default_print_registers_info): Update. | |
3952 | ||
b9d26eb9 AC |
3953 | * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Delete. |
3954 | (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Delete. | |
3955 | (DEPRECATED_CALL_DUMMY_ADDRESS): Delete. | |
8a1dac83 | 3956 | * gdbarch.h, gdbarch.c: Re-generate. |
b9d26eb9 AC |
3957 | * frame.c (deprecated_get_next_frame_hack): Delete function. |
3958 | * frame.h (deprecated_get_next_frame_hack): Delete declaration. | |
3959 | * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point): | |
3960 | Update. | |
3961 | * infcall.c (call_function_by_hand): Update. | |
3962 | ||
9ab9195f EZ |
3963 | 2004-02-14 Elena Zannoni <ezannoni@redhat.com> |
3964 | ||
3965 | * symfile.c (init_entry_point_info, entry_point_address): Move | |
8a1dac83 | 3966 | from here... |
9ab9195f EZ |
3967 | * objfiles.c (init_entry_point_info, entry_point_address):..to |
3968 | here. | |
3969 | * symfile.h (init_entry_point_info, entry_point_address): Remove | |
3970 | prototypes. | |
3971 | * objfiles.h (init_entry_point_info, entry_point_address):Add | |
8a1dac83 | 3972 | prototypes. |
9ab9195f EZ |
3973 | * cris-tdep.c: Remove include of symfile.h. Add include of |
3974 | objfiles.h. | |
3975 | * infcall.c: Ditto. | |
3976 | * mcore-tdep.c: Ditto. | |
3977 | * mn10300-tdep.c: Ditto. | |
3978 | * sh64-tdep.c: Ditto. | |
3979 | * v850-tdep.c: Ditto. | |
3980 | * arm-tdep.c: Remove include of symfile.h. | |
3981 | * blockframe.c: Ditto. | |
3982 | * coffread.c: Ditto. | |
3983 | * dbxread.c: Ditto. | |
3984 | * dwarf2read.c: Ditto. | |
3985 | * dwarfread.c: Ditto. | |
8a1dac83 | 3986 | * frv-tdep.c: Ditto. |
9ab9195f EZ |
3987 | * ia64-tdep.c: Ditto. |
3988 | * mdebugread.c: Ditto. | |
3989 | * mipsread.c: Ditto. | |
8a1dac83 | 3990 | * rs6000-tdep.c: Ditto. |
9ab9195f EZ |
3991 | * s390-tdep.c: Ditto. |
3992 | * sh-tdep.c: Ditto. | |
8a1dac83 | 3993 | * xstormy16-tdep.c: Ditto. |
9ab9195f EZ |
3994 | * gdbarch.sh: Remove include of symfile.h. |
3995 | * gdbarch.c: Regenerate. | |
3996 | * solib-irix.c (enable_break): Use entry_point_address(). | |
3997 | Add comment about include file. | |
3998 | * xcoffread.c: Add comment about include file. | |
8a1dac83 RM |
3999 | * Makefile.in (arm-tdep.o, blockframe.o, coffread.o, cris-tdep.o) |
4000 | (dbxread.o, dwarf2read.o, dwarfread.o, frv-tdep.o, gdbarch.o) | |
4001 | (ia64-tdep.o, infcall.o, mcore-tdep.o, mdebugread.o, mipsread.o) | |
4002 | (mn10300-tdep.o, rs6000-nat.o, s390-tdep.o, sh64-tdep.o) | |
9ab9195f EZ |
4003 | (sh-tdep.o, v850-tdep.o, xstormy16-tdep.o): Update dependencies. |
4004 | ||
c4c5b7ba AC |
4005 | 2004-02-13 Andrew Cagney <cagney@redhat.com> |
4006 | ||
4007 | * corelow.c (core_xfer_partial): Use "struct bfd_section". | |
4008 | * config/sparc/nm-nbsd.h (struct target_ops): Declare, update | |
4009 | copyright. | |
4010 | * mips-linux-tdep.c: Use "GNU/Linux", update copyright. | |
4011 | ||
3e7879de FF |
4012 | 2004-02-12 Fred Fish <fnf@redhat.com> |
4013 | ||
4014 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Remove duplicate call to | |
4015 | set_gdbarch_store_return_value. | |
4016 | ||
6a7760b6 AC |
4017 | 2004-02-12 Andrew Cagney <cagney@redhat.com> |
4018 | ||
4019 | * remote-rdi.c (arm_rdi_start_remote): Delete unused function. | |
4020 | (arm_rdi_interrupt, arm_rdi_interrupt_twice): Ditto. | |
4021 | (interrupt_query): Ditto. | |
4022 | (ofunc): Delete unused variable. | |
4023 | * cris-tdep.c (cris_abi): Delete unused function. | |
4024 | (reg_pop_op, move_reg_to_mem_index_inc_op): Ditto. | |
4025 | (cris_get_wide_opcode, cris_get_short_size): Ditto. | |
4026 | (cris_get_asr_quick_shift_steps): Ditto. | |
4027 | (cris_skip_prologue_frameless_p): Ditto. | |
4028 | * arm-tdep.c (arm_push_return_address): Delete unused function. | |
4029 | (arm_push_dummy_frame, arm_fix_call_dummy): Ditto. | |
4030 | * rs6000-tdep.c (rs6000_pc_in_call_dummy): Delete unused function. | |
4031 | * s390-tdep.c (s390_function_start): Delete unused function. | |
4032 | ||
31687c3c AC |
4033 | 2004-02-12 Andrew Cagney <cagney@redhat.com> |
4034 | ||
4035 | * gdbarch.sh (PROLOGUE_FRAMELESS_P): Delete. | |
4036 | gdbarch.h, gdbarch.c: Re-generate. | |
4037 | * cris-tdep.c (cris_gdbarch_init): Do not set prologue_frameless_p | |
4038 | to generic_prologue_frameless_p. | |
4039 | * arch-utils.h (generic_prologue_frameless_p): Delete declaration. | |
4040 | * arch-utils.c (generic_prologue_frameless_p): Delete function. | |
4041 | ||
6de918a6 DJ |
4042 | 2004-02-11 Daniel Jacobowitz <drow@mvista.com> |
4043 | ||
4044 | * mips-linux-tdep.c: Include "frame.h". | |
4045 | (mips_linux_in_dynsym_stub, mips_linux_in_dynsym_resolve_code) | |
4046 | (mips_linux_skip_resolver): New functions. | |
4047 | (mips_linux_init_abi): Call set_gdbarch_skip_solib_resolver | |
4048 | and set_gdbarch_in_solib_call_trampoline. | |
4049 | * mips-tdep.c (mips_gdbarch_init): Move gdbarch_init_osabi call | |
4050 | to after set_gdbarch_in_solib_return_trampoline. Only set the | |
4051 | solib hooks to mips16 functions if the OS ABI is unknown. | |
4052 | * config/mips/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Undefine after | |
4053 | including "config/tm-linux.h". | |
4054 | (IN_SOLIB_DYNSYM_RESOLVE_CODE): Define. | |
4055 | * Makefile.in (mips-linux-tdep.o): Update. | |
4056 | ||
87b3ede8 DC |
4057 | 2004-02-11 David Carlton <carlton@kealia.com> |
4058 | ||
4059 | * linespec.c (decode_compound): Only look for a class symbol when | |
4060 | considering all but the rightmost component. | |
4061 | ||
5979bc46 AC |
4062 | 2004-02-11 Andrew Cagney <cagney@redhat.com> |
4063 | ||
4064 | * hppa-tdep.c (hppa_gdbarch_init): Re-order so that the frame and | |
4065 | abi code are are separatly grouped. | |
4066 | ||
5867a2fb AC |
4067 | 2004-02-11 Andrew Cagney <cagney@redhat.com> |
4068 | ||
4069 | * gdbarch.sh (FRAME_ARGS_SKIP): Default to 0. | |
4070 | * gdbarch.h, gdbarch.c: Re-generate. | |
4071 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
4072 | * v850-tdep.c (v850_gdbarch_init): Update. | |
4073 | * sh64-tdep.c (sh64_gdbarch_init): Update. | |
4074 | * sh-tdep.c (sh_gdbarch_init): Update. | |
4075 | * s390-tdep.c (s390_gdbarch_init): Update. | |
4076 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. | |
4077 | * mips-tdep.c (mips_gdbarch_init): Update. | |
4078 | * mcore-tdep.c (mcore_gdbarch_init): Update. | |
4079 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
4080 | * m32r-tdep.c (m32r_gdbarch_init): Update. | |
4081 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
4082 | * hppa-tdep.c (hppa_gdbarch_init): Update. | |
4083 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
4084 | * frv-tdep.c (frv_gdbarch_init): Update. | |
4085 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
4086 | * cris-tdep.c (cris_gdbarch_init): Update. | |
4087 | * avr-tdep.c (avr_gdbarch_init): Update. | |
4088 | * arm-tdep.c (arm_gdbarch_init): Update. | |
4089 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
4090 | ||
026a72f8 CV |
4091 | 2004-02-11 Corinna Vinschen <vinschen@redhat.com> |
4092 | ||
4093 | * sh-tdep.c (sh_sh3_dsp_register_name): Fix formatting. Add missing | |
4094 | comma. | |
4095 | (sh_sh4al_dsp_register_name): Ditto. | |
4096 | ||
3903d437 AC |
4097 | 2004-02-10 Andrew Cagney <cagney@redhat.com> |
4098 | ||
4099 | * mips-tdep.c (mips_gdbarch_init): Delete deprecated frame code. | |
4100 | (mips_init_frame_pc_first): Delete function. | |
4101 | (mips_frame_saved_pc): Delete function. | |
4102 | (mips_frame_chain): Delete function. | |
4103 | (mips_init_extra_frame_info): Delete function. | |
4104 | (mips_xfer_register): Delete unused variable "reg". | |
4105 | (mips_n32n64_push_dummy_call): Delete unused variable "valbuf". | |
4106 | (mips_n32n64_return_value): Delete unused variable "reg". | |
4107 | (mips_n32n64_return_value): Delete unused variable "pos". | |
4108 | (mips_o32_push_dummy_call): Delete unused variable "valbuf". | |
4109 | (mips_o32_return_value): Delete unused variable "pos". | |
4110 | (mips_o64_push_dummy_call): Delete unused variable "valbuf". | |
4111 | (mips_print_fp_register): Delete unused variable "namelen" | |
4112 | (mips_print_fp_register): Delete unused variable "flt2" | |
4113 | (get_frame_pointer): Delete function. | |
4114 | (cached_proc_desc): Delete static variable. | |
4115 | (mips_pop_frame): Delete function. | |
4116 | (mips_find_saved_regs): Delete function. | |
4117 | (mips_get_saved_register): Delete function. | |
4118 | (mips_saved_pc_after_call): Delete function. | |
4119 | (SIGFRAME_BASE): Delete macro. | |
4120 | (SIGFRAME_FPREGSAVE_OFF): Delete macro. | |
4121 | (SIGFRAME_PC_OFF): Delete macro. | |
4122 | (SIGFRAME_REGSAVE_OFF): Delete macro. | |
4123 | (mips_dump_tdep): Do not print deleted macro definitions. | |
4124 | ||
b9fb98bd AC |
4125 | 2004-02-10 Andrew Cagney <cagney@redhat.com> |
4126 | ||
4127 | * Makefile.in (SFILES): Remove explictly listed tui files. | |
4128 | (SUBDIR_GDBTK_SRCS): Fix path to gdbtk-interp.c. | |
4129 | ||
78ced177 | 4130 | 2004-02-10 Jeff Johnston <jjohnstn@redhat.com> |
8a1dac83 | 4131 | |
78ced177 JJ |
4132 | * ia64-tdep.c (ia64_frame_this_id): Fix tracing print statement |
4133 | to use paddr functions to format ia64 addresses and long values. | |
4134 | (ia64_frame_prev_register, ia64_sigtramp_frame_this_id): Ditto. | |
4135 | (ia64_sigtramp_frame_prev_register, ia64_access_reg): Ditto. | |
4136 | (get_kernel_table, ia64_find_proc_info_x): Ditto. | |
4137 | (ia64_get_dyn_info_list, ia64_libunwind_this_frame_id): Ditto. | |
4138 | (ia64_libunwind_frame_prev_register, ia64_unwind_dummy_id): Ditto. | |
4139 | ||
6a83354a AC |
4140 | 2004-02-10 Andrew Cagney <cagney@redhat.com> |
4141 | ||
4142 | * defs.h: Do not include "tui.h". | |
4143 | * gdb_curses.h: New file. | |
4144 | * tui/tui-hooks.h: New file. | |
4145 | * tui/tui.h (tui_update_all_exec_infos): Delete declaration. | |
4146 | (tui_install_hooks, tui_remove_hooks): Delete declarations. | |
4147 | (tui_initialize_io): Delete declaration. | |
4148 | (tui_initialize_readline: Delete redundant declaration. | |
4149 | (struct tui_point): Delete definition. | |
4150 | * tui/tui-data.h (struct tui_point): Define. | |
4151 | * cli/cli-decode.c [TUI]: Include "tui/tui.h". | |
4152 | * utils.c: Include "tui/tui.h". | |
4153 | * tui/tui-data.h: Include "tui/tui.h" and "gdb_curses.h". | |
4154 | * printcmd.c [TUI]: Include "tui/tui.h". | |
4155 | * cli/cli-cmds.c [TUI]: Include "tui/tui.h". | |
4156 | * tui/tui-command.c: Include "gdb_curses.h". | |
4157 | * tui/tui.c, tui/tui-winsource.c, tui/tui-wingeneral.c: Ditto. | |
4158 | * tui/tui-windata.c, tui/tui-win.c, tui/tui-stack.c: Ditto. | |
4159 | * tui/tui-source.c, tui/tui-regs.c, tui/tui-layout.c: Ditto. | |
4160 | * tui/tui-io.c, tui/tui-disasm.c, tui/tui-data.c: : Ditto. | |
4161 | * tui/tui-hooks.c: Include "tui-hooks.h" and "gdb_curses.h". | |
4162 | * Makefile.in: Update all dependencies. | |
4163 | (tui_hooks_h, gdb_curses_h): Define. | |
4164 | (SUBDIR_TUI_CFLAGS): Remove -I${srcdir}/tui. | |
4165 | ||
997470ef EZ |
4166 | 2004-02-10 Elena Zannoni <ezannoni@redhat.com> |
4167 | ||
4168 | * objfiles.h (struct objfile): Remove unused fields auxf1 and | |
4169 | auxf2. Add comments about some other rarely used fields. | |
4170 | ||
4ff2cc4d AC |
4171 | 2004-02-10 Andrew Cagney <cagney@redhat.com> |
4172 | ||
4173 | * Makefile.in (init.c): Fix script removing duplicates. Problem | |
4174 | reported by Peter Schauer. | |
4175 | ||
1ab21617 EZ |
4176 | 2004-02-09 Elena Zannoni <ezannoni@redhat.com> |
4177 | ||
4178 | * bcache.c (bcache_xmalloc): Use obstack_init instead of | |
4179 | obstack_specify_allocation. | |
4180 | * objfiles.c (allocate_objfile): Ditto. | |
8a1dac83 | 4181 | * solib-sunos.c (solib_add_common_symbols) |
1ab21617 EZ |
4182 | (allocate_rt_common_objfile): Ditto. |
4183 | * symfile.c (reread_symbols): Ditto. | |
4184 | * gdb_obstack.h: Add comment. | |
4185 | ||
17763fd9 EZ |
4186 | 2004-02-09 Elena Zannoni <ezannoni@redhat.com> |
4187 | ||
4188 | * linespec.c (decode_line_1, locate_first_half) | |
4189 | (decode_compound, lookup_prefix_sym): Update comments. Delete old | |
4190 | commented out code. | |
4191 | ||
ec5cdd75 DJ |
4192 | 2004-02-09 Daniel Jacobowitz <drow@mvista.com> |
4193 | ||
4194 | * cp-namespace.c (check_one_possible_namespace_symbol): Don't use | |
4195 | obstack_free. | |
4196 | ||
43b54b88 AC |
4197 | 2004-02-09 Andrew Cagney <cagney@redhat.com> |
4198 | ||
4199 | * blockframe.c (find_pc_partial_function): If find_pc_overlay | |
4200 | fails, try find_pc_section. Fix PR c++/1267. | |
4201 | * minsyms.c (lookup_minimal_symbol_by_pc): Use find_pc_section | |
4202 | instead of find_pc_mapped_section. | |
4203 | (lookup_minimal_symbol_by_pc_section): If the SECTION is NULL, do | |
4204 | not default to the section containing PC. Fix PR symtab/1519. | |
4205 | ||
edfae063 AC |
4206 | 2004-02-09 Andrew Cagney <cagney@redhat.com> |
4207 | ||
4208 | * Makefile.in (mips-tdep.o): Update dependencies. | |
4209 | * mips-tdep.c: Include "frame-unwind.h", "frame-base.h" and | |
4210 | "trad-frame.h". | |
4211 | (mips_unwind_pc): Return the pseudo PC register. | |
4212 | (mips_unwind_dummy_id): New function. | |
4213 | (mips16_fetch_instruction): New function. | |
4214 | (mips32_fetch_instruction): New function. | |
4215 | (struct mips_frame_cache): Define. | |
4216 | (mips_mdebug_frame_cache): New function. | |
4217 | (mips_mdebug_frame_this_id): New function. | |
4218 | (mips_mdebug_frame_prev_register): New function. | |
4219 | (mips_mdebug_frame_unwind): Define. | |
4220 | (mips_mdebug_frame_sniffer): New function. | |
4221 | (mips_mdebug_frame_base_address): New function. | |
4222 | (mips_mdebug_frame_base): Define. | |
4223 | (mips_mdebug_frame_base_sniffer): New function. | |
4224 | (mips_gdbarch_init): Append unwind and base sniffers. Set | |
4225 | unwind_dummy_id. | |
4226 | ||
defc864c AC |
4227 | 2004-02-08 Andrew Cagney <cagney@redhat.com> |
4228 | ||
6764ddad AC |
4229 | * frame.c: Print both the register number and name. |
4230 | ||
defc864c AC |
4231 | * Makefile.in (init.c): Eliminate duplicates. Combine two greps |
4232 | and a sed into a single sed. Make .c and .o patterns more robust. | |
4233 | (OBS): Delete. | |
4234 | (INIT_FILES): Replace OBS with COMMON_OBS. | |
4235 | (COMMON_OBS): Move DEPFILES and YYOBJ to start of definition. | |
4236 | ||
645d6d10 MK |
4237 | 2004-02-08 Mark Kettenis <kettenis@gnu.org> |
4238 | ||
4239 | * sparc-nat.c (sparc_xfer_wcookie): Try to fetch the cookie using | |
4240 | the PT_WCOOKIE request. | |
4241 | ||
23e3c3fc AC |
4242 | 2004-02-08 Andrew Cagney <cagney@redhat.com> |
4243 | ||
58dfe9ff AC |
4244 | * mips-tdep.c (mips_unwind_pc): New function. |
4245 | (mips_gdbarch_init): Set mips_unwind_pc. | |
4246 | ||
1152e35e AC |
4247 | * frame.c (legacy_saved_regs_this_id): Return a null frame ID. |
4248 | (get_frame_id): Allow the UNKNOWN_FRAME. | |
4249 | (frame_register_unwind, get_frame_type): Ditto. | |
4250 | ||
31b75dbf AC |
4251 | * frame.c (legacy_frame_p): Check for DEPRECATED_TARGET_READ_FP_P |
4252 | and DEPRECATED_FP_REGNUM. Don't assume that the lack of | |
4253 | unwind_dummy_id indicates a legacy frame. | |
4254 | ||
3483b318 AC |
4255 | * configure.in (CONFIG_LIB_OBS): Replace with CONFIG_OBS. |
4256 | * configure: Re-generate. | |
4257 | ||
23e3c3fc AC |
4258 | * mips-tdep.c (mips_gdbarch_init): Group deprecated frame unwind |
4259 | methods. | |
4260 | ||
33f8ca73 AC |
4261 | 2004-02-08 Andrew Cagney <cagney@redhat.com> |
4262 | ||
4263 | * configure.in (CONFIG_ALL): Set to Makefile target, and not | |
4264 | makefile macro. | |
4265 | * configure: Re-generate. | |
4266 | (CONFIG_CLEAN, CONFIG_INSTALL, CONFIG_UNINSTALL): Ditto. | |
4267 | * Makefile.in (SUBDIR_CLI_CLEAN): Delete. | |
4268 | (SUBDIR_CLI_INSTALL, SUBDIR_CLI_UNINSTALL): Delete. | |
4269 | (SUBDIR_CLI_ALL, SUBDIR_GDBTK_ALL): Delete. | |
4270 | (SUBDIR_GDBTK_CLEAN, SUBDIR_GDBTK_INSTALL): Delete. | |
4271 | (SUBDIR_GDBTK_UNINSTALL, SUBDIR_MI_ALL): Delete. | |
4272 | (SUBDIR_MI_CLEAN, SUBDIR_MI_INSTALL): Delete. | |
4273 | (SUBDIR_MI_UNINSTALL, SUBDIR_TUI_ALL): Delete. | |
4274 | (SUBDIR_TUI_CLEAN, SUBDIR_TUI_INSTALL): Delete. | |
4275 | (SUBDIR_TUI_UNINSTALL, SUBDIR_CLI_CLEAN): Delete. | |
4276 | ||
6ba8e26f | 4277 | 2004-02-07 Andrew Cagney <cagney@redhat.com> |
d836ee13 | 4278 | |
20d286a5 AC |
4279 | * Makefile.in: Update all dependencies. |
4280 | ||
d836ee13 AC |
4281 | * configure.in (CONFIG_INITS, CONFIG_LIB_OBS): Delete. |
4282 | * configure: Re-generate. | |
4283 | * Makefile.in (INIT_FILES): Replace CONFIG_INITS with CONFIG_SRCS. | |
4284 | (CONFIG_LIB_OBS, CONFIG_INITS): Delete. | |
4285 | (COMMON_OBS): Add "main.o" and "annotate.o". | |
4286 | (ANNOTATE_OBS): Delete. | |
4287 | (OBS): Remove ANNOTATE_OBS. | |
4288 | (DEPFILES): Replace CONFIG_LIB_OBS with CONFIG_LIB_OBS, remove | |
4289 | CONFIG_INITS. | |
4290 | (gdb$(EXEEXT), insight$(EXEEXT)): Do not depend on, or link | |
4291 | against CONFIG_OBS and "main.o". | |
4292 | (SUBDIR_CLI_INITS, SUBDIR_MI_INITS): Delete. | |
4293 | (SUBDIR_TUI_INITS, SUBDIR_GDBTK_INITS): Delete. | |
4294 | ||
d02c80cd AC |
4295 | * tui/tui-command.c: Include "gdb_string.h", delete register |
4296 | attribute, use ISO-C function signatures. | |
4297 | * tui/tui-disasm.c, tui/tui-file.c, tui/tui-io.c: Ditto. | |
4298 | * tui/tui-layout.c, tui/tui-regs.c, tui/tui-source.c: Ditto. | |
4299 | * tui/tui-stack.c, tui/tui-win.c, tui/tui-winsource.c: Ditto. | |
4300 | * tui/tui.c: Ditto. | |
6ba8e26f AC |
4301 | |
4302 | * tui/tui-command.c: Change variable and function names to lower | |
4303 | case. | |
4304 | * tui/tui-data.c, tui/tui-disasm.c: Ditto. | |
4305 | * tui/tui-hooks.c, tui/tui-io.c, tui/tui-layout.c: Ditto. | |
4306 | * tui/tui-regs.c, tui/tui-source.c, tui/tui-stack.c: Ditto. | |
4307 | * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto. | |
4308 | * tui/tui-winsource.c, tui/tui.c: Ditto. | |
4309 | ||
4a146b47 EZ |
4310 | 2004-02-07 Elena Zannoni <ezannoni@redhat.com> |
4311 | ||
4312 | * buildsym.c (free_pending_blocks, finish_block) | |
4313 | (record_pending_block, make_blockvector, end_symtab): Replace | |
4314 | symbol_obstack with objfile_obstack. | |
8a1dac83 | 4315 | * coffread.c (process_coff_symbol, coff_read_struct_type) |
4a146b47 | 4316 | (coff_read_enum_type): Ditto. |
8a1dac83 | 4317 | * cp-namespace.c (initialize_namespace_symtab) |
4a146b47 | 4318 | (check_one_possible_namespace_symbol): Ditto. |
8a1dac83 | 4319 | * dwarf2read.c (new_symbol, dwarf2_const_value, macro_start_file) |
4a146b47 EZ |
4320 | (dwarf2_symbol_mark_computed): Ditto. |
4321 | * dwarfread.c (enum_type, new_symbol, synthesize_typedef): Ditto. | |
4322 | * elfread.c (elf_symtab_read): Ditto. | |
4323 | * hpread.c (hpread_symfile_init, hpread_symfile_init) | |
4324 | (hpread_read_enum_type, hpread_read_function_type) | |
4325 | (hpread_read_doc_function_type, hpread_process_one_debug_symbol): | |
4326 | Ditto. | |
8a1dac83 | 4327 | * jv-lang.c (get_java_class_symtab, add_class_symbol) |
4a146b47 | 4328 | (java_link_class_type): Ditto. |
8a1dac83 | 4329 | * mdebugread.c (parse_symbol, psymtab_to_symtab_1, new_symtab) |
4a146b47 EZ |
4330 | (new_symbol): Ditto. |
4331 | * minsyms.c (install_minimal_symbols): Ditto. | |
4332 | * objfiles.c (allocate_objfile): Remove init of symbol_obstack. | |
4333 | (terminate_minimal_symbol_table): Replace symbol_obstack with | |
4334 | objfile_obstack. | |
4335 | (free_objfile): Remove freeing of symbol_obstack. | |
4336 | * objfiles.h: Remove symbol_obstack field. | |
4337 | * pa64solib.c (add_to_solist): Replace symbol_obstack with | |
4338 | objfile_obstack. | |
4339 | * solib-sunos.c (allocate_rt_common_objfile): Remove init of | |
4340 | symbol_obstack. | |
4341 | (solib_add_common_symbols): Replace symbol_obstack with | |
4342 | objfile_obstack. | |
4343 | * somsolib.c (som_solib_add): Ditto. | |
4344 | * stabsread.c (patch_block_stabs, define_symbol, read_enum_type) | |
4345 | (common_block_start, common_block_end): Ditto. | |
4346 | * symfile.c (reread_symbols): Remove freeing and init of | |
4347 | symbol_obstack. | |
4348 | (allocate_symtab): Rename symbol_obstack to objfile_obstack. | |
4349 | * symfile.h: Update comment. | |
4350 | * symmisc.c (print_objfile_statistics): Remove symbol_obstack | |
4351 | stats printing. | |
4352 | * symtab.c (symbol_set_names): Replace symbol_obstack with | |
4353 | objfile_obstack. | |
4354 | * symtab.h (struct general_symbol_info, struct minimal_symbol): | |
4355 | Update comments. | |
4356 | * xcoffread.c (read_xcoff_symtab, SYMBOL_DUP, SYMNAME_ALLOC) | |
4357 | (init_stringtab, xcoff_initial_scan): Replace symbol_obstack with | |
4358 | objfile_obstack. | |
4359 | ||
6d012f14 AC |
4360 | 2004-02-07 Andrew Cagney <cagney@redhat.com> |
4361 | ||
4362 | * tui/tui.h: Do not include <stdarg.h>, <string.h>, and | |
4363 | "ansidecl.h". Do not undef "reg" and "chtype". Fix case of | |
4364 | fields and variables. | |
4365 | * tui/tui-wingeneral.h (m_beVisible): Delete macro. | |
4366 | (m_beInvisible): Delete macro. | |
4367 | * tui/tui-data.h: Fix case case fields and variables. | |
4368 | (m_genWinPtrIsNull): Delete macro. | |
4369 | (tui_win_list): Rename winList. | |
4370 | (TUI_SRC_WIN): Rename srcWin. | |
4371 | (TUI_DISASM_WIN): Rename disassemWin. | |
4372 | (TUI_DATA_WIN): Rename dataWin. | |
4373 | (TUI_CMD_WIN): Rename cmdWin. | |
4374 | (m_genWinPtrNotNull): Delete macro. | |
4375 | (m_winPtrIsNull): Delete macro. | |
4376 | (m_winPtrNotNull): Delete macro. | |
4377 | (tui_win_is_source_type): Replace m_winIsSourceType | |
4378 | (tui_win_is_auxillary): Replace m_winIsAuzillary. | |
4379 | (tui_win_has_locator): Replace m_hasLocator. | |
4380 | (tui_set_win_highlight): Replace m_setWinHighlightOn and | |
4381 | m_setWinHighlightOff. | |
4382 | * tui/tui-data.c: Update references. | |
4383 | (tui_win_is_source_type, tui_set_win_highlight): New functions. | |
4384 | (tui_win_has_locator, tui_win_is_auxillary): New functions. | |
4385 | * tui/tui-command.c, tui/tui-disasm.c: Update references. | |
4386 | * tui/tui-io.c, tui/tui-layout.c, tui/tui-regs.c: Ditto. | |
4387 | * tui/tui-regs.h, tui/tui-source.c, tui/tui-stack.c: Ditto. | |
4388 | * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto. | |
4389 | * tui/tui-winsource.c, tui/tui.c: Ditto. | |
4390 | ||
7d34766b MK |
4391 | 2004-02-07 Mark Kettenis <kettenis@gnu.org> |
4392 | ||
1c800673 MK |
4393 | * sparc-tdep.h (sparc_fetch_wcookie): New prototype. |
4394 | * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): Handle | |
4395 | StackGhost. | |
4396 | ||
7d34766b MK |
4397 | * sparc-tdep.c (sparc32_frame_prev_register): Rename local |
4398 | variable `i6' to `i7'. | |
4399 | (sparc_supply_rwindow, sparc_collect_rwindow): Likewise. | |
4400 | ||
22940a24 AC |
4401 | 2004-02-07 Andrew Cagney <cagney@redhat.com> |
4402 | ||
4403 | * tui/tui.h (Opaque, OpaquePtr OpaqueList): Delete definition. | |
4404 | (TuiPoint, TuiPointPtr): Ditto. | |
4405 | (TuiStatus, TuiStatusPtr): Ditto. | |
4406 | (TuiWinType, TuiWinTypePtr): Ditto. | |
4407 | (struct tui_point): Rename _TuiPoint. | |
4408 | (tui_get_low_disassembly_address): Rename | |
4409 | tuiGetLowDisassemblyAddress. | |
4410 | (tui_update_all_exec_infos): Rename tuiUpdateAllExecInfos. | |
4411 | (tuiFree): Delete declaration. | |
4412 | (OpaqueFuncPtr, TuiOpaqueFuncPtr): Delete definitions. | |
4413 | (TuiVoidFuncPtr, TuiIntFuncPtr): Delete definitions. | |
4414 | * tui/tui.c (tuiFree): Delete function. | |
4415 | * cli/cli-cmds.c (disassemble_command): Update references. | |
4416 | * tui/tui-data.c, tui/tui-data.h, tui/tui-disasm.c: Ditto. | |
4417 | * tui/tui-layout.c, tui/tui-regs.c, tui/tui-source.c: Ditto. | |
4418 | * tui/tui-stack.c, tui/tui-win.c, tui/tui-wingeneral.c: Ditto. | |
4419 | * tui/tui-winsource.c: Ditto. | |
4420 | ||
8b92e4d5 EZ |
4421 | 2004-02-07 Elena Zannoni <ezannoni@redhat.com> |
4422 | ||
4423 | * dbxread.c (dbx_symfile_init, start_psymtab, end_psymtab, | |
4424 | coffstab_build_psymtabs, elfstab_build_psymtabs) | |
4425 | (stabsect_build_psymtabs): Replace psymbol_obstack with | |
4426 | objfile_obstack. | |
4427 | * dwarf2-frame.c (decode_frame_entry_1): Ditto. | |
4428 | * dwarf2read.c (dwarf2_build_psymtabs_hard, dwarf2_read_section): | |
4429 | Ditto. | |
4430 | * dwarfread.c (scan_compilation_units): Ditto. | |
4431 | * elfread.c (elfstab_offset_sections): Ditto. | |
4432 | * hppa-tdep.c (read_unwind_info): Ditto. | |
4433 | * hpread.c (hpread_build_psymtabs, hpread_start_psymtab) | |
4434 | (hpread_end_psymtab): Ditto. | |
4435 | * mdebugread.c (mdebug_build_psymtabs, add_pending) | |
4436 | (parse_partial_symbols, new_psymtab, elfmdebug_build_psymtabs): | |
4437 | Ditto. | |
4438 | * mips-tdep.c (non_heuristic_proc_desc): Ditto. | |
8a1dac83 | 4439 | * objfiles.c (add_to_objfile_sections) |
8b92e4d5 EZ |
4440 | (build_objfile_section_table): Ditto. |
4441 | (allocate_objfile): Remove init of psymbol_obstack. | |
4442 | (free_objfile): Remove freeing of psymbol_obstack. | |
4443 | * objfiles.h (struct objfile): Remove field | |
4444 | psymbol_obstack. Update comments. | |
4445 | * pa64solib.c (pa64_solib_add_solib_objfile): Replace | |
4446 | psymbol_obstack with objfile_obstack. | |
4447 | * solib-sunos.c (allocate_rt_common_objfile): Remove init of | |
4448 | psymbol_obstack. | |
4449 | * somread.c (som_symfile_offsets, init_import_symbols) | |
4450 | (init_export_symbols): Replace psymbol_obstack with | |
4451 | objfile_obstack. | |
4452 | * somsolib.c (som_solib_add_solib_objfile): Ditto. | |
4453 | * symfile.c (default_symfile_offsets, syms_from_objfile) | |
4454 | (reread_symbols): Remove freeing and init of psymbol_obstack. | |
4455 | (cashier_psymtab): Update comment. | |
4456 | * symmisc.c (print_objfile_statistics): Don't report stats for | |
4457 | psymbol obstack. | |
4458 | * symtab.h (struct general_symbol_info, struct partial_symtab): | |
4459 | Update comments. | |
4460 | * xcoffread.c (xcoff_start_psymtab, xcoff_end_psymtab, swap_sym) | |
4461 | (xcoff_symfile_offsets): Replace psymbol_obstack with | |
4462 | objfile_obstack. | |
4463 | ||
b99607ea EZ |
4464 | 2004-02-07 Elena Zannoni <ezannoni@redhat.com> |
4465 | ||
4466 | * objfiles.h (struct objfile): Add objfile_obstack field. | |
4467 | Remove type_obstack field. | |
4468 | ||
4469 | * dwarf2read.c (dwarf2_add_field,dwarf2_add_member_fn, | |
4470 | read_structure_scope read_enumeration, new_symbol): Replace | |
4471 | type_obstack with objfile_obstack. | |
4472 | * dwarfread.c (struct_type, enum_type): Ditto. | |
8a1dac83 | 4473 | * gdbtypes.c (alloc_type, alloc_type_instance, init_type) |
b99607ea EZ |
4474 | (lookup_fundamental_type): Ditto. |
4475 | * gdbtypes.h (TYPE_ALLOC): Ditto. | |
8a1dac83 RM |
4476 | * hpread.c (hpread_read_enum_type, hpread_read_function_type) |
4477 | (hpread_read_doc_function_type, hpread_read_struct_type) | |
4478 | (fix_static_member_physnames, hpread_read_array_type) | |
b99607ea | 4479 | (hpread_read_subrange_type, hpread_type_lookup): Ditto. |
8a1dac83 | 4480 | * jv-lang.c (java_lookup_class, type_from_class, type_from_class) |
b99607ea EZ |
4481 | (java_link_class_type): Ditto. |
4482 | * mdebugread.c (parse_type): Ditto. | |
4483 | * objfiles.c (allocate_objfile, free_objfile): Ditto. | |
4484 | * solib-sunos.c (solib_add_common_symbols): Ditto. | |
4485 | * stabsread.c (define_symbol, read_type, read_member_functions, | |
4486 | read_cpp_abbrev, read_one_struct_field): Ditto. | |
4487 | * symfile.c (reread_symbols): Ditto. | |
4488 | * symmisc.c (print_objfile_statistics): Ditto. | |
8a1dac83 | 4489 | |
2a8854a7 AC |
4490 | 2004-02-07 Andrew Cagney <cagney@redhat.com> |
4491 | ||
4492 | * tui/tui-data.h (tui_win_element): Rename TuiWinElement. | |
4493 | (tui_exec_info_content): Rename TuiExecInfoContent. | |
4494 | (TuiGenWinInfo, TuiGenWinInfoPtr): Delete definitions. | |
4495 | (TuiWinInfo, TuiWinInfoPtr): Ditto. | |
4496 | (TuiScrollDirection, TuiScrollDirectionPtr): Ditto. | |
4497 | (TuiList, TuiListPtr): Ditto. | |
4498 | (TuiLayoutType, TuiLayoutTypePtr): Ditto. | |
4499 | (TuiDataType, TuiDataTypePtr): Ditto. | |
4500 | (TuiRegisterDisplayType, TuiRegisterDisplayTypePtr): Ditto. | |
4501 | (TuiLineOrAddress, TuiLineOrAddressPtr): Ditto. | |
4502 | (TuiLayoutDef, TuiLayoutDefPtr): Ditto. | |
4503 | (TuiSourceElement, TuiSourceElementPtr): Ditto. | |
4504 | (TuiDataElement, TuiDataElementPtr): Ditto. | |
4505 | (TuiWinElement, TuiWinElementPtr): Ditto. | |
4506 | (TuiDataInfo, TuiDataInfoPtr): Ditto. | |
4507 | (TuiCommandElement, TuiCommandElementPtr): Ditto. | |
4508 | (TuiLocatorElement, TuiLocatorElementPtr): Ditto. | |
4509 | (TuiWhichElement, TuiWhichElementPtr): Ditto. | |
4510 | (TuiSourceInfo, TuiSourceInfoPtr): Ditto. | |
4511 | (TuiCommandInfo, TuiCommandInfoPtr): Ditto. | |
4512 | * tui/tui-command.c, tui/tui-data.c: Update references. | |
4513 | * tui/tui-data.h, tui/tui-disasm.c, tui/tui-layout.c: Ditto. | |
4514 | * tui/tui-regs.c, tui/tui-source.c, tui/tui-stack.c: Ditto. | |
4515 | * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto. | |
4516 | * tui/tui-winsource.c, tui/tui.c: Ditto. | |
8a1dac83 | 4517 | |
05cbe71a MK |
4518 | 2004-02-07 Mark Kettenis <kettenis@gnu.org> |
4519 | ||
4520 | * dwarf2-frame.h: Update copyright. | |
4521 | (enum dwarf2_frame_reg_rule): New. | |
4522 | (struct dwarf2_frame_state_reg): New. | |
4523 | (dwarf2_frame_sniffer, dwarf2_frame_base_sniffer): Make extern. | |
4524 | * dwarf2-frame.c: Update copyright. | |
4525 | (enum dwarf2_reg_rule): Remove. | |
4526 | (struct dwarf2_frame_state): Remove defenition of `struct | |
4527 | dwarf2_frame_state_reg'. | |
4528 | (read_reg): Call get_frame_arch to get the architecture instead of | |
4529 | using CURRENT_GDBARCH. | |
4530 | (execute_cfa_program): Prefix old `enum dwarf2_reg_rule' tags with | |
4531 | DWARF2_FRAME_. | |
4532 | (dwarf2_frame_init_reg): New function. | |
4533 | (dwarf2_frame_cache): Call get_frame_arch to get the architecture | |
4534 | instead of using CURRENT_GDBARCH. Call dwarf2_frame_init_reg to | |
4535 | initialize the register state. Prefix old `enum dwarf2_reg_rule' | |
4536 | tags with DWARF2_FRAME_. | |
4537 | (dwarf2_frame_prev_register): Call get_frame_arch to get the | |
4538 | architecture instead of using CURRENT_GDBARCH. Prefix old `enum | |
4539 | dwarf2_reg_rule' tags with DWARF2_FRAME_. | |
4540 | ||
ec7d9e56 AC |
4541 | 2004-02-06 Andrew Cagney <cagney@redhat.com> |
4542 | ||
dd1abb8c AC |
4543 | * tui/tui-data.h (struct tui_list): Rename _TuiList. |
4544 | (enum tui_data_type): Rename _TuiDataType. | |
4545 | (struct tui_layout_def): Rename _TuiLayoutDef. | |
4546 | (struct tui_source_element): Rename _TuiSourceElement. | |
4547 | (struct tui_data_element): Rename _TuiDataElement. | |
4548 | (struct tui_command_element): Rename _TuiCommandElement. | |
4549 | (struct tui_locator_element): Rename _TuiLocatorElement. | |
4550 | (union tui_which_element): Define. | |
4551 | (struct tui_win_element): Rename _TuiWinElement. | |
4552 | (struct tui_data_info): Rename _TuiDataInfo. | |
4553 | (struct tui_source_info): Rename _TuiSourceInfo. | |
4554 | (struct tui_command_info): Rename _TuiCommandInfo. | |
4555 | (tui_initialize_static_data): Rename initializeStaticData. | |
4556 | (tui_alloc_generic_win_info): Rename allocGenericWinInfo. | |
4557 | (tui_alloc_win_info): Rename allocWinInfo. | |
4558 | (tui_init_generic_part): Rename initGenericPart. | |
4559 | (tui_init_win_info): Rename initWinInfo. | |
4560 | (tui_alloc_content): Rename allocContent. | |
4561 | (tui_add_content_elements): Rename addContentElements. | |
4562 | (tui_init_content_element): Rename initContentElement. | |
4563 | (tui_free_window): Rename freeWindow. | |
4564 | (tui_free_win_content): Rename freeWinContent. | |
4565 | (tui_free_data_content): Rename freeDataContent. | |
4566 | (tui_free_all_source_wins_content): Rename | |
4567 | freeAllSourceWinsContent. | |
4568 | (tui_del_window): Rename tuiDelWindow. | |
4569 | (tui_del_data_windows): Rename tuiDelDataWindows. | |
4570 | (tui_partial_win_by_name): Rename partialWinByName. | |
4571 | (tui_win_name): Rename winName. | |
4572 | (tui_current_layout): Rename currentLayout. | |
4573 | (tui_set_current_layout_to): Rename setCurrentLayoutTo. | |
4574 | (tui_term_height): Rename termHeight. | |
4575 | (tui_set_term_height_to): Rename setTermHeightTo. | |
4576 | (tui_term_width): Rename termWidth. | |
4577 | (tui_set_term_width_to): Rename setTermWidthTo. | |
4578 | (tui_set_gen_win_origin): Rename setGenWinOrigin. | |
4579 | (tui_locator_win_info_ptr): Rename locatorWinInfoPtr. | |
4580 | (tui_source_exec_info_win_ptr): Rename tui_gen_win_info. | |
4581 | (tui_disassem_exec_info_win_ptr): Rename disassemExecInfoWinPtr. | |
4582 | (tui_source_windows): Rename sourceWindows. | |
4583 | (tui_clear_source_windows): Rename clearSourceWindows. | |
4584 | (tui_clear_source_windows_detail): Rename | |
4585 | clearSourceWindowsDetail. | |
4586 | (tui_clear_win_detail): Rename clearWinDetail. | |
4587 | (tui_add_to_source_windows): Rename tuiAddToSourceWindows. | |
4588 | (tui_default_tab_len): Rename tuiDefaultTabLen. | |
4589 | (tui_set_default_tab_len): Rename tuiSetDefaultTabLen. | |
4590 | (tui_win_with_focus): Rename tuiWinWithFocus. | |
4591 | (tui_set_win_with_focus): Rename tuiSetWinWithFocus. | |
4592 | (tui_layout_def): Rename tuiLayoutDef. | |
4593 | (tui_win_resized): Rename tuiWinResized. | |
4594 | (tui_set_win_resized_to): Rename tuiSetWinResizedTo. | |
4595 | (tui_next_win): Rename tuiNextWin. | |
4596 | (tui_prev_win): Rename tuiPrevWin. | |
4597 | (tui_add_to_source_windows): Rename addToSourceWindows. | |
4598 | * tui/tui-winsource.c, tui/tui-win.c: Update references. | |
4599 | * tui/tui-layout.c, tui/tui-source.c: Ditto. | |
4600 | * tui/tui-stack.c, tui/tui-io.c: Ditto. | |
4601 | * tui/tui.c, tui/tui-data.c: Ditto. | |
4602 | * tui/tui-interp.c, tui/tui-data.c: Ditto. | |
4603 | * tui/tui-disasm.c, tui/tui-command.c: Ditto. | |
4604 | ||
a358af15 AC |
4605 | * tui/tui-source.h: Update copyright. Include "tui-data.h". |
4606 | (struct symtab): Declare. | |
4607 | (tui_set_source_content): Rename tuiSetSourceContent. | |
4608 | (tui_show_symtab_source): Rename tuiShowSource. | |
4609 | (tui_source_is_displayed): Rename tuiSourceIsDisplayed. | |
4610 | (tui_vertical_source_scroll): Rename tuiVerticalSourceScroll. | |
4611 | * tui/tui-source.c: Update copyright. Update references. | |
4612 | * tui/tui-win.c, tui/tui-winsource.c: Update references. | |
4613 | * tui/tui-stack.c: Update references. | |
4614 | ||
a21fcd8f AC |
4615 | * tui/tui-win.h: Update copyright. Include "tui-data.h". |
4616 | (struct tui_win_info): Declare. | |
4617 | (tui_scroll_forward): Rename tuiScrollForward. | |
4618 | (tui_scroll_backward): Rename tuiScrollBackward. | |
4619 | (tui_scroll_left): Rename tuiScrollLeft. | |
4620 | (tui_scroll_right): Rename tuiScrollRight. | |
4621 | (tui_set_win_focus_to): Rename tuiSetWinFocusTo. | |
4622 | (tui_resize_all): Rename tuiResizeAll. | |
4623 | (tui_refresh_all_win): Rename tuiRefreshAll. | |
4624 | (tui_sigwinch_handler): Rename tuiSigwinchHandler. | |
4625 | * tui/tui-layout.c, * tui/tui-io.c: Update references. | |
4626 | * tui/tui-wingeneral.h, * tui/tui.c: Update references. | |
4627 | * tui/tui-disasm.c, * tui/tui-command.c: Update references. | |
4628 | ||
edae1ccf AC |
4629 | * tui/tui-windata.h: Update copyright. Include "tui-data.h". |
4630 | (tui_erase_data_content): Rename tuiEraseDataContent. | |
4631 | (tui_display_all_data): Rename tuiDisplayAllData. | |
4632 | (tui_check_data_values): Rename tuiCheckDataValues. | |
4633 | (tui_display_data_from_line): Rename tuiDisplayDataFromLine. | |
4634 | (tui_first_data_item_displayed): Rename tuiFirstDataItemDisplayed. | |
4635 | (tui_first_data_element_no_in_line): Rename | |
4636 | tuiFirstDataElementNoInLine. | |
4637 | (tui_delete_data_content_windows): Rename | |
4638 | tuiDeleteDataContentWindows. | |
4639 | (tui_refresh_data_win): Rename tuiRefreshDataWin. | |
4640 | (tui_display_data_from): Rename tuiDisplayDataFrom. | |
4641 | (tui_vertical_data_scroll): Rename tuiVerticalDataScroll. | |
4642 | * tui/tui-windata.c, tui/tui-hooks.c: Update references. | |
4643 | * tui/tui-win.c, tui/tui-regs.c: Update references. | |
4644 | * tui/tui-layout.c, tui/tui.c: Update references. | |
4645 | ||
ec7d9e56 AC |
4646 | * tui/tui-wingeneral.h: Update copyright. |
4647 | (m_allBeVisible): Delete macro. | |
8a1dac83 | 4648 | (m_allBeInvisible): Delete macro. |
ec7d9e56 AC |
4649 | (struct tui_gen_win_info): Declare. |
4650 | (struct tui_win_info): Declare. | |
4651 | (tui_unhighlight_win): Rename unhighlightWin. | |
4652 | (tui_make_visible, tui_make_invisible): Replace makeVisible. | |
4653 | (tui_make_all_visible, tui_make_all_invisible): Replace makeAllVisible. | |
4654 | (tui_make_window): Rename makeWindow. | |
4655 | (tui_copy_win): Rename copyWin. | |
4656 | (tui_box_win): Rename boxWin. | |
4657 | (tui_highlight_win): Rename highlightWin. | |
4658 | (tui_check_and_display_highlight_if_needed): Rename | |
4659 | checkAndDisplayHighlightIfNeeded. | |
4660 | (tui_refresh_all): Rename refreshAll. | |
4661 | (tui_delete_win): Rename tuiDelwin. | |
4662 | (tui_refresh_win): Rename tuiRefreshWin. | |
4663 | * tui/tui-wingeneral.c (make_visible): Rename makeVisible. | |
4664 | (tui_make_visible, tui_make_invisible): New functions. | |
4665 | (tui_make_all_visible, tui_make_all_invisible): New functions. | |
4666 | (make_all_visible): Rename makeAllVisible. | |
4667 | * tui/tui-winsource.c, tui/tui-windata.c: Update references. | |
4668 | * tui/tui-data.c, tui/tui-winsource.c: Update references. | |
4669 | * tui/tui-windata.c, tui/tui-win.c: Update references. | |
4670 | * tui/tui-regs.c, tui/tui-layout.c: Update references. | |
4671 | * tui/tui-data.h (struct tui_gen_win_info): Rename _TuiGenWinInfo. | |
4672 | ||
1e52e2eb MK |
4673 | 2004-02-06 Mark Kettenis <kettenis@gnu.org> |
4674 | ||
4675 | * proc-api.c (write_with_trace): Initialize local variable to | |
4676 | silence compiler warning. | |
4677 | ||
f80bda8e AC |
4678 | 2004-02-06 Andrew Cagney <cagney@redhat.com> |
4679 | ||
4680 | * tui/tui-source.h: Do not include "defs.h". | |
4681 | (struct tui_win_info): Declare. | |
4682 | (tui_set_source_content_nil): Declare. | |
4683 | * tui/tui-data.h (struct tui_win_info): Rename _TuiWinInfo. | |
4684 | (union tui_line_or_address): Rename _TuiLineOrAddress. | |
4685 | * tui/tui-winsource.h: Update copyright. Include "tui-data.h". | |
4686 | (tui_update_source_window): Rename tuiUpdateSourceWindow. | |
4687 | (tui_update_source_window_as_is): Rename | |
4688 | tuiUpdateSourceWindowAsIs. | |
4689 | (tui_update_source_windows_with_addr): Rename | |
4690 | tuiUpdateSourceWindowsWithAddr. | |
4691 | (tui_update_source_windows_with_line): Rename | |
4692 | tuiUpdateSourceWindowsWithLine. | |
4693 | (tui_clear_source_content): Rename tuiClearSourceContent. | |
4694 | (tui_erase_source_content): Rename tuiEraseSourceContent. | |
4695 | (tui_set_source_content_nil): Rename tuiSetSourceContentNil. | |
4696 | (tui_show_source_content): Rename tuiShowSourceContent. | |
4697 | (tui_horizontal_source_scroll): Rename tuiHorizontalSourceScroll. | |
4698 | (tui_set_exec_info_content): Rename tuiSetExecInfoContent. | |
4699 | (tui_show_exec_info_content): Rename tuiShowExecInfoContent. | |
4700 | (tui_erase_exec_info_content): Rename tuiEraseExecInfoContent. | |
4701 | (tui_clear_exec_info_content): Rename tuiClearExecInfoContent. | |
4702 | (tui_update_exec_info): Rename tuiUpdateExecInfo. | |
4703 | (tui_set_is_exec_point_at): Rename tuiSetIsExecPointAt. | |
4704 | (tui_alloc_source_buffer): Rename tuiAllocSourceBuffer. | |
4705 | (tui_line_is_displayed): Rename tuiLineIsDisplayed. | |
4706 | (tui_addr_is_displayed): Rename tuiAddrIsDisplayed. | |
4707 | (struct tui_win_info): Declare. | |
4708 | * tui/tui-stack.c: Update references. | |
4709 | * tui/tui-layout.c, tui/tui-winsource.c: Ditto. | |
4710 | * tui/tui-win.c, tui/tui-source.c: Ditto. | |
4711 | * tui/tui.c, tui/tui-disasm.c: Ditto. | |
4712 | ||
9fbfb822 MK |
4713 | 2004-02-06 Mark Kettenis <kettenis@gnu.org> |
4714 | ||
4715 | * i386-linux-tdep.c (i386_linux_sigcontext_addr): Fix calculation | |
4716 | of UCONTEXT_ADDR. Fixes PR backtrace/1545. | |
4717 | ||
03cebad2 MK |
4718 | 2004-02-05 Mark Kettenis <kettenis@gnu.org> |
4719 | ||
4720 | * infrun.c (handle_inferior_event): Allow for breakpoint | |
4721 | instructions to generate a SIGSEGV in addition to SIGTRAP, SIGILL | |
4722 | and SIGEMT. Update comments. | |
4723 | * NEWS (Revised SPARC target): Mention support for non-executable | |
4724 | stack. | |
4725 | ||
290281b1 MK |
4726 | 2004-02-04 Mark Kettenis <kettenis@gnu.org> |
4727 | ||
4728 | * target.h (target_object): Add TARGET_OBJECT_WCOOKIE. | |
4729 | * inftarg.c: Update copyright year. | |
4730 | (child_xfer_partial): Add support for TARGET_OBJECT_WCOOKIE. | |
4731 | * sparc-nat.c: Include "target.h" and "gdb_assert.h". | |
4732 | (sparc_xfer_wcookie): New function. | |
4733 | * sparc-tdep.c (sparc_fetch_wcookie): New function. | |
4734 | * Makefile.in (sparc-nat.o): Update dependencies. | |
4735 | * config/sparc/nm-nbsd.h: Include "target.h". | |
4736 | (NATIVE_XFER_WCOOKIE): New define. | |
4737 | (sparc_xfer_wcookie): New prototype. | |
4738 | ||
212161df AC |
4739 | 2004-02-04 Andrew Cagney <cagney@redhat.com> |
4740 | ||
4741 | * m68k-tdep.c (m68k_saved_pc_after_call): Delete #ifdef | |
4742 | SYSCALL_TRAP function. | |
4743 | (m68k_gdbarch_init): Delete #ifdef SYSCALL_TRAP code. | |
4744 | ||
6e4c6c91 DJ |
4745 | 2004-02-04 Andrew Cagney <cagney@redhat.com> |
4746 | Daniel Jacobowitz <drow@mvista.com> | |
4747 | ||
4748 | * objfiles.h: Delete comments refering to inside_entry_func and | |
4749 | DEPRECATED_FRAME_CHAIN_VALID. | |
4750 | * defs.h (inside_entry_func): Update prototype.. | |
4751 | * blockframe.c (inside_entry_func): Rename to | |
4752 | legacy_inside_entry_func. Add new inside_entry_func taking a frame. | |
4753 | * frame.c (get_prev_frame): Pass the frame to inside_entry_func. | |
4754 | ||
cae688ec JJ |
4755 | 2004-02-03 Jeff Johnston <jjohnstn@redhat.com> |
4756 | ||
4757 | * breakpoint.c (struct captured_parse_breakpoint_args): Move | |
4758 | outside of #ifdef SOLIB_ADD region. | |
4759 | (do_restore_lang_radix_cleanup): Ditto. | |
4760 | (resolve_pending_breakpoint): Ditto. | |
4761 | ||
19217676 AC |
4762 | 2004-02-03 Andrew Cagney <cagney@redhat.com> |
4763 | ||
4764 | * ia64-tdep.c (read_sigcontext_register): Delete unused function. | |
4765 | (process_note_abi_tag_sections): Delete unused function. | |
4766 | (ia64_read_fp): Delete unused function. | |
4767 | (gdbarch_extract_struct_value_address): Delete declaration. | |
4768 | ||
876753be AC |
4769 | 2004-02-02 Andrew Cagney <cagney@redhat.com> |
4770 | ||
4771 | * vax-tdep.c (vax_frame_chain): Delete call to | |
4772 | deprecated_inside_entry_file. | |
4773 | * ns32k-tdep.c (ns32k_frame_chain): Ditto. | |
4774 | ||
d4f10bf2 MK |
4775 | 2004-02-02 Mark Kettenis <kettenis@gnu.org> |
4776 | ||
4777 | * dwarf2-frame.c (dwarf2_frame_cache): Deal with a return address | |
4778 | column that's "empty" or "same value" when eliminating REG_RA | |
4779 | rules. | |
4780 | ||
cae688ec JJ |
4781 | 2004-02-02 Jeff Johnston <jjohnstn@redhat.com> |
4782 | ||
4783 | * NEWS: Add information about new pending breakpoint support. | |
4784 | ||
0101ce28 JJ |
4785 | 2004-02-02 Jeff Johnston <jjohnstn@redhat.com> |
4786 | ||
4787 | * breakpoint.h (struct breakpoint): Add new flag, from_tty, | |
4788 | and pending fields for pending breakpoint support. | |
4789 | * breakpoint.c (breakpoint_enabled): Add check for not pending. | |
4790 | (condition_command): Only parse condition if not a pending | |
4791 | breakpoint. | |
4792 | (print_one_breakpoint): Add support for pending breakpoints. | |
4793 | (describe_other_breakpoints): Add checks to verify we are not | |
4794 | dealing with pending breakpoints. | |
4795 | (check_duplicates): Don't check pending breakpoints. | |
4796 | (set_raw_breakpoint): Initialize pending flag. | |
4797 | (do_restore_lang_radix_cleanup): New cleanup routine. | |
4798 | (resolve_pending_breakpoint): New function. | |
4799 | (re_enable_breakpoints_in_shlibs): Try and resolve any | |
4800 | pending breakpoints via resolve_pending_breakpoint. | |
4801 | (mention): Add pending breakpoint support. | |
4802 | (parse_breakpoint_sals): Add new parameter to pass to | |
4803 | decode_line_1 to indicate silent errors when files or functions | |
4804 | are not found. Change all callers. | |
4805 | (do_captured_parse_breakpoint): New function. | |
4806 | (break_command_1): Change prototype to return an rc value and to | |
4807 | take an optional pending breakpoint pointer. Support creating | |
4808 | a pending breakpoint if a "not found" form of error occurs when | |
4809 | parsing the breakpoint. Also support resolving an existing pending | |
4810 | breakpoint and be silent if the resolution fails. | |
4811 | (create_breakpoints): Change prototype to take pending breakpoint | |
4812 | pointer. When resolving a pending breakpoint, use the new pointer | |
4813 | to provide a conditional or commands added by the end-user. | |
4814 | (delete_breakpoint): Add appropriate check for pending. | |
4815 | (breakpoint_re_set_one): Ditto. | |
4816 | (do_enable_breakpoint): Ditto. | |
4817 | ||
8d577d32 DC |
4818 | 2004-02-02 David Carlton <carlton@kealia.com> |
4819 | ||
4820 | * valops.c (enum oload_classification): New. | |
4821 | (find_overload_match): Break implementation into separate | |
4822 | functions; delete #if 0'd code; look for symbols within | |
4823 | namespaces. | |
4824 | (find_oload_champ_namespace,find_oload_champ_namespace_loop) | |
4825 | (find_oload_champ,oload_method_static,classify_oload_match): New. | |
4826 | * cp-support.h: Add declaration for cp_func_name; update | |
4827 | declaration for make_symbol_overload_list. | |
4828 | * cp-support.c (cp_func_name): New. | |
4829 | (overload_list_add_symbol): Fix comment, use | |
4830 | SYMBOL_LINKAGE_NAME and SYMBOL_NATURAL_NAME. | |
4831 | (make_symbol_overload_list): Take a function name and a namespace | |
4832 | instead of a symbol; change implementation. | |
4833 | (make_symbol_overload_list_using): New. | |
4834 | (make_symbol_overload_list_qualified, read_in_psymtabs): New. | |
4835 | ||
22e8e3c7 FF |
4836 | 2004-02-02 Fred Fish <fnf@redhat.com> |
4837 | ||
4838 | * main.c (gdb_stdtarg): Move definition to group with other | |
15390fef | 4839 | gdb_stdtarg definitions and update copyright years. |
22e8e3c7 FF |
4840 | * remote-sim.c (gdb_os_write_stderr): Write output to |
4841 | gdb_stdtargerr stream instead of gdb_stdtarg stream. | |
4842 | (gdb_os_flush_stderr): Flush gdb_stdtargerr steam instead of | |
15390fef | 4843 | gdb_stderr stream and update copyright years. |
22e8e3c7 | 4844 | |
6b753f60 DJ |
4845 | 2004-02-01 Daniel Jacobowitz <drow@mvista.com> |
4846 | ||
4847 | * Makefile.in (mips-linux-nat.o): Update dependencies. | |
4848 | * mips-linux-nat.c: Include mips-tdep.h. | |
4849 | ||
4850 | 2004-02-01 Roland McGrath <roland@redhat.com> | |
2cb6b099 RM |
4851 | |
4852 | * sol-thread.c (sol_thread_xfer_partial): New function. | |
4853 | (init_sol_thread_ops): Use that for to_xfer_partial hook. | |
4854 | (init_sol_core_ops): Likewise. | |
4855 | ||
4856 | * procfs.c (procfs_xfer_partial): New function. | |
4857 | (init_procfs_ops): Use that for procfs_ops.to_xfer_partial. | |
4858 | * Makefile.in (procfs.o): Add $(auxv_h) dep. | |
4859 | ||
4860 | * config/nm-linux.h (NATIVE_XFER_AUXV): New macro, uses auxv.c's | |
4861 | procfs_xfer_auxv function. | |
4862 | ||
4863 | * procfs.c (procfs_make_note_section): If we can read | |
4864 | TARGET_OBJECT_AUXV data, add an NT_AUXV note containing it. | |
4865 | * linux-proc.c (linux_make_note_section): Likewise. | |
4866 | ||
4867 | * auxv.h: New file. | |
4868 | * auxv.c: New file. | |
4869 | * Makefile.in (auxv_h): New variable. | |
4870 | (COMMON_OBS): Add auxv.o here. | |
4871 | (auxv.o): New target. | |
4872 | ||
4873 | * corelow.c (core_xfer_partial): New function. | |
4874 | (init_core_ops): Use it for core_ops.to_xfer_partial. | |
4875 | ||
4876 | * target.h (enum target_object): Add TARGET_OBJECT_AUXV. | |
4877 | * inftarg.c (child_xfer_partial): Support it using NATIVE_XFER_AUXV | |
4878 | macro if that is defined. | |
4879 | ||
fa5281d0 DJ |
4880 | 2004-02-01 Daniel Jacobowitz <drow@mvista.com> |
4881 | ||
4882 | * breakpoint.c (bpstat_stop_status): Take a ptid_t argument, | |
4883 | and check the specified thread for each breakpoint. | |
4884 | * breakpoint.h (bpstat_stop_status): Update prototype. | |
4885 | * infrun.c (handle_inferior_event): Update calls to | |
4886 | bpstat_stop_status. | |
4887 | ||
26ee262d DJ |
4888 | 2004-02-01 Daniel Jacobowitz <drow@mvista.com> |
4889 | ||
4890 | * Makefile.in (cli-cmds.o): Add $(readline_h). | |
4891 | ||
d9b52655 DJ |
4892 | 2004-02-01 Daniel Jacobowitz <drow@mvista.com> |
4893 | ||
4894 | * cli/cli-cmds.c: Include readline.h. | |
4895 | (complete_command): Pass the start of the last word to | |
4896 | complete_line. | |
4897 | ||
9709f61c DJ |
4898 | 2004-01-31 Daniel Jacobowitz <drow@mvista.com> |
4899 | ||
4900 | * breakpoint.c (bpstat_stop_status): Remove not_a_sw_breakpoint | |
4901 | argument, and change first argument to a CORE_ADDR. | |
4902 | * breakpoint.h (bpstat_stop_status): Update prototype. | |
4903 | * infrun.c (adjust_pc_after_break): Add a new comment. | |
4904 | (handle_inferior_event): Update calls to bpstat_stop_status. | |
4905 | ||
4f1280bb DJ |
4906 | 2004-01-31 Daniel Jacobowitz <drow@mvista.com> |
4907 | ||
4908 | * breakpoint.h: Update copyright years. | |
4909 | ||
4fa8626c DJ |
4910 | 2004-01-31 Daniel Jacobowitz <drow@mvista.com> |
4911 | ||
4912 | * breakpoint.c (software_breakpoint_inserted_here_p): New function. | |
4913 | (bpstat_stop_status): Don't decrement PC. | |
4914 | * breakpoint.h (software_breakpoint_inserted_here_p): Add | |
4915 | prototype. | |
4916 | * infrun.c (adjust_pc_after_break): New function. | |
4917 | (handle_inferior_event): Call it, early. Remove later references | |
4918 | to DECR_PC_AFTER_BREAK. | |
4919 | (normal_stop): Add commentary. | |
4920 | ||
fad0733a DJ |
4921 | 2004-01-31 Daniel Jacobowitz <drow@mvista.com> |
4922 | ||
4923 | * breakpoint.c (breakpoint_re_set_one): Add missing chunk of | |
4924 | 2004-01-27 double-free fix. | |
4925 | ||
42cdca6c MK |
4926 | 2004-01-31 Mark Kettenis <kettenis@gnu.org> |
4927 | ||
4928 | * sparc-tdep.c (sparc_fetch_wcookie): New function. | |
4929 | (sparc32_frame_prev_register): Handle StackGhost. | |
4930 | (sparc_supply_rwindow, sparc_collect_rwindow): Likewise. | |
4931 | ||
932d5416 RM |
4932 | 2004-01-29 Roland McGrath <roland@redhat.com> |
4933 | ||
4934 | * configure.in (NEW_PROC_API): Also match solaris2.9 for this test. | |
4935 | * configure: Regenerated. | |
4936 | ||
4937 | * procfs.c: Include gdb_string.h for str* decls, otherwise warnings. | |
4938 | * Makefile.in (procfs.o): Add dep. | |
4939 | ||
47d3492a AC |
4940 | 2004-01-28 Andrew Cagney <cagney@redhat.com> |
4941 | ||
4942 | * tui/tui-stack.h: Update copyright. | |
4943 | (struct frame_info): Add opaque declaration. | |
4944 | (tui_update_locator_filename): Rename tuiUpdateLocatorFilename. | |
4945 | (tui_show_locator_content): Rename tuiShowLocatorContent. | |
4946 | (tui_show_frame_info): Rename tuiShowFrameInfo. | |
4947 | * tui/tui-stack.c: Update copyright. Update references. | |
4948 | * tui/tui-winsource.c: Update references. | |
4949 | * tui/tui-win.c: Update references. | |
4950 | * tui/tui-layout.c: Update references. | |
4951 | * tui/tui-hooks.c: Update copyright, update references. | |
4952 | * tui/tui.c: Update copyright, update references. | |
4953 | * tui/tui-disasm.c: Update references. | |
4954 | ||
5d51ca54 DC |
4955 | 2004-01-28 David Carlton <carlton@kealia.com> |
4956 | ||
4957 | * dwarf2read.c (add_partial_structure): Use demangled name if | |
4958 | namespace equals "". | |
4959 | ||
086ed43d JB |
4960 | 2004-01-27 Jim Blandy <jimb@redhat.com> |
4961 | ||
4962 | Clean up misapplied patch: | |
4963 | * dwarf2read.c (determine_prefix): Change one of the two forward | |
4964 | declarations for 'determine_prefix_aux' to a declaration for this. | |
4965 | (read_func_scope): Use cu->language, not cu_language. Pass 'cu' | |
4966 | argument to 'die_specification'. | |
4967 | ||
2a35147e JB |
4968 | * dwarf2read.c (read_func_scope): Re-indent comment. |
4969 | ||
a355c7de | 4970 | 2004-01-27 Paul N. Hilfinger <hilfinger@gnat.com> |
932d5416 | 4971 | |
a355c7de AC |
4972 | * breakpoint.c (breakpoint_re_set_one): Set b->cond, b->val, and |
4973 | b->exp to NULL after freeing so that error during re-parsing or | |
4974 | evaluation of expressions associated with breakpoint don't | |
4975 | eventually lead to re-freeing of storage. | |
4976 | Committed by Andrew Cagney. | |
4977 | ||
63ff5125 AC |
4978 | 2004-01-27 Andrew Cagney <cagney@redhat.com> |
4979 | ||
4980 | * source.c (ambiguous_line_spec): Delete undefined declaration. | |
4981 | * m32r-rom.c (m32r_set_board_address): Delete unused function. | |
4982 | (m32r_set_server_address, m32r_set_download_path): Ditto. | |
4983 | * remote-fileio.c (remote_fileio_to_fio_int): Ditto. | |
4984 | ||
e142c38c DJ |
4985 | 2004-01-27 Daniel Jacobowitz <drow@mvista.com> |
4986 | ||
4987 | * dwarf2read.c: Update calls to changed and renamed functions, and | |
4988 | references to moved variables. | |
4989 | ||
4990 | (struct dwarf2_cu): Add first_fn, last_fn, cached_fn, | |
4991 | language, language_defn, list_in_scope, and ftypes members. | |
4992 | (cu_first_fn, cu_last_fn, cu_cached_fn, cu_language) | |
4993 | (cu_language_defn, list_in_scope, ftypes, cu_header_offset) | |
4994 | (baseaddr): Remove globals. | |
4995 | ||
4996 | (dwarf_attr): Renamed to dwarf2_attr. Add CU argument. | |
4997 | (set_cu_language, die_is_declaration, die_specification) | |
4998 | (determine_prefix, determin_prefix_aux, class_name, namespace_name) | |
4999 | (dwarf2_linkage_name, dwarf2_name, dwarf2_extension) | |
5000 | (dwarf2_get_ref_die_offset, dwarf2_fundamental_type) | |
5001 | (initialize_cu_func_list, add_to_cu_func_list): Add CU argument. | |
5002 | ||
5003 | (dwarf2_build_psymtabs_hard): Add local baseaddr. Initialize | |
5004 | cu.list_in_scope. Don't initialize cu_header_offset. | |
5005 | (add_partial_symbol): Add local baseaddr. | |
5006 | (psymtab_to_symtab_1): Add local baseaddr. Use | |
5007 | objfile->section_offsets for consistency. Don't initialize | |
5008 | cu_header_offset; do initialize cu.header.offset and | |
5009 | cu.list_in_scope. | |
5010 | (read_file_scope, read_func_scope, read_lexical_block_scope) | |
5011 | (dwarf_decode_lines, new_symbol): Add local baseaddr. | |
5012 | ||
c6e06ede MC |
5013 | 2004-01-27 Michael Chastain <mec.gnu@mindspring.com> |
5014 | ||
fb328ecc | 5015 | * PROBLEMS: Add gdb/1516. |
c6e06ede | 5016 | |
48184fd4 AC |
5017 | 2003-12-29 Robert Millan <robertmh@gnu.org> |
5018 | ||
5019 | Patch committed by Andrw Cagney. | |
5020 | * configure.host: Match knetbsd*-gnu and kfreebsd*-gnu. | |
5021 | * configure.tgt: Match knetbsd*-gnu. | |
5022 | ||
c1321b30 AC |
5023 | 2004-01-26 Andrew Cagney <cagney@redhat.com> |
5024 | ||
f3699be3 AC |
5025 | * breakpoint.c (catch_command_1): Delete #ifdef code. |
5026 | (catch_fork_command_1): Delete #ifdef wrapper. | |
5027 | (catch_exec_command_1): Ditto. | |
5028 | (catch_load_command_1): Ditto. | |
5029 | (catch_unload_command_1): Ditto. | |
5030 | ||
c1321b30 AC |
5031 | * breakpoint.c (watchpoint_check): Delete #if0ed variable. |
5032 | (catch_breakpoint): Delete #if0ed function. | |
5033 | (disable_catch_breakpoint): Ditto. | |
5034 | (delete_catch_breakpoint, enable_catch_breakpoint): Ditto. | |
5035 | (disable_catch, enable_catch, delete_catch): Ditto. | |
5036 | ||
b4501125 AC |
5037 | 2004-01-26 Andrew Cagney <cagney@redhat.com> |
5038 | ||
5039 | * remote.c (echo_check, quit_flag): Delete variables. | |
5040 | (cisco_kernel_mode): Delete variable. | |
5041 | (minitelnet_return, tty_input, escape_count): Delete variables. | |
5042 | (remote_cisco_mode): Delete variable. | |
5043 | (remote_cisco_open, remote_cisco_close): Delete function. | |
5044 | (remote_cisco_mourn, remote_cisco_wait): Delete function. | |
5045 | (init_remote_cisco_ops): Delete function. | |
5046 | (_initialize_remote): Do not install "remote cisco" code. | |
5047 | (read_frame): Delete cisco specific code. | |
5048 | (remote_info_process): Delete function. | |
5049 | (remote_wait): Delete cisco specific code. | |
5050 | (remote_cisco_section_offsets): Delete function. | |
5051 | (remote_cisco_objfile_relocate): Delete function. | |
5052 | (remote_async_wait): Delete cisco specific code. | |
5053 | (minitelnet, readtty, readsocket): Delete function. | |
5054 | ||
74055713 AC |
5055 | 2004-01-26 Andrew Cagney <cagney@redhat.com> |
5056 | ||
5057 | * gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS): Deprecate. Add | |
5058 | comments mentioning extract_returned_value_address. | |
5059 | * infcmd.c (print_return_value): Update. Add comments on | |
5060 | extract_returned_value_address. | |
5061 | * stack.c (return_command): Add comments on | |
5062 | extract_returned_value_address. | |
5063 | * values.c: Update comment. | |
5064 | * m32r-tdep.c: Update comment. | |
5065 | * sparc-tdep.c: Update comment. | |
5066 | * ia64-tdep.c (ia64_use_struct_convention): Update comment. | |
5067 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
5068 | * sh64-tdep.c (sh64_gdbarch_init): Update. | |
5069 | * sh-tdep.c (sh_gdbarch_init): Update. | |
5070 | * s390-tdep.c (s390_gdbarch_init): Update. | |
5071 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
5072 | * m68klinux-tdep.c (m68k_linux_init_abi): Update. | |
5073 | * m68k-tdep.c (m68k_gdbarch_init): Update. | |
5074 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
5075 | * m32r-tdep.c (m32r_gdbarch_init): Update. | |
5076 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
5077 | * h8300-tdep.c (h8300_gdbarch_init): Update. | |
5078 | * frv-tdep.c (frv_gdbarch_init): Update. | |
5079 | * arm-tdep.c (arm_gdbarch_init): Update. | |
5080 | * alpha-tdep.c (alpha_gdbarch_init): Update. | |
5081 | ||
a67af2b9 AC |
5082 | 2004-01-26 Andrew Cagney <cagney@redhat.com> |
5083 | ||
5084 | * dwarf2loc.c (dwarf_expr_frame_base): Use SYMBOL_OPS instead of | |
5085 | SYMBOL_LOCATION_FUNCS | |
5086 | (dwarf2_loclist_funcs, dwarf2_locexpr_funcs): Change type to | |
5087 | "struct symbol_ops". | |
5088 | * dwarf2loc.h (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Change | |
5089 | type to "struct symbol_ops". | |
5090 | * symtab.h (struct symbol_ops): Rename "struct location_funcs". | |
5091 | (struct symbol): Replace ".aux_value.loc.funcs" and | |
5092 | ".aux_value.loc.baton" with ".ops" and ".aux_value.ptr". | |
5093 | (SYMBOL_OBJFILE): Delete macro. | |
5094 | (SYMBOL_LOCATION_FUNCS): Delete macro. | |
5095 | (SYMBOL_LOCATION_BATON): Update. | |
5096 | * dwarf2read.c (dwarf2_symbol_mark_computed): Set SYMBOL_OPS | |
5097 | intead of SYMBOL_LOCATION_FUNCS. | |
5098 | * ax-gdb.c (gen_var_ref): Ditto. | |
5099 | * printcmd.c (address_info): Ditto. | |
5100 | * findvar.c (read_var_value): Ditto. | |
5101 | (symbol_read_needs_frame): Ditto. | |
5102 | ||
c034e007 AC |
5103 | 2004-01-26 Andrew Cagney <cagney@redhat.com> |
5104 | ||
5105 | * dwarf2read.c (read_func_scope): Document frame-base hack. | |
5106 | ||
bb472c1e MK |
5107 | 2004-01-25 Mark Kettenis <kettenis@gnu.org> |
5108 | ||
5109 | * infcmd.c (print_return_value): Plug memory leak; delete | |
5110 | ui_stream object. Rename argument `structure_return' to | |
5111 | `struct_return'. | |
5112 | ||
c8e737d5 MK |
5113 | 2004-01-25 Mark Kettenis <kettenis@gnu.org> |
5114 | ||
f941662f MK |
5115 | * infcmd.c (print_return_value): Wrap long lines. |
5116 | (finish_command_continuation, finish_command): Remove unused | |
5117 | variable `funcaddr'. Fix some coding-standards problems. | |
5118 | ||
c558d81a | 5119 | * sparc-tdep.c (sparc_regset_from_core_section): Check whether |
d8d65dd3 | 5120 | SECT_SIZE is large enough, not whether it's exactly the right size. |
c558d81a MK |
5121 | (sparc32_gdbarch_init): Initialize TDEP->sizeof_gregset and |
5122 | TDEP->fpregset to zero. | |
5123 | ||
bf1e5861 | 5124 | * sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Also supply the |
c8e737d5 MK |
5125 | floating-point registers for traditional NetBSD core files. |
5126 | (sparc32nbsd_init_abi): Initialize TDEP->sizeof_gregset and | |
5127 | TDEP->sizeof_fpregset here. | |
5128 | ||
4c72d57a MK |
5129 | 2004-01-25 Mark Kettenis <kettenis@gnu.org> |
5130 | ||
566626fa MK |
5131 | * sparc-tdep.h (sparc32nbsd_sigcontext_saved_regs): New prototype. |
5132 | * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): New | |
5133 | function with code split out from | |
5134 | sparc32nbsd_sigcontext_frame_cache. | |
5135 | (sparc32nbsd_sigcontext_frame_cache): Use | |
5136 | sparc32nbsd_sigcontext_saved_regs. | |
5137 | (_initialize_sparc32nbsd_tdep): Don't register OS ABI handler for | |
5138 | OpenBSD. | |
5139 | * sparcobsd-tdep.c: New file. | |
5140 | * Makefile.in (ALLDEPFILES): Add sparcobsd-tdep.c. | |
5141 | (sparcobsd-tdep.o): New dependency. | |
5142 | * configure.tgt (sparc-*-openbsd*): Set gdb_target to obsd. | |
5143 | * config/sparc/obsd.mt: New file. | |
5144 | ||
4c72d57a MK |
5145 | * sparc-tdep.c (sparc32_gdbarch_init): Don't require |
5146 | TDEP->fpregset to be initialized to enable core file register | |
5147 | sets. | |
5148 | ||
7e5e9f88 MK |
5149 | 2004-01-24 Mark Kettenis <kettenis@gnu.org> |
5150 | ||
f0f207fd | 5151 | * sparc64-tdep.h (struct frame_info, struct trad_frame_saved_reg): |
1e067c66 MK |
5152 | Add opaque declarations. |
5153 | (sparc64nbsd_sigcontext_saved_regs): New prototype. | |
5154 | * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): New | |
5155 | function with code split out from | |
5156 | sparc64nbsd_sigcontext_frame_cache. | |
5157 | (sparc64nbsd_sigcontext_frame_cache): Use | |
5158 | sparc64nbsd_sigcontext_saved_regs. | |
5159 | (_initialize_sparc64nbsd_tdep): Don't register OS ABI handler for | |
5160 | OpenBSD. | |
5161 | * sparc64obsd-tdep.c: New file. | |
5162 | * Makefile.in (ALLDEPFILES): Add sparc64obsd-tdep.c. | |
5163 | (sparc64obsd-tdep.o): New dependency. | |
5164 | * configure.tgt (sparc64-*-openbsd*): Set gdb_target to obsd64 and | |
5165 | gdb_osabi to GDB_OSABI_OPENBSD_ELF. | |
5166 | * config/sparc/obsd64.mt: New file. | |
5167 | ||
690668cc MK |
5168 | * sparc-tdep.c (sparc_fetch_instruction): Return zero if we can't |
5169 | read the instruction at PC. | |
5170 | ||
7e5e9f88 MK |
5171 | * sparcnbsd-tdep.c (GDB_OSABI_NETBSD_CORE): Define, based on the |
5172 | value of GDB_OSABI_DEFAULT. | |
5173 | (sparcnbsd_core_osabi_sniffer): Return GDB_OSABI_NETBSD_CORE | |
5174 | instead of GDB_OSABI_NETBSD_AOUT. | |
5175 | ||
68b6dce9 NR |
5176 | 2004-01-24 Nick Roberts <nick@nick.uklinux.net> |
5177 | ||
5178 | * mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-cmds.h: Update | |
5179 | copyright. | |
5180 | ||
080ce8c0 AC |
5181 | 2004-01-23 Andrew Cagney <cagney@redhat.com> |
5182 | ||
5183 | * printcmd.c (display_command): Replace tui_set_display call with | |
5184 | tui_set_layout_for_display_command. | |
5185 | * tui/tui.h (enum tui_win_type): Define. | |
5186 | (tui_set_layout): Delete declaration. | |
5187 | (tui_set_layout_for_display_command): Rename set_tui_layout. | |
5188 | * tui/tui-data.h (enum tui_layout_type): Define. | |
5189 | * tui/tui-layout.h: Update copyright. Include "tui-data.h" and | |
5190 | "tui.h". | |
5191 | (tui_add_win_to_layout): Rename tuiAddWinToLayout. | |
5192 | (tui_default_win_height): Rename tuiDefaultWinHeight. | |
5193 | (tui_default_win_viewport_height): Rename | |
5194 | tuiDefaultWinViewportHeight. | |
5195 | (tui_set_layout): RenametuiSetLayout. | |
5196 | * tui/tui-layout.c: Update references. | |
5197 | * tui/tui.c: Update references. | |
5198 | * tui/tui-disasm.c: Update references. | |
5199 | ||
b368761e DC |
5200 | 2004-01-23 David Carlton <carlton@kealia.com> |
5201 | ||
5202 | Partial workaround for PR c++/1511: | |
5203 | * cp-namespace.c: Include frame.h. | |
5204 | (cp_lookup_transparent_type): New | |
5205 | (cp_lookup_transparent_type_loop): New. | |
5206 | * cp-support.h: Declare cp_lookup_transparent_type. | |
5207 | * symtab.c (basic_lookup_transparent_type): Renamed from | |
5208 | lookup_transparent_type. | |
5209 | (lookup_transparent_type): Replace old body by a call to | |
5210 | current_language->la_lookup_transparent_type. | |
5211 | * symtab.h: Update copyright. Declare | |
5212 | basic_lookup_transparent_type. | |
5213 | * language.h: Update copyright. | |
5214 | (struct language_defn): Add la_lookup_transparent_type. | |
5215 | * language.c: Update copyright. | |
5216 | (unknown_language_defn): Add basic_lookup_transparent_type. | |
5217 | (auto_language_defn): Add basic_lookup_transparent_type. | |
5218 | (local_language_defn): Add basic_lookup_transparent_type. | |
5219 | * ada-lang.c: Update copyright. | |
5220 | (ada_language_defn): Add basic_lookup_transparent_type. | |
5221 | * c-lang.c: Update copyright. | |
5222 | (c_language_defn): Add basic_lookup_transparent_type. | |
5223 | (cplus_language_defn): Add basic_lookup_transparent_type. | |
5224 | (asm_language_defn): Add basic_lookup_transparent_type. | |
5225 | (minimal_language_defn): Add basic_lookup_transparent_type. | |
5226 | * f-lang.c: Update copyright. | |
5227 | (f_language_defn): Add basic_lookup_transparent_type. | |
5228 | * jv-lang.c: Update copyright. | |
5229 | (java_language_defn): Add basic_lookup_transparent_type. | |
5230 | * m2-lang.c: Update copyright. | |
5231 | (m2_language_defn): Add basic_lookup_transparent_type. | |
5232 | * objc-lang.c: Update copyright. | |
5233 | (objc_language_defn): Add basic_lookup_transparent_type. | |
5234 | * p-lang.c: Update copyright. | |
5235 | (p_language_defn): Add basic_lookup_transparent_type. | |
5236 | * scm-lang.c: Update copyright. | |
5237 | (scm_language_defn): Add basic_lookup_transparent_type. | |
5238 | * Makefile.in (cp-namespace.o): Depend on frame.h. | |
5239 | ||
fdde2d81 DC |
5240 | 2004-01-23 David Carlton <carlton@kealia.com> |
5241 | ||
5242 | Patch for PR c++/1520: | |
5243 | * dwarf2read.c (read_func_scope): Set processing_current_prefix | |
5244 | properly if we have a specification die. | |
5245 | (determine_prefix_aux): Rename from determine_prefix. | |
5246 | (determine_prefix): Like the old determine_prefix, but never | |
5247 | returns NULL. | |
5248 | ||
5b828b6b TR |
5249 | 2004-01-23 Theodore A. Roth <troth@openavr.org> |
5250 | ||
5251 | * avr-tdep.c: Update copyright. | |
5252 | (avr_iaddr_p): Delete unused function. | |
5253 | (avr_saddr_p): Delete unused function. | |
5254 | ||
a1b8c067 DC |
5255 | 2004-01-23 David Carlton <carlton@kealia.com> |
5256 | ||
5257 | * symfile.c (reread_symbols): Clear objfile->cp_namespace_symtab. | |
5258 | Fix for PR symtab/1534. | |
5259 | ||
f2cab569 MK |
5260 | 2004-01-23 Mark Kettenis <kettenis@gnu.org> |
5261 | ||
5262 | * NEWS (New native configurations): Mention OpenBSD/sparc and | |
5263 | OpenBSD/sparc64. | |
5264 | * configure.tgt: Add sparc-*-openbsd* and sparc64-*-openbsd*. | |
5265 | * configure.host: Likewise. | |
5266 | * sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Register OS ABI | |
5267 | handler for OpenBSD. | |
5268 | * sparc64nbsd-tdep.c (_initialize_sparc64nbsd_tdep): Likewise. | |
5269 | ||
642d8300 MK |
5270 | 2004-01-22 Mark Kettenis <kettenis@gnu.org> |
5271 | ||
89aac506 MK |
5272 | * sparcnbsd-tdep.c (sparcnbsd_core_osabi_sniffer): New function. |
5273 | (_initialize_sparnbsd_tdep): Register sparcnbsd_core_osabi_sniffer. | |
5274 | ||
36662fde MK |
5275 | * ser-pipe.c (pipe_open): Use proper null pointer in execl call. |
5276 | * cli/cli-cmds.c (shell_escape): Likewise. | |
5277 | ||
642d8300 MK |
5278 | * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Recognize |
5279 | OpenBSD .note.openbsd.ident sections. | |
5280 | ||
fae299cd DC |
5281 | 2004-01-22 David Carlton <carlton@kealia.com> |
5282 | ||
5283 | * dwarf2read.c (psymtab_to_symtab_1): Calculate lowpc, highpc via | |
5284 | get_scope_pc_bounds. | |
5285 | (read_file_scope): Ditto. | |
5286 | (get_scope_pc_bounds): New function, produced by extracting code | |
5287 | from the above two functions, consolidating it, and adding support | |
5288 | for DW_TAG_namespace. | |
5289 | ||
a49d618c MK |
5290 | 2004-01-22 Mark Kettenis <kettenis@gnu.org> |
5291 | ||
5292 | * osabi.c (MAX_NOTESZ): New define. | |
5293 | (check_note): New function. | |
5294 | (generic_elf_osabi_sniff_abi_tag_sections): Reorganize code using | |
5295 | check_note. | |
5296 | ||
fe61caab RM |
5297 | 2004-01-21 Roland McGrath <roland@redhat.com> |
5298 | ||
5299 | * MAINTAINERS (write after approval): Add myself. | |
5300 | ||
ec145965 EZ |
5301 | 2004-01-21 Eli Zaretskii <eliz@gnu.org> |
5302 | ||
5303 | * utils.c (init_page_info): Move declarations of `rows' and | |
5304 | `cols' before the __GO32__-specific code. Move the closing brace | |
5305 | outside the #ifdef __GO32__..#endif block. | |
5306 | [__GO32__]: Use `rows' and `cols' to avoid compiler warnings. | |
5307 | ||
877522db PB |
5308 | 2004-01-21 Paul Brook <paul@codesourcery.com> |
5309 | ||
5310 | * infrun.c (handle_inferior_event): Check stop_stack_dummy if handling | |
5311 | BPSTAT_WHAT_CHECK_SHLIBS. | |
5312 | ||
dbf5be1c PB |
5313 | 2004-01-21 Paul Brook <paul@codesourcery.com> |
5314 | ||
5315 | * MAINTAINERS: Add myself to write-after-approval. | |
5316 | ||
81f08b92 AC |
5317 | 2004-01-20 Andrew Cagney <cagney@redhat.com> |
5318 | ||
5a1efed7 AC |
5319 | * ax-gdb.c (print_axs_value): Delete unused function. |
5320 | * jv-lang.c (java_lookup_type): Delete unused function. | |
5321 | * cli/cli-dump.c (dump_filetype): Delete unused function. | |
5322 | * remote-mips.c (remote_mips_insert_hw_breakpoint) | |
5323 | (remote_mips_remove_hw_breakpoint): Delete unused functions. | |
5324 | (mips_getstring): Delete unused function. | |
5325 | (pmon_insert_breakpoint): Delete #if0ed function. | |
5326 | (PMON_MAX_BP): Delete #if0ed MACRO. | |
5327 | (mips_pmon_bp_info): Delete #if0ed variable. | |
5328 | (pmon_remove_breakpoint): Delete #if0ed function. | |
5329 | * monitor.c (monitor_write_even_block): Delete unused function. | |
5330 | (monitor_write_memory_block): Delete #if0ed code. | |
5331 | * dink32-rom.c (dink32_load): Delete unused function. | |
5332 | (_initialize_dink32_rom): Delete #if0ed code. | |
5333 | * d10v-tdep.c (d10v_daddr_p): Delete unused function. | |
5334 | ||
b0a30fce AC |
5335 | * tui/tui-command.c: Update references. |
5336 | * tui/tui-io.c: Update references. | |
5337 | * tui/tui-command.h: Update copyright. | |
5338 | (tui_dispatch_ctrl_char): Rename tuiDispatchCtrlChar. | |
5339 | ||
81f08b92 AC |
5340 | * source.c (ambiguous_line_spec): Delete never-defined function. |
5341 | * remote-rdi.c (arm_rdi_mourn, arm_rdi_send): Ditto. | |
5342 | * gdbtypes.c (add_name, add_mangled_type): Ditto. | |
5343 | * cli/cli-cmds.c (validate_comname): Ditto. | |
5344 | ||
65f05602 AC |
5345 | * tui/tui-disasm.h: Update copyright. Include "tui.h" and |
5346 | "tui-data.h". | |
5347 | (tui_set_disassem_content): Rename tuiSetDisassemContent. | |
5348 | (tui_show_disassem): Rename tuiShowDisassem. | |
5349 | (tui_show_disassem_and_update_source): Rename | |
5350 | tuiVerticalDisassemScroll. | |
5351 | (tui_vertical_disassem_scroll): Rename tuiVerticalDisassemScroll. | |
5352 | (tui_get_begin_asm_address): Rename tuiGetBeginAsmAddress. | |
5353 | * tui/tui.h: Update copyright. | |
5354 | (enum tui_status): Define. | |
5355 | * tui/tui-data.h (enum tui_scroll_direction): Define. | |
5356 | * tui/tui-disasm.c: Update copyright. Update references. | |
5357 | * tui/tui-winsource.c: Update copyright. Update references. | |
5358 | * tui/tui-win.c: Update references. | |
5359 | * tui/tui-layout.c: Update references. | |
5360 | ||
6bb0384f AC |
5361 | 2004-01-20 Andrew Cagney <cagney@redhat.com> |
5362 | ||
5363 | * mi/mi-cmd-stack.c (list_args_or_locals): Move declaration of | |
5364 | sym2 to start of block. | |
5365 | ||
9175c9a3 MC |
5366 | 2004-01-19 Michael Chastain <mec.gnu@mindspring.com> |
5367 | ||
5368 | * MAINTAINERS: Delete mmalloc. | |
5369 | * Makefile.in: Delete MMALLOC, MMALLOC_CFLAGS, -lmmalloc, mmalloc_h. | |
5370 | * NEWS: Mention removal of --with-malloc. | |
5371 | * acconfig.h: Delete USE_MMALLOC, MMCHECK_FORCE. | |
5372 | * config.in: Regenerate. | |
5373 | * configure: Regenerate. | |
6bb0384f AC |
5374 | * configure.in: Delete MMALLOC_CFLAGS, MMALLOC, --with-mmalloc, |
5375 | USE_MMALLOC, MMCHECK_FORCE. | |
9175c9a3 MC |
5376 | * gdbinit.in: Remove mmalloc. |
5377 | * utils.c: Delete USE_MMALLOC, NO_MMCHECK, MMCHECK_FORCE, malloc_botch. | |
5378 | * config/alpha/alpha-linux.mh: Delete MMALLOC, MMALLOC_CFLAGS. | |
5379 | * config/i386/go32.mh: Likewise. | |
5380 | * config/i386/interix.mh: Likewise. | |
5381 | * config/powerpc/xm-linux.h: Delete MMAP_BASE_ADDRESS, MMAP_INCREMENT. | |
5382 | ||
4fcef00a JJ |
5383 | 2004-01-19 Jeff Johnston <jjohnstn@redhat.com> |
5384 | ||
5385 | * linespec.c (decode_variable, symtab_from_filename): Call | |
5386 | error_silent with error message instead of throwing an exception | |
5387 | directly. | |
5388 | * defs.h (error_silent, error_output_message): Add prototypes. | |
5389 | (catch_exceptions_with_msg): Ditto. | |
5390 | * utils.c (error_silent, error_output_message): New functions. | |
5391 | * top.c (catch_exceptions_with_msg): New function. | |
5392 | ||
8e94b928 NR |
5393 | 2004-01-20 Nick Roberts <nick@nick.uklinux.net> |
5394 | ||
5395 | * mi/mi-cmds.h (enum print_values): Add definition. | |
5396 | ||
5397 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Print the name, | |
5398 | type and value for simple data types and just the name and type | |
5399 | for complex ones, if required. | |
5400 | ||
5401 | * mi/mi-cmd-var.c (mi_cmd_var_list_children): Print the values of the | |
5402 | children, if required. | |
5403 | ||
a02d6af8 KB |
5404 | 2004-01-19 Kevin Buettner <kevinb@redhat.com> |
5405 | ||
5406 | * frv-tdep.c (frv_push_arguments, frv_saved_pc_after_call): Delete | |
5407 | unused declarations. | |
5408 | ||
78a4a9b9 AC |
5409 | 2004-01-19 Andrew Cagney <cagney@redhat.com> |
5410 | ||
5411 | * top.h (mapped_symbol_files): Delete declaration. | |
5412 | * main.c (captured_main): Delete option "m" and "mapped". | |
5413 | * objfiles.c (mapped_symbol_files): Delete variable. | |
5414 | * symfile.c (symbol_file_command): Delete mmap code. | |
5415 | (symbol_file_add_with_addrs_or_offsets): Ditto. | |
5416 | (add_symbol_file_command, reread_separate_symbols): Ditto. | |
5417 | * objfiles.h (OBJF_MAPPED): Delete. | |
5418 | * objfiles.c (allocate_objfile) [USE_MMALLOC]: Delete. | |
5419 | (free_objfile) [USE_MMALLOC]: Ditto. | |
5420 | (open_existing_mapped_file): Delete function. | |
5421 | (open_mapped_file): Delete function. | |
5422 | (map_to_file): Delete function. | |
5423 | ||
2dbd5e30 KB |
5424 | 2004-01-19 Kevin Buettner <kevinb@redhat.com> |
5425 | ||
5426 | * infrun.c (step_into_function): Account for possible breakpoint | |
5427 | adjustment when computing ``stop_func_start''. | |
5428 | ||
437b434f KB |
5429 | 2004-01-19 Kevin Buettner <kevinb@redhat.com> |
5430 | ||
5431 | * target.c (default_region_size_ok_for_hw_watchpoint): Compare | |
5432 | the region size against the size of a pointer, not the size of | |
5433 | a register as given by DEPRECATED_REGISTER_SIZE. | |
5434 | ||
55fb0713 AC |
5435 | 2004-01-19 Andrew Cagney <cagney@redhat.com> |
5436 | ||
5437 | * tui/tui-regs.h: Include "tui-data.h". | |
5438 | (tuiFirstRegElementNoInLine): Delete declaration. | |
5439 | (tui_display_registers_from): Rename tuiDisplayRegistersFrom. | |
5440 | (tui_last_regs_line_no): Rename tuiLastRegsLineNo. | |
5441 | (tui_line_from_reg_element_no): Rename tuiLineFromRegElementNo. | |
5442 | (tui_calculate_regs_column_count): Rename | |
5443 | tuiCalculateRegsColumnCount. | |
5444 | (tui_check_register_values): Rename tuiCheckRegisterValues. | |
5445 | (tui_show_registers): Rename tuiShowRegisters. | |
5446 | (tui_display_registers_from_line): Rename | |
5447 | tuiDisplayRegistersFromLine. | |
5448 | (tui_first_reg_element_inline): Rename tuiFirstRegElementInLine. | |
5449 | (tui_toggle_float_regs): Rename tuiToggleFloatRegs. | |
5450 | (tui_first_reg_element_no_inline): Rename | |
5451 | tuiFirstRegElementNoInLine. | |
5452 | * tui/tui-data.h: Update copyright. | |
5453 | (enum tui_register_display_type): Rename _TuiRegisterDisplayType. | |
5454 | * tui/tui-windata.c: Update copyright, update references. | |
5455 | * tui/tui-regs.c: Update copyright, update references. | |
5456 | * tui/tui-win.c: Update copyright, update references. | |
5457 | * tui/tui-layout.c: Update copyright, update references. | |
fe61caab | 5458 | |
cebe9500 AC |
5459 | 2004-01-18 Andrew Cagney <cagney@redhat.com> |
5460 | ||
bcdf1568 AC |
5461 | * tui/tui-io.c: Update copyright. |
5462 | (key_is_end_sequence, key_is_backspace): New functions. | |
5463 | (key_is_command_char, key_is_start_sequence): New function. | |
5464 | (tui_getc): Update references. | |
5465 | * tui/tui-io.h: Update copyright. | |
5466 | (m_tuiStartNewLine): Delete macro. | |
5467 | (m_isBackspace, m_isDeleteChar): Delete macros. | |
5468 | (m_isDeleteLine, m_isDeleteToEol): Delete macros. | |
5469 | (m_isNextPage, m_isPrevPage): Delete macros. | |
5470 | (m_isLeftArrow, m_isRightArrow): Delete macros. | |
5471 | (m_isXdbStyleCommandChar): Delete macro. | |
5472 | (key_is_start_sequence): Declare, replace m_isStartSequence. | |
5473 | (key_is_end_sequence): Declare, replace m_isEndSequence. | |
5474 | (key_is_backspace): Declare ,replace m_isBackspace. | |
5475 | (key_is_command_char): Declare, replace m_isCommandChar. | |
5476 | * tui/tui-command.c: Update copyright. | |
5477 | (tuiDispatchCtrlChar): Update references. | |
5478 | ||
130d87e6 AC |
5479 | * config/djgpp/fnchange.lst: Delete tui/tuiSourceWin.c and |
5480 | tuiSourceWin.h. | |
5481 | ||
d7b2e967 AC |
5482 | * tui/tui-command.c: Rename tui/tuiCommand.c. |
5483 | * tui/tui-command.h: Rename tui/tuiCommand.h. | |
5484 | * tui/tui-data.c: Rename tui/tuiData.c. | |
5485 | * tui/tui-data.h: Rename tui/tuiData.h. | |
5486 | * tui/tui-disasm.c: Rename tui/tuiDisassem.c. | |
5487 | * tui/tui-disasm.h: Rename tui/tuiDisassem.h. | |
5488 | * tui/tui-io.c: Rename tui/tuiIO.c. | |
5489 | * tui/tui-io.h: Rename tui/tuiIO.h. | |
5490 | * tui/tui-layout.c: Rename tui/tuiLayout.c. | |
5491 | * tui/tui-layout.h: Rename tui/tuiLayout.h. | |
5492 | * tui/tui-regs.c: Rename tui/tuiRegs.c. | |
5493 | * tui/tui-regs.h: Rename tui/tuiRegs.h. | |
5494 | * tui/tui-source.c: Rename tui/tuiSource.c. | |
5495 | * tui/tui-source.h: Rename tui/tuiSource.h. | |
5496 | * tui/tui-stack.c: Rename tui/tuiStack.c. | |
5497 | * tui/tui-stack.h: Rename tui/tuiStack.h. | |
5498 | * tui/tui-win.c: Rename tui/tuiWin.c. | |
5499 | * tui/tui-win.h: Rename tui/tuiWin.h. | |
5500 | * tui/tui-windata.c: Rename tui/tuiDataWin.c. | |
5501 | * tui/tui-windata.h: Rename tui/tuiDataWin.h. | |
5502 | * tui/tui-wingeneral.c: Rename tui/tuiGeneralWin.c. | |
5503 | * tui/tui-wingeneral.h: Rename tui/tuiGeneralWin.h. | |
5504 | * tui/tui-winsource.c: Rename tui/tuiSourceWin.c. | |
5505 | * tui/tui-winsource.h: Rename tui/tuiSourceWin.h. | |
5506 | * tui/tui-file.c: Update includes. | |
5507 | * tui/tui-hooks.c: Update includes. | |
5508 | * tui/tui-interp.c: Update includes. | |
5509 | * tui/tui.c: Update includes. | |
5510 | * Makefile.in: Update all tui/ dependencies. | |
5511 | (SUBDIR_TUI_OBS, SUBDIR_TUI_SRCS): Update file names. | |
5512 | ||
b2100910 AC |
5513 | * Makefile.in: Update copyright. Update dependencies. |
5514 | ||
cebe9500 AC |
5515 | * tui/tuiSourceWin.c (tui_update_breakpoint_info): Fix compile |
5516 | problem. | |
5517 | ||
c6f0559b AC |
5518 | 2004-01-18 Andrew Cagney <cagney@redhat.com> |
5519 | ||
43e9390b AC |
5520 | * mn10300-tdep.c (_initialize_mn10300_tdep): Call gdbarch_register |
5521 | instead of register_gdbarch_init. | |
5522 | ||
c6f0559b AC |
5523 | * remote-sds.c (tohex): Delete unused function. Update copyright. |
5524 | * xstormy16-tdep.c (xstormy16_register_virtual_size): Ditto. | |
5525 | * v850-tdep.c (v850_register_virtual_size): Ditto. | |
5526 | * target.c (normal_target_post_startup_inferior): Ditto. | |
5527 | * source.c (ambiguous_line_spec): Ditto. | |
5528 | * remote.c (adapt_remote_get_threadinfo): Ditto. | |
5529 | * mi/mi-out.c (out_field_fmt): Ditto. | |
5530 | * mi/mi-interp.c (mi_interp_read_one_line_hook): Ditto. | |
5531 | (output_control_change_notification): Ditto. | |
5532 | * m68k-tdep.c (m68k_register_byte): Ditto. | |
5533 | (m68k_remote_breakpoint_from_pc): Ditto. | |
5534 | * ui-out.c (init_ui_out_state): Delete unused declaration. | |
5535 | * stabsread.c (search_value): Ditto. | |
5536 | * mi/mi-cmd-env.c (env_cli_command): Ditto. | |
5537 | * maint.c (print_section_table): Ditto. | |
5538 | * infrun.c (set_follow_fork_mode_command): Ditto. | |
5539 | ||
a8504492 MK |
5540 | 2004-01-18 Mark Kettenis <kettenis@gnu.org> |
5541 | ||
5542 | * dwarf2-frame.c (execute_cfa_program): Move DWA_CFA_nop before | |
5543 | DW_CFA_def_cfa_exporession. Add support for | |
5544 | DW_CFA_offset_extendend_sf, DW_CFA_def_cfa_sf and | |
5545 | DW_CFA_def_cfa_offset_sf. This should fix PR backtrace/1391. | |
5546 | ||
0bd8997e AC |
5547 | 2004-01-18 Andrew Cagney <cagney@redhat.com> |
5548 | ||
5549 | * ocd.c: Update copyright. | |
5550 | (bdm_read_register_command): Delete unused function. | |
5551 | (_initialize_remote_ocd): Delete commented out reference. | |
5552 | (get_quoted_char, reset_packet): Delete #if0ed function. | |
5553 | (output_packet, put_quoted_char): Delete #if0ed function. | |
5554 | (stu_put_packet, stu_get_packet): Delete #if0ed function. | |
5555 | (ocd_start_remote): Delete #if0ed code, remove #if1 wrapper. | |
5556 | (BDM_BREAKPOINT): Delete #if0ed macro. | |
5557 | (remote_timeout): Delete #if0ed variable. | |
5558 | ||
31bb40e4 MK |
5559 | 2004-01-18 Mark Kettenis <kettenis@gnu.org> |
5560 | ||
5561 | * Makefile.in (ALLDEPFILES): Remove core-sol2.c. | |
5562 | (core-sol2.o): Remove dependency. | |
5563 | * core-sol2.c: Remove file. | |
5564 | ||
887432a5 AC |
5565 | 2004-01-17 Andrew Cagney <cagney@redhat.com> |
5566 | ||
5567 | * mdebugread.c (compare_blocks): Make addr_diff a LONGEST. | |
5568 | * block.h: Make GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOOCK | |
5569 | enums. | |
5570 | ||
29182b13 DJ |
5571 | 2004-01-17 Daniel Jacobowitz <drow@mvista.com> |
5572 | ||
5573 | * remote.c: Update copyright years. | |
5574 | ||
2963ee1d DJ |
5575 | 2004-01-17 Daniel Jacobowitz <drow@mvista.com> |
5576 | ||
5577 | * remote.c (remote_vcont_resume): Use xstrprintf instead of sprintf. | |
5578 | ||
79d45cd4 AC |
5579 | 2004-01-17 Andrew Cagney <cagney@redhat.com> |
5580 | ||
ee300cd4 AC |
5581 | * mdebugread.c: Update copyright. |
5582 | (parse_symbol): Replace DEPRECATED_STREQ with strcmp. | |
5583 | (parse_type, parse_procedure): Ditto. | |
5584 | (parse_partial_symbols, psymtab_to_symtab_1): Ditto. | |
5585 | ||
fcacc9c2 AC |
5586 | * cris-tdep.c (cris_store_struct_return): Put back accidently |
5587 | deleted function. | |
5588 | ||
79d45cd4 AC |
5589 | * gdbarch.sh: Update copyright year. |
5590 | * gdbarch.h, gdbarch.c: Re-generate. | |
5591 | ||
b263358a DJ |
5592 | 2004-01-17 Daniel Jacobowitz <drow@mvista.com> |
5593 | ||
5594 | Suggested by George Anzinger. | |
5595 | * dwarf2expr.c (execute_stack_op): Fetch the second item from the | |
5596 | correct stack offset. Include unknown opcode numbers in the error | |
5597 | message. | |
5598 | ||
931aecf5 AC |
5599 | 2004-01-17 Andrew Cagney <cagney@redhat.com> |
5600 | ||
5601 | * x86-64-tdep.c (x86_64_init_abi): No need to clear | |
5602 | extract_struct_value_address, i386 does not set it. | |
5603 | * sparc64-tdep.c (sparc64_init_abi): Do not set | |
5604 | extract_struct_value_address, never called. | |
5605 | (sparc64_extract_struct_value_address): Delete function. | |
5606 | * m68hc11-tdep.c: Update copyright. | |
5607 | (m68hc11_gdbarch_init): Delete redundant assignment of | |
5608 | extract_struct_value_address. | |
5609 | * i386-tdep.c: Update copyright. | |
5610 | (i386_gdbarch_init): Do not set extract_struct_value_address, | |
5611 | never called. | |
5612 | (i386_extract_struct_value_address): Delete function. | |
5613 | * sparc-tdep.c (sparc32_gdbarch_init): Do not set | |
5614 | extract_struct_value_address, never called. | |
5615 | (sparc32_extract_struct_value_address): #if 0 function. Add | |
5616 | comments explaining its future. | |
5617 | ||
756fe439 DJ |
5618 | 2004-01-17 Daniel Jacobowitz <drow@mvista.com> |
5619 | ||
5620 | * arm-tdep.c (arm_write_pc): New function. | |
5621 | (arm_gdbarch_init): Call set_gdbarch_write_pc. | |
5622 | ||
e74f0f02 DJ |
5623 | 2004-01-17 Daniel Jacobowitz <drow@mvista.com> |
5624 | ||
5625 | * breakpoint.c (must_shift_inst_regs): Delete. | |
5626 | (bpstat_stop_status): Delete references to DECR_PC_AFTER_HW_BREAK | |
5627 | and SHIFT_INST_REGS. | |
5628 | * infcmd.c (step_1, step_1_continuation): Delete references to | |
5629 | SHIFT_INST_REGS. | |
5630 | * infrun.c (keep_going): Likewise. | |
5631 | * target.h (DECR_PC_AFTER_HW_BREAK): Don't define. | |
5632 | * config/i386/nm-i386.h (DECR_PC_AFTER_HW_BREAK): Likewise. | |
5633 | ||
b6cb9035 AC |
5634 | 2004-01-17 Andrew Cagney <cagney@redhat.com> |
5635 | ||
444a1e2e AC |
5636 | * gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Delete. |
5637 | * gdbarch.h, gdbarch.c: Re-generate. | |
5638 | * infcmd.c (print_return_value): Delete reference to | |
5639 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS. | |
5640 | ||
def7e6ed AC |
5641 | * cris-tdep.c (cris_gdbarch_init): Do not set |
5642 | deprecated_extract_struct_value_address. | |
5643 | ||
07be497a AC |
5644 | * xstormy16-tdep.c: Update copyright. |
5645 | (xstormy16_extract_struct_value_address): Update to current | |
5646 | extract struct value address interface. | |
5647 | (xstormy16_gdbarch_init): Set extract_struct_value_address. | |
5648 | * sh64-tdep.c (sh64_extract_struct_value_address): Update to | |
5649 | current extract struct value address interface. | |
5650 | (sh64_gdbarch_init): Set extract_struct_value_address. | |
5651 | ||
6b4d5c91 AC |
5652 | * cris-tdep.c: Update copyright. |
5653 | (cris_extract_struct_value_address): Delete function. | |
5654 | (struct_return_address): Delete variable. | |
5655 | (cris_store_struct_return): Do not set struct_return_address. | |
5656 | ||
464e0365 AC |
5657 | * mcore-tdep.c: Update copyright. |
5658 | (mcore_extract_struct_value_address): Delete function. Update | |
5659 | comments. | |
5660 | (mcore_gdbarch_init): Update. | |
5661 | * mn10300-tdep.c: Update copyright. | |
5662 | (mn10300_extract_struct_value_address): Delete function. | |
5663 | (mn10300_gdbarch_init): Update. | |
5664 | * v850-tdep.c: Update copyright. | |
5665 | (v850_extract_struct_value_address): Delete. | |
5666 | (v850_gdbarch_init): Update. | |
5667 | * ns32k-tdep.c: Update copyright. | |
5668 | (ns32k_extract_struct_value_address): Delete. | |
5669 | (ns32k_gdbarch_init): Update. | |
5670 | * hppa-tdep.c (hppa_extract_struct_value_address): Delete. | |
5671 | (hppa_gdbarch_init): Update. | |
5672 | * vax-tdep.c: Update copyright. | |
5673 | (vax_extract_struct_value_address): Delete. | |
5674 | (vax_gdbarch_init): Update. | |
5675 | ||
afb18d0f AC |
5676 | * gdbarch.sh (DEPRECATED_NPC_REGNUM): Delete. |
5677 | * gdbarch.h, gdbarch.c: Re-generate. | |
5678 | * procfs.c (procfs_fetch_registers): Delete reference to | |
5679 | DEPRECATED_NPC_REGNUM. | |
5680 | (procfs_store_registers): Ditto. | |
5681 | * regcache.c (generic_target_write_pc): Simplify. | |
5682 | * lynx-nat.c: Delete #ifdef SPARC code. Not used. | |
5683 | ||
a698f53e AC |
5684 | * core-sol2.c (fetch_core_registers): Replace |
5685 | DEPRECATED_NPC_REGNUM with equivalent tdep value. | |
5686 | ||
adc11376 AC |
5687 | * hppa-tdep.c: Update copyright year. |
5688 | (hppa_target_write_pc): Use PCOQ_TAIL_REGNUM instead of | |
5689 | NPC_REGNUM. | |
5690 | (hppa_gdbarch_init): Do not set deprecated_npc_regnum. | |
5691 | ||
b6cb9035 AC |
5692 | * mips-tdep.c (mips_write_pc): New function. |
5693 | (mips_gdbarch_init): Set "write_pc" to "mips_write_pc". | |
5694 | (mips_read_pc): Use mips_regnum instead of PC_REGNUM. | |
5695 | (mips_find_saved_regs, mips_software_single_step: Ditto. | |
5696 | (mips_frame_saved_pc, mips_frame_saved_pc): Ditto. | |
5697 | mips_init_extra_frame_info, mips_pop_frame): Ditto. | |
5698 | ||
6d82d43b AC |
5699 | 2004-01-17 Andrew Cagney <cagney@redhat.com> |
5700 | ||
5701 | * mips-tdep.c: Re-indent. Group functions by ABI. | |
5702 | ||
71bd6bd4 AC |
5703 | 2004-01-17 Andrew Cagney <cagney@redhat.com> |
5704 | ||
5705 | * gdbarch.sh (DECR_PC_AFTER_BREAK): Make zero the default. | |
5706 | * gdbarch.c: Re-generate. | |
5707 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
5708 | DECR_PC_AFTER_BREAK to zero. | |
5709 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
5710 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
5711 | * sparc-tdep.c (sparc32_gdbarch_init): Ditto. | |
5712 | * sh64-tdep.c (sh64_gdbarch_init): Ditto. | |
5713 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
5714 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
5715 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
5716 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
5717 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
5718 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
5719 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
5720 | * m32r-tdep.c (m32r_gdbarch_init): Ditto. | |
5721 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
5722 | * i386-interix-tdep.c (i386_interix_init_abi): Ditto. | |
5723 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
5724 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
5725 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
5726 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
5727 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
5728 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
5729 | * i386-nto-tdep.c (i386nto_init_abi): Add comment. | |
5730 | ||
a02abb62 JB |
5731 | 2004-01-17 J. Brobecker <brobecker@gnat.com> |
5732 | ||
5733 | * dwarf2read.c (dwarf2_non_const_array_bound_ignored_complaint): | |
5734 | Delete, no longer used. | |
5735 | (read_subrange_type): New function, mostly extracted from | |
5736 | read_array_type(). | |
5737 | (read_array_type): Replace extracted code by call to | |
5738 | read_subrange_type(). | |
5739 | (dwarf2_get_attr_constant_value): New function. | |
5740 | (scan_partial_symbols): Add handling for DW_TAG_subrange_type. | |
5741 | (add_partial_symbol): Likewise. | |
5742 | (process_die): Likewise. | |
5743 | (new_symbol): Likewise. | |
5744 | (read_type_die): Likewise. | |
5745 | ||
cf5b2f1b AC |
5746 | 2004-01-16 Andrew Cagney <cagney@redhat.com> |
5747 | ||
5748 | * symfile.c: Update copyright year. | |
5749 | (compare_symbols): Delete unused function. | |
5750 | * stabsread.c: Update copyright year. | |
5751 | (lrs_general_complaint): Delete unused function. | |
5752 | (ref_search_value): Ditto. | |
5753 | (get_substring): Delete declaration. | |
5754 | * sh64-tdep.c: Update copyright year. | |
5755 | (sh64_get_gdb_regnum): Delete unused function. | |
5756 | * dwarf2read.c (dwarf2_unsupported_at_frame_base_complaint): | |
5757 | Delete unused function. | |
5758 | ||
d33b9831 MK |
5759 | 2004-01-17 Mark Kettenis <kettenis@gnu.org> |
5760 | ||
5761 | * defs.h (gdb_osabi): Add GDB_OSABI_OPENBSD_ELF. | |
5762 | * osabi.c (gdb_osabi_names): Add "OpenBSD ELF". | |
5763 | ||
7aea86e6 AC |
5764 | 2004-01-16 Andrew Cagney <cagney@redhat.com> |
5765 | ||
5766 | Changes from Peter Schauer. | |
5767 | * rs6000-tdep.c: Update copyright year. | |
5768 | (rs6000_push_dummy_call): Update the stack pointer before | |
5769 | accessing the corresponding stack region. | |
5770 | * rs6000-nat.c: Update copyright year. | |
5771 | (set_host_arch): Set "info.abfd" to "exec_bfd". | |
5772 | ||
26b0da32 MK |
5773 | 2004-01-15 Mark Kettenis <kettenis@gnu.org> |
5774 | ||
5775 | * blockframe.c: Update copyright year. | |
5776 | (inside_entry_func): Don't treat a zero PC specially. | |
5777 | ||
86fbe6cc EZ |
5778 | 2004-01-14 Elena Zannoni <ezannoni@redhat.com> |
5779 | ||
5780 | * gcore.c (gcore_copy_callback): Use paddr_d to print size | |
5781 | variable. | |
5782 | (gcore_create_callback): Ditto. Skip any memory segment that has | |
5783 | no permissions set. | |
5784 | ||
63d06c5c DC |
5785 | 2004-01-14 David Carlton <carlton@kealia.com> |
5786 | ||
5787 | Change symbols for C++ nested types to contain the fully qualified | |
5788 | name, if possible. (At least in the DWARF-2 case.) Partial fix | |
5789 | for PR's c++/57, c++/488, c++/539, c++/573, c++/609, c++/832, | |
5790 | c++/895. | |
5791 | * c-exp.y (qualified_type): Handle types nested within classes. | |
5792 | * cp-namespace.c: Update comments. | |
5793 | (cp_set_block_scope): Delete #if 0. | |
5794 | (cp_lookup_nested_type): Handle types nested within classes. | |
5795 | * dwarf2read.c: (scan_partial_symbols): Call add_partial_structure | |
5796 | when appropriate. | |
5797 | (add_partial_symbol): Add the name of the enclosing namespace to | |
5798 | types. | |
5799 | (pdi_needs_namespace): New. | |
5800 | (add_partial_namespace): Tweak comment. | |
5801 | (add_partial_structure): New. | |
5802 | (psymtab_to_symtab_1): Initialize processing_current_prefix | |
5803 | here... | |
5804 | (process_die): instead of here. | |
5805 | (read_structure_scope): Try to figure out the name of the class or | |
5806 | namespace that the structure might be defined within. | |
5807 | (read_enumeration): Generate fully-qualified names, if possible. | |
5808 | (read_namespace): Don't set name to NULL. | |
5809 | (die_specification): New. | |
5810 | (new_symbol): Generate fully-qualified names for types. | |
5811 | (read_type_die): Determine appropriate prefix. | |
5812 | (determine_prefix): New. | |
5813 | (typename_concat): New. | |
5814 | (class_name): New. | |
5815 | * valops.c (value_aggregate_elt): Pass NOSIDE to | |
5816 | value_struct_elt_for_reference. | |
5817 | (value_struct_elt_for_reference): Make static, add NOSIDE | |
5818 | parameter, call value_maybe_namespace_elt as a last resort. | |
5819 | (value_namespace_elt): Break out code into | |
5820 | value_maybe_namespace_elt. | |
5821 | (value_maybe_namespace_elt): New. | |
5822 | ||
87783b8b AC |
5823 | 2004-01-12 Andrew Cagney <cagney@redhat.com> |
5824 | ||
5825 | * mips-tdep.c (mips_convert_register_p): Handle both raw and | |
5826 | cooked floating-point registers. | |
5827 | (mips_gdbarch_init): Set convert_register_p, register_to_value, | |
5828 | and value_to_register. | |
5829 | ||
6503b91e AC |
5830 | 2004-01-13 Andrew Cagney <cagney@redhat.com> |
5831 | ||
5832 | * gdbarch.sh (FUNCTION_START_OFFSET): Make zero the default. | |
5833 | * gdbarch.c: Re-generate. | |
5834 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
5835 | FUNCTION_START_OFFSET. | |
5836 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
5837 | * sparc-tdep.c (sparc32_gdbarch_init): Ditto. | |
5838 | * sh64-tdep.c (sh64_gdbarch_init): Ditto. | |
5839 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
5840 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
5841 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
5842 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
5843 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
5844 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
5845 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
5846 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
5847 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
5848 | * m32r-tdep.c (m32r_gdbarch_init): Ditto. | |
5849 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
5850 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
5851 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
5852 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
5853 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
5854 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
5855 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
5856 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
5857 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
5858 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
5859 | ||
ea1dd7bc DJ |
5860 | 2004-01-13 Daniel Jacobowitz <drow@mvista.com> |
5861 | ||
5862 | * infrun.c (follow_fork_mode_ask): Remove. | |
5863 | (follow_fork_mode_kind_names): Remove follow_fork_mode_ask. | |
5864 | (follow_fork): Simplify and remove internal error for | |
5865 | follow_fork_mode_ask. | |
5866 | (_initialize_infrun): Update "set follow-fork-mode" help text. | |
5867 | ||
0f0cffd2 AC |
5868 | 2004-01-13 Andrew Cagney <cagney@redhat.com> |
5869 | ||
5870 | * configure.in: Update copyright year. | |
5871 | (build_warnings): Add -Wunused-label. | |
5872 | * configure: Re-generate. | |
5873 | ||
de38af99 AC |
5874 | 2004-01-12 Andrew Cagney <cagney@redhat.com> |
5875 | ||
954a7fba AC |
5876 | * exec.h (exec_ops): Make "extern". |
5877 | ||
de38af99 AC |
5878 | * mips-tdep.c (mips_pseudo_register_read): Don't return a value, |
5879 | the function is void. | |
5880 | (mips_pseudo_register_write): Ditto. | |
5881 | ||
1a111ce3 AC |
5882 | 2004-01-12 Andrew Cagney <cagney@redhat.com> |
5883 | ||
5884 | * stack.c (frame_info): Delete DEPRECATED_PRINT_EXTRA_FRAME_INFO | |
5885 | call. Never defined. | |
5886 | * sparc-tdep.h (struct frame_info): Add opaque declaration. | |
5887 | * sparc64-tdep.h (struct gdbarch): Add opaque declaration. | |
5888 | (struct sparc_gregset, struct regcache): Ditto. | |
5889 | * sparc-nat.c: Update copyright. Specify "GNU/Linux". | |
5890 | ||
48efe704 AC |
5891 | 2004-01-12 Andrew Cagney <cagney@redhat.com> |
5892 | ||
5893 | * mi/ChangeLog: Delete file. Renamed to ... | |
5894 | * mi/ChangeLog-1999-2003: New file. | |
5895 | * tui/ChangeLog: Delete file. Renamed to ... | |
5896 | * tui/ChangeLog-1998-2003: New file. | |
fe61caab | 5897 | |
a54124c5 MK |
5898 | 2004-01-11 Mark Kettenis <kettenis@gnu.org> |
5899 | ||
2ca62865 MK |
5900 | * sparc64nbsd-tdep.c: Include "regset.h". |
5901 | (sparc64nbsd_sizeof_struct_reg, sparc64nbsd_sizeof_struct_fpreg): | |
5902 | Remove variables. | |
5903 | (fetch_core_registers): Remove function. | |
5904 | (sparc64nbsd_core_fns): Remove variable. | |
5905 | (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): New | |
5906 | functions. | |
5907 | (sparc64nbsd_init_abi): Initialize TDEP->gregset, | |
5908 | TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset. | |
5909 | (_initialize_sparc64nbsd_tdep): Remove call to add_core_fns. | |
5910 | ||
ca9d58e9 MK |
5911 | * sparc-tdep.c (sparc32_extract_struct_value_address): Rename from |
5912 | sparc_extract_struct_value_address. | |
5913 | (sparc32_gdbarch_init): Set extract_struct_value_address. | |
5914 | * sparc64-tdep.c (sparc64_extract_struct_value_address): New | |
5915 | function. | |
5916 | (sparc64_init_abi): Set extract_struct_value_address. Don't set | |
5917 | return_value_on_stack. | |
5918 | ||
3cc87ec0 MK |
5919 | * NEWS: Mention that %cs and %ss have been added to the AMD64 |
5920 | configurations | |
5921 | ||
5bf00f29 MK |
5922 | * frame.c: Update copyright year. |
5923 | (get_prev_frame): Improve comment. | |
5924 | ||
4f7ec84e MK |
5925 | * sparc64fbsd-tdep.c: Include "regset.h". |
5926 | (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg): | |
5927 | Remove variables. | |
5928 | (fetch_core_registers): Remove function. | |
5929 | (sparc64fbsd_core_fns): Remove variable. | |
5930 | (sparc64fbsd_supply_gregset, sparc64fbsd_supply_fpregset): New | |
5931 | functions. | |
5932 | (sparc64fbsd_init_abi): Initialize TDEP->gregset, | |
5933 | TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset. | |
46b58ce9 | 5934 | (_initialize_sparc64fbsd_tdep): Remove call to add_core_fns. |
4f7ec84e | 5935 | |
4e7b0cd3 MK |
5936 | * sparcnbsd-tdep.c: Include "regset.h". |
5937 | (fetch_core_registers): Remove function. | |
5938 | (sparcnbsd_core_fns, sparcnbsd_elfcore_fns): Remove varaibles. | |
5939 | (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): New | |
5940 | functions. | |
5941 | (sparc32nbsd_init_abi): Initialize TDEP->gregset and | |
5942 | TDEP->fpregset. | |
46b58ce9 | 5943 | (_initialize_sparcnbsd_tdep): Remove calls to add_core_fns. |
4e7b0cd3 | 5944 | |
a54124c5 MK |
5945 | * sparc-tdep.h (struct regset): Provide opaque declaration. |
5946 | (struct gdbarch_tdep): Add gregset, sizeof_gregset, | |
5947 | fpregset and sizeof_fpregset members. | |
5948 | * sparc-tdep.c (struct regset): Provide opaque declaration. | |
5949 | (sparc_regset_from_core_section): New function. | |
5950 | (sparc32_gdbarch_init): Initialize TDEP->gregset, | |
5951 | TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_fpregset. | |
5952 | Set regset_from_core_section when appropriate. | |
5953 | ||
29ff87c5 MK |
5954 | 2004-01-10 Mark Kettenis <kettenis@gnu.org> |
5955 | ||
79b1ab3d MK |
5956 | * x86-64-tdep.c (amd64_non_pod_p): New function. |
5957 | (amd64_classify_aggregate): Return class memory for non-POD | |
5958 | C++ structure types. | |
5959 | ||
6470d250 MK |
5960 | * x86-64-tdep.c (amd64_push_arguments): Add struct_return |
5961 | argument. Use it to reserve a register if necessary. | |
5962 | (amd64_push_dummy_call): Pass STRUCT_RETURN in call to | |
5963 | amd64_push_arguments. | |
5964 | ||
562c50c2 MK |
5965 | * x86-64-tdep.c (amd64_classify_aggregate): Ignore static fields. |
5966 | ||
af233647 MK |
5967 | * x86-64-tdep.c (amd64_register_info): Add %cs and %ss. Adjust |
5968 | register numbers in comments. | |
5969 | * x86-64-tdep.h: Update copyright year. | |
5970 | (X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM): | |
5971 | Adjust for addition of %cs and %ss. | |
5972 | * amd64fbsd-nat.c: Update copyright year. | |
5973 | (reg_offset): Add register offsets for %cs and %ss. | |
5974 | * amd64fbsd-tdep.c: Update copyright year. | |
5975 | (amd64fbsd_r_reg_offset): Add register offsets for %cs and %ss. | |
5976 | (amd64fbsd_sc_reg_offset): Likewise. | |
5977 | * x86-64-linux-nat.c: Update copyright year. | |
5978 | (x86_64_linux_gregset64_reg_offset): Add register offsets for %cs | |
5979 | and %ss. | |
5980 | * amd64nbsd-nat.c: Update copyright year. | |
5981 | (amd64nbsd32_r_reg_offset): Add register offsets for %cs and %ss. | |
5982 | * amd64nbsd-tdep.c: Update copyright year. | |
5983 | (amd64nbsd_r_reg_offset): Add register offsets for %cs and %ss. | |
5984 | * x86-64-linux-tdep.c: Update copyright year. | |
5985 | (user_to_gdb_regmap): Add mapping for %cs and %ss. | |
5986 | (x86_64_linux_sc_reg_offset): Adjust for addition of %cs and %ss. | |
5987 | * regformats/reg-x86-64.dat: Add %cs and %ss. | |
5988 | ||
29ff87c5 MK |
5989 | * blockframe.c (inside_entry_func): Reformat. Introduce new local |
5990 | variables to prevent long lines. Update comments to reflect | |
5991 | reality. | |
5992 | ||
38d518c9 EZ |
5993 | 2004-01-09 David Carlton <carlton@kealia.com> |
5994 | ||
5995 | Checked in by Elena Zannoni <ezannoni@redhat.com>. | |
5996 | * dwarf2read.c (read_namespace): Pull out name-generating code | |
5997 | into namespace_name. Rename previous_namespace to previous_prefix | |
5998 | and processing_current_namespace to processing_current_prefix.. | |
5999 | (namespace_name): New function. | |
6000 | (add_partial_symbol): Substitute uses of pdi->name with | |
6001 | actual_name. | |
6002 | * cp-support.h: Rename processing_current_namespace to | |
6003 | processing_current_prefix. | |
6004 | Update copyright year. | |
6005 | * cp-namespace.c: Rename processing_current_namespace to | |
6006 | processing_current_prefix. | |
6007 | Update copyright year. | |
fe61caab | 6008 | |
1e4728e7 AC |
6009 | 2004-01-09 Andrew Cagney <cagney@redhat.com> |
6010 | ||
6011 | * jv-valprint.c, ser-unix.c: Add missing copyright years. | |
6012 | ||
c77c642a MK |
6013 | 2004-01-09 Mark Kettenis <kettenis@gnu.org> |
6014 | ||
6015 | * dbxread.c (read_dbx_symtab): Ignore N_PATCH stabs instead of | |
6016 | complaining. | |
6017 | (process_one_symbol): Deal with N_PATCH stabs. | |
6018 | ||
b44e9041 EZ |
6019 | 2004-01-09 Elena Zannoni <ezannoni@redhat.com> |
6020 | ||
6021 | * dwarf2read.c (read_array_type): Discard FORTRAN_HACK macro and | |
6022 | ifdeffed code. | |
6023 | Update copyright year. | |
38d518c9 | 6024 | |
eccfb640 MC |
6025 | 2004-01-08 Michael Chastain <mec.gnu@mindspring.com> |
6026 | ||
6027 | * config/pa/tm-hppa.h: Update extern declarations for | |
6028 | hppa32_hpux_frame_saved_pc_in_sigtramp, | |
6029 | hppa32_hpux_frame_base_before_sigtramp, and | |
6030 | hppa32_hpux_frame_find_saved_regs_in_sigtramp. | |
6031 | ||
848c5feb MC |
6032 | 2004-01-08 Michael Chastain <mec.gnu@mindspring.com> |
6033 | ||
6034 | * config/pa/tm-hppah.h: Update copyright years. | |
6035 | ||
3cc5d663 AC |
6036 | 2004-01-08 Andrew Cagney <cagney@redhat.com> |
6037 | ||
6038 | * mips-tdep.c (mips_n32n64_reg_struct_has_addr): Delete function. | |
6039 | (mips_o32_reg_struct_has_addr): Delete function. | |
6040 | (mips_gdbarch_init): Update. | |
6041 | (mips_extract_struct_value_address): Delete function. | |
6042 | ||
bfec0b41 JJ |
6043 | 2004-01-08 David Mosberger <davidm@hpl.hp.com> |
6044 | ||
6045 | * ia64-linux-tdep.c: Update GATE_AREA_END value to reflect | |
6046 | reality. | |
6047 | ||
16e109ca AC |
6048 | 2004-01-07 Andrew Cagney <cagney@redhat.com> |
6049 | ||
6214a8a1 AC |
6050 | * mips-tdep.c (mips_gdbarch_init): Set elf_flags to the previous |
6051 | architecture's elf flags (when available). | |
6052 | ||
8d5838b5 AC |
6053 | * mips-tdep.c (mips_gdbarch_init): Move code determining the MIPS |
6054 | FPU to the start, check the MIPS FPU when looking for an old | |
6055 | architecture. | |
6056 | (set_mipsfpu_single_command): Update the architecture. | |
6057 | (set_mipsfpu_double_command, set_mipsfpu_none_command): Ditto. | |
6058 | ||
480d3dd2 AC |
6059 | * mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Delete macro. |
6060 | (mips_mask_address_p): Add "tdep" parameter. | |
6061 | (show_mask_address, mips_addr_bits_remove): Update. | |
6062 | (mips_dump_tdep): Update. | |
6063 | (MIPS_DEFAULT_STACK_ARGSIZE): Delete macro. | |
6064 | (MIPS_STACK_ARGSIZE): Delete macro. | |
6065 | (mips_stack_argsize, mips_eabi_push_dummy_call): Update. | |
6066 | (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call): Update. | |
6067 | (mips_o64_push_dummy_call, mips_o32_return_value): Update. | |
6068 | (mips_dump_tdep): Update. | |
6069 | (MIPS_SAVED_REGSIZE): Delete macro. | |
6070 | (MIPS_DEFAULT_SAVED_REGSIZE): Delete macro. | |
6071 | (mips_saved_regsize, mips_eabi_use_struct_convention): Update. | |
6072 | (mips_eabi_reg_struct_has_addr, mips_find_saved_regs): Update. | |
6073 | (mips_frame_saved_pc, mips16_heuristic_proc_desc): Update. | |
6074 | (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call): Update. | |
6075 | (mips_o32_push_dummy_call, mips_o64_push_dummy_call): Update. | |
6076 | (mips_pop_frame, return_value_location): Update. | |
6077 | (mips_n32n64_return_value, mips_dump_tdep): Update. | |
6078 | ||
ec03c1ac AC |
6079 | * mips-tdep.c (mips_gdbarch_init): Clean up code selecting the |
6080 | MIPS ABI. | |
6081 | ||
16e109ca AC |
6082 | * mips-tdep.c: Update copyright. |
6083 | (mips_gdbarch_init): Merge two code blocks handling the register | |
6084 | name and number layout. | |
6085 | ||
15255275 MS |
6086 | 2004-01-02 Pawel Ostrowski <pasza@zodiac.mimuw.edu.pl> |
6087 | ||
6088 | * tracepoint.c (validate_actionline): Fix segv at EOF | |
6089 | ||
9f9057da MC |
6090 | 2004-01-07 Michael Chastain <mec.gnu@mindspring.com> |
6091 | ||
6092 | * hpread.c (hpread_read_struct_type): Call SET_FIELD_PHYSNAME | |
6093 | properly for static fields. | |
6094 | ||
0127c0d3 | 6095 | 2004-01-06 Jeff Johnston <jjohnstn@redhat.com> |
91562f53 | 6096 | Jason Molenda <jmolenda@apple.com> |
0127c0d3 JJ |
6097 | |
6098 | * disasm.c: Update copyright to include 2004. | |
6099 | (do_mixed_source_and_assembly): For uiout asm list | |
6100 | and tuple cleanups, initialize to null_cleanup instead of | |
fe61caab | 6101 | NULL and do so prior to loop. Only reset when we close off |
0127c0d3 | 6102 | the tuple/list. Move check for whether to close off the |
fe61caab | 6103 | asm tuple/list to after dump_insns call where it will be run |
0127c0d3 JJ |
6104 | on each loop iteration. |
6105 | ||
5269965e AC |
6106 | 2004-01-05 Andrew Cagney <cagney@redhat.com> |
6107 | ||
54f1137d AC |
6108 | * ser-unix.c (ser_unix_async): Fix tipo, "NOTHING_SECHEDULED" |
6109 | should be a switch case and not a label. | |
6110 | * mips-tdep.c (mips32_next_pc): Delete unused labels | |
6111 | "greater_equal_branch" and "less_zero_branch". | |
6112 | * jv-valprint.c (java_print_value_fields): Delete unused label | |
6113 | "flush_it". | |
6114 | ||
5269965e AC |
6115 | * target.c (unpush_target): Only close a target that is in the |
6116 | target stack. | |
6117 | ||
dbc22fa1 MK |
6118 | 2004-01-05 Mark Kettenis <kettenis@gnu.org> |
6119 | ||
9515395e MK |
6120 | * sparc-tdep.c (sparc_extract_struct_value_address): Get the |
6121 | address from [sp + 64] instead of %o2. | |
6122 | ||
dbc22fa1 MK |
6123 | * frame.c (get_prev_frame): Don't try to unwind the PC. This |
6124 | fixes PR backtrace/1476. | |
6125 | ||
5439edaa AC |
6126 | 2004-01-05 Andrew Cagney <cagney@redhat.com> |
6127 | ||
6128 | * libunwind-frame.h (struct frame_id): Add opaque declaration, | |
6129 | move to start of file. | |
6130 | * i386-tdep.h (struct regcache): Add opaque declaration. | |
6131 | * config/ia64/nm-linux.h (struct target_ops): Add opaque | |
6132 | declaration. | |
6133 | * ia64-tdep.c (ia64_find_proc_info_x): Do not use __FUNCTION__. | |
6134 | (ia64_gdbarch_init): Use "GNU/Linux" in comment. | |
6135 | * win32-nat.c (fake_create_process): Use ISO C style definition. | |
6136 | * stabsread.c (define_symbol): Delete #ifndef | |
6137 | DEPRECATED_USE_REGISTER_NOT_ARG wrapper around | |
6138 | stabs_argument_has_addr call, macro never defined. | |
6139 | ||
19061abe MC |
6140 | 2004-01-04 Michael Chastain <mec.gnu@mindspring.com> |
6141 | ||
6142 | * op50-rom.c: Delete. | |
6143 | * w89k-rom.c: Delete. | |
6144 | * Makefile.in: Remove references. | |
6145 | ||
e53bef9f MK |
6146 | 2004-01-04 Mark Kettenis <kettenis@gnu.org> |
6147 | ||
6148 | * x86-64-tdep.c: Update copyright year. | |
6149 | (struct amd64_register_info): Rename from x86_64_register_info. | |
6150 | (amd64_register_info): Rename from x86_64_register_info. | |
6151 | (AMD64_NUM_REGS): Rename from X86_64_NUM_REGS. | |
6152 | (amd64_register_name): Rename from x86_64_register_name. | |
6153 | (amd64_register_type): Rename from x86_64_register_type. | |
6154 | (amd64_dwarf_regmap): Rename from x86_64_dwarf_regmap. | |
6155 | (amd64_dwarf_regmap_len): Rename from x86_64_dwarf_regmap_len. | |
6156 | (amd64_dwarf_reg_to_regnum): Rename from | |
6157 | x86_64_dwarf_reg_to_regnum. | |
6158 | (amd64_convert_register_p): Rename from x86_64_convert_register_p. | |
6159 | (amd64_push_dummy_call): Rename from x86_64_push_dummy_call. | |
6160 | (AMD64_NUM_SAVED_REGS): Rename from X86_64_NUM_SAVED_REGS. | |
6161 | (struct amd64_frame_cache): Renamed from x86_64_frame_cache. | |
6162 | (amd64_alloc_frame_cache): Renamed from x86_64_alloc_frame_cache. | |
6163 | (amd64_analyze_prologue): Rename from x86_64_analyze_prologue. | |
6164 | (amd64_skip_prologue): Rename from x86_64_skip_prologue. | |
6165 | (amd64_frame_cache): Rename from x86_64_frame_cache. | |
6166 | (amd64_frame_this_id): Rename from x86_64_frame_this_id. | |
6167 | (amd64_frame_prev_register): Rename from | |
6168 | x86_64_frame_prev_register. | |
6169 | (amd64_frame_unwind): Rename from x86_64_frame_unwind. | |
6170 | (amd64_frame_sniffer): Rename from x86_64_frame_sniffer. | |
6171 | (amd64_sigtramp_frame_cache): Rename from | |
6172 | x86_64_sigtramp_frame_cache. | |
6173 | (amd64_sigtramp_frame_prev_register): Rename from | |
6174 | x86_64_sigtramp_frame_prev_register. | |
6175 | (amd64_sigtramp_frame_unwind): Rename from | |
6176 | x86_64_sigtramp_frame_unwind. | |
6177 | (amd64_sigtramp_frame_sniffer): Rename from | |
6178 | x86_64_sigtramp_frame_sniffer. | |
6179 | (amd64_frame_base_address): Rename from x86_64_frame_base_address. | |
6180 | (amd64_frame_base): Rename from x86_64_frame_base. | |
6181 | (amd64_unwind_dummy_id): Rename from x86_64_unwind_dummy_id. | |
6182 | (amd64_frame_align): Rename from x86_64_frame_align. | |
6183 | (amd64_supply_fpregset): Rename from x86_64_supply_fpregset. | |
6184 | (amd64_regset_from_core_section): Rename from | |
6185 | x86_64_regset_from_core_section. | |
6186 | (x86_64_init_abi): Update comments. | |
6187 | ||
fca6aa58 NR |
6188 | 2004-01-04 Nick Roberts <nick@nick.uklinux.net> |
6189 | ||
6190 | * MAINTAINERS (write after approval): Add myself. | |
6191 | ||
8ada74e3 MK |
6192 | 2004-01-04 Mark Kettenis <kettenis@gnu.org> |
6193 | ||
6194 | * sparc64-tdep.c (sparc64_store_arguments): Fix handling of | |
6195 | `float' arguments. | |
6196 | ||
5154b0cd MK |
6197 | 2004-01-04 Mark Kettenis <kettenis@gnu.org> |
6198 | ||
6199 | * sparc64-tdep.c (sparc64_store_floating_fields): Update comment | |
6200 | such that it mentions a specific version of GCC that exhibits this | |
6201 | bug. | |
6202 | ||
fb316966 MK |
6203 | 2004-01-03 Mark Kettenis <kettenis@gnu.org> |
6204 | ||
200cc553 MK |
6205 | * sparc64-tdep.c (sparc64_store_floating_fields): If TYPE is a |
6206 | structure that has a single `float' member, store it in %f1 in | |
6207 | addition to %f0. | |
6208 | ||
e226a4a0 MK |
6209 | * sparc-sol2-nat.c: Add missing '\'. |
6210 | ||
b9d4c5ed MK |
6211 | * sparc-tdep.c (sparc32_return_value): New function. |
6212 | (sparc32_use_struct_convention, sparc32_return_value_on_stack): | |
6213 | Remove functions. | |
6214 | (sparc32_gdbarch_init): Set return_value, don't set | |
6215 | extract_return_value, store_return_value, use_struct_convention | |
6216 | and return_value_on_stack. | |
6217 | ||
fb316966 MK |
6218 | * sparc-sol2-nat.c: Add missing ')'. |
6219 | ||
1af510a8 JB |
6220 | 2004-01-03 J. Brobecker <brobecker@gnat.com> |
6221 | ||
6222 | * infrun.c (handle_step_into_function): New function. | |
6223 | (handle_inferior_event): Extract out some code into the new | |
6224 | function above. | |
6225 | ||
5cf4d23a JB |
6226 | 2004-01-03 J. Brobecker <brobecker@gnat.com> |
6227 | ||
6228 | * infrun.c (handle_inferior_event): Move the declaration of | |
6229 | real_stop_pc inside the if blocks where it is used. | |
6230 | ||
60af1db2 MK |
6231 | 2004-01-03 Mark Kettenis <kettenis@gnu.org> |
6232 | ||
6233 | * sparc64-tdep.c (sparc64_16_byte_align_p) | |
6234 | (sparc64_store_floating_fields, sparc64_store_floating_fields): | |
6235 | Use check_typedef to get subtypes of structures and unions. | |
6236 | (sparc64_store_return_value): Fix calculation of the appropriate | |
6237 | offset into VALBUF when storing a structure or union. | |
6238 | (sparc64_return_value): New function. | |
6239 | (sparc64_use_struct_convention): Remove function. | |
6240 | (sparc64_init_abi): Set return_value, don't set | |
6241 | extract_return_value, store_return_value and | |
6242 | use_struct_convention. | |
6243 | ||
1a901d3f EZ |
6244 | 2004-01-03 Eli Zaretskii <eliz@elta.co.il> |
6245 | ||
6246 | * config/djgpp/fnchange.lst: Add lines for COPYING.LIBGLOSS, | |
6247 | bfd/doc/ChangeLog-9103, bfd/elf32-m68hc1x.c, | |
6248 | gdb/config/alpha/xm-alphaosf.h, | |
6249 | gdb/config/powerpc/tm-ppcle-eabi.h, | |
6250 | gdb/config/rs6000/tm-rs6000-aix4.h, gdb/gdbtk/ChangeLog-2001, | |
6251 | gdb/gdbtk/ChangeLog-2002, gdb/gdbtk/ChangeLog-2003, | |
6252 | gdb/gdbtk/plugins/intel-pentium/intel-pentium.tcl.in, | |
6253 | gdb/gdbtk/plugins/rhabout/rhabout.tcl.in, gdb/i386-linux-nat.c, | |
6254 | gdb/ia64-aix-nat.c, gdb/ia64-aix-tdep.c, gdb/ia64-linux-nat.c, | |
6255 | gdb/ia64-linux-nat.c, gdb/ppc-linux-tdep.c, gdb/ppc-linux-nat.c, | |
6256 | gdb/sparc64nbsd-nat.c, gdb/sparc64nbsd-tdep.c, | |
6257 | gdb/sparc64-linux-nat.c, gdb/sparc64-linux-tdep.c, | |
6258 | gdb/sparc64-nat.c, gdb/sparc64-tdep.c, gdb/sparc64-sol2-tdep.c, | |
6259 | gdb/sparc-sol2-nat.c, gdb/sparc-sol2-tdep.c, | |
6260 | gdb/testsuite/gdb.gdbtk/, gdb/testsuite/gdb.mi/mi-var-child.exp, | |
6261 | nclude/ChangeLog-9103, include/coff/ChangeLog-9103, | |
6262 | include/elf/ChangeLog-9103, include/opcode/ChangeLog-9103, | |
6263 | opcodes/ChangeLog-0001, opcodes/ChangeLog-0203, | |
6264 | opcodes/openrisc-dis.c, opcodes/openrisc-desc.h, | |
6265 | sim/frv/profile-fr550.c, sim/frv/profile-fr550.h, | |
6266 | sim/sh64/sem-compact-switch.c, sim/sh64/sem-media-switch.c, | |
6267 | sim/testsuite/sim/sh64/compact/ldsl-mach.cgs, | |
6268 | sim/testsuite/sim/sh64/compact/ldsl-macl.cgs, | |
6269 | sim/testsuite/sim/sh64/compact/stsl-mach.cgs, and | |
6270 | sim/testsuite/sim/sh64/compact/stsl-macl.cgs. | |
6271 | Remove lines for .cvsignore files. | |
6272 | ||
ef52e463 JB |
6273 | 2004-01-03 J. Brobecker <brobecker@gnat.com> |
6274 | ||
6275 | * infrun.c: Back out the previous change. | |
6276 | ||
cb1bf9dc MK |
6277 | 2004-01-03 Mark Kettenis <kettenis@gnu.org> |
6278 | ||
f0424ef6 MK |
6279 | * NEWS: Mention revised SPARC target. Add sparc-*-lynxos* and |
6280 | sparc-*-sunos4* to the list of REMOVED configurations. | |
6281 | ||
cb1bf9dc MK |
6282 | * configure.tgt: Add back sparc-*-vxworks*. |
6283 | * remote-vxsparc.c: Remove all includes except for "defs.h", | |
6284 | "regcache.h", "vx-share/ptrace.h" and "vx-share/regPacket.h". | |
6285 | Include "sparc-tdep.h". | |
6286 | (SPARC_R_G1): New define. | |
6287 | (vxsparc_gregset): New variable. | |
6288 | (ext_format_sparc): Remove extern declaration. | |
6289 | (vx_read_register): Rewrite to use sparc32_supply_gregset and | |
6290 | sparc32_supply_fpregset. | |
6291 | (vx_write_register): Rewrite to use sparc32_collect_gregset, | |
6292 | sparc_collect_rwindow and sparc32_collect_fpregset. | |
6293 | * config/sparc/tm-vxworks.h: New file, based on recently removed | |
6294 | tm-vxsparc.h. | |
6295 | * config/sparc/vxworks.mt: New file, based on recently removed | |
6296 | vxworks.mt. | |
fe61caab | 6297 | |
5e938f9f JB |
6298 | 2004-01-03 J. Brobecker <brobecker@gnat.com> |
6299 | ||
6300 | * infrun.c (handle_step_into_function): New function. | |
6301 | (handle_inferior_event): Extract out some code into the new | |
6302 | function above. | |
6303 | ||
386c036b MK |
6304 | 2004-01-02 Mark Kettenis <kettenis@gnu.org> |
6305 | ||
6306 | * Makefile.in (ALLDEPFILES): Remove sparc-linux-nat.c and | |
6307 | sparcl-tdep.c. Add sparc-linux-tdep.c, sparc-sol2-nat.c, | |
6308 | sparc-sol2-tdep.c, sparc-sol2-nat.c, sparc-sol2-tdep.c, | |
6309 | sparc64-linux-nat.c, sparc64-linux-tdep.c, sparc64-nat.c, | |
6310 | sparc64-sol2-tdep.c, sparc64-tdep.c, sparc64fbsd-nat.c, | |
6311 | sparc64fbsd-tdep.c, sparcnbsd-nat.c, sparcnbsd-tdep.c. | |
6312 | (sparc_nat_h): New variable. | |
6313 | (sparcbsd_nat_h, sparcnbsd_tdep_h): Remove variables. | |
6314 | (tm-sun4os4.h): Remove dependency. | |
6315 | (sparcbsd-nat.o, sparc-linux-nat.o): Remove dependencies. | |
6316 | (sparc64fbsd-nat.o, sparc64fbsd-tdep.o, sparc64nbsd-nat.o, | |
6317 | sparc64-tdep.o, sparc-nat.o, sparcnbsd-nat.o, sparcnbsd-tdep.o, | |
6318 | sparc-tdep.o): Update dependencies. | |
6319 | (sparc-linux-tdep.o, sparc-sol2-nat.o, sparc-sol2-tdep.o, | |
6320 | sparc64-linux-nat.o, sparc64-linux-tdep.o, sparc64-nat.o, | |
6321 | sparc64-sol2-tdep.o, sparc64-tdep.o, sparc64nbsd-tdep.o): New | |
6322 | dependencies. | |
6323 | * configure.host: Remove existing sparc-*-lynxos*, | |
6324 | sparc-*-solaris*, sparc-*-sunos4*, sparc-*-sunos5*, sparc-*-*, | |
6325 | ultrasparc-*-freebsd, sparcv9-*-freebsd, sparc64-*-linux*, | |
6326 | sparcv9-*-* and sparc64-*-* triplets. Add new sparc64-*-linux*, | |
6327 | sparc-*-solaris2*, sparcv9-*-solaris2* and sparc64-*-solaris2* | |
6328 | triplets. | |
6329 | * configure.tgt: Remove exitsing sparc-*-aout*, sparc-*-coff*, | |
6330 | sparc-*-elf*, sparc*-lynxos*, sparc-*-solars2*, sparc-*-sunos4*, | |
6331 | sparc-*-sunos5*, sparc-*-vxworks*, sparc64-*linux*, sparc64-*-*, | |
6332 | sparcv9-*-* and commented out sparc64-*-solars2* triplets. Add | |
6333 | new sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*, | |
6334 | sparc64-*-linux, sparc-*-solaris2*, sparcv9-*-solaris*, | |
6335 | sparc64-*-solaris2* and sparc64-*-* triplets. | |
6336 | * sparc64-tdep.c: Update copyright year. Include "inferior.h", | |
6337 | "symtab.h" and "objfiles.h". | |
6338 | (BIAS): Remove define. | |
6339 | (X_OP, X_RD, X_A, X_COND, X_OP2, X_IMM22, X_OP3, X_I, X_DISP22) | |
6340 | (X_DISP19): Remove macros. | |
6341 | (sparc_fetch_instruction): Remove function. | |
6342 | (struct gdbarch_tdep): Remove definition. | |
6343 | (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use ARRAY_SIZE. | |
6344 | (sparc_breakpoint_from_pc): Remove function. | |
6345 | (struct sparc64_frame_cache): Remove definition. | |
6346 | (sparc64_alloc_frame_cache, sparc64_analyze_prologue, | |
6347 | sparc64_unwind_pc): Remove functions. | |
6348 | (sparc64_skip_prologue): Use `struct sparc_frame_cache' instead of | |
6349 | `struct sparc64_frame_cache. Call sparc_analyze_prologue instead | |
6350 | of sparc64_analyze_prologue. Mark constant as ULL instead of UL. | |
6351 | (sparc64_frame_cache): Change return type to `struct | |
6352 | sparc_frame_cache *'. Simply call sparc_frame_cache. | |
6353 | (sparc64_frame_this_id, sparc64_frame_prev_register, | |
6354 | sparc64_frame_base_address): Use `struct sparc_frame_cache' | |
6355 | instead of `struct sparc64_frame_cache. | |
6356 | (sparc_unwind_dummy_id, sparc_extract_struct_value_address, | |
6357 | sparc_analyze_control_transfer, sparc_software_single_step, | |
6358 | sparc64_gdbarch_init, sparc_supply_rwindow, sparc_fill_rwindow, | |
6359 | _initialize_sparc64_tdep): Remove functions. | |
6360 | (TSTATE_CWP, TSTATE_ICC, TSTATE_XCC): New macros. | |
6361 | (PSR_S, PSR_ICC, PSR_VERS, PSR_IMPL, PSR_V8PLUS, PSR_XCC): New | |
6362 | macros. | |
6363 | (sparc64_supply_gregset, sparc64_collect_gregset, | |
6364 | sparc64_supply_fpregset, sparc64_collect_fpregset): New functions. | |
6365 | (sparc64_init_abi): New function. | |
6366 | * sparc64-tdep.h: Update copyright year. Fix typo in multiple | |
6367 | inclusion guard. Include "sparc-tdep.h". | |
6368 | (BIAS): Define. | |
6369 | (r_tstate_offset, r_fprs_offset): New defines. | |
6370 | (enum sparc_regnum): Remove defenition. | |
6371 | (enum sparc64_regnum): Reformat. | |
6372 | (sparc_supply_rwindow, sparc_fill_rwindow): Remove prototypes. | |
6373 | (sparc64_init_abi, sparc64_supply_gregset, | |
6374 | sparc64_collect_gregset, sparc64_supply_fpregset, | |
6375 | sparc64_collect_fpregset): New prototypes. | |
6376 | (sparc64_sol2_gregset, sparc64nbsd_gregset, sparc64fbsd_gregset): | |
6377 | Add extern declarations. | |
6378 | (sparc64_sol2_init_abi): New prototype. | |
6379 | (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg) | |
6380 | (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove | |
6381 | prototypes. | |
6382 | * sparc64fbsd-nat.c: Include "sparc-nat.h", don't include | |
6383 | "sparnbsd-nat.h". | |
6384 | (sparc64fbsd_reg_supplies_p, sparc64fbsd_fpreg_supplies_p): Remove | |
6385 | functions. | |
6386 | (_initialize_sparc64fbsd_nat): Remove initialization of | |
6387 | sparcbsd_supply_reg, sparcbsd_fill_reg, sparcbsd_supply_fpreg, | |
6388 | sparcbsd_fill_fpreg, sparcbsd_reg_supplies_p, | |
fe61caab | 6389 | sparcbsd_fpreg_supplies_p. Initialize sparc_gregset. |
386c036b MK |
6390 | * sparc64fbsd-tdep.c: Update copyright year. Include "frame.h", |
6391 | "frame-unwind.h", "trad-frame.h" and "gdb_assert.h". | |
6392 | (sparc64fbsd_r_global_offset, sparc64fbsd_r_out_offset) | |
6393 | (sparc64fbsd_r_fprs_offset, sparc64fbsd_r_tnpc_offset) | |
6394 | (sparc64fbsd_r_tpc_offset, sparc64fbsd_r_tstate_offset) | |
6395 | (sparc64fbsd_r_y_offset): Remove variables. | |
6396 | (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg): | |
6397 | Make static and const. | |
6398 | (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg) | |
6399 | (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove | |
6400 | functions. | |
6401 | (sparc64fbsd_gregset): New variable. | |
6402 | (fetch_core_registers): Replace calls to sparc64fbsd_supply_reg | |
6403 | and sparc64fbsd_supply_fpreg with calls to sparc64_supply_gregset | |
6404 | and sparc64_supply_fpregset. | |
6405 | (sparc64fbsd_pc_in_sigtramp, sparc64fbsd_sigtramp_frame_cache) | |
6406 | (sparc64fbsd_sigtramp_frame_this_id) | |
6407 | (sparc64fbsd_sigtramp_frame_prev_register): New functions. | |
6408 | (sparc64fbsd_sigtramp_frame_unwind): New variable. | |
6409 | (sparc64fbsd_sigtramp_frame_sniffer): New function. | |
6410 | (sparc64fbsd_init_abi): Set pc_in_sigtramp, append | |
6411 | sparc64fbsd_sigtramp_frame_sniffer. Call sparc64_init_abi. | |
6412 | * sparcnbsd-tdep.c: Update copyright year. Include | |
6413 | "floatformat.h", "frame.h", "frame-unwind.h", "symtab.h", | |
6414 | "trad-frame.h" and "gdb_assert.h", don't include "target.h", | |
6415 | "value.h" and "sparcnbsd-tdep.h". | |
6416 | (REG32_OFFSET_PSR, REG32_OFFSET_PC, REG32_OFFSET_NPC) | |
6417 | (REG32_OFFSET_Y, REG32_OFFSET_GLOBAL, REG32_OFFSET_OUT) | |
6418 | (REG64_OFFSET_TSTATE, REG64_OFFSET_PC, REG64_OFFSET_NPC) | |
6419 | (REG64_OFFSET_Y, REG64_OFFSET_GLOBAL, REG64_OFFSET_OUT): Remove | |
6420 | defines. | |
6421 | (sparcnbsd_gregset): New variable. | |
6422 | (sparcnbsd_supply_reg32, sparcnbsd_supply_reg64) | |
6423 | (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64) | |
6424 | (sparcnbsd_supply_fpreg32, sparcnbsd_supply_fpreg64) | |
6425 | (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64): Remove functions. | |
6426 | (sparc32nbsd_sigtramp_start, sparc32nbsd_sigtramp_end): New | |
6427 | variables. | |
6428 | (sparc32nbsd_pc_in_sigtramp, sparc32nbsd_sigcontext_frame_cache) | |
6429 | (sparc32nbsd_sigcontext_frame_this_id) | |
6430 | (sparc32nbsd_sigcontext_frame_prev_register): New functions. | |
6431 | (sparc32nbsd_sigcontext_frame_unwind): New variable. | |
6432 | (sparc32nbsd_sigtramp_frame_sniffer): New function. | |
6433 | (sparcnbsd_get_longjmp_target_32, | |
6434 | sparcnbsd_get_longjmp_target_64): Remove functions. | |
6435 | (sparcnbsd_aout_in_solib_call_trampoline): Rewrite. | |
6436 | (sparcnbsd_init_abi_common, sparcnbsd_init_aout, | |
6437 | sparcnbsd_init_elf): Remove. | |
6438 | (sparcnbsd_init_abi, sparcnbsd_aout_init_abi) | |
6439 | (sparcnbsd_elf_init_abi): New functions. | |
6440 | (_initialize_sparcnbsd_tdep): New prototype. | |
6441 | (_initialize_sparnbsd_tdep): Update. | |
6442 | * config/sparc/fbsd.mh (NATDEPFILES): Remove sparcbsd-nat.o and | |
6443 | corelow.o. Add sparc64-nat.o and sparc-nat.o. | |
6444 | * config/sparc/fbsd.mt (TDEPFILES): Add sparc-tdep.o and corelow.o. | |
6445 | * config/sparc/linux.mh: Update comment. | |
6446 | (XM_FILE, HOST_IPC): Remove variables. | |
6447 | (NATDEPFILES): Add sparc-sol2-nat.o and core-regset.o. Remove | |
6448 | sparc-linux-nat.o. | |
6449 | * config/sparc/linux.mt: Update comment. | |
6450 | (TDEPFILES): Add sparc-sol2-tdep.o and sparc-linux-tdep.o. | |
6451 | * config/sparc/nbsd.mt: Reformat. | |
6452 | * config/sparc/nbsd64.mh: Update comment. | |
6453 | (NATDEPFILES): Add sparc-nat.o. | |
6454 | * config/sparc/nbsd64.mt: Update comment. | |
6455 | (TDEPFILES): Add sparc64-tdep.o and sparc64nbsd-tdep.o. | |
6456 | (TM_FILE): Set to tm-nbsd.h. | |
6457 | * config/sparc/nbsdelf.mh: Update comment. | |
6458 | (NATDEPFILES): Add sparc-nat.o. | |
6459 | (XM_FILE): Delete. | |
6460 | * config/sparc/nbsdaout.mh: Update comment. | |
6461 | (NATDEPFILES): Add sparc-nat.o | |
6462 | (XM_FILE): Delete. | |
6463 | * config/sparc/nm-linux.h: Update copyright year. Don't include | |
6464 | "config/nm-svr4.h" and "solib.h". Add protection against multiple | |
6465 | inclusion. | |
6466 | (KERNEL_U_SIZE): Remove define. | |
6467 | (kernel_u_size): Remove prototype. | |
6468 | (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define. | |
6469 | * config/sparc/nm-nbsd.h: Update copyright. Don't include | |
6470 | "regcache.h". | |
6471 | (CHILD_PREPARE_TO_STORE): Remove define. | |
6472 | * config/sparc/nm-nbsdaout.h: Tweak some comments. | |
6473 | * sparc-nat.c, sparc-tdep.c, sparc-tdep.h, sparc64nbsd-nat.c, | |
6474 | sparcnbsd-nat.c: Rewrite files. | |
6475 | * config/sparc/tm-linux.h, config/sparc/tm-nbsd.h: Rewrite files. | |
6476 | * sparc-linux-nat.c, sparcbsd-nat.c, sparcbsd-nat.h, | |
6477 | sparcnbsd-tdep.h: Remove files. | |
6478 | * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4os4.h, | |
6479 | config/sparc/nm-sun4sol2.h, config/sparc/sp64.mt, | |
6480 | config/sparc/sp64linux.mt, config/sparc/sp64sol2.mt, | |
6481 | config/sparc/sparc-em.mt, config/sparc/sparclynx.mh, | |
6482 | config/sparc/sparclynx.mt, config/sparc/sun4os4.mh, | |
6483 | config/sparc/sun4os4.mt, config/sparc/sun4sol2.mh, | |
6484 | config/sparc/sun4sol2.mt, config/sparc/tm-sp64.h, | |
6485 | config/sparc/tm-sp64linux.h, config/sparc/tm-sparc.h, | |
6486 | config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h, | |
6487 | config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h, | |
6488 | config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt, | |
6489 | config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h: Remove files. | |
6490 | * sparc-linux-tdep.c, sparc-nat.h, sparc-sol2-nat.c, | |
6491 | sparc-sol2-tdep.c, sparc64-linux-nat.c, sparc64-linux-t dep.c, | |
6492 | sparc64-nat.c, sparc64-sol2-tdep.c, sparc64nbsd-tdep.c: New files. | |
6493 | * config/sparc/linux64.mh, config/sparc/linux64.mt, | |
6494 | config/sparc/nm-sol2.h, config/sparc/sol2-64.mt, | |
6495 | config/sparc/sol2.mh, config/sparc/sol2.mt, config/sparc/sparc.mt, | |
6496 | config/sparc/sparc64.mt, config/sparc/tm-sol2.h: New files. | |
6497 | ||
ee84457a AC |
6498 | 2004-01-02 Andrew Cagney <cagney@redhat.com> |
6499 | ||
6500 | From 2003-12-18 Kazuhiro Inaoka: | |
6501 | * configure.host: Add m32r-linux target. | |
6502 | ||
0bc2134e MC |
6503 | 2004-01-02 Michael Chastain <mec.gnu@mindspring.com> |
6504 | ||
6505 | * top.c (print_gdb_version): Update year to 2004. | |
6506 | ||
89a72f9c MM |
6507 | 2004-01-02 Mark Mitchell <mark@codesourcery.com> |
6508 | ||
6509 | * MAINTAINERS: Add myself to the write-after-approval category. | |
6510 | ||
86b013ed DJ |
6511 | 2004-01-02 Daniel Jacobowitz <drow@mvista.com> |
6512 | ||
6513 | From Bernardo Innocenti <bernie@develer.com>: | |
6514 | * configure.tgt: Add uClinux target. | |
6515 | ||
e42c9534 AC |
6516 | 2004-01-02 Andrew Cagney <cagney@redhat.com> |
6517 | ||
6518 | * utils.c (do_my_cleanups): Make static, add forward declaration. | |
6519 | * defs.h (do_my_cleanups): Delete declaration. | |
6520 | ||
162467d3 EZ |
6521 | 2004-01-02 Eli Zaretskii <eliz@elta.co.il> |
6522 | ||
6523 | * config/djgpp/fnchange.lst: Add lines for gdb/ChangeLog-2003 and | |
6524 | bfd/ChangeLog-0203. | |
6525 | ||
78434e59 MK |
6526 | 2004-01-02 Mark Kettenis <kettenis@gnu.org> |
6527 | ||
6528 | * configure.in: Check for <machine/reg.h>. Check for `struct reg' | |
6529 | in <machine/reg.h>. | |
6530 | * configure, config.in: Regenerate. | |
6531 | ||
48efe704 AC |
6532 | For older changes see ChangeLog-2003, mi/ChangeLog-1999-2003, and |
6533 | tui/ChangeLog-1998-2003. | |
c906108c SS |
6534 | \f |
6535 | Local Variables: | |
6536 | mode: change-log | |
6537 | left-margin: 8 | |
6538 | fill-column: 74 | |
6539 | version-control: never | |
6540 | End: |