Commit | Line | Data |
---|---|---|
7a5a0534 JB |
1 | 2002-07-02 Joel Brobecker <brobecker@gnat.com> |
2 | ||
3 | * solib-osf.c (open_map): Compute the list of shared libraries | |
4 | loaded by the inferior, rather than the list of libraries loaded | |
5 | by GDB itself. Otherwise, GDB ends up reading the symbols from | |
6 | the wrong shared libraries... | |
7 | ||
6f558d74 MK |
8 | 2002-07-02 Mark Kettenis <kettenis@gnu.org> |
9 | ||
b7d15bf7 MK |
10 | * i386-linux-tdep.c (i386_linux_sigcontext_addr): Make static. |
11 | (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONEXT_SP_OFFSET): Remove | |
12 | macros. | |
13 | (i386_linux_sigtramp_saved_pc, i386_linux_sigtramp_saved_sp): | |
14 | Remove functions. | |
15 | (FRAMELESS_SIGNAL): Remove function. | |
16 | (i386_linux_frame_chain, i386_linux_frame_saved_pc, | |
17 | i386_linux_saved_pc_after_call): Removed. | |
18 | (i386_linux_init_abi): Initialize tdep->sigcontext_addr, | |
19 | tdep->sc_pc_offset and tdep->sc_sp_offset. Don't override | |
20 | frame_chain, frame_saved_pc and saved_pc_after_call any longer. | |
21 | ||
6bff26de MK |
22 | * i386-tdep.c (i386_frameless_signal_p): New function. |
23 | (i386_frame_chain): Deal with frameless signals. | |
24 | (i386_sigtramp_saved_sp): New function. | |
25 | (i386_frame_saved_pc): Deal with frameless signals. | |
26 | (i386_saved_pc_after_call): Make sure the correct value is | |
27 | returned just after entry into a sigtramp. | |
28 | * i386bsd-tdep.c (i386bsd_sc_sp_offset, i386nbsd_sc_sp_offset, | |
29 | i386fbsd4_sc_sp_offset): New variables. | |
30 | (i386bsd_init_abi, i386nbsd_init_abi, i386fbsd4_init_abi): Use | |
31 | these variables to initialize tdep->sc_sp_offset. * i386bsd-nat.c | |
32 | (_initialize_i386bsd_nat): Add sanity check for sc_sp_offset | |
33 | similiar to what we already did for sc_pc_offset. | |
34 | * i386-sol2-tdep.c (i386_sol2_init_abi): Initialize | |
35 | tdep->sc_sp_offset. | |
36 | ||
6f558d74 MK |
37 | * i386nbsd-tdep.c (fetch_elfcore_registers): Wrap long line. |
38 | ||
145564b7 ML |
39 | 2002-07-02 Michal Ludvig <mludvig@suse.cz> |
40 | ||
41 | * config/i386/tm-x86-64linux.h: New. | |
42 | * config/i386/x86-64linux.mt: Add GDB_MULTI_ARCH and TM_FILE | |
43 | definitions. | |
44 | * config/i386/nm-x86-64.h: Rename to ... | |
45 | * config/i386/nm-x86-64linux.h: ... this one. | |
46 | * config/i386/x86-64linux.mh: Reflect the above change. | |
47 | ||
3a1e71e3 MK |
48 | 2002-07-01 Mark Kettenis <kettenis@gnu.org> |
49 | ||
21d0e8a4 MK |
50 | * i386-tdep.h (struct gdbarch_tdep): Replace sigtramp_saved_pc |
51 | with sigcontext_addr. Add sc_sp_offset. | |
52 | (i386bsd_sigtramp_saved_pc): Remove prototype. | |
53 | (i386bsd_sicontext_addr): Add prototype. | |
54 | * i386-tdep.c (i386_sigtramp_saved_pc): New function. | |
55 | (i386_frame_saved_pc): Rewrite to call i386_sigtramp_saved_pc. | |
56 | (i386_svr4_sigtramp_saved_pc): Removed. | |
57 | (i386_svr4_sigcontext_addr): New function. | |
58 | (i386_svr4_init_abi): Don't initialize tdep->sigtramp_saved_pc. | |
59 | Initialize tdep->sigcontext_addr instead. Initialize | |
60 | tdep->sc_pc_offset and tdep->sc_sp_offset. | |
61 | (i386_gdbarch_init): Likewise. | |
62 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Don't make it static | |
63 | any more. | |
64 | (i386bsd_sigtramp_saved_pc): Remove function. | |
65 | (i386bsd_init_abi): Don't initialize tdep->sigtramp_saved_pc. | |
66 | Initialize tdep->sigcontext_addr instead. Initialize | |
67 | tdep->sc_pc_offset. | |
68 | * i386-linux-tdep.c (i386_linux_init_abi): Remove initialization | |
69 | of tdep->sigtramp_saved_pc. | |
70 | * i386-sol2-tdep.c (i386_sol2_init_abi): Don't initialize | |
71 | tdep->sigtramp_saved_pc. Initialize tdep->sigcontext_addr | |
72 | instead. | |
73 | ||
3a1e71e3 MK |
74 | * i386-tdep.c (i386_frameless_function_invocation, |
75 | i386_frame_num_args, i386_frame_init_saved_regs, | |
76 | i386_skip_prologue, i386_push_dummy_frame, i386_fix_call_dummy, | |
77 | i386_pop_frame, i386_push_arguments, i386_store_struct_return, | |
78 | i386_extract_return_value, i386_store_return_value, | |
79 | i386_extract_struct_value_address, i386_register_virtual_type, | |
80 | i386_register_convertible, i386_register_convert_to_virtual, | |
81 | i386_register_convert_to_raw, i386_svr4_sigtramp_saved_pc, | |
82 | i386_go32_init_abi, i386_nw_init_abi, i386_gdbarch_init): Make | |
83 | static. | |
84 | ||
52e9098c MK |
85 | 2002-07-01 Mark Kettenis <kettenis@gnu.org> |
86 | ||
77b13a25 MK |
87 | * i386bsd-tdep.c (i386bsd_frame_saved_pc): Removed. |
88 | ||
52e9098c MK |
89 | * config/i386/tm-i386sol2.h (COERCE_FLOAT_TO_DOUBLE): Removed. |
90 | * i386-sol2-tdep.c (i386_sol2_init_abi): Adjust for the removal of | |
91 | this macro. Include "value.h". | |
92 | ||
1b372fff AS |
93 | 2002-06-30 Aidan Skinner <aidan@velvet.net> |
94 | ||
95 | * ada-exp.tab.c: remove as it's a generated file | |
96 | * ada-lex.c: remove as it's a generated file | |
97 | ||
9c5045b5 MK |
98 | 2002-06-30 Mark Kettenis <kettenis@gnu.org> |
99 | ||
4a93c5bb MK |
100 | * config/i386/tm-i386.h (struct frame_info, struct |
101 | frame_saved_regs, struct value, struct type): Remove forward | |
102 | declarations. | |
103 | ||
322d4fe0 MK |
104 | * config/i386/tm-linux.h [HAVE_PTRACE_GETFPXREGS] |
105 | (FILL_FPXREGSET, HAVE_SSE_REGS): Remove define. | |
106 | * config/i386/nm-linux.h [HAVE_PTRACE_GETFPXREGS] | |
107 | (FILL_FPXREGSET): Define. | |
108 | ||
fdd8263d MK |
109 | * config/i386/tm-nbsd.h (HAVE_SSE_REGS): Remove define. |
110 | ||
482e577b MK |
111 | * configure.tgt (i[3456]86-*-openbsd*): Fold into |
112 | i[3456]86-*-netbsd* case. | |
113 | * config/i386/tm-obsd.h: Removed. | |
114 | * config/i386/obsd.mt: Removed. | |
115 | * config/i386/obsd.mh (NATDEPFILES): Remove corelow.o and | |
116 | core-aout.o. | |
117 | (MH_CFLAGS): Add -DYYDEBUG=0. | |
118 | ||
6916549a MK |
119 | * i386bsd-nat.c (_initialize_i386bsd_nat): Define SC_PC_OFFSET to |
120 | i386nbsd_sc_pc_offset on OpenBSD too. | |
121 | ||
9c5045b5 MK |
122 | * config/i386/tm-fbsd.h [!SVR4_SHARED_LIBS] |
123 | (IN_SOLIB_CALL_TRAMPOLINE): Remove define. | |
124 | * config/i386/tm-nbsdaout.h (IN_SOLIB_CALL_TRAMPOLINE): Remove | |
125 | define. | |
126 | * i386bsd-tdep.c: Include "arch-utils.h". | |
127 | (i386bsd_aout_in_solib_call_trampoline): New function. | |
128 | (i386bsd_init_abi): Set in_solib_call_trampoline to | |
129 | i386bsd_aout_in_solib_call_trampoline. | |
130 | (i386nbsdelf_init_abi, i386fbsd_init_abi): Set | |
131 | in_solib_call_trampoline to generic_in_solib_call_trampoline. | |
132 | ||
aa84d1bb AC |
133 | 2002-06-28 Andrew Cagney <ac131313@redhat.com> |
134 | ||
135 | * macrotab.h: Do not include "obstack.h" or "bcache.h". | |
136 | (struct obstack, struct bcache): Add opaque declarations. | |
137 | * Makefile.in (macrotab_h): Update | |
138 | ||
b4d83933 AC |
139 | 2002-06-28 Andrew Cagney <ac131313@redhat.com> |
140 | ||
141 | * blockframe.c (generic_find_dummy_frame): Change return type to | |
142 | ``struct regcache''. | |
143 | (struct dummy_frame): Replace field ``registers'' with regcache, a | |
144 | struct regcache object. | |
145 | (generic_find_dummy_frame): Update. | |
146 | (generic_push_dummy_frame): Update. Use regcache_xfree, | |
147 | regcache_xmalloc and regcache_cpy. | |
148 | (generic_pop_dummy_frame): Update. Use regcache_cpy and | |
149 | regcache_xfree. | |
150 | (deprecated_generic_find_dummy_frame): Update. | |
151 | (generic_read_register_dummy): Update. Use | |
152 | regcache_read_as_address. | |
153 | (generic_call_dummy_register_unwind): Update. Use regcache_read. | |
154 | (generic_get_saved_register): Update. Use regcache_read. | |
155 | ||
08c0b5bc AC |
156 | 2002-06-28 Andrew Cagney <ac131313@redhat.com> |
157 | ||
158 | * Makefile.in (objfiles_h): Add $(bcache_h). | |
159 | * objfiles.h: Include "bcache.h". | |
160 | ||
161 | * Makefile.in (symtab_h): Remove $(bcache_h). | |
162 | * symtab.h: Do not include "bcache.h". | |
163 | ||
1f89801a AC |
164 | 2002-06-28 Andrew Cagney <ac131313@redhat.com> |
165 | ||
166 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Set frame_chain_valid to | |
167 | generic_func_frame_chain_valid. | |
168 | ||
b9644b58 DB |
169 | 2002-06-28 David O'Brien <obrien@FreeBSD.org> |
170 | ||
171 | * config/i386/nm-fbsd.h: Include <sys/param.h>. | |
172 | * config/i386/tm-fbsd.h: Likewise. | |
173 | ||
dd486634 AC |
174 | 2002-06-28 Andrew Cagney <ac131313@redhat.com> |
175 | ||
176 | * rs6000-tdep.c (rs6000_gdbarch_init): Use | |
177 | generic_unwind_get_saved_register. | |
178 | ||
0b434a00 AC |
179 | 2002-06-27 Andrew Cagney <ac131313@redhat.com> |
180 | ||
181 | From 2002-06-27 John David Anglin <dave@hiauly1.hia.nrc.ca>: | |
182 | * regcache.c (supply_register): Add missing argument to | |
183 | register_buffer call. | |
184 | ||
f30e5a77 AC |
185 | 2002-06-27 Andrew Cagney <ac131313@redhat.com> |
186 | ||
187 | * Makefile.in (init.c): Drop -e option to grep. Not necessary and | |
188 | Solaris /bin/grep does not not like it. From Peter Schauer. | |
189 | ||
9f064c95 TT |
190 | 2002-06-26 Tom Tromey <tromey@redhat.com> |
191 | ||
192 | * command.h (add_setshow_cmd): Declare. | |
193 | (add_setshow_cmd_full): Declare. | |
194 | * cli/cli-decode.c (add_setshow_cmd): No longer static. Now | |
195 | returns void. Use add_setshow_cmd_full. | |
196 | (add_setshow_cmd_full): New function. | |
197 | (add_setshow_auto_boolean_cmd): Use add_setshow_cmd_full. | |
198 | (add_setshow_boolean_cmd): Likewise. | |
199 | ||
099c7589 JT |
200 | 2002-06-26 Jason Thorpe <thorpej@wasabisystems.com> |
201 | ||
202 | * config/vax/tm-vax.h: Protect from multiple inclusion. | |
203 | (TARGET_UPAGES, TARGET_NBPG, STACK_END_ADDR) | |
204 | (SIGTRAMP_START, SIGTRAMP_END, SIGCONTEXT_PC_OFFSET): Move to... | |
205 | * config/vax/tm-vaxbsd.h: ...here. New file. | |
206 | * config/vax/vax.mt (TM_FILE): Set to tm-vaxbsd.h. | |
207 | ||
1d049c5e JT |
208 | 2002-06-26 Jason Thorpe <thorpej@wasabisystems.com> |
209 | ||
210 | * config/vax/tm-vax.h (BREAKPOINT): Remove. | |
211 | (BELIEVE_PCC_PROMOTION): Remove. | |
212 | (AP_REGNUM): Move to... | |
213 | * config/vax/nm-vax.h: ...here. | |
214 | * vax-tdep.c: Use VAX_AP_REGNUM instead of AP_REGNUM. | |
215 | (vax_breakpoint_from_pc): New function. | |
216 | (vax_gdbarch_init): Initialize gdbarch_breakpoint_from_pc | |
217 | and gdbarch_believe_pcc_promotion. | |
218 | ||
4791e091 JT |
219 | 2002-06-26 Jason Thorpe <thorpej@wasabisystems.com> |
220 | ||
221 | * Makefile.in (vax_tdep_h): Define. | |
222 | (vax-tdep.o): Use $(vax_tdep_h). | |
223 | * vax-tdep.c (vax_gdbarch_init): Use generic OS ABI framework. | |
224 | (vax_dump_tdep): New function. | |
225 | (_initialize_vax_tdep): Register vax_dump_tdep. | |
226 | * vax-tdep.h: Include osabi.h. | |
227 | (struct gdbarch_tdep): New. | |
228 | ||
da130f98 AC |
229 | 2002-06-26 Andrew Cagney <cagney@redhat.com> |
230 | ||
231 | * frame.h (deprecated_generic_find_dummy_frame): Rename | |
232 | generic_find_dummy_frame. | |
233 | * blockframe.c (generic_find_dummy_frame): Make static. | |
234 | (deprecated_generic_find_dummy_frame): New function. | |
235 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Replace | |
236 | generic_find_dummy_frame with deprecated_find_dummy_frame. | |
237 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
238 | (sh_fp_frame_init_saved_regs): Ditto. | |
239 | * s390-tdep.c (s390_frame_saved_pc_nofix): Ditto. | |
240 | (s390_frame_chain): Ditto. | |
241 | * cris-tdep.c (cris_frame_init_saved_regs): Ditto. | |
242 | ||
6300c360 GS |
243 | 2002-06-26 Grace Sainsbury <graces@redhat.com> |
244 | ||
245 | * config/m68k/tm-m68k.h: Rearrange code so macros not in the | |
246 | gdbarch vector are at the top. | |
247 | (NUM_REGS): Remove. | |
248 | (FP_REGNUM, SP_REGNUM, PS_REGNUM, PC_REGNUM, FP0_REGNUM): Remove. | |
249 | (FRAME_ARGS_ADDRESS): Remove. | |
250 | (FRAME_LOCALS_ADDRESS): Remove. | |
251 | (FRAME_NUM_ARGS): Remove. | |
252 | (FRAME_ARGS_SKIP): Remove. | |
253 | * m68k-tdep.c (enum): Add eumeration of special register numbers. | |
254 | (m68k_gdbarch_init): Add gdbarch initializations for macros | |
255 | undefined in tm-m68k.h | |
256 | ||
1c617db8 GS |
257 | 2002-06-26 Grace Sainsbury <graces@redhat.com> |
258 | ||
259 | * monitor.h: Add the function regname to monitor_ops | |
260 | structure. This way NUM_REGS does not have to be a constant. | |
261 | * monitor.c (monitor_fetch_register): Added support for regname | |
262 | function. The function is called if the array regnames is NULL. | |
263 | (monitor_store_register): Same. | |
da130f98 AC |
264 | * cpu32bug-rom.c (cpu32bug_regname): Add function. Replaces |
265 | regnames array. | |
1c617db8 GS |
266 | (init_cpu32bug_cmds): set cpu32bug_cmds.regnames to NULL, |
267 | cpu32bug_cmds.regname to point to new function. | |
268 | * abug-rom.c (abug_regname): Same as above. | |
269 | (init_abug_cmds): Same. | |
270 | * dbug-rom.c (dbug_regname): Same as above. | |
271 | (init_dbug_cmds): Same. | |
272 | * remote-est.c (est_regname): Same. | |
273 | (init_est_cmds): Same. | |
274 | * rom68k-rom.c (rom68k_regname): Same. | |
275 | (init_rom68k_cmds): Same. | |
276 | ||
ea9365bb TT |
277 | 2002-06-25 Tom Tromey <tromey@redhat.com> |
278 | ||
279 | * breakpoint.c (delete_command): Don't repeat `delete' commands. | |
280 | ||
72cec141 AC |
281 | 2002-06-25 Andrew Cagney <cagney@redhat.com> |
282 | ||
283 | * infrun.c (stop_registers): Change variable's type to ``struct | |
284 | regcache'''. | |
285 | (xmalloc_inferior_status): Delete function. | |
286 | (free_inferior_status): Delete function. | |
287 | (normal_stop): Use regcache_cpy. | |
288 | (struct inferior_status): Change type of fields ``stop_registers'' | |
289 | and ``registers'' to ``struct regcache''. | |
290 | (write_inferior_status_register): Use regcache_write. | |
291 | (save_inferior_status): Instead of calling | |
292 | xmalloc_inferior_status, allocate the inf_status buffer directly. | |
293 | Use regcache_dup_no_passthrough and regcache_dup to save the | |
294 | buffers. | |
295 | (restore_inferior_status): Use regcache_xfree and regcache_cpy. | |
296 | Replace the stop_registers regcache instead of overriding it. Use | |
297 | regcache_xfree. Instead of calling free_inferior_status, xfree | |
298 | the buffer directly. | |
299 | (discard_inferior_status): Use regcache_xfree. Instead of calling | |
300 | free_inferior_status, xfree the buffer directly. | |
301 | (build_infrun): Use regcache_xmalloc. | |
302 | (_initialize_infrun): Delete redundant call to build_infrun. | |
303 | ||
304 | * Makefile.in (infcmd.o): Add $(regcache_h). | |
305 | ||
306 | * infcmd.c: Include "regcache.h". | |
307 | (run_stack_dummy): Use deprecated_grub_regcache_for_registers to | |
308 | obtain the address of `stop_registers' register buffer. | |
309 | (print_return_value): Ditto. | |
310 | ||
311 | * inferior.h (struct regcache): Add opaque declaration. | |
312 | (stop_registers): Change variable's declared type to ``struct | |
313 | regcache''. | |
314 | ||
defc6f8c TT |
315 | 2002-06-24 Tom Tromey <tromey@redhat.com> |
316 | ||
c0e624e7 TT |
317 | * cli/cli-decode.c (add_show_from_set): Fixed typo in comment. |
318 | * target.c (initialize_targets): Fixed typo in | |
319 | trust-readonly-sections `show' documentation. | |
320 | ||
defc6f8c TT |
321 | * main.c: Marked all strings with _(). |
322 | ||
2b236d82 DH |
323 | 2002-06-24 Don Howard <dhoward@redhat.com> |
324 | ||
325 | * memattr.c (create_mem_region): Treat hi == 0 as a special case | |
326 | that means max CORE_ADDR+1. | |
327 | (lookup_mem_region): Ditto. | |
328 | (mem_info_command): Ditto. | |
329 | ||
942dc0e9 GS |
330 | 2002-06-24 Grace Sainsbury <graces@redhat.com> |
331 | ||
332 | * config/m68k/tm-m68k.h (DECR_PC_AFTER_BREAK): Remove. | |
333 | (REGISTER_BYTES_OK): Remove. | |
334 | (REGISTER_BYTES): Remove. | |
335 | (STORE_STRUCT_RETURN): Remove. | |
336 | (DEPRECATED_EXTRACT_RETURN_VALUE): Remove. | |
337 | (STORE_RETURN_VALUE): Remove. | |
338 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove. | |
339 | (FRAME_CHAIN): Remove. | |
340 | (FRAMELESS_FUNCTION_INVOCATION): Remove. | |
341 | (FRAME_SAVED_PC): Remove. | |
342 | * m68k-tdep.c (m68k_register_bytes_ok):Add. | |
343 | (m68k_store_struct_return): Add. | |
344 | (m68k_deprecated_extract_return_value): Add. | |
345 | (m68k_deprecated_extract_struct_value_address): Add. | |
346 | (m68k_store_return_value): Add. | |
347 | (m68k_frame_chain): Add. | |
348 | (m68k_frameless_function_invocation): Add. | |
349 | (m68k_frame_saved_pc): Add. | |
350 | (m68k_gdbarch_init): added set_gdbarch calls for new | |
351 | functions and deleted macros. | |
352 | ||
03c30d4d TT |
353 | 2002-06-23 Tom Tromey <tromey@redhat.com> |
354 | ||
355 | * Makefile.in (HFILES_NO_SRCDIR): Remove old files. | |
356 | (ALLDEPFILES): Likewise. | |
357 | (udiheaders): Removed. | |
358 | (udip2soc.o): Likewise. | |
359 | (udi2go32.o): Likewise. | |
360 | (udr.o): Likewise. | |
361 | (HFILES_WITH_SRCDIR): Don't mention udiheaders. | |
362 | ||
37e71372 AC |
363 | 2002-06-22 Andrew Cagney <ac131313@redhat.com> |
364 | ||
06a6ac57 AC |
365 | * infrun.c (_initialize_infrun): Delete unnecessary call to |
366 | build_infrun. | |
367 | ||
37e71372 AC |
368 | * regcache.h: Update comments describing the regcache_cpy family |
369 | of functions. | |
370 | (regcache_save, regcache_restore): Delete declaration. | |
371 | (regcache_save_no_passthrough): Delete declaration. | |
372 | (regcache_restore_no_passthrough): Delete declaration. | |
373 | * regcache.c (regcache_save): Delete function. | |
374 | (regcache_save_no_passthrough): Delete function. | |
375 | (regcache_restore): Delete function. | |
376 | (regcache_restore_no_passthrough): Delete function. | |
377 | ||
78f6d055 AC |
378 | 2002-06-21 Andrew Cagney <ac131313@redhat.com> |
379 | ||
380 | * config/m68k/tm-m68k.h: Fix typo. | |
381 | (FRAME_INIT_SAVED_REGS): Define when non-multi-arch. | |
382 | (m68k_frame_init_saved_regs): Declare. | |
383 | ||
78b119cb JB |
384 | 2002-06-21 Jim Blandy <jimb@redhat.com> |
385 | ||
386 | Remove some vestiges of Harris 88k support. | |
387 | * dwarf2read.c (decode_locdesc): Remove `#if' block for Harris 88k | |
388 | register numbering quirk. | |
389 | * elfread.c (elf_symtab_read): Remove `#if' block for skipping | |
390 | odd symbols occurring in Harris 88k ELF targets. | |
391 | ||
0fbb3da7 TT |
392 | 2002-06-21 Tom Tromey <tromey@redhat.com> |
393 | ||
394 | * gdb_locale.h: New file. | |
395 | * Makefile.in (GDB_CFLAGS): Define LOCALEDIR. | |
396 | (defs_h): Added gdb_locale.h. | |
397 | * configure, config.in: Rebuilt. | |
398 | * configure.in (PACKAGE): Define. | |
399 | * defs.h: Include gdb_locale.h. | |
400 | * main.c (captured_main): Call setlocale, bindtextdomain, | |
401 | textdomain. | |
402 | ||
456f8b9d DB |
403 | 2002-06-21 Dave Brolley <brolley@redhat.com> |
404 | ||
405 | From Stan Shebs, Jim Blandy, Mark Salter, Kevin Buettner: | |
406 | * config/frv/frv.mt: New file. | |
407 | * config/frv/tm-frv.h: New file. | |
408 | * configure.tgt: Support frv-*-*. | |
409 | * Makefile.in (frv-tdep.o): New target. | |
410 | * frv-tdep.c: New file. | |
411 | * NEWS: Mention frv. | |
412 | ||
cdd463f9 DB |
413 | 2002-06-21 Dave Brolley <brolley@redhat.com> |
414 | ||
415 | * MAINTAINERS: Add self to "Write After Approval" list. | |
416 | ||
5d3ed2e3 GS |
417 | 2002-06-21 Grace Sainsbury <graces@redhat.com> |
418 | ||
419 | * config/m68k/tm-m68k.h (REGISTER_BYTE, REGISTER_RAW_SIZE) | |
420 | (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE) | |
421 | (REGISTER_VIRTUAL_TYPE, REGISTER_NAMES, TARGET_LONG_DOUBLE_FORMAT) | |
422 | (FUNCTION_START_OFFSET, SKIP_PROLOGUE, SAVED_PC_AFTER_CALL) | |
423 | (INNER_THAN, STACK_ALIGN, REGISTER_SIZE): Remove macros. | |
424 | ||
425 | * m68k-tdep.c: Include arch-utils.h | |
426 | (m68k_register_raw_size): Add. | |
427 | (m68k_register_virtual_size): Add. | |
428 | (m68k_register_virtual_type): Add. | |
429 | (m68k_register_name): Add. | |
430 | (m68k_stack_align): Add. | |
431 | (m68k_register_byte): Add. | |
432 | (m68k_gdbarch_init): Add set_gdbarch calls for macros removed in | |
433 | tm-m68k.h. | |
434 | ||
7f8e7424 GS |
435 | 2002-06-21 Grace Sainsbury <graces@redhat.com> |
436 | ||
a2c6a6d5 | 437 | * m68k-tdep.c (m68k_frame_init_saved_regs): Replace |
7f8e7424 GS |
438 | m68k_find_saved_regs. |
439 | (m68k_pop_frame): Removed saved_regs structure, and replaced | |
5d3ed2e3 | 440 | references to it with frame->saved_regs. |
7f8e7424 GS |
441 | (m68k_gdbarch_init): Added function calls to initialize the |
442 | gdbarch structure. | |
a2c6a6d5 GS |
443 | (m68k_fix_call_dummy): Add. |
444 | * config/m68k/tm-m68k.h: (FRAME_FIND_SAVED_REGS): Remove. | |
445 | (CALL_DUMMY): Remove. | |
446 | (CALL_DUMMY_LENGTH): Remove. | |
447 | (CALL_DUMMY_START_OFFSET): Remove. | |
448 | (CALL_DUMMY_BREAKPOINT_OFFSET): Remove. | |
449 | (FIX_CALL_DUMMY): Remove. | |
450 | (PUSH_DUMMY_FRAME): Remove. | |
451 | (POP_FRAME): Remove. | |
7f8e7424 | 452 | |
f461f5cf PM |
453 | 2002-06-19 Pierre Muller <muller@ics.u-strasbg.fr> |
454 | ||
455 | * parse.c (parse_fprintf): New function used to avoid calls to | |
456 | fprintf in bison parser generated debug code. | |
457 | * parser-defs.h: Declaration of new parse_fprintf function. | |
458 | * ada-exp.y, c-exp.y, f-exp.y, jv-exp.y, m2-exp.y, p-exp.y: | |
459 | Set YYDEBUG to 1 by default. | |
460 | Set YYFPRINTF as parse_fprintf. | |
461 | ||
7f0c12ed ML |
462 | 2002-06-21 Michal Ludvig <mludvig@suse.cz> |
463 | ||
464 | * dwarf2cfi.c (read_encoded_pointer): Don't handle pointer | |
465 | encoding anymore. | |
466 | (pointer_encoding, enum ptr_encoding): New. | |
467 | (execute_cfa_program): Take care about pointer encoding. | |
468 | (dwarf2_build_frame_info): Only call parse_frame_info for | |
469 | .debug_frame and .eh_frame. | |
470 | (parse_frame_info): New, derived from former dwarf2_build_frame_info. | |
471 | fixed augmentation handling, added relative addressing, | |
472 | ignore duplicate FDEs. Added comments. | |
19d833a2 | 473 | * dwarf2cfi.c: Reindented. |
7f0c12ed | 474 | |
87c4a039 EZ |
475 | 2002-06-20 Elena Zannoni <ezannoni@redhat.com> |
476 | ||
477 | * event-top.c (command_handler): Don't use space_at_cmd_start | |
478 | unless there is sbrk() on the host. Assign time and space data | |
479 | to union fields of the appropriate length. | |
480 | ||
1cf877ad ML |
481 | 2002-06-20 Michal Ludvig <mludvig@suse.cz> |
482 | ||
483 | * x86-64-tdep.c (x86_64_register_nr2name): Rename to | |
484 | x86_64_register_name. Return type changed to 'const char *'. | |
485 | (x86_64_register_name2nr): Rename to x86_64_register_number. | |
486 | (x86_64_gdbarch_init): Update to reflect the change. | |
487 | * x86-64-tdep.h: Ditto. | |
488 | * x86-64-linux-nat.c (x86_64_fxsave_offset) | |
489 | (supply_fpregset): Ditto. | |
490 | ||
3fadccb3 AC |
491 | 2002-06-19 Andrew Cagney <cagney@redhat.com> |
492 | ||
493 | * regcache.h: Update copyright. | |
494 | (struct regcache, struct gdbarch): Add opaque declarations. | |
495 | (current_regcache): Declare global variable. | |
496 | (regcache_read, regcache_write): Add gdbarch parameter. | |
497 | (regcache_save, regcache_save_no_passthrough) | |
498 | (regcache_restore, regcache_restore_no_passthrough) | |
499 | (regcache_dup, regcache_dup_no_passthrough) | |
500 | (regcache_cpy, regcache_cpy_no_passthrough) | |
501 | (deprecated_grub_regcache_for_registers) | |
502 | (deprecated_grub_regcache_for_register_valid) | |
503 | (regcache_valid_p): Add function declarations. | |
504 | ||
505 | * regcache.c: Update copyright. | |
506 | (regcache_descr_handle): New global variable. | |
507 | (struct regcache_descr): Define. | |
508 | (init_legacy_regcache_descr, init_regcache_descr): New functions. | |
509 | (regcache_descr, xfree_regcache_descr): New functions. | |
510 | (struct regcache): Define. | |
511 | (regcache_xmalloc, regcache_xfree): New functions. | |
512 | (regcache_cpy, regcache_cpy_no_passthrough): New functions. | |
513 | (regcache_dup, regcache_dup_no_passthrough): New functions. | |
514 | (regcache_valid_p, regcache_read_as_address): New functions. | |
515 | (deprecated_grub_regcache_for_registers): New function. | |
516 | (deprecated_grub_regcache_for_register_valid): New function. | |
517 | (current_regcache): New global variable. | |
518 | (register_buffer): Add regcache parameter. Update calls. | |
519 | (regcache_read, regcache_write): Add regcache parameter. Rewrite. | |
520 | (read_register_gen, write_register_gen): Update register_buffer | |
521 | call. Test for legacy_p instead of gdbarch_register_read_p or | |
522 | gdbarch_register_write_p. | |
523 | (regcache_collect): Update register_buffer call. | |
524 | (build_regcache): Rewrite. Use deprecated grub functions. | |
525 | (regcache_save, regcache_save_no_passthrough): New functions. | |
526 | (regcache_restore, regcache_restore_no_passthrough): New | |
527 | functions. | |
528 | (_initialize_regcache): Create the regcache_data_handle. Swap | |
529 | current_regcache global variable. | |
530 | ||
531 | * sh-tdep.c (sh_pseudo_register_read): Add current_regcache | |
532 | parameter to regcache_read and regcache_write calls. | |
533 | (sh4_register_read): Ditto. | |
534 | (sh64_pseudo_register_read): Ditto. | |
535 | (sh64_register_read): Ditto. | |
536 | (sh_pseudo_register_write): Ditto. | |
537 | (sh4_register_write): Ditto. | |
538 | (sh64_pseudo_register_write): Ditto. | |
539 | (sh64_register_write): Ditto. | |
540 | ||
541 | * defs.h (XCALLOC): Define. | |
542 | ||
152d9db6 GS |
543 | 2002-06-19 Grace Sainsbury <graces@redhat.com> |
544 | ||
545 | * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Added (set to 0). | |
546 | * m68k-tdep.c (m68k_gdbarch_init): Added. | |
547 | (m68k_dump_tdep): Added. | |
548 | ||
170911c7 DJ |
549 | 2002-06-19 Daniel Jacobowitz <drow@mvista.com> |
550 | ||
551 | * ada-lang.c (fill_in_ada_prototype): Update comment. | |
552 | ||
2e4ebe70 DJ |
553 | 2002-06-19 Daniel Jacobowitz <drow@mvista.com> |
554 | ||
555 | * mips-tdep.c (enum mips_abi): Explicitly start at 0. Add | |
556 | MIPS_ABI_LAST. | |
557 | (mips_abi_string, mips_abi_strings): New. | |
558 | (struct gdbarch_tdep): Remove mips_abi_string, add found_abi. | |
559 | (mips_gdbarch_init): Set tdep->found_abi. Don't set | |
560 | tdep->mips_abi_string. Honor mips_abi_string. Default to | |
561 | O32 if no ABI is found. | |
562 | (mips_dump_tdep): Use mips_abi_strings. | |
563 | (mips_abi_update): New function. | |
564 | (_initialize_mips_tdep): Initialize mips_abi_string. Add | |
565 | ``set mips abi'' and ``show mips abi''. Check the size of | |
566 | mips_abi_strings. | |
567 | ||
16775908 AC |
568 | 2002-06-19 Andrew Cagney <cagney@redhat.com> |
569 | ||
570 | * i386-linux-tdep.c (i386_linux_register_name): Make return type | |
571 | constant. | |
572 | ||
5051bfa4 | 573 | 2002-06-18 Joel Brobecker <brobecker@gnat.com> |
16775908 | 574 | |
5051bfa4 JB |
575 | * alpha-tdep.c (heuristic_proc_desc): Compute the size of the |
576 | current frame using only the first stack size adjustment. All | |
577 | subsequent size adjustments are not considered to be part of | |
578 | the "static" part of the current frame. | |
579 | Compute the address of the saved registers relative to the | |
580 | Frame Pointer ($fp) instead of the Stack Pointer if $fp is | |
581 | in use in this frame. | |
582 | ||
56468235 DH |
583 | 2002-06-18 Don Howard <dhoward@redhat.com> |
584 | ||
585 | * valops.c (value_ind): Use value_at_lazy() when dereferencing | |
586 | type int expressions. Thanks to Jim Blandy <jimb@redhat.com> for | |
587 | suggesting this solution. | |
588 | ||
0b624158 AC |
589 | 2002-06-18 Andrew Cagney <ac131313@redhat.com> |
590 | ||
591 | * config/romp/xm-rtbsd.h: Delete file. | |
592 | * config/romp/rtbsd.mh: Delete file. | |
593 | ||
221ea385 KS |
594 | 2002-06-18 Keith Seitz <keiths@redhat.com> |
595 | ||
596 | * breakpoint.c (condition_command): Post breakpoint_modify | |
597 | when a condition is added to an existing breakpoint. | |
598 | (commands_command): Likewise for commands. | |
599 | (set_ignore_count): Likewise for ignore counts. | |
600 | If no tty, do not simply return, still need to send event | |
601 | notification. | |
602 | (ignore_command): Only print a newline if the command came | |
603 | from a tty. | |
604 | Don't call breakpoints_changed, since this is now properly | |
605 | handled by set_ignore_count. | |
606 | ||
5402eed1 AC |
607 | 2002-06-18 Andrew Cagney <cagney@redhat.com> |
608 | ||
609 | * MAINTAINERS: Note that cris-elf target can be compiled with | |
610 | -Werror. | |
611 | * cris-tdep.c (cris_register_name): Make return type constant. | |
612 | (cris_breakpoint_from_pc): Ditto. | |
613 | ||
cc22880b ML |
614 | 2002-06-18 Michal Ludvig <mludvig@suse.cz> |
615 | ||
616 | * frame.h (struct frame_info): Change type of context to | |
617 | 'struct context'. | |
618 | ||
fa88f677 AC |
619 | 2002-06-17 Andrew Cagney <cagney@redhat.com> |
620 | ||
621 | * gdbarch.sh (REGISTER_NAME): Change return type a constant string | |
622 | pointer. | |
623 | * gdbarch.h, gdbarch.c: Regenerate. | |
624 | * config/mips/tm-mips.h (mips_register_name): Update. | |
625 | * i386-tdep.h (i386_register_name): Update. | |
626 | * mips-tdep.c (mips_register_name): Update | |
627 | * alpha-tdep.c (alpha_register_name): Update. | |
628 | * arch-utils.c (legacy_register_name): Update. | |
629 | * arch-utils.h (legacy_register_name): Update. | |
630 | * avr-tdep.c (avr_register_name): Update. | |
631 | * ia64-tdep.c (ia64_register_name): Update. | |
632 | * i386-tdep.c (i386_register_name): Update. | |
633 | * sparc-tdep.c (sparc32_register_name): Update. | |
634 | (sparc64_register_name): Update. | |
635 | (sparclite_register_name): Update. | |
636 | (sparclet_register_name): Update. | |
637 | * sh-tdep.c (sh_generic_register_name): Update. | |
638 | (sh_sh_register_name): Update. | |
639 | (sh_sh3_register_name): Update. | |
640 | (sh_sh3e_register_name): Update. | |
641 | (sh_sh_dsp_register_name): Update. | |
642 | (sh_sh3_dsp_register_name): Update. | |
643 | (sh_sh4_register_name): Update. | |
644 | (sh_sh64_register_name): Update. | |
645 | * s390-tdep.c (s390_register_name): Update. | |
646 | * rs6000-tdep.c (rs6000_register_name): Update. | |
647 | * ns32k-tdep.c (ns32k_register_name_32082): Update. | |
648 | (ns32k_register_name_32382): Update. | |
649 | * d10v-tdep.c (d10v_ts2_register_name): Update. | |
650 | (d10v_ts3_register_name): Update. | |
651 | * xstormy16-tdep.c (xstormy16_register_name): Update. | |
652 | * vax-tdep.c (vax_register_name): Update. | |
653 | * v850-tdep.c (v850_register_name): Update. | |
654 | * m68hc11-tdep.c (m68hc11_register_name): Update. | |
655 | * mn10300-tdep.c (mn10300_generic_register_name): Update. | |
656 | (am33_register_name): Update. | |
657 | ||
ea1e7ef6 GS |
658 | 2002-06-17 Grace Sainsbury <graces@redhat.com> |
659 | ||
660 | * m68k-tdep.c: Reindented. | |
661 | ||
9b02dd1b AC |
662 | 2002-06-17 Andrew Cagney <ac131313@redhat.com> |
663 | ||
664 | * gdb_indent.sh: Add prgregset_t, fpregset_t, and gregset_t to the | |
665 | list of predefined types. | |
666 | ||
8758dec1 MK |
667 | 2002-06-16 Mark Kettenis <kettenis@gnu.org> |
668 | ||
b6197528 MK |
669 | * config/i386/tm-i386.h (REGISTER_VIRTUAL_TYPE, |
670 | REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL, | |
671 | REGISTER_CONVERT_TO_RAW): Remove defines. | |
672 | (i386_register_virtual_type, i386_register_convertible, | |
673 | i386_register_convert_to_virtual, i386_register_convert_to_raw): | |
674 | Remove prototypes. | |
675 | * i386-tdep.c (i386_gdbarch_init): Adjust for removal of the | |
676 | macros mentioned above. | |
677 | ||
82b47e62 MK |
678 | * config/i386/tm-i386lynx.h (SAVED_PC_AFTER_CALL): Remove define. |
679 | (i386lynx_saved_pc_after_call): Remove prototype. | |
680 | * i386ly-tdep.c: Include "i386-tdep.h". | |
681 | (i386lynx_saved_pc_after_call): Make static. Use | |
682 | read_memory_nobpt instead of read_memory. Use | |
683 | read_memory_unsigned_integer instead of read_memory_integer. | |
684 | (i386lynx_init_abi): New function. | |
685 | (i386lynx_coff_osabi_sniffer): New function. | |
686 | (_initialize_i386bsd_tdep): New function. | |
687 | ||
8758dec1 MK |
688 | * config/i386/tm-i386.h (PARM_BOUNDARY, CALL_DUMMY, |
689 | CALL_DUMMY_LENGTH, CALL_DUMMY_START_OFFSET, | |
690 | CALL_DUMMY_BREAKPOINT_OFFSET, FIX_CALL_DUMMY): Remove defines. | |
691 | (i386_fix_call_dummy): Remove prototype. | |
692 | * i386-tdep.c (i386_call_dummy_words): New variable. | |
693 | (i386_gdbarch_init): Adjust for removal of the | |
694 | macros mentioned above. | |
695 | ||
e9e68a56 AC |
696 | 2002-06-15 Andrew Cagney <ac131313@redhat.com> |
697 | ||
698 | * command.h (add_setshow_auto_boolean_cmd): Replace | |
699 | add_set_auto_boolean_cmd. | |
700 | * cli/cli-decode.c (add_setshow_auto_boolean_cmd): Replace | |
701 | add_set_auto_boolean_cmd. | |
702 | * cli/cli-decode.h (add_set_auto_boolean_cmd): Delete declaration. | |
703 | * mips-tdep.c (_initialize_mips_tdep): Update ``set mips | |
704 | mask-address'' command. | |
705 | (show_mask_address): Add cmd parameter. | |
706 | * remote.c (add_packet_config_cmd): Update. Change type of | |
707 | set_func and show_func to cmd_sfunc_ftype. | |
708 | (_initialize_remote): Update `set remote Z-packet' | |
709 | (show_remote_protocol_qSymbol_packet_cmd): Add cmd parameter. | |
710 | (show_remote_protocol_e_packet_cmd): Ditto. | |
711 | (show_remote_protocol_E_packet_cmd): Ditto. | |
712 | (show_remote_protocol_P_packet_cmd): Ditto. | |
713 | (show_remote_protocol_Z_software_bp_packet_cmd): Ditto. | |
714 | (show_remote_protocol_Z_hardware_bp_packet_cmd): Ditto. | |
715 | (show_remote_protocol_Z_write_wp_packet_cmd): Ditto. | |
716 | (show_remote_protocol_Z_read_wp_packet_cmd): Ditto. | |
717 | (show_remote_protocol_Z_access_wp_packet_cmd): Ditto. | |
718 | (show_remote_protocol_Z_packet_cmd): Ditto. | |
719 | (show_remote_protocol_binary_download_cmd): Ditto. | |
720 | (show_remote_cmd): Pass NULL to all of above. | |
721 | ||
fc08ec52 MK |
722 | 2002-06-15 Mark Kettenis <kettenis@gnu.org> |
723 | ||
724 | * config/i386/tm-i386.h (PUSH_ARGUMENTS, STORE_STRUCT_RETURN, | |
725 | DEPRECATED_EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, | |
726 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS, PUSH_DUMMY_FRAME, | |
727 | POP_FRAME): Remove defines. | |
728 | (i386_push_arguments, i386_store_struct_return, | |
729 | i386_extract_return_value, i386_store_return_value, | |
730 | i386_extract_struct_value_address, i386_push_dummy_frame, | |
731 | i386_pop_frame): Renove prototypes. | |
732 | * i386-tdep.c (i386_gdbarch_init): Adjust for removal of the | |
733 | macros mentioned above. | |
734 | ||
e707bbc2 AC |
735 | 2002-06-15 Andrew Cagney <ac131313@redhat.com> |
736 | ||
737 | * cli/cli-decode.c (add_setshow_boolean_cmd): Replace | |
738 | add_set_boolean_cmd. | |
739 | (add_setshow_cmd): New function. | |
740 | * command.h (add_setshow_boolean_cmd): Replace | |
741 | add_set_boolean_cmd. | |
742 | * remote-rdi.c (_initialize_remote_rdi): Update ``set rdiheartbeat'' | |
743 | and ``set rdiromatzero''. | |
744 | * maint.c (_initialize_maint_cmds): Update commented out code. | |
745 | * cli/cli-decode.h (add_set_boolean_cmd): Delete declaration. | |
746 | * target.c (initialize_targets): Update `set | |
747 | trust-readonly-sections'. | |
748 | * remote.c (_initialize_remote): Update `set remotebreak'. | |
749 | ||
42fdc8df MK |
750 | 2002-06-15 Mark Kettenis <kettenis@gnu.org> |
751 | ||
93924b6b MK |
752 | * config/i386/tm-i386.h (FUNCTION_START_OFFSET, INNER_THAN, |
753 | BREAKPOINT, DECR_PC_AFTER_BREAK): Removed. | |
754 | * i386-tdep.c (i386_skip_prologue): Adjust function signature to | |
755 | fit into multi-arch framework. | |
756 | (i386_breakpoint_from_pc): New function. | |
757 | (i386_gdbarch_init): Adjust for removal of the macros mentioned | |
758 | above. | |
759 | ||
42fdc8df MK |
760 | * config/i386/tm-i386.h (FRAMELESS_FUNCTION_INVOCATION, |
761 | FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, | |
762 | FRAME_ARGS_SKIP, FRAME_INIT_SAVED_REGS): Remove defines. | |
763 | (i386_frameless_function_invocation, i386_frame_num_args, | |
764 | i386_frame_init_saved_regs): Remove prototypes. | |
765 | * i386-tdep.c (i386_gdbarch_init): Adjust for removal of the | |
766 | macros mentioned above. | |
767 | ||
9773a94b AC |
768 | 2002-06-15 Andrew Cagney <ac131313@redhat.com> |
769 | ||
770 | * cli/cli-decode.c (set_cmd_cfunc): Update. | |
771 | (set_cmd_sfunc): Update. | |
772 | * command.h (cmd_cfunc_ftype, cmd_sfunc_ftype): Declare. | |
773 | (set_cmd_sfunc, set_cmd_cfunc): Update. | |
774 | * cli/cli-decode.h: Update. | |
775 | ||
6e157172 MK |
776 | 2002-06-15 Mark Kettenis <kettenis@gnu.org> |
777 | ||
778 | * i386-sol2-tdep.c (i386_sol2_osabi_sniffer): New function. | |
779 | (_initialize_i386_sol2_tdep): Register i386_sol2_osabi_sniffer. | |
780 | ||
7f19b9a2 AC |
781 | 2002-06-15 Andrew Cagney <ac131313@redhat.com> |
782 | ||
783 | * defs.h (auto_boolean): Declare enum. | |
784 | * command.h (cmd_auto_boolean): Delete enum. | |
785 | * mips-tdep.c (mask_address_var): Update. | |
786 | (mips_mask_address_p): Update. | |
787 | (show_mask_address): Update. | |
788 | * remote.c (struct packet_config): Update. | |
789 | (update_packet_config): Update. | |
790 | (show_packet_config_cmd): Update. | |
791 | (packet_ok): Update. | |
792 | (add_packet_config_cmd): Update. | |
793 | (_initialize_remote): | |
794 | * command.h: Update. | |
795 | * cli/cli-setshow.c (parse_auto_binary_operation): Update. | |
796 | (do_setshow_command): Update. | |
797 | * cli/cli-decode.c (add_set_auto_boolean_cmd): Update. | |
798 | * cli/cli-decode.h: Update. | |
799 | ||
1cf88de5 MK |
800 | 2002-06-15 Mark Kettenis <kettenis@gnu.org> |
801 | ||
22ba8cf2 MK |
802 | * config/i386/tm-cygwin.h, config/i386/tm-fbsd.h, |
803 | config/i386/tm-go32.h, config/i386/tm-i386gnu.h, | |
804 | config/i386/tm-i386sol2.h, config/i386/tm-i386v4.h, | |
805 | config/i386/tm-linux.h, config/i386/tm-nbsd.h, | |
806 | config/i386/tm-obsd.h (HAVE_I387_REGS): Remove define. | |
807 | * config/i386/tm-i386.h: Unconditionally define FLOAT_INFO. | |
808 | ||
762c5349 MK |
809 | * i386-tdep.c (i386_coff_osabi_sniffer): Add "coff-go32" to the |
810 | list of DJGPP COFF targets. | |
811 | ||
091198bb MK |
812 | * config/i386/tm-i386.h (REGISTER_SIZE): Remove define. |
813 | (NUM_GREGS, NUM_FREGS, NUM_SSE_REGS): Remove defines. | |
814 | (FP_REGNUM, SP_REGNUM, PC_REGNUM, PS_REGNUM): Remove defines. | |
815 | (FP0_REGNUM): Remove define. | |
816 | (MAX_REGISTER_RAW_SIZE, MAX_REGISTER_VIRTUAL_SIZE, | |
817 | MAX_REGISTER_VIRTUAL_SIZE): Remove define. | |
818 | (i386_register_virtual_size): Remove protoype. | |
819 | * i386-tdep.c (i386_register_virtual_size): Removed. | |
820 | (i386_extract_return_value, i386_store_return_value): Use | |
821 | FP0_REGNUM instead of NUM_FREGS to determine whether the | |
822 | floating-point registers are available. | |
823 | (i386_gdbarch_init): Tweak FIXME about FPU registers. | |
824 | Adjust for removal of macros mentioned above. | |
825 | ||
826 | 2002-06-15 Mark Kettenis <kettenis@gnu.org> | |
827 | ||
fcc9bf01 MK |
828 | * i386v4-nat.c: Include "i386-tdep.h". Reformat and tweak various |
829 | comments. | |
830 | (fill_gregset, supply_gregset, supply_fpregset, fill_fpregset): | |
831 | Remove prototypes. | |
832 | (supply_gregset, fill_gregset): Remove use of register keyword and | |
833 | remove declaration for regmap. Use I386_NUM_GREGS instead of | |
834 | NUM_REGS and NUM_FREGS. | |
835 | (FPREGSET_FSAVE_OFFSET): Remove. | |
836 | (supply_fpregset, fill_fpregset): Use FPO_REGNUM instead of | |
837 | NUM_FREGS to determine whether the floating-point registers are | |
838 | available. | |
839 | ||
65e78234 MK |
840 | * i386gnu-nat.c (supply_gregset, gnu_fetch_registers, |
841 | gnu_store_registers): Replace usage of NUM_GREGS with | |
842 | I386_NUM_GREGS. | |
843 | ||
98df6387 MK |
844 | * i386-linux-nat.c (OLD_CANNOT_FETCH_REGISTER, |
845 | OLD_CANNOT_STORE_REGISTER, supply_gregset, fill_gregset): Replace | |
846 | usage of NUM_GREGS with I386_NUM_GREGS. | |
847 | ||
099a9414 MK |
848 | * i386-linux-nat.c (fill_gregset): Remove redundant parentheses. |
849 | ||
57976e88 MK |
850 | * i386bsd-nat.c: Include "i386-tdep.h". |
851 | (supply_gregset, fill_gregset): Replace usage of NUM_GREGS with | |
852 | I386_NUM_GREGS. | |
853 | ||
b335f4a6 MK |
854 | * i386v-nat.c: Remove copnditional inclusion of <asm/debugreg.h>, |
855 | and associated comment. They no longer make any sense, since we | |
856 | don't use this file anymore on Linux. | |
857 | ||
1cf88de5 MK |
858 | * config/i386/tm-i386.h (MAX_NUM_REGS): Removed. |
859 | * i386-tdep.c (i386_register_offset, i386_register_size): Use | |
860 | I386_SSE_NUM_REGS instead of MAX_NUM_REGS for the number of | |
861 | elements in these arrays. | |
862 | (_initialize_i386_tdep): Use I386_SSE_NUM_REGS instead of | |
863 | MAX_NUM_REGS. | |
864 | ||
daa66587 MK |
865 | 2002-06-15 Mark Kettenis <kettenis@gnu.org> |
866 | ||
867 | * osabi.h (gdb_osabi): Add GDB_OSABI_LYNXOS. | |
868 | * osabi.c (gdb_osabi_names): Add entry for "LynxOS". | |
869 | ||
26e9b323 AC |
870 | 2002-06-14 Andrew Cagney <cagney@redhat.com> |
871 | ||
872 | * gdbarch.sh (DEPRECATED_EXTRACT_RETURN_VALUE): Rename | |
873 | EXTRACT_RETURN_VALUE. | |
874 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Rename | |
875 | EXTRACT_STRUCT_VALUE_ADDRESS. | |
876 | * gdbarch.h, gdbarch.c: Regenerate. | |
877 | ||
878 | * values.c (value_being_returned): Handle | |
879 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS. | |
880 | (EXTRACT_RETURN_VALUE): Define as DEPRECATED_EXTRACT_RETURN_VALUE. | |
881 | ||
882 | * arm-linux-tdep.c (arm_linux_init_abi): Update. | |
883 | * arm-tdep.c (arm_gdbarch_init): Update. | |
884 | * avr-tdep.c (avr_gdbarch_init): Update. | |
885 | * cris-tdep.c (cris_gdbarch_init): Update. | |
886 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
887 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
888 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
889 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
890 | * s390-tdep.c (s390_gdbarch_init): Update. | |
891 | * sh-tdep.c (sh_gdbarch_init): Update. | |
892 | * s390-tdep.c (s390_gdbarch_init): Update. | |
893 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
894 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
895 | * v850-tdep.c (v850_gdbarch_init): Update. | |
896 | * vax-tdep.c (vax_gdbarch_init): Update. | |
897 | * x86-64-tdep.c (x86_64_gdbarch_init): Update. | |
898 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
899 | ||
900 | * config/arc/tm-arc.h: Update. | |
901 | * config/d30v/tm-d30v.h: Update. | |
902 | * config/fr30/tm-fr30.h: Update. | |
903 | * config/h8300/tm-h8300.h: Update. | |
904 | * config/h8500/tm-h8500.h: Update. | |
905 | * config/i386/tm-i386.h: Update. | |
906 | * config/i386/tm-ptx.h: Update. | |
907 | * config/i386/tm-symmetry.h: Update. | |
908 | * config/i960/tm-i960.h: Update. | |
909 | * config/m32r/tm-m32r.h: Update. | |
910 | * config/m68k/tm-delta68.h: Update. | |
911 | * config/m68k/tm-linux.h: Update. | |
912 | * config/m68k/tm-m68k.h: Update. | |
913 | * config/m88k/tm-m88k.h: Update. | |
914 | * config/mcore/tm-mcore.h: Update. | |
915 | * config/mips/tm-mips.h: Update. | |
916 | * config/mn10200/tm-mn10200.h: Update. | |
917 | * config/pa/tm-hppa.h: Update. | |
918 | * config/pa/tm-hppa64.h: Update. | |
919 | * config/sparc/tm-sp64.h: Update. | |
920 | * config/sparc/tm-sparc.h: Update. | |
921 | * config/sparc/tm-sparclet.h: Update. | |
922 | * config/z8k/tm-z8k.h: Update. | |
923 | ||
5179e78f AC |
924 | 2002-06-14 Andrew Cagney <cagney@redhat.com> |
925 | ||
926 | * Makefile.in (i386_linux_tdep_h): Define. | |
927 | (i386_tdep_h, i387_tdep_h): Define. | |
928 | (i386-linux-nat.o): Add $(i386_linux_tdep_h), | |
929 | $(i386_tdep_h) and $(i387_tdep_h). | |
930 | * i386-linux-nat.c: Include "i386-linux-tdep.h". | |
931 | ||
8201327c MK |
932 | 2002-06-14 Mark Kettenis <kettenis@gnu.org> |
933 | ||
edf393ac MK |
934 | * config/i386/tm-i386.h (START_INFERIOR_TRAPS_EXPECTED): Removed. |
935 | Already covered by the default. | |
936 | ||
896fb97d MK |
937 | * config/i386/tm-i386.h (TARGET_LONG_DOUBLE_FORMAT, |
938 | TARGET_LONG_DOUBLE_BIT): Remove. * i386-tdep.c | |
939 | (i386_gdbarch_init): Initialize long_double_format and long_double | |
940 | bit. | |
941 | ||
8201327c MK |
942 | * config/i386/i386sol2.mt (TDEPFILES): Add i386-sol2-tdep.o and |
943 | i386bsd-tdep.o. Remove solib.o, solib-svr4.o and solib-legacy.o. | |
944 | Move these to ... | |
945 | * config/i386/i386sol2.mh: ... here. | |
946 | * config/i386/tm-i386sol2.h (STAB_REG_TO_REGNUM): Remove define. | |
947 | (sigtramp_saved_pc, I386V4_SIGTRAMP_SAVED_PC): Don't #undef. | |
948 | (SIGCONTEXT_PC_OFFSET): Remove define. | |
949 | (IN_SIGTRAMP): Remove define. | |
950 | * i386-sol2-tdep.c: New file. | |
951 | ||
952 | * config/i386/i386nw.mt (TM_FILE): Change to tm-i386.h. | |
953 | * config/i386/tm-i386nw.h: Removed. | |
954 | ||
955 | * config/i386/tm-fbsd.h (STAB_REG_TO_REGNUM, | |
956 | USE_STRUCT_CONVENTION): Remove defines. | |
957 | (JB_ELEMENT_SIZE, JB_PC, GET_LONGJMP_TARGET): Remove defines. | |
958 | (get_longjmp_target): Remove prototype. | |
959 | (IN_SIGTRAMP): Remove define. | |
960 | (i386bsd_in_sigtramp): Remove prototype. | |
961 | (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Turn into a | |
962 | function. Update comment accordingly | |
963 | (SIGTRAMP_START, SIGTRAMP): Adjust definition accordingly. | |
964 | (FRAME_SAVED_PC): Remove define. | |
965 | (i386bsd_frame_saved_pc): Remove prototype. | |
966 | * config/i386/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC, | |
967 | GET_LONGJMP_TARGET): Remove defines. | |
968 | (get_longjmp_target): Remove prototype. | |
969 | (IN_SIGTRAMP): Remove define. | |
970 | (i386bsd_in_sigtramp): Remove prototype. | |
971 | (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Turn into a | |
972 | function. Update comment accordingly | |
973 | (SIGTRAMP_START, SIGTRAMP): Adjust definition accordingly. | |
974 | (FRAME_SAVED_PC): Remove define. | |
975 | (i386bsd_frame_saved_pc): Remove prototype. | |
976 | * config/i386/tm-nbsdaout.h (i386nbsd_aout_use_struct_convention): | |
977 | Remove prototype. | |
978 | (USE_STRUCT_CONVENTION): Remove prototype. | |
979 | * i386bsd-nat.c (i386bsd_sigcontext_pc_offset): Remove | |
980 | declaration. | |
981 | (_initialize_i386bsd_nat): Revise logic to determine some | |
982 | constants at compile time when compiling a native GDB. Warn if | |
983 | things don't match up with what we expect. | |
984 | * i386bsd-tdep.c (i386bsd_sigtramp_start, i386bsd_sigtramp_end): | |
985 | Remove variables. | |
986 | (i386bsd_in_sigtramp): Rename tp i386bsd_pc_in_sigtramp. Rewrite | |
987 | to use date stored in `struct gdbarch_tdep'. | |
988 | (i386bsd_sigcontext_offset): Remove varaible. | |
989 | (i386bsd_sigtramp_saved_pc): Make public. Rewrite to use data | |
990 | stored in `struct gdbarch_tdep'. | |
991 | (i386bsd_frame_saved_pc): Make static. | |
992 | (i386bsd_sigtramp_start, i386bsd_sigtramp_end): New functions. | |
993 | (i386bsd_sc_pc_offset, i386nbsd_sc_pc_offset, | |
994 | i386fbsd_sigtramp_start, i386fbsd_sigtramp_end, | |
995 | i386fbsd4_sc_pc_offset): New variables. | |
996 | (i386bsd_init_abi, i386nbsd_init_abi, i386nbsdelf_init_abi, | |
997 | i386fbsdaout_init_abi, i386fbsd_init_abi, i386fbsd4_init_abi): New | |
998 | functions. | |
999 | (i386bsd_aout_osabi_sniffer, _initialize_i386bsd_tdep): New | |
1000 | functions. | |
1001 | * i386fbsd-nat.c (_initialize_i386fbsd_nat): Fix type in comment. | |
1002 | Modify the value of i386fbsd_sigtramp_start and | |
1003 | i386fbsd_sigtramp_end instead of i386bsd_sigtramp_start and | |
1004 | i386fbsd_sigtramp_end. | |
1005 | * i386nbsd-tdep.c: (i386nbsd_aout_use_struct_convention): Remove | |
1006 | function. | |
1007 | ||
1008 | * config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): Move | |
1009 | define to i386-linux-tdep.h. | |
1010 | (NUM_REGS, MAX_NUM_REGS, REGISTER_BYTES, REGISTER_NAME, | |
1011 | REGISTER_BYTE, REGISTER_RAW_SIZE, STAB_REG_TO_REGNUM): Remove | |
1012 | defines. | |
1013 | (i386_linux_register_name, i386_linux_register_byte, | |
1014 | i386_linux_register_raw_size): Remove prototypes. | |
1015 | (i386_linux_svr4_fetch_link_map_offsets): Remove prototype. | |
1016 | (SVR4_FETCH_LINK_MAP_OFFSETS): Remove define. | |
1017 | (IN_SIGTRAMP, FRAME_CHAIN, FRAME_SAVED_PC, SAVED_PC_AFTER_CALL, | |
1018 | TARGET_WRITE_PC): Remove defines. | |
1019 | (i386_linux_in_sigtramp, i386_linux_frame_chain, | |
1020 | i386_linux_frame_saved_pc, i386_linux_saved_pc_after_call, | |
1021 | i386_linux_write_pc): Remove prototypes. | |
1022 | (JB_ELEMENT_SIZE, JB_PC, GET_LONGJMP_TARGET): Remove defines. | |
1023 | (get_longjmp_target): Remove prototype. | |
1024 | * i386-linux-tdep.h: New file. | |
1025 | * i386-linux-nat.c: Include "i386-linux-tdep.h". | |
1026 | * i386-linux-tdep.c: Include "i386-tdep.h" and | |
1027 | "i386-linux-tdep.h". | |
1028 | (i386_linux_register_name, i386_linux_register_byte, | |
1029 | i386_linux_register_raw_size, i386_linux_in_sigtramp, | |
1030 | i386_linux_write_pc, i386_linux_svr4_fetch_link_map_offsets): | |
1031 | Make static. | |
1032 | (i386_linux_init_abi): New function. | |
1033 | (_initialize_i386_linux_tdep): New function. | |
1034 | ||
1035 | * config/i386/tm-i386.h (SAVED_PC_AFTER_CALL): Remove define. | |
1036 | (i386_saved_pc_after_call): Remove prototype. | |
1037 | (MAX_NUM_REGS): Increase to deal with Linux's orig_eax "register". | |
1038 | (REGISTER_NAME, STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM, | |
1039 | DWARF_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM): Remove defines. | |
1040 | (i386_register_name, i386_stab_reg_to_regnum, | |
1041 | i386_dwarf_reg_to_regnum): Remove prototypes. | |
1042 | (SIZEOF_GREGS, SIZEOF_FPU_REGS, SIZEOF_FPU_CTL_REGS, | |
1043 | SIZEOF_SSE_REGS): Remove defines. | |
1044 | (REGISTER_BYTES): Remove define. | |
1045 | (REGISTER_BYTE, REGISTER_RAW_SIZE): Remove defines. | |
1046 | (i386_register_byte, i386_register_raw_size): Remove prototypes. | |
1047 | (FRAME_CHAIN, FRAME_SAVED_PC): Remove defines. | |
1048 | (i386_frame_chain, i386_frame_saved_pc): Remove prototypes. | |
1049 | * config/i386/tm-i386v4.h (FRAME_CHAIN_VALID): Remove define. | |
1050 | (JB_ELEMENT_SIZE, JB_PC, JB_EBX, JB_ESI, JB_EDI, JB_EBP, JB_ESP, | |
1051 | JB_EDX, GET_LONGJMP_TARGET): Remove defines. | |
1052 | (get_longjmp_target): Remove prototype. | |
1053 | (I386V4_SIGTRAMP_SAVED_PC, IN_SIGTRAMP): Remove defines. | |
1054 | (sigtramp_saved_pc): Remove define. | |
1055 | (i386v4_sigtramp_saved_pc): Remove prototype. | |
1056 | * config/i386/tm-go32.h (FRAME_CHAIN, | |
1057 | FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC): Remove defines. | |
1058 | (i386go32_frame_saved_pc): Remove prototype. | |
1059 | (JB_ELEMENT_SIZE, JB_PC, GET_LONGJMP_TARGET): Remove defines. | |
1060 | (get_longjmp_target): Remove prototype. | |
1061 | * i386-tdep.h: Include "osabi.h". | |
1062 | (enum i386_abi): Removed. | |
1063 | (enum struct_return): New enum. | |
1064 | (struct gdbarch_tdep): Remove abi member, add osabi, jb_pc_offset, | |
1065 | struct_return, sigtramp_saved_pc, sigtramp_start, sigtramp_end and | |
1066 | sc_pc_offset members. | |
1067 | (i386_gdbarch_register_os_abi): Remove prototype. | |
1068 | (I386_NUM_GREGS, I386_NUM_FREGS, I386_NUM_XREGS, | |
1069 | I386_SSE_NUM_REGS): New defines. | |
1070 | (I386_SIZEOF_GREGS, I386_SIZEOF_FREGS, I386_SIZEOF_XREGS, | |
1071 | I386_SSE_SIZEOF_REGS): New defines. | |
1072 | (i386_register_name, i386_register_byte, i386_register_raw_size): | |
1073 | New prototypes. | |
1074 | (i386_elf_init_abi, i386_svr4_init_abi): New prototypes. | |
1075 | (i386bsd_sigtramp_saved_pc): New prototype. | |
1076 | * i386-tdep.c: Don't include "elf-bfd.h". | |
1077 | (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum, | |
1078 | i386_frame_chain, i386_saved_pc_after_call): Make static. | |
1079 | (i386_frame_saved_pc): Rewrite to call architecture dependent | |
1080 | function to deal with signal handlers. Make static. | |
1081 | (i386go32_frame_saved_pc): Removed. | |
1082 | [GET_LONGJMP_TARGET] (JB_PC, JB_ELEMENT_SIZE, get_longjmp_target): | |
1083 | Removed. | |
1084 | (i386_get_longjmp_target): New function. | |
1085 | (default_struct_convention, pcc_struct_convention, | |
1086 | reg_struct_convention, valid_conventions, struct_convention): New | |
1087 | variables. | |
1088 | (i386_use_struct_convention): New function. | |
1089 | (i386v4_sigtramp_saved_pc): Renamed to | |
1090 | i386_svr4_sigtramp_saved_pc. Made static. Moved. | |
1091 | (i386_pc_in_sigtramp): New function. | |
1092 | (i386_abi_names): Removed. | |
1093 | (ABI_TAG_OS_GNU_LINUX, ABI_TAG_OS_GNU_HURD, | |
1094 | ABI_TAG_OS_GNU_SOLARIS, ABI_TAG_OS_FREEBSD, ABI_TAG_OS_NETBSD): | |
1095 | Removed. | |
1096 | (process_note_sections, i386_elf_abi_from_note, i386_elf_abi, | |
1097 | i386_gdbarch_register_os_abi): Removed. | |
1098 | (struct i386_abi_handler): Removed. | |
1099 | (i386_abi_handler_list): Removed. | |
1100 | (i386_svr4_pc_in_sigtramp, i386_go32_pc_in_sigtramp): New | |
1101 | functions. | |
1102 | (i386_elf_init_abi, i386_svr4_init_abi, i386_go32_init_abi, | |
1103 | i386_nw_init_abi): New functions. | |
1104 | (i386_gdbarch_init): Rewritten to use generic OS ABI framework. | |
1105 | Use set_gdbarch_xxx() calls instead of relying on macros for a | |
1106 | number of calls. | |
1107 | (i386_coff_osabi_sniffer, i386_nlm_osabi_sniffer): New functions. | |
1108 | (_initialize_i386_tdep): Add new 'struct-convcention' command. | |
1109 | Register the various architecture variants defined in this file. | |
1110 | ||
ad2f7632 DJ |
1111 | 2002-06-14 Daniel Jacobowitz <drow@mvista.com> |
1112 | ||
1113 | * gdbtypes.h (TYPE_FLAG_VARARGS): Update comment. | |
1114 | (struct main_type): Remove arg_types member. Update comments for | |
1115 | struct field. | |
1116 | (TYPE_ARG_TYPES): Remove. | |
1117 | (TYPE_FN_FIELD_ARGS): Update. | |
1118 | (smash_to_method_type): Update prototype. | |
1119 | ||
1120 | * c-typeprint.c (cp_type_print_method_args): Take method type | |
1121 | instead of argument list. Use new argument layout. Simplify. | |
1122 | (c_type_print_args): Use new argument layout. Simplify. | |
1123 | (c_type_print_base): Update call to cp_type_print_method_args. | |
1124 | * dwarf2read.c (dwarf2_add_member_fn): Remove unneeded type | |
1125 | argument; use die->type instead. Update call to | |
1126 | smash_to_method_type. | |
1127 | (read_structure_scope): Update call to dwarf2_add_member_fn. | |
1128 | * gdbtypes.c (allocate_stub_method): Update comment. | |
1129 | (smash_to_method_type): Take new NARGS and VARARGS arguments. | |
1130 | Use new argument layout. | |
1131 | (check_stub_method): Use new argument layout. Don't count | |
1132 | void as an argument. | |
1133 | (print_arg_types): Update comments. Use new argument layout. | |
1134 | (recursive_dump_type): Don't print arg_types member. | |
1135 | * hpread.c (hpread_read_struct_type): Use new argument layout. | |
1136 | (fixup_class_method_type): Likewise. | |
1137 | (hpread_type_lookup): Likewise. | |
1138 | * stabsread.c (read_type): Update calls to read_args and | |
1139 | smash_to_method_type. | |
1140 | (read_args): Use new argument layout. Simplify. | |
1141 | * valops.c (typecmp): Use new argument layout. Update parameters | |
1142 | and comments. Simplify. | |
1143 | (hand_function_call): Use new argument layout. | |
1144 | (search_struct_method): Update call to typecmp. | |
1145 | (find_overload_match): Use new argument layout. | |
1146 | ||
6da02953 DJ |
1147 | 2002-06-13 Daniel Jacobowitz <drow@mvista.com> |
1148 | ||
1149 | * NEWS: Mention multithreaded debug support for gdbserver. | |
1150 | ||
519b2366 DJ |
1151 | 2002-06-13 Daniel Jacobowitz <drow@mvista.com> |
1152 | ||
1153 | * MAINTAINERS: Mention NEWS. | |
1154 | ||
a7f48742 DJ |
1155 | 2002-06-13 Daniel Jacobowitz <drow@mvista.com> |
1156 | ||
1157 | * gdbserver/regcache.c: Add comment. | |
1158 | ||
6c0d6680 DJ |
1159 | 2002-06-13 Daniel Jacobowitz <drow@mvista.com> |
1160 | ||
1161 | * mips-tdep.c (PROC_SYMBOL): Add warning comment. | |
1162 | (struct mips_objfile_private, compare_pdr_entries): New. | |
1163 | (non_heuristic_proc_desc): Read the ".pdr" section if it | |
1164 | is present. | |
1165 | ||
6529d2dd AC |
1166 | 2002-06-12 Andrew Cagney <ac131313@redhat.com> |
1167 | ||
1168 | * arm-tdep.c (arm_push_arguments): Rewrite using a two-pass loop. | |
1169 | (arm_debug): New static variable. | |
1170 | (_initialize_arm_tdep): Add ``set debug arm'' command. | |
1171 | ||
26216b98 AC |
1172 | 2002-06-12 Andrew Cagney <ac131313@redhat.com> |
1173 | ||
1174 | * Makefile.in (sim_arm_h): Define. | |
1175 | (arm-tdep.o): Add $(sim_arm_h) and $(gdb_assert_h). | |
1176 | * arm-tdep.c: Include "gdb/sim-arm.h" and "gdb_assert.h". | |
1177 | (arm_register_sim_regno): New function, map an internal REGNUM | |
1178 | onto a simulator register number. | |
1179 | (arm_gdbarch_init): Set register_sim_regno. | |
1180 | ||
814b3ba0 AH |
1181 | 2002-06-09 Aldy Hernandez <aldyh@redhat.com> |
1182 | ||
1183 | * MAINTAINERS: Add self. | |
1184 | ||
475b0867 JB |
1185 | 2002-06-11 Jim Blandy <jimb@redhat.com> |
1186 | ||
919d772c JB |
1187 | * source.c (source_info): Mention whether the symtab has |
1188 | information about preprocessor macros. | |
1189 | ||
475b0867 JB |
1190 | Call the command `info macro', not `show macro'. |
1191 | * macrocmd.c (info_macro_command): Renamed from `show_macro_command'. | |
1192 | Fix error message. | |
1193 | (_initialize_macrocmd): Register `info_macro_command' in | |
1194 | `infolist', not `showlist'. | |
1195 | ||
9e364162 DJ |
1196 | 2002-06-11 Daniel Jacobowitz <drow@mvista.com> |
1197 | ||
1198 | * mips-tdep.c (MIPS_FPU_TYPE, FP_REGISTER_DOUBLE, MIPS_EABI) | |
1199 | (MIPS_LAST_FP_ARG_REGNUM, MIPS_LAST_ARG_REGNUM) | |
1200 | (MIPS_DEFAULT_SAVED_REGSIZE, MIPS_REGS_HAVE_HOME_P) | |
1201 | (MIPS_DEFAULT_STACK_ARGSIZE, GDB_TARGET_IS_MIPS64) | |
1202 | (MIPS_DEFAULT_MASK_ADDRESS_P): Remove obsolete definitions. Define | |
1203 | unconditionally. | |
1204 | (set_mipsfpu_single_command, set_mipsfpu_double_command) | |
1205 | (set_mipsfpu_none_command): Remove if (GDB_MULTI_ARCH). | |
1206 | (_initialize_mips_tdep): Remove dead code. | |
1207 | * config/mips/tm-irix5.h (MIPS_LAST_ARG_REGNUM) | |
1208 | (MIPS_DEFAULT_STACK_ARGSIZE, MIPS_REGS_HAVE_HOME_P): Remove. | |
1209 | * config/mips/tm-irix6.h (MIPS_LAST_ARG_REGNUM) | |
1210 | (MIPS_DEFAULT_STACK_ARGSIZE, MIPS_REGS_HAVE_HOME_P): Remove. | |
1211 | * config/mips/tm-mips.h (MIPS_EABI, MIPS_LAST_ARG_REGNUM, | |
1212 | MIPS_LAST_FP_ARG_REGNUM): Remove. | |
1213 | ||
1214 | 2002-06-11 Daniel Jacobowitz <drow@mvista.com> | |
1215 | ||
1216 | * gdbserver/thread-db.c: New file. | |
1217 | * gdbserver/proc-service.c: New file. | |
1218 | * gdbserver/acinclude.m4: New file. | |
1219 | * gdbserver/Makefile.in: Add GDBSERVER_LIBS, gdb_proc_service_h, | |
1220 | proc-service.o, and thread-db.o. | |
1221 | (linux-low.o): Add USE_THREAD_DB. | |
1222 | * gdbserver/acconfig.h: Add HAVE_PRGREGSET_T, HAVE_PRFPREGSET_T, | |
1223 | HAVE_LWPID_T, HAVE_PSADDR_T, and PRFPREGSET_T_BROKEN. | |
1224 | * gdbserver/aclocal.m4: Regenerated. | |
1225 | * gdbserver/config.in: Regenerated. | |
1226 | * gdbserver/configure: Regenerated. | |
1227 | * gdbserver/configure.in: Check for proc_service.h, sys/procfs.h, | |
1228 | thread_db.h, and linux/elf.h headrs. | |
1229 | Check for lwpid_t, psaddr_t, prgregset_t, prfpregset_t, and | |
1230 | PRFPREGSET_T_BROKEN. Introduce srv_thread_depfiles and USE_THREAD_DB. | |
1231 | Check for -lthread_db and thread support. | |
1232 | * gdbserver/configure.srv: Enable thread_db support for ARM, i386, MIPS, | |
1233 | PowerPC, and SuperH. | |
1234 | * gdbserver/i387-fp.c: Constify arguments. | |
1235 | * gdbserver/i387-fp.h: Likewise. | |
1236 | * gdbserver/inferiors.c: (struct thread_info): Renamed from | |
1237 | `struct inferior_info'. Remove PID member. Use generic inferior | |
1238 | list header. All uses updated. | |
1239 | (inferiors, signal_pid): Removed. | |
1240 | (all_threads): New variable. | |
1241 | (get_thread): Define. | |
1242 | (add_inferior_to_list): New function. | |
1243 | (for_each_inferior): New function. | |
1244 | (change_inferior_id): New function. | |
1245 | (add_inferior): Removed. | |
1246 | (remove_inferior): New function. | |
1247 | (add_thread): New function. | |
1248 | (free_one_thread): New function. | |
1249 | (remove_thread): New function. | |
1250 | (clear_inferiors): Use for_each_inferior and free_one_thread. | |
1251 | (find_inferior): New function. | |
1252 | (find_inferior_id): New function. | |
1253 | (inferior_target_data): Update argument type. | |
1254 | (set_inferior_target_data): Likewise. | |
1255 | (inferior_regcache_data): Likewise. | |
1256 | (set_inferior_regcache_data): Likewise. | |
1257 | * gdbserver/linux-low.c (linux_bp_reinsert): Remove. | |
1258 | (all_processes, stopping_threads, using_thrads) | |
1259 | (struct pending_signals, debug_threads, pid_of): New. | |
1260 | (inferior_pid): Replace with macro. | |
1261 | (struct inferior_linux_data): Remove. | |
1262 | (get_stop_pc, add_process): New functions. | |
1263 | (linux_create_inferior): Restore SIGRTMIN+1 before calling exec. | |
1264 | Use add_process and add_thread. | |
1265 | (linux_attach_lwp): New function, based on old linux_attach. Use | |
1266 | add_process and add_thread. Set stop_expected for new threads. | |
1267 | (linux_attach): New function. | |
1268 | (linux_kill_one_process): New function. | |
1269 | (linux_kill): Kill all LWPs. | |
1270 | (linux_thread_alive): Use find_inferior_id. | |
1271 | (check_removed_breakpoints, status_pending_p): New functions. | |
1272 | (linux_wait_for_process): Renamed from linux_wait_for_one_inferior. | |
1273 | Update. Use WNOHANG. Wait for cloned processes also. Update process | |
1274 | struct for the found process. | |
1275 | (linux_wait_for_event): New function. | |
1276 | (linux_wait): Use it. Support LWPs. | |
1277 | (send_sigstop, wait_for_sigstop, stop_all_processes) | |
1278 | (linux_resume_one_process, linux_continue_one_process): New functions. | |
1279 | (linux_resume): Support LWPs. | |
1280 | (REGISTER_RAW_SIZE): Remove. | |
1281 | (fetch_register): Use register_size instead. Call supply_register. | |
1282 | (usr_store_inferior_registers): Likewise. Call collect_register. | |
1283 | Fix recursive case. | |
1284 | (regsets_fetch_inferior_registers): Improve error message. | |
1285 | (regsets_store_inferior_registers): Add debugging. | |
1286 | (linux_look_up_symbols): Call thread_db_init if USE_THREAD_DB. | |
1287 | (unstopped_p, linux_signal_pid): New functions. | |
1288 | (linux_target_ops): Add linux_signal_pid. | |
1289 | (linux_init_signals): New function. | |
1290 | (initialize_low): Call it. Initialize using_threads. | |
1291 | * gdbserver/regcache.c (inferior_regcache_data): Add valid | |
1292 | flag. | |
1293 | (get_regcache): Fetch registers lazily. Add fetch argument | |
1294 | and update all callers. | |
1295 | (regcache_invalidate_one, regcache_invalidate): New | |
1296 | functions. | |
1297 | (new_register_cache): Renamed from create_register_cache. | |
1298 | Return the new regcache. | |
1299 | (free_register_cache): Change argument to a void *. | |
1300 | (registers_to_string, registers_from_string): Call get_regcache | |
1301 | with fetch flag set. | |
1302 | (register_data): Make static. Pass fetch flag to get_regcache. | |
1303 | (supply_register): Call get_regcache with fetch flag clear. | |
1304 | (collect_register): Call get_regcache with fetch flag set. | |
1305 | (collect_register_as_string): New function. | |
1306 | * gdbserver/regcache.h: Update. | |
1307 | * gdbserver/remote-utils.c (putpkt): Flush after debug output and use | |
1308 | stderr. | |
1309 | Handle input interrupts while waiting for an ACK. | |
1310 | (input_interrupt): Use signal_pid method. | |
1311 | (getpkt): Flush after debug output and use stderr. | |
1312 | (outreg): Use collect_register_as_string. | |
1313 | (new_thread_notify, dead_thread_notify): New functions. | |
1314 | (prepare_resume_reply): Check using_threads. Set thread_from_wait | |
1315 | and general_thread. | |
1316 | (look_up_one_symbol): Flush after debug output. | |
1317 | * gdbserver/server.c (step_thread, server_waiting): New variables. | |
1318 | (start_inferior): Don't use signal_pid. Update call to mywait. | |
1319 | (attach_inferior): Update call to mywait. | |
1320 | (handle_query): Handle qfThreadInfo and qsThreadInfo. | |
1321 | (main): Don't fetch/store registers explicitly. Use | |
1322 | set_desired_inferior. Support proposed ``Hs'' packet. Update | |
1323 | calls to mywait. | |
1324 | * gdbserver/server.h: Update. | |
1325 | (struct inferior_list, struct_inferior_list_entry): New. | |
1326 | * gdbserver/target.c (set_desired_inferior): New. | |
1327 | (write_inferior_memory): Constify. | |
1328 | (mywait): New function. | |
1329 | * gdbserver/target.h: Update. | |
1330 | (struct target_ops): New signal_pid method. | |
1331 | (mywait): Removed macro, added prototype. | |
1332 | ||
1333 | * gdbserver/linux-low.h (regset_func): Removed. | |
1334 | (regset_fill_func, regset_store_func): New. | |
1335 | (enum regset_type): New. | |
1336 | (struct regset_info): Add type field. Use new operation types. | |
1337 | (struct linux_target_ops): stop_pc renamed to get_pc. | |
1338 | Add decr_pc_after_break and breakpoint_at. | |
1339 | (get_process, get_thread_proess, get_process_thread) | |
1340 | (strut process_info, all_processes, linux_attach_lwp) | |
1341 | (thread_db_init): New. | |
1342 | ||
1343 | * gdbserver/linux-arm-low.c (arm_get_pc, arm_set_pc, | |
1344 | arm_breakpoint, arm_breakpoint_len, arm_breakpoint_at): New. | |
1345 | (the_low_target): Add new members. | |
1346 | * gdbserver/linux-i386-low.c (i386_store_gregset, i386_store_fpregset) | |
1347 | (i386_store_fpxregset): Constify. | |
1348 | (target_regsets): Add new kind identifier. | |
1349 | (i386_get_pc): Renamed from i386_stop_pc. Simplify. | |
1350 | (i386_set_pc): Add debugging. | |
1351 | (i386_breakpoint_at): New function. | |
1352 | (the_low_target): Add new members. | |
1353 | * gdbserver/linux-mips-low.c (mips_get_pc, mips_set_pc) | |
1354 | (mips_breakpoint, mips_breakpoint_len, mips_reinsert_addr) | |
1355 | (mips_breakpoint_at): New. | |
1356 | (the_low_target): Add new members. | |
1357 | * gdbserver/linux-ppc-low.c (ppc_get_pc, ppc_set_pc) | |
1358 | (ppc_breakpoint, ppc_breakpoint_len, ppc_breakpoint_at): New. | |
1359 | (the_low_target): Add new members. | |
1360 | * gdbserver/linux-sh-low.c (sh_get_pc, sh_set_pc) | |
1361 | (sh_breakpoint, sh_breakpoint_len, sh_breakpoint_at): New. | |
1362 | (the_low_target): Add new members. | |
1363 | * gdbserver/linux-x86-64-low.c (target_regsets): Add new kind | |
1364 | identifier. | |
1365 | ||
23aa4c72 ML |
1366 | 2002-06-11 Michal Ludvig <mludvig@suse.cz> |
1367 | ||
1368 | * dwarf2cfi.c (unwind_tmp_obstack_init): New. | |
1369 | (unwind_tmp_obstack_free, parse_frame_info) | |
1370 | (update_context, cfi_read_fp, cfi_write_fp) | |
1371 | (cfi_frame_chain, cfi_init_extra_frame_info) | |
1372 | (cfi_virtual_frame_pointer): Use the above function. | |
264d1763 | 1373 | * dwarf2cfi.c: Reindented (using 'indent dwarf2cfi.c'). |
23aa4c72 | 1374 | |
70eb15a4 CV |
1375 | 2002-06-11 Corinna Vinschen <vinschen@redhat.com> |
1376 | ||
1377 | * v850-tdep.c (v850_type_is_scalar): New function. | |
1378 | (v850_use_struct_convention): Match current gcc implementation | |
1379 | as close as possible. | |
1380 | (v850_push_arguments): Fix stack_offset handling. Don't write | |
1381 | struct_addr into register. This is done by v850_store_struct_return. | |
1382 | (v850_extract_return_value): Care for structs. | |
1383 | (v850_store_return_value): Ditto. | |
1384 | (v850_store_struct_return): Actually write address. | |
1385 | ||
482a4d06 ML |
1386 | 2002-06-11 Michal Ludvig <mludvig@suse.cz> |
1387 | ||
1388 | * x86-64-tdep.c (x86_64_skip_prologue): Fix to work on functions | |
1389 | without debug information too. | |
1390 | ||
d855c300 AC |
1391 | 2002-06-10 Andrew Cagney <ac131313@redhat.com> |
1392 | ||
1393 | * gdbarch.sh (PRINT_FLOAT_INFO): Add frame and ui_file parameters. | |
1394 | Make multi-arch pure. | |
1395 | * gdbarch.h, gdbarch.c: Re-generate. | |
1396 | * arm-tdep.c (arm_print_float_info): Update. | |
1397 | * arch-utils.h (default_print_float_info): Update. | |
1398 | * arch-utils.c (default_print_float_info): Update. | |
1399 | * infcmd.c (float_info): Update call. | |
1400 | ||
dd12a101 AC |
1401 | 2002-06-10 Andrew Cagney <ac131313@redhat.com> |
1402 | ||
1403 | * Makefile.in (init.c): Move the call to _initialize_gdbtypes to | |
1404 | the front of the initialize list. | |
1405 | ||
101dcfbe AC |
1406 | 2002-06-10 Andrew Cagney <ac131313@redhat.com> |
1407 | ||
1408 | * infrun.c (struct inferior_status): Replace fields | |
1409 | selected_frame_address and selected_level with field | |
1410 | selected_frame_id. | |
1411 | (save_inferior_status): Update. Use get_frame_id. | |
1412 | (struct restore_selected_frame_args): Delete. | |
1413 | (restore_selected_frame): Update. Use frame_find_by_id. | |
1414 | (restore_inferior_status): Update. | |
1415 | ||
1416 | * breakpoint.h (struct breakpoint): Change type of | |
1417 | watchpoint_frame to frame_id. | |
1418 | * breakpoint.c (insert_breakpoints): Use frame_find_by_id. Remove | |
1419 | call to get_current_frame. | |
1420 | (do_enable_breakpoint): Use frame_find_by_id. Remove call to | |
1421 | get_current_frame. | |
1422 | (watchpoint_check): Use frame_find_by_id. | |
1423 | ||
1424 | * frame.h (record_selected_frame): Delete declaration. | |
1425 | * stack.c (record_selected_frame): Delete function. | |
1426 | ||
1427 | * frame.h (struct frame_id): Define. | |
1428 | (get_frame_id): Declare. | |
1429 | (frame_find_by_id): Declare. | |
1430 | * frame.c (frame_find_by_id): New function. | |
1431 | (get_frame_id): New function. | |
1432 | ||
304270b6 AV |
1433 | 2002-06-10 Andrey Volkov <avolkov@transas.com> |
1434 | ||
1435 | * ser-e7kpc.c: Fix duplicated define and call of | |
1436 | _initialize_ser_e7000pc | |
1437 | ||
2f2cf184 DJ |
1438 | 2002-06-09 Daniel Jacobowitz <drow@mvista.com> |
1439 | ||
1440 | * signals/signals.c (target_signal_from_host): Fix #ifdef | |
1441 | SIGRTMIN case. | |
1442 | (do_target_signal_to_host): Likewise. | |
1443 | ||
caaa3122 DJ |
1444 | 2002-06-09 Daniel Jacobowitz <drow@mvista.com> |
1445 | ||
1446 | * mips-tdep.c (mips_find_abi_section): New function. | |
1447 | (mips_gdbarch_init): Call it. | |
1448 | ||
6ac5df3a MK |
1449 | 2002-06-09 Mark Kettenis <kettenis@gnu.org> |
1450 | ||
1451 | * solib-svr4.c (init_fetch_link_map_offsets): Simply return | |
1452 | legacy_fetch_link_map_offsets. Adjust comment to reflect reality | |
1453 | after Andrew's 2002-06-08 gdbarch change. | |
1454 | ||
82ea117a MK |
1455 | 2002-06-09 Mark Kettenis <kettenis@gnu.org> |
1456 | ||
1457 | * i386-linux-nat.c (suppy_gregset): Don't supply | |
1458 | I386_LINUX_ORIG_EAX_REGNUM if there isn't room for it in GDB's | |
1459 | register cache. | |
1460 | (fill_gregset): Don't fetch it under the same circumstances. | |
1461 | ||
3c25f8c7 AC |
1462 | 2002-06-09 Andrew Cagney <cagney@redhat.com> |
1463 | ||
1464 | * Makefile.in (callback_h): Define. | |
1465 | (remote_sim_h): Update path to remote-sim.h. | |
1466 | (remote-rdp.o): Add $(callback_h). | |
1467 | (remote-sim.o): Use $(callback_h). | |
1468 | * remote-sim.c: Include "gdb/callback.h" and "gdb/remote-sim.h". | |
1469 | * remote-rdp.c: Include "gdb/callback.h". | |
1470 | ||
1029b7fa MK |
1471 | 2002-06-09 Mark Kettenis <kettenis@gnu.org> |
1472 | ||
1473 | * osabi.h (gdb_osabi): Add GDB_OSABI_GO32 and GDB_OSABI_NETWARE. | |
1474 | * osabi.c (gdb_osabi_names): Add "DJGPP" and "NetWare". | |
1475 | ||
616675d3 AC |
1476 | 2002-06-08 Andrew Cagney <ac131313@redhat.com> |
1477 | ||
a3efda28 AC |
1478 | * sparcl-tdep.c: Use __CYGWIN__ instead of __CYGWIN32__. |
1479 | * rdi-share/serpardr.c: Ditto. | |
1480 | * rdi-share/unixcomm.c: Ditto. | |
1481 | * rdi-share/serdrv.c: Ditto. | |
1482 | * rdi-share/hostchan.h: Ditto. | |
1483 | * rdi-share/hostchan.c: Ditto. | |
1484 | * rdi-share/host.h: Ditto. | |
1485 | * rdi-share/devsw.c: Ditto. | |
1486 | ||
c5f10366 AC |
1487 | * objfiles.h: Change type of obj_private to void pointer. |
1488 | * pa64solib.c: Update copyright. Don't include "assert.h", use | |
1489 | strcmp instead of STREQ, use LONGEST, do not use PTR | |
1490 | * somsolib.c: Ditto. | |
1491 | ||
616675d3 AC |
1492 | * config/djgpp/fnchange.lst: Fix problems with bfd/elf32-i386.c, |
1493 | bfd/elf32-i386qnx.c, bfd/elf32-sh.c, bfd/elf32-sh64-nbsd.c, | |
1494 | bfd/elf64-sh64-nbsd.c bfd/elf64-sh64.c. | |
1495 | ||
e4b415d9 AC |
1496 | 2002-06-08 Andrew Cagney <ac131313@redhat.com> |
1497 | ||
1498 | * frame.c (GET_SAVED_REGISTER): Delete macro definition. | |
1499 | (default_get_saved_register): Delete function. | |
1500 | * gdbarch.sh (GET_SAVED_REGISTER): Set default to | |
1501 | generic_unwind_get_saved_register. | |
1502 | * gdbarch.h, gdbarch.c: Re-generate. | |
1503 | ||
ca0d0b52 AC |
1504 | 2002-06-08 Andrew Cagney <ac131313@redhat.com> |
1505 | ||
1506 | * gdbarch.sh (FRAME_CHAIN_VALID): Set default to | |
1507 | generic_func_frame_chain_valid. | |
1508 | * gdbarch.h, gdbarch.c: Re-generate. | |
1509 | * blockframe.c (generic_func_frame_chain_valid): Only check | |
1510 | PC_IN_CALL_DUMMY when generic dummy frames. Don't worry about | |
1511 | passing FP to PC_IN_CALL_DUMMY. | |
1512 | Fix PR gdb/360. | |
1513 | ||
76860b5f AC |
1514 | 2002-06-08 Andrew Cagney <ac131313@redhat.com> |
1515 | ||
1516 | * gdbarch.sh (struct gdbarch_data): Add field init_p. | |
1517 | (register_gdbarch_data): Initialize init_p. | |
1518 | (gdbarch_data): Initialize data pointer using the init function. | |
1519 | (init_gdbarch_data): Delete function. | |
1520 | (gdbarch_update_p): Update. | |
1521 | (initialize_non_multiarch): Update. | |
1522 | (struct gdbarch): Add field initialized_p. | |
1523 | * gdbarch.h, gdbarch.c: Re-generate. | |
1524 | ||
8dda9770 ML |
1525 | 2002-06-07 Michal Ludvig <mludvig@suse.cz> |
1526 | ||
1527 | * x86-64-linux-nat.c (x86_64_fxsave_offset): New. | |
1528 | (supply_fpregset, fill_fpregset): Don't call i387_*_fxsave, | |
1529 | better do the things actually here. | |
1530 | * x86-64-tdep.c (x86_64_register_name2nr): New. | |
1531 | (x86_64_register_name): Renamed to x86_64_register_nr2name. | |
1532 | (x86_64_gdbarch_init): Respect the above change. | |
1533 | * x86-64-tdep.h (x86_64_register_name2nr) | |
1534 | (x86_64_register_nr2name): Add prototypes. | |
1535 | * config/i386/x86-64linux.mt (TDEPFILES): Remove i387-tdep.o. | |
1536 | ||
3d79a47c MS |
1537 | 2002-06-06 Michael Snyder <msnyder@redhat.com> |
1538 | ||
7bd91a28 MS |
1539 | * d10v-tdep.c (d10v_push_arguments): Handle struct_return. |
1540 | Delete extra braces and re-indent. | |
1541 | (d10v_store_return_value): Char return values | |
3d79a47c MS |
1542 | must be shifted over by one byte in R0. |
1543 | (d10v_extract_return_value): Delete extra braces, re-indent. | |
1544 | ||
095a4c96 EZ |
1545 | 2002-06-06 Elena Zannoni <ezannoni@redhat.com> |
1546 | ||
1547 | * d10v-tdep.c (d10v_read_sp, d10v_read_fp): Add prototype. | |
1548 | (d10v_register_virtual_type): Make $fp and $sp be pointer to data. | |
1549 | (d10v_integer_to_address): Rewrite. | |
1550 | (d10v_frame_init_saved_regs): When reading fp and sp registers use | |
1551 | the d10v specific functions which take care of converting to the | |
1552 | correct space. | |
1553 | ||
e8a77ca4 EZ |
1554 | 2002-06-06 Elena Zannoni <ezannoni@redhat.com> |
1555 | ||
1556 | * config/djgpp/fnchange.lst: Add testsuite files altivec-abi.c, | |
1557 | altivec-abi.exp, altivec-regs.c, altivec-regs.exp. | |
1558 | ||
4f2e4a4f AC |
1559 | 2002-06-02 Andrew Cagney <ac131313@redhat.com> |
1560 | ||
1561 | * config/alpha/nm-linux.h: Add "config/" prefix to tm, nm and xm | |
1562 | includes. | |
1563 | * config/tm-linux.h: Ditto. | |
1564 | * config/alpha/tm-alphalinux.h: Ditto. | |
1565 | * config/arm/nm-linux.h, config/arm/tm-linux.h: Ditto. | |
1566 | * config/arm/xm-nbsd.h, config/i386/nm-gnu.h: Ditto. | |
1567 | * config/i386/nm-i386lynx.h, config/i386/nm-i386sol2.h: Ditto. | |
1568 | * config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h: Ditto. | |
1569 | * config/i386/nm-linux.h, config/i386/nm-m3.h: Ditto. | |
1570 | * config/i386/nm-ptx4.h, config/i386/nm-x86-64.h: Ditto. | |
1571 | * config/i386/tm-i386gnu.h, config/i386/tm-i386lynx.h: Ditto. | |
1572 | * config/i386/tm-i386m3.h, config/i386/tm-i386sco5.h: Ditto. | |
1573 | * config/i386/tm-i386v4.h, config/i386/tm-linux.h: Ditto. | |
1574 | * config/i386/tm-ptx4.h, config/i386/tm-vxworks.h: Ditto. | |
1575 | * config/i386/xm-i386v4.h, config/i386/xm-nbsd.h: Ditto. | |
1576 | * config/i386/xm-ptx.h, config/i386/xm-ptx4.h: Ditto. | |
1577 | * config/i960/tm-vx960.h, config/ia64/nm-aix.h: Ditto. | |
1578 | * config/ia64/nm-linux.h, config/ia64/tm-aix.h: Ditto. | |
1579 | * config/ia64/tm-linux.h, config/ia64/xm-aix.h: Ditto. | |
1580 | * config/m68k/nm-linux.h, config/m68k/nm-m68klynx.h: Ditto. | |
1581 | * config/m68k/nm-sysv4.h, config/m68k/tm-linux.h: Ditto. | |
1582 | * config/m68k/tm-m68klynx.h, config/m68k/tm-m68kv4.h: Ditto. | |
1583 | * config/m68k/tm-sun2os4.h, config/m68k/tm-sun3os4.h: Ditto. | |
1584 | * config/m68k/tm-vx68.h, config/m68k/xm-m68kv4.h: Ditto. | |
1585 | * config/m68k/xm-nbsd.h, config/m88k/nm-delta88v4.h: Ditto. | |
1586 | * config/m88k/tm-delta88v4.h, config/m88k/xm-delta88v4.h: Ditto. | |
1587 | * config/mips/nm-irix5.h, config/mips/nm-linux.h: Ditto. | |
1588 | * config/mips/tm-linux.h, config/mips/tm-mips64.h: Ditto. | |
1589 | * config/mips/tm-mipsm3.h, config/mips/tm-mipsv4.h: Ditto. | |
1590 | * config/mips/tm-vxmips.h, config/mips/xm-irix5.h: Ditto. | |
1591 | * config/mips/xm-mipsv4.h, config/ns32k/xm-nbsd.h: Ditto. | |
1592 | * config/pa/nm-hppao.h, config/powerpc/nm-linux.h: Ditto. | |
1593 | * config/powerpc/tm-linux.h, config/powerpc/tm-vxworks.h: Ditto. | |
1594 | * config/powerpc/xm-aix.h, config/rs6000/nm-rs6000ly.h: Ditto. | |
1595 | * config/rs6000/tm-rs6000ly.h, config/rs6000/xm-aix4.h: Ditto. | |
1596 | * config/sh/tm-linux.h, config/sparc/nm-linux.h: Ditto. | |
1597 | * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4sol2.h: Ditto. | |
1598 | * config/sparc/tm-linux.h, config/sparc/tm-sp64linux.h: Ditto. | |
1599 | * config/sparc/tm-sp64sim.h, config/sparc/tm-sparclynx.h: Ditto. | |
1600 | * config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h: Ditto. | |
1601 | * config/sparc/tm-vxsparc.h, config/sparc/xm-sun4sol2.h: Ditto. | |
1602 | ||
ae2ab2ce AS |
1603 | 2002-05-04 Aidan Skinner <aidan@velvet.net> |
1604 | ||
1605 | * ada-exp.tab.c: New file | |
1606 | * ada-exp.y: New file | |
1607 | * ada-lang.c: New file | |
1608 | * ada-lang.h: New file | |
1609 | * ada-lex.c: New file | |
1610 | * ada-lex.l: New file | |
1611 | * ada-tasks.c: New file | |
1612 | * ada-typeprint.c: New file | |
1613 | * ada-valprint.c: New file | |
1614 | ||
0ddd0135 JT |
1615 | 2002-06-02 Jason Thorpe <thorpej@wasabisystems.com> |
1616 | ||
1617 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Don't set | |
1618 | use_struct_convention to ppc_sysv_abi_broken_use_struct_convention. | |
1619 | ||
750fbacc JT |
1620 | 2002-06-02 Jason Thorpe <thorpej@wasabisystems.com> |
1621 | ||
1622 | * config/rs6000/aix4.mt (TDEPFILES): Use ppc-sysv-tdep.o | |
1623 | insetead of ppc-linux-tdep.o. | |
1624 | * config/rs6000/rs6000.mt (TDEPFILES): Likewise. | |
1625 | * config/rs6000/rs6000lynx.mt (TDEPFILES): Likewise. | |
1626 | ||
df94e18a AC |
1627 | 2002-06-02 Andrew Cagney <ac131313@redhat.com> |
1628 | ||
1629 | 2002-05-07 Christian Groessler <chris@groessler.org> | |
1630 | * z8k-tdep.c (z8k_print_register_hook): Fix display of 32 and 64 | |
1631 | bit register contents for little endian hosts. | |
1632 | ||
1a38ab75 AC |
1633 | 2002-06-01 Andrew Cagney <ac131313@redhat.com> |
1634 | ||
1635 | * MAINTAINERS: Mention that any `HP/UX reader' can be changed by | |
1636 | any maintainer. | |
1637 | ||
8b1632ac AC |
1638 | 2002-06-01 Andrew Cagney <ac131313@redhat.com> |
1639 | ||
1640 | * gdbarch.h: Regenerate. | |
1641 | ||
627054c8 AC |
1642 | 2002-06-01 Andrew Cagney <ac131313@redhat.com> |
1643 | ||
1644 | * MAINTAINERS: Add everyone to write-after-approval list. | |
1645 | ||
4f460812 AC |
1646 | 2002-06-01 Andrew Cagney <ac131313@redhat.com> |
1647 | ||
1648 | * stack.c (frame_info): Use frame_register_unwind instead of | |
1649 | saved_regs. Mention when the SP is on the stack or in a register. | |
1650 | ||
1651 | * frame.h (frame_register_unwind_ftype): Define. Document. | |
1652 | (struct frame_info): Add field register_unwind and | |
1653 | register_unwind_cache. | |
1654 | (frame_register_unwind): Declare. | |
1655 | (generic_unwind_get_saved_register): Declare. | |
1656 | ||
1657 | * frame.c (frame_register_unwind): New function. | |
1658 | (generic_unwind_get_saved_register): New function. | |
1659 | ||
1660 | * blockframe.c (generic_call_dummy_register_unwind): New function. | |
1661 | (frame_saved_regs_register_unwind): New function. | |
1662 | (set_unwind_by_pc): New function. | |
1663 | (create_new_frame): New function. | |
1664 | (get_prev_frame): New function. | |
1665 | ||
de888f76 AC |
1666 | 2002-05-30 Andrew Cagney <ac131313@redhat.com> |
1667 | ||
1668 | * a29k-share/: Delete directory. | |
1669 | * remote-vx29k.c: Delete file. | |
1670 | ||
2f2c3626 JT |
1671 | 2002-05-30 Jason Thorpe <thorpej@wasabisystems.com> |
1672 | ||
1673 | * config/djgpp/fnchange.lst: Add ns32knbsd-nat.c, ns32knbsd-tdep.c, | |
1674 | ppcnbsd-nat.c, ppcnbsd-tdep.c, sparcnbsd-nat.c, and sparcnbsd-tdep.c. | |
1675 | ||
9ce5c36a JT |
1676 | 2002-05-30 Jason Thorpe <thorpej@wasabisystems.com> |
1677 | ||
1678 | * Makefile.in (ALLDEPFILES): Add sparc64nbsd-nat.c, | |
1679 | sparcnbsd-nat.c, and sparcnbsd-tdep.c. | |
1680 | (sparc64nbsd-nat.o) | |
1681 | (sparcnbsd-nat.o) | |
1682 | (sparcnbsd-tdep.o): New dependency lists. | |
1683 | * NEWS: Note new UltraSPARC NetBSD native configuration. | |
1684 | * configure.host (sparc64-*-netbsd*): New host. | |
1685 | * configure.tgt (sparc-*-netbsdelf*) | |
1686 | (sparc-*-netbsd*): Set gdb_target to nbsd. | |
1687 | (sparc64-*-netbsd*): New target. | |
1688 | * sparc64nbsd-nat.c: New file. | |
1689 | * sparcnbsd-nat.c: New file. | |
1690 | * sparcnbsd-tdep.c: New file. | |
1691 | * sparcnbsd-tdep.h: New file. | |
1692 | * config/sparc/nbsd.mt: New file. | |
1693 | * config/sparc/nbsd64.mh: New file. | |
1694 | * config/sparc/nbsd64.mt: New file. | |
1695 | * config/sparc/nbsdaout.mh (NATDEPFILES): Remove corelow.o, | |
1696 | sparc-nat.o, and solib.o. Add sparcnbsd-nat.o. | |
1697 | (HOST_IPC): Remove. | |
1698 | * config/sparc/nbsdaout.mt: Remove. | |
1699 | * config/sparc/nbsdelf.mh (NATDEPFILES): Remove corelow.o, | |
1700 | sparc-nat.o, and solib.o. Add sparcnbsd-nat.o. | |
1701 | (HOST_IPC): Remove. | |
1702 | * config/sparc/nbsdelf.mt: Remove. | |
1703 | * config/sparc/nm-nbsd.h: Update copyright years. Remove all | |
1704 | sparc-nat.c compatiblity defines. | |
1705 | * config/sparc/tm-nbsd.h: Update copyright years. Include solib.h. | |
1706 | (GDB_MULTI_ARCH): Set to GDB_MULTI_ARCH_PARTIAL. | |
1707 | * config/sparc/tm-nbsd64.h: New file. | |
1708 | * config/sparc/tm-nbsdaout.h: Remove. | |
1709 | * config/sparc/xm-nbsd.h: Remove. | |
1710 | ||
ef3cf062 JT |
1711 | 2002-05-30 Jason Thorpe <thorpej@wasabisystems.com> |
1712 | ||
1713 | * Makefile.in (sparc-tdep.o): Add osabi.h to dependency list. | |
1714 | * sparc-tdep.c: Include osabi.h. | |
1715 | (gdbarch_tdep): Add osabi member. | |
1716 | (_initialize_sparc_tdep): Use gdbarch_register. | |
1717 | (sparc_gdbarch_init): Use generic OS ABI framework. | |
1718 | (sparc_dump_tdep): New function. | |
1719 | ||
ee8ff470 KB |
1720 | 2002-05-30 Kevin Buettner <kevinb@redhat.com> |
1721 | ||
1722 | * corefile.c (do_captured_read_memory_integer): Return non-zero | |
1723 | result. | |
1724 | (safe_read_memory_integer): Copy result of memory read when | |
1725 | status is non-zero. Also, add comments. | |
1726 | ||
7b112f9c JT |
1727 | 2002-05-20 Jason Thorpe <thorpej@wasabisystems.com> |
1728 | ||
1729 | * Makefile.in (ppc_tdep_h): Define. | |
1730 | (ppc-linux-nat.o) | |
1731 | (ppc-linux-tdep.o) | |
1732 | (rs6000-tdep.o): Use $(ppc_tdep_h). | |
1733 | (ppc-sysv-tdep.o) | |
1734 | (ppcnbsd-nat.o) | |
1735 | (ppcnbsd-tdep.o): New dependency lists. | |
1736 | * ppc-tdep.h: Use generic OS ABI framework. | |
357edbbc JT |
1737 | * ppc-linux-tdep.c (_initialize_ppc_linux_tdep) |
1738 | (ppc_linux_init_abi): New functions. | |
7b112f9c JT |
1739 | (ppc_sysv_abi_broken_use_struct_convention) |
1740 | (ppc_sysv_abi_use_struct_convention) | |
1741 | (ppc_sysv_abi_push_arguments): Move to... | |
1742 | * ppc-sysv-tdep.c: ...here. | |
1743 | * ppcnbsd-nat.c: Don't include gdbcore.h and regcache.h. | |
1744 | * rs6000-tdep.c (process_note_abi_tag_sections) | |
1745 | (get_elfosabi): Remove. | |
1746 | (rs6000_gdbarch_init): Use generic OS ABI framework. | |
1747 | (rs6000_dump_tdep): New function. | |
1748 | (_initialize_rs6000_tdep): Use gdbarch_register. | |
1749 | * config/powerpc/linux.mt (TDEPFILES): Add ppc-sysv-tdep.o. | |
1750 | * config/powerpc/nbsd.mh (NATDEPFILES): Remove solib-legacy.o. | |
1751 | * config/powerpc/aix.mt (TDEPFILES): Use ppc-sysv-tdep.o instead | |
1752 | of ppc-linux-tdep.o. | |
1753 | * config/powerpc/nbsd.mt (TDEPFILES): Likewise. | |
1754 | * config/powerpc/ppc-eabi.mt (TDEPFILES): Likewise. | |
1755 | * config/powerpc/ppc-sim.mt (TDEPFILES): Likewise. | |
1756 | * config/powerpc/ppcle-eabi.mt (TDEPFILES): Likewise. | |
1757 | * config/powerpc/ppcle-sim.mt (TDEPFILES): Likewise. | |
1758 | * config/powerpc/vxworks.mt (TDEPFILES): Likewise. | |
1759 | ||
480dd42a JB |
1760 | 2002-05-29 Jim Blandy <jimb@redhat.com> |
1761 | ||
1762 | * macroscope.c (default_macro_scope): Put `void' in empty argument | |
1763 | list. | |
1764 | ||
4182591f AC |
1765 | 2002-05-29 Andrew Cagney <ac131313@redhat.com> |
1766 | ||
1767 | * Makefile.in (arch-utils.o): Add $(sim_regno_h). | |
1768 | * arch-utils.c: Include "sim-regno.h". | |
1769 | * gdbarch.sh: Don't include "sim-regno.h". | |
1770 | * gdbarch.h, gdbarch.c: Regenerate. | |
1771 | * sim-regno.h (legacy_register_sim_regno): Move declaration from | |
1772 | here. | |
1773 | * arch-utils.h (legacy_register_sim_regno): To here. | |
1774 | * remote-sim.c (legacy_register_sim_regno): Move function from | |
1775 | here. | |
1776 | * arch-utils.c (legacy_register_sim_regno): To here. | |
1777 | ||
8238d0bf AC |
1778 | 2002-05-28 Andrew Cagney <ac131313@redhat.com> |
1779 | ||
1780 | * sim-regno.h: New file. | |
1781 | * Makefile.in (sim_regno_h): Define. | |
1782 | (d10v-tdep.o, remote-sim.o): Add dependency on $(sim_regno_h). | |
1783 | * remote-sim.c: Include "sim-regno.h" and "gdb_assert.h". | |
1784 | (legacy_register_sim_regno): New function. | |
1785 | (one2one_register_sim_regno): New function. | |
1786 | (gdbsim_fetch_register): Rewrite. | |
1787 | (gdbsim_store_register): Only store a register when | |
1788 | REGISTER_SIM_REGNO is valid. | |
1789 | * d10v-tdep.c: Include "sim-regno.h". | |
1790 | (d10v_ts2_register_sim_regno): Add legacy_regiter_sim_regno check. | |
1791 | (d10v_ts3_register_sim_regno): Ditto. | |
1792 | * gdbarch.sh: Include "sim-regno.h". | |
1793 | (REGISTER_SIM_REGNO): Set default to legacy_register_sim_regno. | |
1794 | * gdbarch.h, gdbarch.c: Regenerate. | |
1795 | * arch-utils.h (default_register_sim_regno): Delete declaration. | |
1796 | * arch-utils.c (default_register_sim_regno): Delete function. | |
1797 | ||
485721b1 JT |
1798 | 2002-05-28 Jason Thorpe <thorpej@wasabisystems.com> |
1799 | ||
1800 | * ppcnbsd-nat.c: Rewrite. | |
1801 | * ppcnbsd-tdep.c: New file. | |
1802 | * ppcnbsd-tdep.h: New file. | |
1803 | * config/powerpc/nbsd.mh (NATDEPFILES): Remove corelow.o, | |
1804 | solib.o, and solib-svr4.o. | |
1805 | * config/powerpc/nbsd.mt (TDEPFILES): Add ppcnbsd-tdep.o, | |
1806 | nbsd-tdep.o, and corelow.o. | |
1807 | ||
697f244d AC |
1808 | 2002-05-28 Andrew Cagney <ac131313@redhat.com> |
1809 | ||
1810 | * MAINTAINERS (--enable-gdb-build-warnings): Rewrite script to use | |
1811 | `tr' and `sed'. Mention that `broken' targets are not expected to | |
1812 | build. | |
1813 | ||
f08caad1 | 1814 | 2002-05-27 Michal Ludvig <mludvig@suse.cz> |
b1ab997b ML |
1815 | |
1816 | * x86-64-tdep.c (x86_64_skip_prologue): Remove obsolete note. | |
1817 | Let PC point right after the prologue before looking up symbols. | |
1818 | ||
3139facc MH |
1819 | 2002-05-27 Martin M. Hunt <hunt@redhat.com> |
1820 | ||
1821 | * i386-tdep.c (i386_register_virtual_type): Return | |
1822 | builtin_type_vec128i for SSE registers. | |
1823 | ||
1824 | * gdbtypes.h (builtin_type_vec128i): Declare. | |
1825 | ||
1826 | * gdbtypes.c (build_builtin_type_vec128i): New function. | |
1827 | (builtin_type_v2_double, builtin_type_v4_int64): New types. | |
1828 | (builtin_type_vec128i): New type for SSE2 128-bit registers. | |
1829 | (build_gdbtypes): Initialize new builtin vector types. | |
1830 | (_initialize_gdbtypes): Register new vector types with gdbarch. | |
1831 | ||
6e3ba3b8 JT |
1832 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
1833 | ||
1834 | * MAINTAINERS: ns32k is not longer an obsolete candidate, | |
1835 | since it has been multi-arch'd. | |
1836 | * NEWS: Note that ns32k-*-* is now partial multi-arch. | |
1837 | Move Alpha and VAX multi-arch news entries to same section | |
1838 | as other multi-arch news. | |
1839 | ||
93d5585d JT |
1840 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
1841 | ||
1842 | * ns32k-tdep.c: include gdbtypes.h, inferior.h, regcache.h, | |
1843 | target.s, arch-utils.h, ns32k-tdep.h. Make many functions | |
1844 | static. Rename some register numbers to put them in ns32k-tdep | |
1845 | private namespace. | |
1846 | (ns32k_get_saved_register, ns32k_gdbarch_init_32082, | |
1847 | ns32k_gdbarch_init_32382, ns32k_gdbarch_init, ns32k_dump_tdep): New | |
1848 | functions. | |
1849 | (_initialize_ns32k_tdep): Use gdbarch_register. | |
1850 | * ns32k-tdep.h: New file. | |
1851 | * ns32knbsd-tdep.c: New file. | |
1852 | * config/ns32k/nbsdaout.mt (TDEPFILES): Add ns32knbsd-tdep.o. | |
1853 | * config/ns32k/tm-nbsd.h: Include "ns32k/tm-ns32k.h". | |
1854 | (IN_SOLIB_CALL_TRAMPOLINE, REGISTER_NAME, NUM_REGS, | |
1855 | REGISTER_BYTES, REGISTER_BYTE): Remove. | |
1856 | * config/ns32k/tm-ns32k.h: New file. | |
1857 | * config/ns32k/tm-umax.h: Remove. | |
1858 | ||
efb2c70e JT |
1859 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
1860 | ||
1861 | * ns32k-tdep.c (ns32k_saved_pc_after_call, | |
1862 | ns32k_store_struct_return, ns32k_extract_return_value, | |
1863 | ns32k_store_return_value, ns32k_extract_struct_value_address): New | |
1864 | functions. | |
1865 | * config/ns32k/tm-umax.h (SAVED_PC_AFTER_CALL): Define as | |
1866 | ns32k_saved_pc_after_call. | |
1867 | (STORE_STRUCT_RETURN): Define as ns32k_store_struct_return. | |
1868 | (EXTRACT_RETURN_VALUE): Define as ns32k_extract_return_value. | |
1869 | (STORE_RETURN_VALUE): Define as ns32k_store_return_value. | |
1870 | (EXTRACT_STRUCT_VALUE_ADDRESS): Define as | |
1871 | ns32k_extract_struct_value_address. | |
1872 | ||
7bcc927b JT |
1873 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
1874 | ||
1875 | * ns32k-tdep.c (ns32k_call_dummy_words, sizeof_ns32k_call_dummy_words, | |
1876 | ns32k_fix_call_dummy): New. | |
1877 | * config/ns32k/tm-umax.h (CALL_DUMMY_WORDS): Define as | |
1878 | ns32k_call_dummy_words. | |
1879 | (SIZEOF_CALL_DUMMY_WORDS): Define as sizeof_ns32k_call_dummy_words. | |
1880 | (CALL_DUMMY, CALL_DUMMY_LENGTH, CALL_DUMMY_ADDR, | |
1881 | CALL_DUMMY_NARGS): Remove. | |
1882 | (FIX_CALL_DUMMY): Define as ns32k_fix_call_dummy. | |
1883 | ||
78f9d765 JT |
1884 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
1885 | ||
1886 | * ns32k-tdep.c (ns32k_breakpoint_from_pc, ns32k_frame_chain, | |
1887 | ns32k_frame_saved_pc, ns32k_frame_args_address, | |
1888 | ns32k_frame_locals_address, ns32k_frame_init_saved_regs, | |
1889 | ns32k_push_dummy_frame, ns32k_pop_frame): New functions. | |
1890 | * config/ns32k/tm-nbsd.h (FRAME_SAVED_PC): Remove. | |
1891 | * config/ns32k/tm-umax.h (INNER_THAN): Define as core_addr_lessthan. | |
1892 | (BREAKPOINT_FROM_PC): Define as ns32k_breakpoint_from_pc. | |
1893 | (BREAKPOINT): Remove.. | |
1894 | (FRAME_CHAIN): Define as ns32k_frame_chain. | |
1895 | (FRAME_SAVED_PC): Define as ns32k_frame_saved_pc. | |
1896 | (FRAME_ARGS_ADDRESS): Define as ns32k_frame_args_address. | |
1897 | (FRAME_LOCALS_ADDRESS): Define as ns32k_frame_locals_address. | |
1898 | (FRAME_FIND_SAVED_REGS): Remove. | |
1899 | (FRAME_INIT_SAVED_REGS): Define as ns32k_frame_init_saved_regs. | |
1900 | (PUSH_DUMMY_FRAME): Define as ns32k_push_dummy_frame. | |
1901 | (POP_FRAME): Define as ns32k_pop_frame. | |
1902 | ||
f2c762e0 JT |
1903 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
1904 | ||
1905 | * ns32k-tdep.c (ns32k_register_byte_32082, | |
1906 | ns32k_register_byte_32382, ns32k_register_raw_size, | |
1907 | ns32k_register_virtual_size, ns32k_register_virtual_type): New | |
1908 | functions. | |
1909 | * config/ns32k/tm-nbsd.h (REGISTER_BYTE): Define as | |
1910 | ns32k_register_byte_32382. | |
1911 | * config/ns32k/tm-umax.h: Update copyright years. | |
1912 | (REGISTER_BYTE): Define as ns32k_register_byte_32082. | |
1913 | (REGISTER_RAW_SIZE): Define as ns32k_register_raw_size. | |
1914 | (REGISTER_VIRTUAL_SIZE): Define as ns32k_register_virtual_size. | |
1915 | (REGISTER_VIRTUAL_TYPE): Define as ns32k_register_virtual_type. | |
1916 | (ns32k_get_enter_addr): Fix prototype. | |
1917 | ||
af137673 JT |
1918 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
1919 | ||
1920 | * ns32k-tdep.c: Update copyright years. | |
1921 | (ns32k_register_name_32082): New function. | |
1922 | (ns32k_register_name_32382): Ditto. | |
1923 | * config/ns32k/tm-nbsd.h (REGISTER_NAMES): Remove. | |
1924 | (REGISTER_NAME): Define as ns32k_register_name_32382. | |
1925 | * config/ns32k/tm-umax.h (REGISTER_NAMES): Remove. | |
1926 | (REGISTER_NAME): Define as ns32k_register_name_32082. | |
1927 | ||
a8bc7b56 JB |
1928 | 2002-05-24 Jim Blandy <jimb@redhat.com> |
1929 | ||
1930 | * dwarf2read.c (free_line_header): Use xfree, not free. | |
1931 | ||
83a45910 JT |
1932 | 2002-05-24 Jason Thorpe <thorpej@wasabisystems.com> |
1933 | ||
1934 | * config/djgpp/fnchange.lst: Add alphabsd-nat.c, | |
1935 | alphabsd-tdep.c, mipsnbsd-nat.c, and mipsnbsd-tdep.c | |
1936 | ||
0db71247 AC |
1937 | 2002-05-23 Andrew Cagney <ac131313@redhat.com> |
1938 | ||
1939 | * PROBLEMS: Mention s390 and FreeBSD 4.4 build problems. | |
1940 | ||
b9e5e4dd AC |
1941 | 2002-05-23 Andrew Cagney <ac131313@redhat.com> |
1942 | ||
1943 | From Ross Alexander at NEC Europe: | |
1944 | * config/pa/hpux11w.mh (NATDEPFILES): Add solib.o. | |
1945 | ||
de530e84 MS |
1946 | 2002-05-23 Michael Snyder <msnyder@redhat.com> |
1947 | ||
1948 | * cli/cli-dump.c (restore_command): Use parse_and_eval_long | |
1949 | for input, rather than parse_and_eval_address. | |
1950 | ||
b91b96f4 AC |
1951 | 2002-05-23 Andrew Cagney <ac131313@redhat.com> |
1952 | ||
1953 | * d10v-tdep.c: Include "gdb/sim-d10v.h" instead of "sim-d10v.h". | |
1954 | * Makefile.in (sim_d10v_h): Update definition. | |
1955 | ||
8b279e7a AC |
1956 | 2002-05-24 Andrew Cagney <cagney@redhat.com> |
1957 | ||
1958 | * d10v-tdep.c (d10v_gdbarch_init): Revert old code included in | |
1959 | change `2002-05-22 Michael Snyder' below. | |
1960 | (d10v_push_arguments): Ditto. | |
1961 | (d10v_extract_return_value): Ditto. | |
1962 | ||
0a3d0425 JB |
1963 | 2002-05-23 Jim Blandy <jimb@redhat.com> |
1964 | ||
1965 | * macrotab.c (check_for_redefinition): Don't complain if the new | |
1966 | definition is the same as the previous one. Take more arguments | |
1967 | to allow the comparison. | |
1968 | (macro_define_object, macro_define_function): Pass more arguments | |
1969 | to check_for_redefinition. | |
1970 | ||
78eac43e MS |
1971 | 2002-05-22 Michael Snyder <msnyder@redhat.com> |
1972 | ||
1973 | * d10v-tdep.c: Change a few macros to enums for ease of debugging. | |
1974 | (d10v_frame_chain_valid): Add PC_IN_CALL_DUMMY clause. | |
1975 | (d10v_frame_saved_pc): Add PC_IN_CALL_DUMMY clause. | |
1976 | (d10v_frame_chain): Bail immediately if PC_IN_CALL_DUMMY. | |
1977 | Don't bail if return_pc is PC_IN_CALL_DUMMY. | |
1978 | Add a temp variable to save a call (and a memory read). | |
1979 | (d10v_init_extra_frame_info): Get fi->pc from callee's return_pc | |
1980 | if possible (so that PC_IN_CALL_DUMMY will work). | |
1981 | ||
9bc1edb8 CV |
1982 | 2002-05-22 Corinna Vinschen <vinschen@redhat.com> |
1983 | ||
1984 | * MAINTAINERS: Remove status `OBSOLETE' from v850. | |
1985 | ||
005ef3d2 ML |
1986 | 2002-05-22 Michal Ludvig <mludvig@suse.cz> |
1987 | ||
1988 | * dwarf2cfi.c (frame_state_for): Added safety check for a valid | |
1989 | fde->cie_ptr. | |
1990 | (dwarf2_build_frame_info): Corrected handling of eh_frame. | |
1991 | (dwarf2_build_frame_info): Add offset to fde->initial_location | |
1992 | so that frames of shared libraries are mapped correctly. | |
6c3eb890 ML |
1993 | (execute_stack_op): Change type of 'result' from ULONGEST to |
1994 | CORE_ADDR. | |
005ef3d2 | 1995 | |
fcf4f891 JT |
1996 | 2002-05-22 Jason Thorpe <thorpej@wasabisystems.com> |
1997 | ||
1998 | * config/alpha/tm-nbsd.h: Include solib.h. | |
1999 | ||
cfef91e4 JT |
2000 | 2002-05-22 Jason Thorpe <thorpej@wasabisystems.com> |
2001 | ||
2002 | * alphanbsd-tdep.c (alphanbsd_sigtramp_offset): Don't make | |
2003 | assumptions about the host's byte order. | |
2004 | ||
9964235a JT |
2005 | 2002-05-22 Jason Thorpe <thorpej@wasabisystems.com> |
2006 | ||
2007 | * Makefile.in (alphanbsd-tdep.o, shnbsd-tdep.o): Add solib-svr4.h | |
2008 | to dependency list. | |
2009 | * alphanbsd-tdep.c: Include solib-svr4.h. | |
2010 | * shnbsd-tdep.c: Ditto. | |
2011 | ||
9eeef8ef JT |
2012 | 2002-05-22 Jason Thorpe <thorpej@wasabisystems.com> |
2013 | ||
2014 | * Makefile.in (armnbsd-tdep.o): Add solib-svr4.h and | |
2015 | nbsd-tdep.h to dependency list. | |
2016 | * configure.host (arm*-*-netbsdelf*, arm*-*-netbsd*, | |
2017 | i[3456]86-*-netbsdaout*, i[3456]86-*-netbsd*, m68*-*-netbsd*, | |
2018 | ns32k-*-netbsd*, sparc-*-netbsdaout*, sparc-*-netbsd*): Use | |
2019 | nbsdaout.mh and nbsdelf.mh consistently. | |
2020 | * configure.tgt (i[3456]86-*-netbsd*, m68*-*-netbsd*, | |
2021 | ns32k-*-netbsd*, sparc-*-netbsdelf*, sparc-*-netbsd*) Use | |
2022 | nbsdaout.mt and nbsdelf.mh consistently. | |
2023 | * armnbsd-tdep.c: Include nbsd-tdep.h and solib-svr4.h. | |
2024 | (arm_netbsd_elf_init_abi): Use set_solib_svr4_fetch_link_map_offsets | |
2025 | to set nbsd_ilp32_solib_svr4_fetch_link_map_offsets. | |
2026 | * config/nm-nbsd.h: Garbage-collect SVR4_SHARED_LIBS. Move | |
2027 | a.out shared library stuff from here... | |
2028 | * config/nm-nbsdaout.h: ...to here. | |
2029 | * config/tm-nbsd.h: Remove. | |
2030 | * config/alpha/nm-nbsd.h (SVR4_SHARED_LIBS): Remove. | |
2031 | * config/arm/nbsd.mh: Remove. | |
2032 | * config/arm/nbsd.mt (TDEPFILES): Remove solib-sunos.o, add | |
2033 | nbsd-tdep.o. | |
2034 | * config/arm/nbsdaout.mh: New file. | |
2035 | * config/arm/nbsdelf.mh: New file. | |
2036 | * config/arm/nm-nbsdaout.h: New file. | |
2037 | * config/i386/nbsd.mh: Remove. | |
2038 | * config/i386/nbsd.mt: Remove. | |
2039 | * config/i386/nbsdaout.mh: New file. | |
2040 | * config/i386/nbsdaout.mt: New file. | |
2041 | * config/i386/nbsdelf.mh (NAT_FILE): Use nm-nbsd.h. | |
2042 | * config/i386/nbsdelf.mt (TM_FILE): Use tm-nbsd.h. | |
2043 | * config/i386/nm-nbsd.h (REGISTER_U_ADDR, | |
2044 | i386_register_u_addr): Remove. | |
2045 | * config/i386/nm-nbsdaout.h: New file. | |
2046 | * config/i386/nm-nbsdelf.h: Remove. | |
2047 | * config/i386/tm-nbsd.h: Don't include config/tm-nbsd.h. | |
2048 | (USE_STRUCT_CONVENTION): Remove. | |
2049 | * config/i386/tm-nbsdaout.h: New file. | |
2050 | * config/i386/tm-nbsdelf.h: Remove. | |
2051 | * config/m68k/nbsd.mh: Remove. | |
2052 | * config/m68k/nbsd.mt: Remove. | |
2053 | * config/m68k/nbsdaout.mh: New file. | |
2054 | * config/m68k/nbsdaout.mt: New file. | |
2055 | * config/m68k/nm-nbsd.h: Use config/nm-nbsd.h. | |
2056 | * config/m68k/nm-nbsdaout.h: New file. | |
2057 | * config/m68k/tm-nbsd.h: Don't include config/tm-nbsd.h. | |
2058 | (IN_SOLIB_CALL_TRAMPOLINE): Define. | |
2059 | * config/ns32k/nbsd.mh: Remove. | |
2060 | * config/ns32k/nbsd.mt: Remove. | |
2061 | * config/ns32k/nbsdaout.mh: New file. | |
2062 | * config/ns32k/nbsdaout.mt: New file. | |
2063 | * config/ns32k/nm-nbsd.h: Include config/nm-nbsd.h. | |
2064 | * config/ns32k/nm-nbsdaout.h: New file. | |
2065 | * config/ns32k/tm-nbsd.h: Don't include config/tm-nbsd.h. | |
2066 | (IN_SOLIB_CALL_TRAMPOLINE): Define. | |
2067 | * config/powerpc/nm-nbsd.h: Include config/nm-nbsd.h. | |
2068 | (SVR4_SHARED_LIBS): Remove. | |
2069 | * config/powerpc/tm-nbsd.h: Dont' include config/tm-nbsd.h. | |
2070 | * config/sparc/nbsd.mh: Remove. | |
2071 | * config/sparc/nbsd.mt: Remove. | |
2072 | * config/sparc/nbsdaout.mh: New file. | |
2073 | * config/sparc/nbsdaout.mt: New file. | |
2074 | * config/sparc/nbsdelf.mh (NAT_FILE): Use nm-nbsd.h. | |
2075 | * config/sparc/nbsdelf.mt: New file. | |
2076 | * config/sparc/nm-nbsdaout.h: New file. | |
2077 | * config/sparc/nm-nbsdelf.h: Remove. | |
2078 | * config/sparc/tm-nbsd.h: Don't include config/tm-nbsd.h. | |
2079 | * config/sparc/tm-nbsdaout.h: New file. | |
2080 | ||
257ce470 JT |
2081 | 2002-05-21 Jason Thorpe <thorpej@wasabisystems.com> |
2082 | ||
2083 | * Makefile.in (ALLDEPFILES): Add mipsnbsd-nat.c and | |
2084 | mipsnbsd-tdep.c | |
2085 | (mipsnbsd-nat.o, mipsnbsd-tdep.o): New dependency lists. | |
2086 | ||
76a6d5fe JT |
2087 | 2002-05-21 Jason Thorpe <thorpej@wasabisystems.com> |
2088 | ||
2089 | * Makefile.in (ALLDEPFILES): Add shnbsd-tdep.c and | |
2090 | shnbsd-nat.c. | |
2091 | (shnbsd-tdep.o, shnbsd-nat.o): New dependency lists. | |
2092 | ||
45888261 JT |
2093 | 2002-05-21 Jason Thorpe <thorpej@wasabisystems.com> |
2094 | ||
2095 | * NEWS: Note new MIPS NetBSD native configuration. | |
2096 | * configure.host (mips*-*-netbsd*): New host. | |
2097 | * configure.tgt (mips*-*-netbsd*): New target. | |
2098 | * mipsnbsd-nat.c: New file. | |
2099 | * mipsnbsd-tdep.c: New file. | |
2100 | * mipsnbsd-tdep.h: New file. | |
2101 | * config/mips/nbsd.mh: New file. | |
2102 | * config/mips/nbsd.mt: New file. | |
2103 | * config/mips/nm-nbsd.h: New file. | |
2104 | * config/mips/tm-nbsd.h: New file. | |
2105 | ||
70f80edf JT |
2106 | 2002-05-21 Jason Thorpe <thorpej@wasabisystems.com> |
2107 | ||
2108 | * Makefile.in (SFILES): Add osabi.c. | |
2109 | (COMMON_OBS): Add osabi.o. | |
2110 | (osabi.o): New dependency list. | |
2111 | * osabi.c: New file. | |
2112 | * osabi.h: New file. | |
2113 | * doc/gdbint.texinfo: Document new generic OS ABI framework. | |
2114 | ||
2115 | * Makefile.in (alpha_tdep_h): Define and use instead of | |
2116 | alpha-tdep.h. | |
2117 | * alpha-tdep.c (alpha_abi_names, process_note_abi_tag_sections, | |
2118 | get_elfosabi, alpha_abi_handler_list, alpha_gdbarch_register_os_abi): | |
2119 | Remove. | |
2120 | (alpha_gdbarch_init, alpha_dump_tdep): Use generic OS ABI framework. | |
2121 | * alpha-tdep.h: Include osabi.h. | |
2122 | (alpha_abi): Remove. | |
2123 | (gdbarch_tdep): Use generic OS ABI framework. | |
2124 | * alpha-linux-tdep.c (_initialize_alpha_linux_tdep): Use | |
2125 | gdbarch_register_osabi. | |
2126 | * alpha-osf1-tdep.c (_initialize_alpha_osf1_tdep): Likewise. | |
2127 | * alphafbsd-tdep.c (_initialize_alphafbsd_tdep): Likewise. | |
2128 | * alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Likewise. | |
2129 | ||
2130 | * Makefile.in (sh_tdep_h): Add osabi.h. | |
2131 | * sh-tdep.h (sh_osabi): Remove. | |
2132 | (gdbarch_tdep): Use generic OS ABI framework. | |
2133 | * sh-tdep.c (sh_osabi_names, process_note_abi_tag_sections, | |
2134 | sh_osabi_handler_list, sh_gdbarch_register_os_abi): Remove. | |
2135 | (sh_gdbarch_init, sh_dump_tdep): Use generic OS ABI framework. | |
2136 | * shnbsd-tdep.c (_initialize_shnbsd_tdep): Use gdbarch_register_osabi. | |
2137 | ||
2138 | * Makefile.in (arm_tdep_h): Define and use instead of arm-tdep.h. | |
2139 | * arm-linux-tdep.c (_initialize_arm_linux_tdep): Use | |
2140 | gdbarch_register_osabi. | |
2141 | * arm-tdep.c (arm_abi_names, process_note_abi_tag_sections, | |
2142 | arm_abi_handler_list, arm_gdbarch_register_os_abi): Remove. | |
2143 | (get_elfosabi): Rename to... | |
2144 | (arm_elf_osabi_sniffer): ...this. Adjust to use generic OS | |
2145 | ABI framework support routines. | |
2146 | (arm_gdbarch_init): Use generic OS ABI framework. | |
2147 | (arm_dump_tdep): Likewise. | |
2148 | (_initialize_arm_tdep): Likewise. | |
2149 | * arm-tdep.h: Include osabi.h. | |
2150 | (arm_abi): Remove. | |
2151 | (gdbarch_tdep): Remove arm_abi and abi_name members. Add | |
2152 | osabi member. | |
2153 | (arm_gdbarch_register_os_abi): Remove prototype. | |
2154 | * armnbsd-tdep.c (arm_netbsd_aout_osabi_sniffer): New function. | |
2155 | (_initialize_arm_netbsd_tdep): Use gdbarch_register_osabi. | |
2156 | ||
2157 | * Makefile.in (mips-tdep.o): Add osabi.h to dependency list. | |
2158 | * mips-tdep.c: Include osabi.h. | |
2159 | (gdbarch_tdep, mips_gdbarch_init, mips_dump_tdep): Use generic | |
2160 | OS ABI framework. | |
2161 | ||
d194345b KH |
2162 | 2002-05-20 Kazu Hirata <kazu@cs.umass.edu> |
2163 | ||
2164 | * h8300-tdep.c: Fix formatting. | |
2165 | ||
70c6b0d1 EZ |
2166 | 2002-05-20 Elena Zannoni <ezannoni@redhat.com> |
2167 | ||
2168 | * rs6000-tdep.c (rs6000_do_registers_info): Simplify code for | |
2169 | printing vector registers. | |
2170 | ||
165b8e33 AC |
2171 | 2002-05-19 Andrew Cagney <ac131313@redhat.com> |
2172 | ||
2173 | From Fernando Nasser: | |
2174 | * remote.c (remote_async_open_1): Re-throw the exception when the | |
2175 | connection fails. | |
2176 | (remote_cisco_open): Ditto. | |
2177 | (remote_open_1): Ditto. | |
2178 | ||
36918e70 AC |
2179 | 2002-05-19 Andrew Cagney <ac131313@redhat.com> |
2180 | ||
2181 | * remote.c (remote_start_remote_dummy): Add uiout parameter. | |
2182 | (remote_start_remote): Add uiout parameter. Pass through to | |
2183 | remote_start_remote_dummy. | |
2184 | (remote_open_1): Use catch_exception instead of catch_errors. | |
2185 | (remote_async_open_1): Ditto. | |
2186 | (remote_cisco_open): Ditto. | |
2187 | ||
ae44c0c4 AC |
2188 | 2002-05-19 Andrew Cagney <ac131313@redhat.com> |
2189 | ||
2190 | * remote.c (remote_start_remote): Replace PTR with void pointer. | |
2191 | (sigint_remote_twice_token, sigint_remote_token): Ditto. Make | |
2192 | static. | |
2193 | ||
8efe637d AC |
2194 | 2002-05-18 Andrew Cagney <ac131313@redhat.com> |
2195 | ||
2196 | * gdb_indent.sh: Allow the script to be run in the sim directory. | |
2197 | ||
2f1b5984 MK |
2198 | 2002-05-18 Mark Kettenis <kettenis@gnu.org> |
2199 | ||
f0f625e2 MK |
2200 | * config/i386/nm-cygwin.h (NO_PTRACE_H): Remove define. |
2201 | * config/i386/nm-go32.h (NO_PTRACE_H): Remove define. | |
2202 | ||
2f1b5984 MK |
2203 | * corelow.c (core_open): Only call set_gdbarch_from_file if |
2204 | exec_bfd is NULL. | |
2205 | ||
fc974602 AV |
2206 | 2002-05-17 Andrey Volkov <avolkov@transas.com> |
2207 | ||
2208 | * h8300-tdep.c: Add support of EXR register | |
2209 | * config/h8300/tm-h8300.h: Ditto. | |
2210 | ||
906709f4 AV |
2211 | 2002-05-17 Andrey Volkov <avolkov@transas.com> |
2212 | ||
2213 | * h8300-tdep.c: Add additional CCR flags (I,UI,H,U) | |
2214 | ||
6e591d68 AV |
2215 | 2002-05-17 Andrey Volkov <avolkov@transas.com> |
2216 | ||
2217 | * h8300-tdep.c: Change literal regnums to REGNO. | |
2218 | ||
84f0252a JB |
2219 | 2002-05-17 Jim Blandy <jimb@redhat.com> |
2220 | ||
e0e9281e JB |
2221 | * NEWS: Note addition of macro support. |
2222 | ||
84f0252a JB |
2223 | Expand preprocessor macros in C expressions. |
2224 | * c-lang.h: #include "macroexp.h", for macro_lookup_ftype. | |
2225 | (scan_macro_expansion, scanning_macro_expansion, | |
2226 | finished_macro_expansion): New function declarations. | |
2227 | (expression_macro_lookup_func, expression_macro_lookup_baton): New | |
2228 | variable declarations. | |
2229 | * parser-defs.h (expression_context_pc): New declaration. | |
2230 | * parse.c (expression_context_pc): New variable. | |
2231 | (parse_exp_1): Set expression_context_pc, as well as | |
2232 | expression_context_block. | |
2233 | * c-exp.y (yylex): If we're not already reading the result of a | |
2234 | macro expansion, try to macro-expand the next token. When we're | |
2235 | done scanning a macro expansion, switch back to the mainline text. | |
2236 | Commas and `if's in a macro's expansion don't terminate the input. | |
2237 | * c-lang.c: #include "macroscope.h" and "gdb_assert.h". | |
2238 | (macro_original_text, macro_expanded_text, | |
2239 | expression_macro_lookup_func, expression_macro_lookup_baton): New | |
2240 | variables. | |
2241 | (scan_macro_expansion, scanning_macro_expansion, | |
2242 | finished_macro_expansion, scan_macro_cleanup, null_macro_lookup, | |
2243 | c_preprocess_and_parse): New functions. | |
2244 | (c_language_defn, cplus_language_defn, asm_language_defn): Call | |
2245 | c_preprocess_and_parse, instead of c_parse. | |
2246 | * Makefile.in (c_lang_h): Note that this #includes macroexp.h. | |
2247 | (c-lang.o): Note dependency on macroscope.h and gdb_assert.h. | |
2248 | ||
1c509ca8 JR |
2249 | Fri May 17 14:26:19 2002 J"orn Rennecke <joern.rennecke@superh.com> |
2250 | ||
2251 | * sh-tdep.c (gdb_print_insn_sh64): Delete. | |
2252 | (gdb_print_insn_sh): Just set info->endian and use print_insn_sh. | |
2253 | (sh_gdbarch_init): Always use gdb_print_insn_sh. | |
2254 | ||
2250ee0c CV |
2255 | 2002-05-17 Corinna Vinschen <vinschen@redhat.com> |
2256 | ||
2257 | * NEWS: Add section for multi-arched targets. Add v850 to that section. | |
2258 | ||
ab3b8126 JT |
2259 | 2002-05-17 Jason Thorpe <thorpej@wasabisystems.com> |
2260 | ||
2261 | * Makefile.in (sh_tdep_h): Define and use. | |
2262 | * config/sh/tm-sh.h (sh_osabi, sh_abi, gdbarch_tdep, | |
2263 | register enum): Move to... | |
2264 | * * sh-tdep.h: ...here. | |
2265 | * sh-tdep.c: Include sh-tdep.h. | |
2266 | * sh3-rom.c: Likewise. | |
2267 | * shnbsd-tdep.c: Likewise. | |
2268 | ||
ed9d4749 MS |
2269 | 2002-05-16 Michael Snyder <msnyder@redhat.com> |
2270 | ||
2271 | * arm-tdep.c: Spelling fix in comment. | |
2272 | ||
2e276125 JB |
2273 | 2002-05-16 Jim Blandy <jimb@redhat.com> |
2274 | ||
6821892e JB |
2275 | Add commands for manually expanding macros and showing their |
2276 | definitions. | |
2277 | * macrocmd.c, macroscope.c, macroscope.h: New files. | |
2278 | * Makefile.in (SFILES): Add macrocmd.c, macroscope.c. | |
2279 | (macroscope_h): New variable. | |
2280 | (HFILES_NO_SRCDIR): Add macroscope.h. | |
2281 | (COMMON_OBS): Add macrocmd.o, macroscope.o. | |
2282 | (macroscope.o, macrocmd.o): New rules. | |
2283 | ||
2e276125 JB |
2284 | Teach the Dwarf 2 reader to read macro information. |
2285 | * dwarf2read.c: #include "macrotab.h". | |
2286 | (dwarf_macinfo_buffer): New variable. | |
2287 | (struct dwarf2_pinfo): New members: dwarf_macinfo_buffer, and | |
2288 | dwarf_macinfo_size. | |
2289 | (DWARF_MACINFO_BUFFER, DWARF_MACINFO_SIZE): New macros. | |
2290 | (dwarf2_missing_macinfo_section, dwarf2_macros_too_long, | |
2291 | dwarf2_macros_not_terminated, dwarf2_macro_outside_file, | |
2292 | dwarf2_macro_unmatched_end_file, dwarf2_macro_malformed_definition, | |
2293 | dwarf2_macro_spaces_in_definition): New complaints. | |
2294 | (dwarf2_has_info): Initialize dwarf_macinfo_offset. | |
2295 | (dwarf2_build_psymtabs): Read the .dwarf_macinfo section. | |
2296 | (dwarf2_build_psymtabs_hard): Record the buffer and its size in | |
2297 | the partial symbol table. | |
2298 | (psymtab_to_symtab_1): Set the macinfo buffer and size globals | |
2299 | from what's recorded in the partial symbol table. | |
2300 | (read_file_scope): If the compilation unit has a | |
2301 | `DW_AT_macro_info' attribute, read its macro information. | |
2302 | * Makefile.in (dwarf2read.o): Depend on macrotab.h. | |
2303 | ||
2f53fe6c DJ |
2304 | 2002-05-16 Daniel Jacobowitz <drow@mvista.com> |
2305 | ||
2306 | Fix PR gdb/546 | |
2307 | * ser-tcp.c: Don't include <netinet/udp.h>. | |
2308 | ||
2be99286 SC |
2309 | 2002-05-16 Stephane Carrez <stcarrez@nerim.fr> |
2310 | ||
2311 | * MAINTAINERS: Update my email address. | |
2312 | ||
c9af212b | 2313 | 2002-05-16 Richard Earnshaw <rearnsha@arm.com> |
8501bbeb RE |
2314 | |
2315 | * config/arm/nm-nbsd.h: Use "config/nm-nbsd.h" to include generic | |
2316 | include file of the same name. | |
2317 | ||
bf5f1a52 CV |
2318 | 2002-05-16 Corinna Vinschen <vinschen@redhat.com> |
2319 | ||
2320 | * configure.tgt: Mark v850 as multi-arched. | |
2321 | * config/v850/tm-v850.h: Remove file. | |
2322 | * config/v850/v850.mt: Eliminate TM_FILE. | |
2323 | ||
435e042a CV |
2324 | 2002-05-16 Corinna Vinschen <vinschen@redhat.com> |
2325 | ||
2326 | * v850-tdep.c: Full multi-arch. | |
2327 | * config/v850/tm-v850.h: Eliminate or move to v850-tdep.c everything. | |
2328 | Define GDB_MULTI_ARCH to 2. | |
2329 | ||
9819c6c8 PM |
2330 | 2002-05-16 Pierre Muller <muller@ics.u-strasbg.fr> |
2331 | ||
2332 | * p-exp.y (current_type): New static variable. | |
2333 | Carries the type of the expression at the position that is parsed. | |
2334 | (push_current_type, pop_current_type): Two new functions. Used | |
2335 | to store/restore current_type in expression on specific tokens. | |
c9af212b RE |
2336 | (search_field): New static variable. Set to one after parsing a point |
2337 | as at that point only a FIELDNAME token should be searched. | |
9819c6c8 PM |
2338 | (FIELDNAME): New token. After a point only a token belonging to |
2339 | current_type type definition is allowed. | |
2340 | (all over token rules): reset and change current_type according | |
2341 | to rules. | |
2342 | (exp '[' rule): insert implicit array index field if | |
2343 | exp is a pascal string type. | |
2344 | ||
3a06899a CV |
2345 | 2002-05-16 Corinna Vinschen <vinschen@redhat.com> |
2346 | ||
2347 | * v850-tdep.c: Fix comment for v850_scan_prologue. Remove extra | |
2348 | frame info. Use frame_info's saved_regs instead of matching member | |
2349 | in extra_frame_info throughout. | |
2350 | (v850_frame_init_saved_regs): New function. | |
2351 | (v850_init_extra_frame_info): Move most functionality into | |
2352 | v850_frame_init_saved_regs(). | |
2353 | * config/v850/tm-v850.h (EXTRA_FRAME_INFO): Remove definition. | |
2354 | (v850_frame_find_saved_regs): Remove declaration. | |
2355 | (FRAME_FIND_SAVED_REGS): Remove definition. | |
2356 | (v850_frame_init_saved_regs): Add declaration. | |
2357 | (FRAME_INIT_SAVED_REGS): Add definition. | |
2358 | ||
6ed14b0e CV |
2359 | 2002-05-16 Corinna Vinschen <vinschen@redhat.com> |
2360 | ||
2361 | * v850-tdep.c: Begin multi-arch'ing v850. | |
2362 | (v850_target_architecture_hook): Remove function. | |
2363 | (v850_gdbarch_init): New function. Add code previously in | |
2364 | v850_target_architecture_hook(). | |
2365 | (_initialize_v850_tdep): Don't set target_architecture_hook. | |
2366 | Call register_gdbarch_init() instead. | |
2367 | ||
42725910 DJ |
2368 | 2002-05-16 Daniel Jacobowitz <drow@mvista.com> |
2369 | ||
2370 | * gdbtypes.h (struct cplus_struct_type): Remove args field. | |
2371 | * hpread.c (hpread_read_struct_type): Remove assignments to args. | |
2372 | (fixup_class_method_type): Likewise. | |
2373 | ||
0bc68c49 DJ |
2374 | 2002-05-15 Daniel Jacobowitz <drow@mvista.com> |
2375 | ||
2376 | From Martin Pool <mbp@samba.org>: | |
2377 | * gdbserver/server.c (gdbserver_usage): New function. | |
2378 | (main): Call it. | |
2379 | ||
99d9066e JB |
2380 | 2002-05-15 Jim Blandy <jimb@redhat.com> |
2381 | ||
2382 | Add macro structures to GDB's symbol tables. Nobody puts anything | |
2383 | in them yet. | |
2384 | * symtab.h (struct symtab): New member: `macro_table'. | |
2385 | * buildsym.h (pending_macros): New global variable. | |
2386 | * buildsym.c: #include "macrotab.h". | |
2387 | (buildsym_init): Initialize `pending_macros'. | |
2388 | (end_symtab): If we found macro information while reading a CU's | |
2389 | debugging info, do build a symtab structure for it. Make the | |
2390 | symtab point to the macro information, and clear the | |
2391 | `pending_macros' pointer which held it while we were reading the | |
2392 | debug info. | |
2393 | (really_free_pendings): Free any pending macro table. | |
2394 | * objfiles.h (struct objfile): New member: `macro_cache'. | |
2395 | * objfiles.c (allocate_objfile): Set allocate and free functions | |
2396 | for the macro cache's objstack. | |
2397 | (free_objfile): Empty the macro cache's obstack. | |
2398 | * symfile.c (reread_symbols): Empty the macro cache's obstack, and | |
2399 | set new allocate and free functions for it. | |
2400 | * solib-sunos.c (allocate_rt_common_objfile): Set allocate and | |
2401 | free functions for the macro cache's objstack. (Why is this | |
2402 | function building its own objfile?) | |
2403 | * symmisc.c (print_objfile_statistics): Print statistics on the | |
2404 | macro bcache. | |
2405 | * Makefile.in: Note that buildsym.o depends on macrotab.h. | |
2406 | ||
c899585b RE |
2407 | 2002-05-15 Richard Earnshaw <rearnsha@arm.com> |
2408 | ||
2409 | * config/arm/nm-nbsd.h: Use <> for include of config/nm-nbsd.h. | |
2410 | (REGISTER_U_ADDR): Delete definition. | |
2411 | (arm_register_u_addr): Delete declaration. | |
2412 | ||
a6cdd8c5 RE |
2413 | 2002-05-15 Richard Earnshaw <rearnsha@arm.com> |
2414 | ||
2415 | * arm-linux-tdep.c (ARM_LINUX_JB_PC): Renamed from JB_PC. | |
2416 | (ARM_LINUX_JB_ELEMENT_SIZE): Likewise. | |
2417 | ||
fd3a5ca1 DJ |
2418 | 2002-05-14 Daniel Jacobowitz <drow@mvista.com> |
2419 | ||
2420 | * gdbserver/mem-break.c (reinsert_breakpoint_by_bp): Correct typo | |
2421 | stop_at -> stop_pc. | |
2422 | ||
c97dcfc7 AC |
2423 | 2002-05-14 Andrew Cagney <ac131313@redhat.com> |
2424 | ||
2425 | * regcache.c (register_valid): Revise comments refering to "Not | |
2426 | available" and "unavailable". | |
2427 | * frame.c (frame_register_read): Ditto. | |
2428 | * findvar.c (value_of_register): Ditto. | |
2429 | ||
93021b7d AC |
2430 | 2002-05-15 Andrew Cagney <cagney@redhat.com> |
2431 | ||
2432 | * Makefile.in (remote_sim_h): Replace remote-sim_h. | |
2433 | (remote-sim.o): Update dependencies. | |
2434 | (d10v-tdep.o): Specify dependencies. | |
2435 | (sim_d10v_h): Define. | |
2436 | ||
a86bc61c JB |
2437 | 2002-05-14 Jim Blandy <jimb@redhat.com> |
2438 | ||
2439 | * macroexp.c (init_buffer, gather_arguments, expand): Use NULL, not 0. | |
2440 | * macrotab.c (macro_lookup_inclusion, find_definition, | |
2441 | new_macro_table): Same. | |
2442 | ||
2443 | * macroexp.c (currently_rescanning, expand): Use `strcmp () == 0', | |
2444 | not `! strcmp ()'. This is a dubious improvement. | |
2445 | * macrotab.c (macro_lookup_inclusion, find_definition): Same. | |
2446 | ||
2447 | * macrotab.c (macro_lookup_inclusion): Initialize `best_depth', | |
2448 | although it's not necessary, to avoid a warning. | |
2449 | ||
2fdde8f8 DJ |
2450 | 2002-05-14 Daniel Jacobowitz <drow@mvista.com> |
2451 | ||
2452 | * gdbtypes.h: Update accessor macros to use TYPE_MAIN_TYPE. | |
2453 | (TYPE_CONST, TYPE_VOLATILE, TYPE_CODE_SPACE, TYPE_DATA_SPACE): Use | |
2454 | TYPE_INSTANCE_FLAGS. | |
2455 | (struct main_type): New. | |
2456 | (struct type): Move most members to struct main_type. Change | |
2457 | cv_type and as_type to new type_chain member. Add instance_flags. | |
2458 | (TYPE_MAIN_TYPE, TYPE_CHAIN, TYPE_INSTANCE_FLAGS): New macros. | |
2459 | (TYPE_CV_TYPE, TYPE_AS_TYPE): Remove. | |
2460 | (finish_cv_type): Remove prototype. | |
2461 | * gdbtypes.c (alloc_type): Update comment. Allocate TYPE_MAIN_TYPE. | |
2462 | Set TYPE_CHAIN. | |
2463 | (alloc_type_instance): New function. | |
2464 | (smash_type): New function. | |
2465 | (make_pointer_type, make_reference_type, make_function_type) | |
2466 | (smash_to_member_type, smash_to_method_type): Call smash_type. | |
2467 | (make_qualified_type): New function. | |
2468 | (make_type_with_address_space): Call make_qualified_type. | |
2469 | (make_cv_type): Likewise. | |
2470 | (finish_cv_type): Remove unnecessary function. | |
2471 | (replace_type): Update comment. Copy TYPE_MAIN_TYPE. | |
2472 | (recursive_dump_type): Dump TYPE_CHAIN and TYPE_INSTANCE_FLAGS; | |
2473 | remove TYPE_CV_TYPE and TYPE_AS_TYPE. | |
2474 | * c-typeprint.c (c_type_print_modifier): Use TYPE_INSTANCE_FLAGS. | |
2475 | * dwarf2read.c (read_structure_scope): Don't call finish_cv_type. | |
2476 | * hpread.c (hpread_read_struct_type): Likewise. | |
2477 | * stabsread.c (read_struct_type): Likewise. | |
2478 | ||
843fedf4 EZ |
2479 | 2002-05-14 Elena Zannoni <ezannoni@redhat.com> |
2480 | ||
2481 | * configure.tgt: Add a catch all sh* target, for cases like | |
2482 | sh[2,3,4]-elf and sh-hms. | |
2483 | ||
05a6c72c KS |
2484 | 2002-05-14 Keith Seitz <keiths@redhat.com> |
2485 | ||
2486 | * event-loop.c (create_file_handler): Don't do anything but | |
2487 | update data when we are given a fd which we are already | |
2488 | monitoring. | |
2489 | ||
5d085aaf ML |
2490 | 2002-05-14 Michal Ludvig <mludvig@suse.cz> |
2491 | ||
2492 | * dwarf2cfi.c (context_cpy): Copy registers correctly. | |
2493 | (update_context): Use __func__ in warnings. | |
2494 | ||
9db8d71f DJ |
2495 | 2002-05-14 Daniel Jacobowitz <drow@mvista.com> |
2496 | ||
2497 | * ser-tcp.c: Include <netinet/udp.h>. Rename tcp_open | |
2498 | and tcp_close to net_open and net_close. | |
2499 | (net_open): Accept "udp:" and "tcp:" specifications. Connect | |
2500 | using UDP if requested. Don't try to disable Nagle on UDP | |
2501 | sockets. | |
2502 | * remote.c (remote_serial_open): New function. Warn about UDP. | |
2503 | (remote_open_1, remote_async_open_1, remote_cisco_open): Call it. | |
2504 | ||
5dbc6baa EZ |
2505 | 2002-05-13 Elena Zannoni <ezannoni@redhat.com> |
2506 | ||
2507 | * MAINTAINERS: List sh-elf as buildable with ,-Werror. | |
2508 | ||
cc3023f7 EZ |
2509 | 2002-05-13 Elena Zannoni <ezannoni@redhat.com> |
2510 | ||
2511 | * configure.tgt: Remove sh-hms target. | |
2512 | * MAINTAINERS: Don't list sh-hms as a separate target. | |
2513 | ||
ec2bcbe7 JB |
2514 | 2002-05-13 Jim Blandy <jimb@redhat.com> |
2515 | ||
2516 | Add first preprocessor macro-expansion files. | |
2517 | * macroexp.c, macroexp.h, macrotab.c, macrotab.h: New files. | |
2518 | * Makefile.in (SFILES): Add macrotab.c, macroexp.c. | |
2519 | (splay_tree_h, macroexp_h, macrotab_h): New variable. | |
2520 | (HFILES_NO_SRCDIR): Add macrotab.h, macroexp.h. | |
2521 | (COMMON_OBS): Add macrotab.o, macroexp.o. | |
2522 | (macroexp.o, macrotab.o): New rules. | |
2523 | ||
6d531722 AC |
2524 | 2002-05-13 Andrew Cagney <ac131313@redhat.com> |
2525 | ||
2526 | * config/m88k/tm-m88k.h: Update copyright. | |
2527 | (m88k_target_write_pc): Declare | |
2528 | (TARGET_WRITE_PC): Redefine using m88k_target_write_pc. | |
2529 | (M88K_NNPC_REGNUM): Rename NNPC_REGNUM. | |
2530 | (SHIFT_INST_REGS): Update definition. | |
2531 | * m88k-tdep.c (m88k_target_write_pc): New function. Implement | |
2532 | using old definition of TARGET_WRITE_PC. | |
2533 | * regcache.c (generic_target_write_pc): Delete code handling | |
2534 | NNPC_REGNUM. | |
2535 | * gdbarch.sh (NNPC_REGNUM): Delete. | |
2536 | * gdbarch.h, gdbarch.c: Regenerate. | |
2537 | ||
3e3f2739 RE |
2538 | 2002-05-13 Richard Earnshaw <rearnsha@arm.com> |
2539 | ||
2540 | * builtin-regs.c (value_of_builtin_reg): Correctly calculate the | |
2541 | builtin reg number. | |
2542 | ||
0004e5a2 DJ |
2543 | 2002-05-13 Daniel Jacobowitz <drow@mvista.com> |
2544 | ||
2545 | * ax-gdb.c (gen_sign_extend, gen_fetch, gen_usual_unary) | |
2546 | (gen_cast, gen_scale, gen_add, gen_sub, gen_binop, gen_deref) | |
2547 | (gen_address_of, gen_struct_ref, gen_repeat): Use type | |
2548 | access macros. | |
2549 | * c-typeprint.c (cp_type_print_method_args): Likewise. | |
2550 | (c_type_print_args): Likewise. | |
2551 | * d10v-tdep.c (d10v_push_arguments): Likewise. | |
2552 | (d10v_extract_return_value): Likewise. | |
2553 | * expprint.c (print_subexp): Likewise. | |
2554 | * gdbtypes.c (lookup_primitive_typename): Likewise. | |
2555 | (lookup_template_type, add_mangled_type, print_arg_types): Likewise. | |
2556 | * gdbtypes.h (TYPE_UNSIGNED, TYPE_NOSIGN, TYPE_STUB) | |
2557 | (TYPE_TARGET_STUB, TYPE_STATIC, TYPE_CONST, TYPE_VOLATILE) | |
2558 | (TYPE_PROTOTYPED, TYPE_INCOMPLETE, TYPE_CODE_SPACE, TYPE_VARARGS) | |
2559 | (TYPE_VECTOR): Likewise. | |
2560 | * hpread.c (hpread_read_struct_type) | |
2561 | (fix_static_member_physnames, fixup_class_method_type) | |
2562 | (hpread_type_lookup): Likewise. | |
2563 | * mdebugread.c (parse_symbol, parse_type): Likewise. | |
2564 | * p-lang.c (is_pascal_string_type): Likewise. | |
2565 | * valops.c (hand_function_call): Likewise. | |
2566 | * x86-64-tdep.c (classify_argument): Likewise. | |
2567 | ||
2568 | * hpread.c (hpread_read_function_type) | |
2569 | (hpread_read_doc_function_type): Call replace_type. | |
2570 | * dstread.c (create_new_type): Delete. | |
2571 | (decode_dst_structure, process_dst_function): Call alloc_type. | |
2572 | Use type access macros. | |
2573 | ||
dff95cc7 MK |
2574 | 2002-05-12 Mark Kettenis <kettenis@gnu.org> |
2575 | ||
2576 | * i387-tdep.c (i387_supply_fxsave): Skip the SSE registers if | |
2577 | the're not supported by the current architecture. | |
2578 | (i387_fill_fxsave): Likewise. | |
2579 | ||
bbcd32ad FF |
2580 | 2002-05-12 Fred Fish <fnf@redhat.com> |
2581 | ||
2582 | * symfile.c (default_symfile_offsets): Arrange for uninitialized | |
2583 | sect_index_xxx members to index the first slot in section_offsets | |
2584 | if all of the section_offsets are zero. | |
2585 | ||
89cf4787 MK |
2586 | 2002-05-12 Mark Kettenis <kettenis@gnu.org> |
2587 | ||
2588 | * configure.tgt (sparc-*openbsd): Remove entry accidentially | |
2589 | checked in with last change. | |
2590 | ||
1f77ffc5 MK |
2591 | 2002-05-12 Mark Kettenis <kettenis@gnu.org> |
2592 | ||
2593 | * configure.tgt (i[3456]86-*-unixware*, i[3456]86-*-unixware2*): | |
2594 | Remove targets. These are canonicalized to i386-*-sysv4.2uw by | |
2595 | config.sub. | |
2596 | ||
89b8b4a9 DJ |
2597 | 2002-05-12 Daniel Jacobowitz <drow@mvista.com> |
2598 | ||
2599 | * Makefile.in: Update dependencies. | |
2600 | ||
14a5e767 AC |
2601 | 2002-05-11 Andrew Cagney <ac131313@redhat.com> |
2602 | ||
2603 | * language.c (local_hex_string_custom): Simplify. Do not depend | |
2604 | on PRINTF_HAS_LONG_LONG or CC_HAS_LONG_LONG. | |
2605 | ||
2606 | * memattr.c (mem_info_command): Replace calls to | |
2607 | longest_local_hex_string and longest_local_hex_string_custom. | |
2608 | * buildsym.c (make_blockvector): Ditto. | |
2609 | * solib.c (info_sharedlibrary_command): Ditto. | |
2610 | * tracepoint.c (tracepoints_info): Ditto. | |
2611 | * symtab.c (print_msymbol_info): Ditto. | |
2612 | ||
2613 | * language.c (local_hex_string): Delete. | |
2614 | (local_hex_string_custom): Delete. | |
2615 | (longest_local_hex_string): Rename to local_hex_string. | |
2616 | (longest_local_hex_string_custom): Rename to | |
2617 | local_hex_string_custom. | |
2618 | * language.h (local_hex_string): Change parameter type to LONGEST. | |
2619 | (local_hex_string_custom): Ditto. | |
2620 | (longest_local_hex_string): Delete declaration. | |
2621 | (longest_local_hex_string_custom): Ditto. | |
2622 | ||
2623 | * solib.c: Update copyright. | |
2624 | * memattr.c: Update copyright. | |
2625 | ||
13d01224 AC |
2626 | 2002-05-11 Andrew Cagney <ac131313@redhat.com> |
2627 | ||
2628 | * arch-utils.h (legacy_register_to_value): Declare. | |
2629 | (legacy_value_to_register): Declare. | |
2630 | (legacy_convert_register_p): Declare. | |
2631 | * arch-utils.c (legacy_register_to_value): New function. | |
2632 | (legacy_value_to_register): New function. | |
2633 | (legacy_convert_register_p): New function. | |
2634 | ||
2635 | * gdbarch.sh (REGISTER_TO_VALUE): Define. | |
2636 | (VALUE_TO_REGISTER): Define. | |
2637 | (CONVERT_REGISTER_P): Define. | |
2638 | * gdbarch.h, gdbarch.c: Regenerate. | |
2639 | ||
2640 | * valops.c (value_assign): Use CONVERT_REGISTER_P and | |
2641 | VALUE_TO_REGISTER. | |
2642 | * findvar.c (value_from_register): Use REGISTER_TO_VALUE and | |
2643 | CONVERT_REGISTER_P. | |
2644 | ||
4a1970e4 DJ |
2645 | 2005-05-11 Daniel Jacobowitz <drow@mvista.com> |
2646 | Peter Schauer <pes@regent.e-technik.tu-muenchen.de> | |
2647 | ||
2648 | * Makefile.in: Update dependencies for valops.c. | |
2649 | * valops.c: Include "gdb_assert.h". | |
2650 | (typecmp): Skip THIS parameter to methods. | |
2651 | (find_method_list): Remove static_memfuncp argument, | |
2652 | update callers. Check for stub methods. | |
2653 | (find_value_oload_method_list): Don't set *static_memfuncp. | |
2654 | (find_overload_match): Don't check for stub methods. Assert | |
2655 | that methods are not stubbed. Handle static methods. | |
2656 | (value_find_oload_method_list): Remove static_memfuncp argument. | |
2657 | * gdbtypes.c (check_stub_method): Do not add THIS pointer | |
2658 | to the argument list for static stub methods. | |
2659 | * value.h (value_find_oload_method_list): Update prototype. | |
2660 | ||
b2e75d78 AC |
2661 | 2002-05-11 Andrew Cagney <ac131313@redhat.com> |
2662 | ||
2663 | * arch-utils.h (generic_register_size): Declare. | |
2664 | (generic_register_raw_size, generic_register_virtual_size): Delete | |
2665 | declarations. | |
2666 | * arch-utils.c (generic_register_raw_size): Delete. | |
2667 | (generic_register_size): New function. | |
2668 | (generic_register_virtual_size): Delete. | |
2669 | ||
2670 | * gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Make | |
2671 | default generic_register_size. | |
2672 | * gdbarch.h, gdbarch.c: Re-generate. | |
2673 | ||
2674 | * d10v-tdep.c (d10v_gdbarch_init): Use generic_register_size for | |
2675 | register_virtual_size. | |
2676 | * x86-64-tdep.c (x86_64_gdbarch_init): Ditto. | |
2677 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
2678 | ||
451fbdda AC |
2679 | 2002-05-11 Andrew Cagney <ac131313@redhat.com> |
2680 | ||
2681 | * gdbarch.sh (gdbarch_data): Add gdbarch parameter. | |
2682 | * gdbarch.h, gdbarch.c: Regenerate. | |
2683 | * gnu-v3-abi.c: Update copyright. | |
2684 | (vtable_address_point_offset): Update. | |
2685 | (gnuv3_rtti_type): Update. | |
2686 | (gnuv3_baseclass_offset): Update. | |
2687 | * solib-svr4.c (svr4_fetch_link_map_offsets): Update. | |
2688 | (init_fetch_link_map_offsets): Update. | |
2689 | * remote.c (get_remote_state): Update. | |
2690 | ||
6d2f5cea DJ |
2691 | 2002-05-11 Daniel Jacobowitz <drow@mvista.com> |
2692 | ||
2693 | * TODO: Remove value_headof/value_from_vtable_info comment. | |
2694 | * printcmd.c (print_command_1): Don't call value_from_vtable_info. | |
2695 | * values.c (value_headof, value_from_vtable_info): Delete. | |
2696 | * value.h (value_from_vtable_info): Delete prototype. | |
2697 | ||
d2324da4 AC |
2698 | 2002-05-11 Andrew Cagney <ac131313@redhat.com> |
2699 | ||
2700 | * Makefile.in: Replace gdb_assert.h with $(gdb_assert_h), | |
2701 | gdb_string.h with $(gdb_string_h) and gdb_regex.h with | |
2702 | $(gdb_regex_h). | |
2703 | (gdb_assert_h): Define. | |
2704 | (gdb_wait_h): Define. | |
2705 | (gdb_regex_h): Define. | |
2706 | ||
5c717440 DJ |
2707 | 2002-05-11 Daniel Jacobowitz <drow@mvista.com> |
2708 | ||
2709 | From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>: | |
2710 | * linespec.c (find_methods): Handle GCC 3.x template constructors. | |
2711 | ||
6c7861b3 JT |
2712 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
2713 | ||
2714 | * nbsd-tdep.c: Fix comment. | |
2715 | ||
ea5bc2a6 JT |
2716 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
2717 | ||
2718 | * Makefile.in (ALLDEPFILES): Add nbsd-tdep.c. | |
2719 | (alphanbsd-tdep.o): Add nbsd-tdep.h to dependency list. | |
2720 | (nbsd-tdep.o): New dependency list. | |
2721 | * alphanbsd-tdep.c: Don't include solib-svr4.h. Include | |
2722 | nbsd-tdep.h. | |
2723 | (alphanbsd_solib_svr4_fetch_link_map_offsets): Remove. | |
2724 | (alphanbsd_init_abi): Use nbsd_lp64_solib_svr4_fetch_link_map_offsets. | |
2725 | * nbsd-tdep.c: New file. | |
2726 | * nbsd-tdep.h: New file. | |
2727 | * shnbsd-tdep.c: Don't include solib-svr4.h. Include | |
2728 | nbsd-tdep.h. | |
2729 | (shnbsd_solib_svr4_fetch_link_map_offsets): Remove. | |
2730 | (shnbsd_init_abi): Use nbsd_ilp32_solib_svr4_fetch_link_map_offsets. | |
2731 | * config/alpha/nbsd.mt (TDEPFILES): Add nbsd-tdep.o. | |
2732 | * config/sh/nbsd.mt (TDEPFILES): Ditto. | |
2733 | ||
b28da865 JT |
2734 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
2735 | ||
2736 | * config/alpha/nbsd.mh (NATDEPFILES): Remove corelow.o. | |
2737 | * config/alpha/nbsd.mt (TDEPFILES): Add corelow.o. | |
2738 | * config/i386/nbsd.mh (NATDEPFILES): Remove corelow.o. | |
2739 | * config/i386/nbsd.mt (TDEPFILES): Add corelow.o. | |
2740 | * config/i386/nbsdelf.mh (NATDEPFILES): Remove corelow.o. | |
2741 | * config/i386/nbsdelf.mt (TDEPFILES): Add corelow.o. | |
2742 | ||
4b8ff1fa JT |
2743 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
2744 | ||
2745 | * config/i386/nbsd.mh (NATDEPFILES): Use line continuations. | |
2746 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
2747 | * config/m68k/nbsd.mh (NATDEPFILES): Likewise. | |
2748 | * config/ns32k/nbsd.mh (NATDEPFILES): Likewise. | |
2749 | * config/powerpc/nbsd.mh (NATDEPFILES): Likewise. | |
2750 | * config/sparc/nbsd.mh (NATDEPFILES): Likewise. | |
2751 | * config/sparc/nbsdelf.mh (NATDEPFILES): Likewise. | |
2752 | ||
dfe6eb1f JT |
2753 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
2754 | ||
2755 | * i386nbsd-nat.c: Delete file. Move fetch_core_registers and | |
2756 | fetch_elfcore_registers to... | |
2757 | * i386nbsd-tdep.c: ...here. | |
2758 | (i386nbsd_use_struct_convention): Rename to... | |
2759 | (i386nbsd_aout_use_struct_convention): ...this. | |
2760 | (i386nbsd_supply_reg): New function. | |
2761 | (i386nbsd_fill_reg): New function. | |
2762 | (fetch_core_registers): Use i386nbsd_supply_reg. | |
2763 | (fetch_elfcore_registers): Likewise. | |
2764 | (_initialize_i386nbsd_tdep): New function. | |
2765 | * config/i386/nbsd.mh (NATDEPFILES): Remove i386nbsd-nat.o. | |
2766 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
2767 | * config/i386/nbsdelf.mt (TDEPFILES): Add i386nbsd-tdep.o. | |
2768 | * config/i386/tm-nbsd.h (i386nbsd_use_struct_convention): Rename to... | |
2769 | (i386nbsd_aout_use_struct_convention): ...this. | |
2770 | ||
20cb8cda JT |
2771 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
2772 | ||
2773 | * shnbsd-nat.c (fetch_inferior_registers): Use shnbsd_supply_reg. | |
2774 | (store_inferior_registers): Use shnbsd_fill_reg. | |
2775 | * shnbsd-tdep.c (sh_nbsd_supply_registers, | |
2776 | sh_nbsd_supply_register): Collapse into... | |
2777 | (shnbsd_supply_reg): ...this. | |
2778 | (sh_nbsd_fill_registers, sh_nbsd_fill_register): Collapse into... | |
2779 | (shnbsd_fill_reg): ...this. | |
2780 | (sh_nbsd_solib_svr4_fetch_link_map_offsets): Rename to... | |
2781 | (shnbsd_solib_svr4_fetch_link_map_offsets): ...this. | |
2782 | (fetch_core_registers): Use shnbsd_supply_reg. | |
2783 | (fetch_elfcore_registers): Use shnbsd_supply_reg. | |
2784 | (sh_nbsd_core_fns): Rename to... | |
2785 | (shnbsd_core_fns): ...this. | |
2786 | (sh_nbsd_elfcore_fns): Rename to... | |
2787 | (shnbsd_elfcore_fns): ...this. | |
2788 | (sh_nbsd_init_abi): Rename to... | |
2789 | (shnbsd_init_abi): ...this. | |
2790 | (_initialize_sh_nbsd_tdep): Rename to... | |
2791 | (_initialize_shnbsd_tdep): ...this. | |
2792 | * shnbsd-tdep.h (sh_nbsd_supply_registers, | |
2793 | sh_nbsd_supply_register, sh_nbsd_fill_registers, | |
2794 | sh_nbsd_fill_register): Remove prototypes. | |
2795 | (shnbsd_supply_reg, shnbsd_fill_reg): Add prototypes. | |
2796 | ||
e750d25e JT |
2797 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
2798 | ||
2799 | * Makefile.in (ALLDEPFILES): Remove i387-nat.c. | |
2800 | (i387-nat.o): Delete dependency list. | |
2801 | (go32-nat.o): Change i387-nat.h to i387-tdep.h. | |
2802 | (x86-64-linux-nat.o): Likewise. | |
2803 | * i387-nat.c: Delete file, moving contents to... | |
2804 | * i387-tdep.c: ...here. | |
2805 | * i387-nat.h: Rename... | |
2806 | * i387-tdep.h: ...to this. | |
2807 | * go32-nat.c: Include i387-tdep.h instead of i387-nat.h. | |
2808 | * i386-linux-nat.c: Likewise. | |
2809 | * i386bsd-nat.c: Likewise. | |
2810 | * i386gnu-nat.c: Likewise. | |
2811 | * i386nbsd-nat.c: Likewise. | |
2812 | * i386v4-nat.c: Likewise. | |
2813 | * x86-64-linux-nat.c: Likewise. | |
2814 | * config/i386/fbsd.mh (NATDEPFILES): Remove i387-nat.o. | |
2815 | * config/i386/go32.mh (NATDEPFILES): Likewise. | |
2816 | * config/i386/i386gnu.mh (NATDEPFILES): Likewise. | |
2817 | * config/i386/i386sol2.mh (NATDEPFILES): Likewise. | |
2818 | * config/i386/i386v42mp.mh (NATDEPFILES): Likewise. | |
2819 | * config/i386/linux.mh (NATDEPFILES): Likewise. | |
2820 | * config/i386/nbsd.mh (NATDEPFILES): Likewise. | |
2821 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
2822 | * config/i386/obsd.mh (NATDEPFILES): Likewise. | |
2823 | * config/i386/x86-64linux.mh (NATDEPFILES): Likewise. | |
2824 | ||
1aee598a JT |
2825 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
2826 | ||
2827 | * Makefile.in (ALLDEPFILES): Remove alphanbsd-nat.c. | |
2828 | (alphanbsd-nat.o): Remove dependency list. | |
2829 | (alphanbsd-tdep.o): Add $(regcache_h) to dependency list. | |
2830 | * alphanbsd-nat.c: Delete. Contents moved to... | |
2831 | * alphanbsd-tdep.c: ...here. | |
2832 | (_initialize_alphanbsd_tdep): Register core functions. | |
2833 | * config/alpha/nbsd.mh (NATDEPFILES): Remove alphanbsd-nat.o. | |
2834 | ||
12bcb0fe JT |
2835 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
2836 | ||
2837 | * Makefile.in (ALLDEPFILES): Add alphabsd-tdep.c. | |
2838 | (alphabsd-nat.o): Depend on alphabsd-tdep.h. | |
2839 | (alphanbsd-nat.o): Likewise. | |
2840 | (alphabsd-tdep.o): New dependency list. | |
2841 | * alphabsd-nat.c (supply_gregset): Use alphabsd_supply_reg. | |
2842 | (fill_gregset): Use alphabsd_fill_reg. | |
2843 | (supply_fpregset): Use alphabsd_supply_fpreg. | |
2844 | (fill_fpregset): Use alphabsd_fill_fpreg. | |
2845 | (fetch_inferior_registers): Use struct reg and struct fpreg | |
2846 | rather than gregset_t and fpregset_t. Use alphabsd_supply_reg | |
2847 | and alphabsd_supply_fpreg. | |
2848 | (store_inferior_registers): Use struct reg and struct fpreg | |
2849 | rather than gregset_t and fpregset_t. Use alphabsd_fill_reg | |
2850 | and alphabsd_fill_fpreg. | |
2851 | * alphabsd-tdep.c: New file. | |
2852 | * alphabsd-tdep.h: New file. | |
2853 | * alphanbsd-nat.c (fetch_core_registers): Use alphabsd_supply_fpreg. | |
2854 | (fetch_elfcore_registers): Use alphabsd_supply_reg and | |
2855 | alphabsd_supply_fpreg. | |
2856 | * config/alpha/fbsd.mt (TDEPFILES): Add alphabsd-tdep.o. | |
2857 | * config/alpha/nbsd.mt (TDEPFILES): Likewise. | |
2858 | ||
361d1df0 EC |
2859 | 2002-05-11 Eric Christopher <echristo@redhat.com> |
2860 | ||
2861 | * mips-tdep.c (mips_double_register_type): Fix thinko. | |
2862 | (mips_single_register_type): Ditto. | |
2863 | * MAINTAINERS: Add self. | |
2864 | ||
92dd7cee MK |
2865 | 2002-05-11 Mark Kettenis <kettenis@gnu.org> |
2866 | ||
2867 | * i387-nat.c (i387_supply_register, i387_fill_fsave, | |
2868 | i387_supply_fxsave, i387_fill_fxsave): Rewrite in order to do the | |
2869 | right thing on architectures with different endianness and/or | |
2870 | integer sizes. | |
2871 | ||
e27da16d JT |
2872 | 2002-05-10 Jason Thorpe <thorpej@wasabisystems.com> |
2873 | ||
2874 | From Christian Limpach <chris@Pin.LU> | |
2875 | * configure.in: Change sed expression which comments out | |
2876 | NATDEPFILES to also comment out continuation lines. | |
2877 | * configure: Regenerate. | |
2878 | ||
ddde02bd EZ |
2879 | 2002-05-10 Elena Zannoni <ezannoni@redhat.com> |
2880 | ||
2881 | * sh-tdep.c: Clean up code erroneously reintroduced by previous | |
2882 | big patch. | |
2883 | ||
1c922164 EZ |
2884 | 2002-05-10 Elena Zannoni <ezannoni@redhat.com> |
2885 | ||
2886 | * sh-tdep.c: Include correct file. | |
2887 | ||
283150cd EZ |
2888 | 2002-05-10 Elena Zannoni <ezannoni@redhat.com> |
2889 | ||
2890 | New support for sh64-elf (sh5) target. | |
2891 | ||
2892 | * configure.tgt: For sh64-elf target, default to sh-elf. | |
2893 | ||
2894 | * config/sh/tm-sh.h (enum sh-abi): Possible ABI's. | |
2895 | (struct gdbarch_tdep): Add new fields for new registers and ABI | |
2896 | info. | |
361d1df0 | 2897 | |
283150cd EZ |
2898 | * sh-tdep.c: Include elf-bfd.h, elf/sh.h, gdb/sim-sh.h. |
2899 | (NUM_PSEUDO_REGS_SH_MEDIA, NUM_PSEUDO_REGS_SH_COMPACT, | |
2900 | MSYMBOL_IS_SPECIAL, IS_ISA32_ADDR, MAKE_ISA32_ADDR, | |
2901 | UNMAKE_ISA32_ADDR, IS_PTABSL_R18, IS_STS_R0, IS_STS_PR, | |
2902 | IS_MOV_TO_R15, IS_MOV_R14, IS_STQ_R18_R14, IS_STQ_R18_R15, | |
2903 | IS_STL_R18_R15, IS_STQ_R14_R15, IS_STL_R14_R15, IS_ADDIL_SP_MEDIA, | |
2904 | IS_ADDI_SP_MEDIA, IS_ADDL_SP_FP_MEDIA, IS_ADD_SP_FP_MEDIA, | |
2905 | IS_MOV_SP_FP_MEDIA, IS_MOV_R0, IS_MOVL_R0, IS_ADD_SP_R0, | |
2906 | IS_MOV_R14_R0, IS_MEDIA_IND_ARG_MOV, IS_MEDIA_ARG_MOV, | |
2907 | IS_MEDIA_MOV_TO_R14, IS_COMPACT_IND_ARG_MOV, IS_COMPACT_ARG_MOV, | |
2908 | IS_COMPACT_MOV_TO_R14, IS_JSR_R0, IS_NOP): New macros. | |
2909 | (sh_sh64_register_name, sh64_elf_make_msymbol_special, | |
2910 | pc_is_isa32, sh_sh64_breakpoint_from_pc, look_for_args_moves, | |
2911 | sh64_skip_prologue_hard_way, sh64_use_struct_convention, | |
2912 | gdb_print_insn_sh64, translate_insn_rn, sh64_frame_chain, | |
2913 | sh64_get_saved_pr, fpp_reg_base_num, is_media_pseudo, | |
2914 | sh64_get_gdb_regnum, sh64_media_reg_base_num, | |
2915 | sh64_compact_reg_base_num, translate_rn_to_arch_reg_num, | |
2916 | sign_extend, sh64_nofp_frame_init_saved_regs, | |
2917 | sh64_init_extra_frame_info, sh64_get_saved_register, | |
2918 | sh64_extract_struct_value_address, sh64_pop_frame, | |
2919 | sh64_push_arguments, sh64_extract_return_value, | |
2920 | sh64_store_return_value, sh64_show_media_regs, | |
2921 | sh64_show_compact_regs, sh64_show_regs, sh_sh64_register_byte, | |
2922 | sh_sh64_register_raw_size, sh_sh64_register_virtual_size, | |
2923 | sh_sh64_register_virtual_type, | |
2924 | sh_sh64_register_convert_to_virtual, | |
2925 | sh_sh64_register_convert_to_raw, sh64_pseudo_register_read, | |
2926 | sh64_register_read, sh64_pseudo_register_write, | |
2927 | sh64_register_write, do_fv_c_register_info, do_dr_c_register_info, | |
2928 | do_r_c_register_info, do_fpp_register_info, do_cr_c_register_info, | |
2929 | sh64_do_pseudo_register, sh_compact_do_registers_info, | |
2930 | sh64_do_registers_info, sh_gdbarch_init): New functions. | |
2931 | ||
3117ed25 EZ |
2932 | 2002-05-10 Elena Zannoni <ezannoni@redhat.com> |
2933 | ||
2934 | * sh-tdep.c (sh_breakpoint_from_pc): Add 'const' to return type. | |
2935 | ||
2654e6d4 DJ |
2936 | 2002-05-10 Daniel Jacobowitz <drow@mvista.com> |
2937 | ||
2938 | * linespec.c (decode_line_1): Check for a double quote after | |
2939 | a filename correctly. | |
2940 | ||
9ab3e532 JB |
2941 | 2002-05-10 Jim Blandy <jimb@redhat.com> |
2942 | ||
2943 | Properly track the size of the current objfile's .debug_line section. | |
2944 | * dwarf2read.c (struct dwarf2_pinfo): New member: dwarf_line_size. | |
2945 | (DWARF_LINE_SIZE): New macro. | |
2946 | (dwarf2_build_psymtabs_hard): Record the line section's size in | |
2947 | the partial symbol table. | |
2948 | (psymtab_to_symtab_1): Restore dwarf_line_size from the partial | |
2949 | symbol table. | |
2950 | ||
126fa72d PS |
2951 | 2002-05-10 Petr Sorfa <petrs@caldera.com> |
2952 | ||
2953 | * ia64-tdep.c: Handle breakpoints on L instruction type | |
2954 | in MLX instruction bundle by moving the breakpoint to | |
2955 | the third slot (X instruction type) as L holds only data. | |
2956 | ||
1f077a3e KB |
2957 | 2002-05-10 Kevin Buettner <kevinb@redhat.com> |
2958 | ||
2959 | * dbxread.c (discarding_local_symbols_complaint): New complaint. | |
2960 | (process_one_symbol): Complain about discarding local symbols | |
2961 | due to a misplaced N_LBRAC entry. | |
2962 | ||
8120c9d5 | 2963 | 2002-05-09 Elena Zannoni <ezannoni@redhat.com> |
361d1df0 EC |
2964 | |
2965 | From Daniel Berlin <dan@cgsoftware.com> | |
8120c9d5 EZ |
2966 | * linespec.c (find_toplevel_char): '<' and '>' also increase and |
2967 | decrease the depth we are at, in the case of templates. | |
361d1df0 | 2968 | |
67b2c998 DJ |
2969 | 2002-05-09 Daniel Jacobowitz <drow@mvista.com> |
2970 | ||
2971 | * mips-tdep.c (mips_float_register_type): New function. | |
2972 | (mips_double_register_type): New function. | |
2973 | (mips_print_register): Use them. | |
2974 | (do_fp_register_row): Likewise. | |
2975 | ||
fd326606 DJ |
2976 | 2002-05-09 Daniel Jacobowitz <drow@mvista.com> |
2977 | ||
6609d9af | 2978 | * signals/signals.c (signals): Remove conditional compilation around |
fd326606 | 2979 | Mach-specific signals. Move them to after TARGET_SIGNAL_DEFAULT. |
6609d9af | 2980 | (target_signal_from_name): Loop until TARGET_SIGNAL_LAST. |
fd326606 | 2981 | |
bef35864 MS |
2982 | 2002-05-09 Michael Snyder <msnyder@redhat.com> |
2983 | ||
2984 | * remote-rdp.c (remote_rdp_can_run): Remove. | |
2985 | ||
c55a3f73 TT |
2986 | 2002-05-09 Tom Tromey <tromey@redhat.com> |
2987 | ||
2988 | * jv-valprint.c (java_val_print): Handle `char' as a special case | |
2989 | of TYPE_CODE_INT. | |
2990 | ||
b8d5e71d MS |
2991 | 2002-05-09 Michael Snyder <msnyder@redhat.com> |
2992 | ||
2993 | * arm-tdep.c (arm_scan_prologue): Accept strb r(0123),[r11,#-nn], | |
2994 | strh r(0123),[r11,#-nn], str r(0123),[r11,#-nn], as well as | |
361d1df0 | 2995 | strb r(0123),[sp,#nn], strh r(0123),[sp,#nn] and |
b8d5e71d | 2996 | str r(0123),[sp,#nn]. |
361d1df0 | 2997 | (arm_skip_prologue): Ditto. Also make disassembly |
b8d5e71d MS |
2998 | order-independent by placing it in a loop. |
2999 | ||
e2cd42dd MS |
3000 | 2002-05-06 Michael Snyder <msnyder@redhat.com> |
3001 | ||
3002 | * stabsread.c (read_type): Add recognition for new attribute: | |
3003 | "@V;" means that an array type is actually a vector. | |
3004 | This is analogous to the vector flag that's been added to dwarf2. | |
3005 | ||
3ce1502b MK |
3006 | 2002-05-09 Mark Kettenis <kettenis@gnu.org> |
3007 | ||
3008 | * i386-tdep.h (i386_abi): New enum. | |
3009 | (struct gdbarch_tdep): Replace os_ident member with abi. | |
3010 | (i386_gdbarch_register_os_abi): New prototype. | |
3011 | * i386-tdep.c (i386_abi_names): New array. | |
3012 | (process_note_abi_tag_sections): Removed. | |
3013 | (process_note_sections): New function. | |
3014 | (i386_elf_abi_from_note, i386_elf_abi): New functions. | |
3015 | (struct i386_abi_handler): New struct. | |
3016 | (i386_abi_handler_list): New variable. | |
3017 | (i386_gdbarch_register_os_abi): New function. | |
3018 | (i386_gdbarch_init): Adapt for the changes given above. | |
3019 | ||
084c156a DJ |
3020 | 2002-05-08 Daniel Jacobowitz <drow@mvista.com> |
3021 | ||
3022 | * gregset.h: Say "GNU/Linux". | |
3023 | ||
6599f021 EZ |
3024 | 2002-05-08 Elena Zannoni <ezannoni@redhat.com> |
3025 | ||
3026 | * gdbtypes.c : Add new builtin type for 64 bit vectors. | |
3027 | (build_gdbtypes): Build builtin_type_v2_float. | |
3028 | (_initialize_gdbtypes): Register new builtin type. | |
3029 | ||
40af4b0c AC |
3030 | 2002-05-08 Andrew Cagney <ac131313@redhat.com> |
3031 | ||
3032 | * gdbarch.sh (init_gdbarch_swap): Do not clear the swap section. | |
3033 | (clear_gdbarch_swap): New function. | |
3034 | (initialize_non_multiarch): Call. | |
3035 | (gdbarch_update_p): Before calling init(), swap out and clear the | |
3036 | existing architecture. | |
3037 | * gdbarch.c: Regenerate. | |
3038 | ||
4fe84f46 JT |
3039 | 2002-05-08 Jason Thorpe <thorpej@wasabisystems.com> |
3040 | ||
3041 | * config/djgpp/fnchange.lst: Add alphanbsd-nat.c and | |
3042 | alphanbsd-tdep.c. | |
3043 | ||
4015edd1 JT |
3044 | 2002-05-08 Jason Thorpe <thorpej@wasabisystems.com> |
3045 | ||
3046 | * sh-nbsd-nat.c: Rename to... | |
3047 | * shnbsd-nat.c: ...this. | |
3048 | * sh-nbsd-tdep.c: Rename to... | |
3049 | * shnbsd-tdep.c: ...this. | |
3050 | * sh-nbsd-tdep.h: Rename to... | |
3051 | * shnbsd-tdep.h: ...this. | |
3052 | * config/sh/nbsd.mh: Use shnbsd-nat.o. | |
3053 | * config/sh/nbsd.mt: Use shnbsd-tdep.o. | |
3054 | ||
0e2bd219 RE |
3055 | 2002-05-08 Richard Earnshaw <rearnsha@arm.com> |
3056 | ||
3057 | * remote-rdi.c (_initializie_remote_rdi): Use ANSI-style string | |
3058 | concatenation for command help messages. | |
3059 | ||
13a38d45 JT |
3060 | 2002-05-08 Jason Thorpe <thorpej@wasabisystems.com> |
3061 | ||
3062 | * NEWS: Note new sh*-*-netbsdelf* configuration. | |
3063 | * configure.host: Set gdb_host_cpu to sh for all sh*. | |
3064 | (sh*-*-netbsdelf*): New host. | |
3065 | * configure.tgt: Set gdb_target_cpu to sh for all sh*. | |
3066 | (sh*-*-netbsdelf*): New target. | |
3067 | * sh-nbsd-nat.c: New file. | |
3068 | * sh-nbsd-tdep.c: New file. | |
3069 | * sh-nbsd-tdep.h: New file. | |
3070 | * config/sh/nbsd.mh: New file. | |
3071 | * config/sh/nbsd.mt: New file. | |
3072 | * config/sh/nm-nbsd.h: New file. | |
3073 | * config/sh/tm-nbsd.h: New file. | |
3074 | ||
d658f924 JT |
3075 | 2002-05-08 Jason Thorpe <thorpej@wasabisystems.com> |
3076 | ||
3077 | * sh-tdep.c (sh_osabi_names): Declare. | |
3078 | (process_note_abi_tag_sections): New function. | |
3079 | (get_elfosabi): Ditto. | |
3080 | (sh_gdbarch_register_os_abi): Ditto. | |
3081 | (sh_dump_tdep): Ditto. | |
3082 | _initialize_sh_tdep): Use gdbarch_register to register | |
3083 | sh_gdbarch_init and sh_dump_tdep. | |
3084 | * config/sh/tm-sh.h (sh_osabi): Declare. | |
3085 | (gdbarch_tdep): Add sh_osabi and osabi_name members. | |
3086 | ||
848cfffb AC |
3087 | 2002-05-07 Andrew Cagney <ac131313@redhat.com> |
3088 | ||
3089 | * arm-tdep.c (arm_skip_prologue): Handle generic dummy frames. | |
3090 | (thumb_scan_prologue): Ditto. | |
3091 | (arm_find_callers_reg): Ditto. | |
3092 | (arm_frame_chain): Ditto. | |
3093 | (arm_init_extra_frame_info): Ditto. | |
3094 | (arm_frame_saved_pc): Ditto. | |
3095 | (arm_pop_frame): Ditto. | |
3096 | (arm_push_return_address): New function. | |
3097 | (arm_gdbarch_init): Initialize use_generic_dummy_frames, | |
3098 | call_dummy_location, call_dummy_breakpoint_offset_p, | |
3099 | call_dummy_breakpoint_offset, call_dummy_p, | |
3100 | call_dummy_stack_adjust_p, call_dummy_words, | |
3101 | sizeof_call_dummy_words, call_dummy_start_offset, | |
3102 | call_dummy_length, fix_call_dummy, pc_in_call_dummy, | |
3103 | call_dummy_address, push_return_address and push_dummy_frame for | |
3104 | generic dummy frames. | |
3105 | ||
e7d717c0 JT |
3106 | 2002-05-07 Jason Thorpe <thorpej@wasabisystems.com> |
3107 | ||
3108 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Fix error in | |
3109 | size computation for alloca. | |
3110 | (sh_fp_frame_init_saved_regs): Likewise. | |
3111 | ||
7bbcf283 RE |
3112 | 2002-05-07 Richard Earnshaw <rearnsha@arm.com> |
3113 | ||
3114 | * arm-tdep.h (ARM_MAX_REGISTER_RAW_SIZE): Define. | |
3115 | (ARM_MAX_REGISTER_VIRTUAL_SIZE): Define. | |
361d1df0 | 3116 | * arm-tdep.c (arm_store_return_value): Use them. |
7bbcf283 RE |
3117 | Use FP_REGISTER_RAW_SIZE when setting the FPA return value. |
3118 | * remote-rdp.c (remote_rdp_fetch_register): Use | |
3119 | ARM_MAX_REGISTER_RAW_SIZE. | |
3120 | (remote_rdp_store_register): Likewise. | |
3121 | ||
4657573b ML |
3122 | 2002-05-07 Michal Ludvig <mludvig@suse.cz> |
3123 | ||
361d1df0 | 3124 | * dwarf2cfi.c: Code cleanup, removed unused variables, |
4657573b ML |
3125 | added default labels to switch {} statements. |
3126 | * x86-64-tdep.c: Ditto. | |
3127 | * x86-64-linux-nat.c: Ditto. | |
3128 | ||
010f3b2f JT |
3129 | 2002-05-07 Jason Thorpe <thorpej@wasabisystems.com> |
3130 | ||
3131 | * solib.h: Protect against multiple inclusion. | |
3132 | ||
debd256d JB |
3133 | 2002-05-06 Jim Blandy <jimb@redhat.com> |
3134 | ||
9ab3e532 JB |
3135 | Add first preprocessor macro-expansion files. |
3136 | * macroexp.c, macroexp.h, macrotab.c, macrotab.h: New files. | |
3137 | * Makefile.in (SFILES): Add macrotab.c, macroexp.c. | |
3138 | (splay_tree_h, macroexp_h, macrotab_h): New variable. | |
3139 | (HFILES_NO_SRCDIR): Add macrotab.h, macroexp.h. | |
3140 | (COMMON_OBS): Add macrotab.o, macroexp.o. | |
3141 | (macroexp.o, macrotab.o): New rules. | |
3142 | ||
debd256d JB |
3143 | Separate the job of reading the line number info statement program |
3144 | header (...expialidocious) out into its own function. | |
3145 | * dwarf2read.c (struct line_head, struct filenames, struct | |
3146 | directories): Replace with... | |
3147 | (struct line_header): New structure, containing the full | |
3148 | contents of the statement program header, including the | |
3149 | include directory and file name tables. | |
3150 | (read_file_scope): If we have line number info, instead of just | |
3151 | calling dwarf_decode_lines to do all the work, call | |
3152 | dwarf_decode_line_header first to get a `struct line_header' | |
3153 | containing the data in the statement program header, and then | |
3154 | pass that to dwarf_decode_lines, which will pick up where that | |
3155 | left off. Be sure to clean up the `struct line_header' object. | |
3156 | (dwarf_decode_line_header, free_line_header, add_include_dir, | |
3157 | add_file_name): New functions. | |
3158 | (dwarf_decode_lines): Move all the code to read the statement | |
3159 | program header into dwarf_decode_line_header. Take the line | |
3160 | header it built as the first argument, instead of the offset to | |
3161 | the compilation unit's line number info. Use the new `struct | |
3162 | line_header' type instead of the old structures. No need to do | |
3163 | cleanups here now, since we don't allocate anything. | |
3164 | (dwarf2_statement_list_fits_in_line_number_section, | |
3165 | dwarf2_line_header_too_long): New complaints. | |
3166 | ||
ac3aafc7 EZ |
3167 | 2002-05-06 Elena Zannoni <ezannoni@redhat.com> |
3168 | ||
3169 | * gdbtypes.c (init_vector_type): New function. | |
3170 | (build_builtin_type_vec128): Simplify the representation of SIMD | |
3171 | registers. | |
3172 | (build_gdbtypes): Initialize new builtin vector types. | |
3173 | (_initialize_gdbtypes): Register new vector types with gdbarch. | |
3174 | (builtin_type_v4_float, builtin_type_v4_int32, | |
3175 | builtin_type_v8_int16, builtin_type_v16_int8, | |
3176 | builtin_type_v2_int32, builtin_type_v4_int16, | |
3177 | builtin_type_v8_int8): New (renamed) SIMD types. | |
3178 | ||
13e49980 MK |
3179 | 2002-05-06 Mark Kettenis <kettenis@gnu.org> |
3180 | ||
3181 | * i387-nat.c (i387_fill_fsave): Use regcache_collect. | |
3182 | (i387_fill_fxsave): Likewise. | |
3183 | ||
997b20b8 AO |
3184 | 2002-05-05 Alexandre Oliva <aoliva@redhat.com> |
3185 | ||
3186 | * alpha-tdep.c (alpha_extract_return_value): Don't use | |
3187 | non-constant array size in prototype. | |
3188 | ||
535c96ce AC |
3189 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> |
3190 | ||
3191 | From Brian Taylor <briant at model dot com>: | |
3192 | * ui-out.c (ui_out_field_core_addr): Use the function | |
3193 | longest_local_hex_string_custom'to format addresses > 32 bits | |
3194 | wide. | |
3195 | ||
3196 | * ui-out.c (ui_out_field_core_addr): Update comment. | |
3197 | ||
bedfa57b AC |
3198 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> |
3199 | ||
3200 | * stack.c (select_and_print_frame): Make static. Delete the | |
3201 | parameter `level'. | |
3202 | (func_command): Update call. | |
3203 | (select_frame_command): Delete code computing the frame level. | |
3204 | * frame.h (select_and_print_frame): Delete declaration. | |
3205 | ||
f621c63e AC |
3206 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> |
3207 | ||
3208 | * sparc-tdep.c (sparc_get_saved_register): Comment why | |
3209 | get_prev_frame call is safe. | |
3210 | ||
0f7d239c AC |
3211 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> |
3212 | ||
3213 | * frame.h (select_frame): Delete level parameter. | |
3214 | * stack.c (select_frame): Update. Use frame_relative_level to | |
3215 | obtain the frame's level. | |
3216 | (select_and_print_frame): Update call. | |
3217 | (select_frame_command): Ditto. | |
3218 | (up_silently_base): Ditto. | |
3219 | (down_silently_base): Ditto. | |
3220 | * ocd.c (ocd_start_remote): Ditto. | |
3221 | * remote-rdp.c (remote_rdp_open): Ditto. | |
3222 | * remote-mips.c (mips_initialize): Ditto. | |
3223 | (common_open): Ditto. | |
3224 | * remote-e7000.c (e7000_start_remote): Ditto. | |
3225 | * m3-nat.c (select_thread): Ditto. | |
3226 | * hppa-tdep.c (child_get_current_exception_event): Ditto. | |
3227 | (child_get_current_exception_event): Ditto. | |
3228 | * varobj.c (varobj_create): Ditto. | |
3229 | (varobj_update): Ditto. | |
3230 | (c_value_of_root): Ditto. | |
3231 | * tracepoint.c (finish_tfind_command): Ditto. | |
3232 | * corelow.c (core_open): Ditto. | |
3233 | * arch-utils.c (generic_prepare_to_proceed): Ditto. | |
3234 | * thread.c (info_threads_command): Ditto. | |
3235 | (switch_to_thread): Ditto. | |
3236 | * infrun.c (normal_stop): Ditto. | |
3237 | (restore_selected_frame): Ditto. | |
3238 | (restore_inferior_status): Ditto. | |
3239 | * breakpoint.c (insert_breakpoints): Ditto. | |
3240 | (watchpoint_check): Ditto. | |
3241 | (bpstat_stop_status): Ditto. | |
3242 | (do_enable_breakpoint): Ditto. | |
3243 | * blockframe.c (flush_cached_frames): Ditto. | |
3244 | (reinit_frame_cache): Ditto. | |
3245 | ||
71d6c7b1 AC |
3246 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> |
3247 | ||
3248 | * MAINTAINERS (Host/Native): Add Jason Thorpe as NetBSD | |
3249 | maintainer. | |
3250 | ||
cda6c68a JB |
3251 | 2002-05-04 Jim Blandy <jimb@redhat.com> |
3252 | ||
3253 | * gdbtypes.c (replace_type): Doc fix. | |
3254 | ||
5c1c87f0 AC |
3255 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> |
3256 | ||
3257 | * valprint.c (strcat_longest): Delete commented out function. | |
3258 | Update copyright. | |
3259 | ||
cd9bfe15 AC |
3260 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> |
3261 | ||
3262 | * MAINTAINERS: Mark a29k as deleted. | |
3263 | * NEWS: Mention that a29k was removed. Add OBSOLETE section. | |
3264 | Move new configurations to the top. | |
3265 | * configure.tgt: Remove a29k. | |
3266 | * config/a29k/tm-vx29k.h: Delete. | |
3267 | * config/a29k/vx29k.mt: Delete. | |
3268 | * config/a29k/tm-a29k.h: Delete. | |
3269 | * config/a29k/a29k-udi.mt: Delete. | |
3270 | * config/a29k/a29k.mt: Delete. | |
3271 | * a29k-tdep.c: Delete. | |
3272 | * remote-udi.c: Delete. | |
3273 | * remote-mm.c: Delete. | |
3274 | * remote-eb.c: Delete. | |
3275 | * remote-adapt.c: Delete. | |
3276 | * Makefile.in: Remove obsolete code. | |
3277 | * gdbserver/Makefile.in: Ditto. | |
3278 | * config/s390/s390x.mt: Ditto. | |
3279 | * config/s390/s390.mt: Ditto. | |
3280 | * config/sparc/sparclynx.mh: Ditto. | |
3281 | * config/sparc/linux.mh: Ditto. | |
3282 | * config/pa/hppaosf.mh: Ditto. | |
3283 | * config/pa/hppabsd.mh: Ditto. | |
3284 | * config/ns32k/nbsd.mt: Ditto. | |
3285 | * config/mips/vr5000.mt: Ditto. | |
3286 | * config/m68k/sun3os4.mh: Ditto. | |
3287 | * config/m68k/nbsd.mt: Ditto. | |
3288 | * config/m68k/m68klynx.mh: Ditto. | |
3289 | * config/m32r/m32r.mt: Ditto. | |
3290 | * config/i386/x86-64linux.mt: Ditto. | |
3291 | * config/i386/nbsdelf.mt: Ditto. | |
3292 | * config/i386/nbsd.mt: Ditto. | |
3293 | * config/i386/i386lynx.mh: Ditto. | |
3294 | ||
bf0c5130 AC |
3295 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> |
3296 | ||
3297 | * target.c (debug_print_register): New function. Handle oversize | |
3298 | registers. | |
3299 | (debug_to_fetch_registers): Call. | |
3300 | (debug_to_store_registers): Call. | |
3301 | ||
2ae1c2d2 JB |
3302 | 2002-05-03 Jim Blandy <jimb@redhat.com> |
3303 | ||
13a393b0 JB |
3304 | * stabsread.c (cleanup_undefined_types): Use replace_type, not memcpy. |
3305 | (read_type): Doc fix. | |
3306 | * gdbtypes.c (replace_type): Doc fix. | |
3307 | ||
2ae1c2d2 JB |
3308 | * stabsread.c (multiply_defined_struct): New complaint. |
3309 | (read_struct_type): If the type we were passed isn't empty, or | |
3310 | incomplete, don't read the new struct type into it; complain, | |
3311 | and return the original type unchanged. Take a new `type_code' | |
3312 | argument, which is the type code for the new type. | |
3313 | (read_type): Rather than storing the type's type code here, pass | |
3314 | it as an argument to read_struct_type, and let that take care of | |
3315 | storing it. That way, we don't overwrite the original type code, | |
3316 | so read_struct_type can use it to decide whether we're overwriting | |
3317 | something we shouldn't. | |
3318 | (complain_about_struct_wipeout): New function. | |
3319 | ||
8de9bdc4 AC |
3320 | 2002-05-03 Andrew Cagney <ac131313@redhat.com> |
3321 | ||
3322 | * gdbarch.sh: Assert that gdbarch is non-NULL. | |
3323 | * gdbarch.c: Regenerate. | |
3324 | ||
f773fdbb JM |
3325 | 2002-05-03 Jason Merrill <jason@redhat.com> |
3326 | ||
3327 | * gnu-v3-abi.c (gnuv3_rtti_type): If we get confused, just warn | |
3328 | and return NULL. | |
3329 | ||
0e04a514 ML |
3330 | 2002-05-03 Michal Ludvig <mludvig@suse.cz> |
3331 | ||
3332 | * x86-64-tdep.c (x86_64_dwarf2gdb_regno_map), | |
3333 | (x86_64_dwarf2gdb_regno_map_length), | |
3334 | (x86_64_dwarf2_reg_to_regnum): Added. | |
3335 | (x86_64_gdbarch_init): Added registration of x86_64_dwarf2_reg_to_regnum. | |
3336 | (x86_64_gdbarch_init): Renamed from i386_gdbarch_init. | |
3337 | (_initialize_x86_64_tdep): Synced with the change above. | |
3338 | (x86_64_skip_prologue): Reformulated message. | |
3339 | ||
065432a8 PM |
3340 | 2002-05-03 Pierre Muller <muller@ics.u-strasbg.fr> |
3341 | ||
3342 | * f-exp.y: Also use new prev_lexptr variable | |
3343 | to improve error reporting. Based on Michael Snyder | |
3344 | 2002-04-24 dated patch to c-exp.y. | |
3345 | * jv-exp.y: Likewise. | |
3346 | * m2-exp.y: Likewise. | |
3347 | ||
a3162708 EZ |
3348 | 2002-05-02 Elena Zannoni <ezannoni@redhat.com> |
3349 | ||
3350 | * valops.c (value_arg_coerce): Don't coerce arrays to pointers if | |
3351 | we are dealing with vectors. | |
3352 | ||
03620c38 PM |
3353 | 2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr> |
3354 | ||
3355 | * config/m68k/tm-nbsd.h: Obvious fix, | |
3356 | correct machine name. | |
3357 | ||
6604db2e PM |
3358 | 2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr> |
3359 | ||
3360 | * p-typeprint.c (pascal_type_print_base): Add support | |
3361 | for TYPE_CODE_STRING and TYPE_CODE_BITSTRING. | |
3362 | ||
0906b739 PM |
3363 | 2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr> |
3364 | ||
3365 | * p-lang.c (pascal_create_fundamental_type): Use TYPE_CODE_CHAR | |
3366 | for fondamental pascal 'char' type. | |
3367 | ||
e2625b33 PM |
3368 | 2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr> |
3369 | ||
3370 | * p-lang.h (is_pascal_string_type): Declaration changed, | |
3371 | new sixth argument of type char ** added. | |
361d1df0 | 3372 | * p-lang.c (is_pascal_string_type): Implementation |
e2625b33 PM |
3373 | changed. Args length_pos, length_size, string_pos, char_size |
3374 | can now be NULL. New argument arrayname set to the field | |
3375 | name of the char array. Return value set to char array | |
3376 | field index plus one. | |
361d1df0 | 3377 | * p-valprint.c (pascal_val_print): Adapt to new declaration of |
e2625b33 PM |
3378 | is_pascal_string_type function. |
3379 | ||
cf17c188 AC |
3380 | 2002-05-02 Andrew Cagney <cagney@redhat.com> |
3381 | ||
3382 | * gdbarch.sh (gdbarch_update_p): Revert 2002-05-02 Andrew Cagney | |
3383 | <cagney@redhat.com> change. | |
3384 | * gdbarch.c: Regenerate. | |
3385 | ||
52bca491 AC |
3386 | 2002-05-02 Andrew Cagney <cagney@redhat.com> |
3387 | ||
3388 | * gdbarch.sh (gdbarch_update_p): Swap out the old architecture | |
3389 | before probing for a new one. Detect errorenous gdbarch_init | |
3390 | functions. | |
3391 | * gdbarch.c: Regenerate. | |
3392 | ||
d5e72505 AC |
3393 | 2002-05-01 Andrew Cagney <cagney@redhat.com> |
3394 | ||
3395 | * config/mn10200/tm-mn10200.h: Include "symfile.h" and "symtab.h". | |
3396 | * config/mcore/tm-mcore.h: Ditto. Update copyright. | |
3397 | * config/v850/tm-v850.h: Ditto. Update copyright. | |
3398 | ||
af566d9f AC |
3399 | 2002-04-30 Andrew Cagney <ac131313@redhat.com> |
3400 | ||
3401 | * cris-tdep.c (cris_gdbarch_init): Use arches instead of | |
3402 | current_gdbarch. | |
3403 | ||
880d85fa MS |
3404 | 2002-04-30 Michael Snyder <msnyder@redhat.com> |
3405 | ||
94c30b78 MS |
3406 | * arm-tdep.c: Whitespace clean-ups. |
3407 | (arm_skip_prologue): Fix thinko; two lines | |
880d85fa MS |
3408 | should have been removed as part of 4/24 change. |
3409 | ||
6f5987a6 KB |
3410 | 2002-04-30 Kevin Buettner <kevinb@redhat.com> |
3411 | ||
3412 | * rs6000-tdep.c: Added comment describing how fpscr register | |
3413 | numbers were chosen. | |
3414 | ||
1a113c93 MS |
3415 | 2002-04-30 Michael Snyder <msnyder@redhat.com> |
3416 | ||
3417 | * gnu-nat.c (gnu_find_memory_regions): Fix merge botch. | |
3418 | ||
9a6f53fe EZ |
3419 | 2002-04-29 Elena Zannoni <ezannoni@redhat.com> |
3420 | ||
3421 | * hpread.c (DNTT_TYPE_VECTOR): Rename from TYPE_VECTOR. | |
3422 | (DNTT_TYPE_VECTOR_LENGTH): Rename from TYPE_VECTOR_LENGTH. | |
3423 | (hpread_symfile_init, hpread_lookup_type): Substitute throughout. | |
3424 | ||
11ed25ac KB |
3425 | 2002-04-29 Kevin Buettner <kevinb@redhat.com> |
3426 | ||
3427 | From Louis Hamilton <hamilton@redhat.com>: | |
3428 | * rs6000-tdep.c (coff/xcoff.h, libxcoff.h): Include. | |
3429 | * xcoffread.c (coff/xcoff.h, libxcoff.h): Likewise. | |
3430 | * rs6000-tdep.c (rs6000_gdbarch_init): Use bfd_xcoff_is_xcoff64(), | |
3431 | not bfd-private xcoff data, to determine wordsize. | |
3432 | * xcoffread.c (read_xcoff_xymtab, read_symbol_lineno): Likewise. | |
3433 | ||
ae232405 AC |
3434 | 2002-04-29 Andrew Cagney <ac131313@redhat.com> |
3435 | ||
3436 | GDB 5.2 released from 5.2 branch. | |
3437 | ||
91fd20f7 ML |
3438 | 2002-04-29 Michal Ludvig <mludvig@suse.cz> |
3439 | ||
3440 | * x86-64-linux-nat.c (fill_gregset): Explicit cast to avoid warning. | |
3441 | * x86-64-tdep.c (i386_gdbarch_init): Ditto. | |
3442 | (x86_64_register_info_table): Added comments with register numbers. | |
361d1df0 | 3443 | |
2dc5091b EZ |
3444 | 2002-04-29 Elena Zannoni <ezannoni@redhat.com> |
3445 | ||
3446 | * rs6000-tdep.c (rs6000_extract_return_value, | |
3447 | rs6000_store_return_value): Handle returning vectors. | |
3448 | (rs6000_gdbarch_init): Use | |
3449 | ppc_sysv_abi_broken_use_struct_convention for native sysv cases. | |
3450 | * ppc-linux-tdep.c (ppc_sysv_abi_broken_use_struct_convention): | |
3451 | New function. | |
3452 | (ppc_sysv_abi_use_struct_convention): Deal with functions returning | |
3453 | vectors. | |
3454 | (ppc_sysv_abi_push_arguments): Handle vector parameters. | |
3455 | * ppc-tdep.h (ppc_sysv_abi_broken_use_struct_convention): Export. | |
361d1df0 | 3456 | |
2b9848d8 PM |
3457 | 2002-04-24 Pierre Muller <ics.u-strasbg.fr> |
3458 | ||
3459 | * hpread.c (hpread_psymtab_to_symtab_1, | |
3460 | hpread_psymtab_to_symtab): Replace fprintf (stderr,...) | |
3461 | with fprintf_unfiltered (gdb_stderr,...). | |
3462 | ||
f8d17dc5 PM |
3463 | 2002-04-24 Pierre Muller <ics.u-strasbg.fr> |
3464 | ||
3465 | * remote-array.c (printf_monitor, write_monitor, | |
361d1df0 | 3466 | array_insert_breakpoint, array_remove_breakpoint ): |
f8d17dc5 PM |
3467 | Replace fprintf (stderr,... |
3468 | with fprintf_unfiltered (gdb_stderr,.... | |
3469 | * remote-es.c: Likewise. | |
3470 | * remote-os9k.c: Likewise. | |
3471 | * remote-st.c: Likewise. | |
3472 | ||
2f2f1ad1 AS |
3473 | 2002-04-28 Andreas Schwab <schwab@suse.de> |
3474 | ||
3475 | * config/s390/s390.mh (NATDEPFILES): Remove solib.o, add | |
3476 | linux-proc.o and gcore.o. | |
3477 | ||
b6779aa2 AC |
3478 | 2002-04-26 Michal Ludvig <mludvig@suse.cz> |
3479 | ||
3480 | * x86-64-tdep.c (x86_64_skip_prologue): Print note when debugging | |
3481 | code without frame pointers. | |
3482 | ||
7e57f5f4 AC |
3483 | 2002-04-26 Andrew Cagney <ac131313@redhat.com> |
3484 | ||
3485 | * sparc-tdep.c (sparc_gdbarch_init): Add comment explaining why | |
3486 | ON_STACK is needed. | |
3487 | ||
2ceb85d0 BE |
3488 | 2002-04-26 Ben Elliston <bje@redhat.com> |
3489 | ||
3490 | * target.c (do_xfer_memory): Correct reference to the new option | |
3491 | "trust-readonly-sections". | |
3492 | ||
f5f8a009 EZ |
3493 | 2002-04-26 Elena Zannoni <ezannoni@redhat.com> |
3494 | ||
3495 | * gdbtypes.h (TYPE_FLAG_VECTOR, TYPE_VECTOR): Define. | |
3496 | * gdbtypes.c (recursive_dump_type): Output the vector flag. | |
3497 | * dwarf2read.c (dwarf_attr_name): Handle new attribute for | |
3498 | vectors. | |
3499 | (read_array_type): Record the fact that this array type is really a | |
3500 | vector (i.e. are passed in by value). | |
3501 | ||
5868c862 JT |
3502 | 2002-04-26 Jason Thorpe <thorpej@wasabisystems.com> |
3503 | ||
3504 | * alpha-tdep.h (gdbarch_tdep): Add sigcontext_addr member. | |
3505 | * alpha-tdep.c (alpha_sigcontext_addr): New function. | |
3506 | (alpha_find_saved_regs): Use alpha_sigcontext_addr. | |
3507 | (alpha_gdbarch_init): Initialize tdep->sigcontext_addr. | |
3508 | * alpha-linux-tdep.c: Include frame.h. | |
3509 | (alpha_linux_sigcontext_addr): New function. | |
3510 | (alpha_linux_init_abi): Set tdep->sigcontext_addr to | |
3511 | alpha_linux_sigcontext_addr. | |
3512 | * alpha-osf1-tdep.c: Include gdbcore.h. | |
3513 | (alpha_osf1_sigcontext_addr): New function. | |
3514 | (alpha_osf1_init_abi): Set tdep->sigcontext_addr to | |
3515 | alpha_osf1_sigcontext_addr. | |
3516 | * config/alpha/tm-alpha.h (SIGCONTEXT_ADDR): Remove. | |
3517 | * config/alpha/tm-alphalinux.h (SIGCONTEXT_ADDR): Remove. | |
3518 | ||
bfb01f37 AC |
3519 | 2002-04-26 Andrew Cagney <ac131313@redhat.com> |
3520 | ||
361d1df0 | 3521 | * stack.c (selected_frame_level): |
bfb01f37 AC |
3522 | (select_frame): Do not set selected_frame_level. |
3523 | * frame.h (selected_frame_level): Delete declaration. | |
3524 | ||
15813d3f AC |
3525 | 2002-04-26 Andrew Cagney <ac131313@redhat.com> |
3526 | ||
3527 | * rs6000-tdep.c (rs6000_gdbarch_init): Only set | |
3528 | convert_from_func_ptr-addr when AIX / PowerOpen. | |
3529 | ||
6096c27a AC |
3530 | 2002-04-25 Andrew Cagney <ac131313@redhat.com> |
3531 | ||
3532 | * valops.c (hand_function_call): Call | |
3533 | generic_save_call_dummy_addr. | |
3534 | * frame.h (generic_save_call_dummy_addr): Declare. | |
3535 | * blockframe.c (struct dummy_frame): Add fields call_lo and | |
3536 | call_hi. | |
3537 | (generic_find_dummy_frame): Check for PC in range call_lo to | |
3538 | call_hi instead of entry_point_address. | |
3539 | (generic_pc_in_call_dummy): Search the dummy frames for a PC in | |
3540 | the call_lo to call_hi range. Allow for DECR_PC_AFTER_BREAK. | |
3541 | (generic_save_call_dummy_addr): New function. | |
3542 | ||
f510d44e DM |
3543 | 2002-04-24 David S. Miller <davem@redhat.com> |
3544 | ||
3545 | * sparc-tdep.c (sparc_gdbarch_skip_prologue): Kill, duplicates | |
3546 | sparc_skip_prologue. | |
3547 | (sparc_skip_prologue): Kill frameless_p arg, and use line number | |
3548 | information to find prologue when possible. | |
3549 | (sparc_prologue_frameless_p): Call examine_prologue directly. | |
3550 | (sparc_gdbarch_init): Update set_gdbarch_skip_prologue call. | |
3551 | * config/sparc/tm-sparc.h (sparc_skip_prologue): Update for killed | |
3552 | second argument. | |
3553 | (SKIP_PROLOGUE): Likewise. | |
3554 | ||
15d72a92 JT |
3555 | 2002-04-25 Jason Thorpe <thorpej@wasabisystems.com> |
3556 | ||
3557 | * alpha-tdep.c (alpha_skip_prologue_internal): Remove | |
3558 | GDB_TARGET_HAS_SHARED_LIBS #ifdef and update comment to | |
3559 | indicate that the condition it was testing is always true. | |
3560 | * config/alpha/nm-linux.h (GDB_TARGET_HAS_SHARED_LIBS): Remove. | |
3561 | * config/alpha/nm-nbsd.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto. | |
3562 | * config/alpha/nm-osf.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto. | |
3563 | ||
accc6d1f JT |
3564 | 2002-04-25 Jason Thorpe <thorpej@wasabisystems.com> |
3565 | ||
3566 | * alpha-tdep.h (gdbarch_tdep): Add jb_pc and jb_elt_size members. | |
3567 | * alpha-linux-tdep.c (alpha_linux_init_abi): Initialize | |
3568 | tdep->jb_pc and tdep->jb_elt_size. | |
3569 | * alpha-osf1-tdep.c (alpha_osf1_init_abi): Likewise. | |
3570 | * alphafbsd-tdep.c (alphafbsd_init_abi): Likewise. | |
3571 | * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise. | |
3572 | * alpha-nat.c (get_longjmp_target): Remove. | |
3573 | (JB_ELEMENT_SIZE): Ditto. | |
3574 | (JB_PC): Ditto. | |
3575 | * alpha-tdep.c (alpha_get_longjmp_target): New function. | |
3576 | (alpha_gdbarch_init): Default tdep->jb_pc to -1. If the | |
3577 | OS ABI sets jb_pc to a valid value, set gdbarch_get_longjmp_target | |
3578 | to alpha_get_longjmp_target. | |
3579 | (alpha_dump_tdep): Report tdep->jb_pc and tdep->jb_elt_size. | |
3580 | * config/alpha/nm-linux.h (GET_LONGJMP_TARGET): Remove. | |
3581 | * config/alpha/nm-osf.h (GET_LONGJMP_TARGET): Remove. | |
3582 | ||
1bfdc549 AC |
3583 | 2002-04-25 Andrew Cagney <ac131313@redhat.com> |
3584 | ||
3585 | * README: Update to GDB 5.2. | |
3586 | ||
1bd316f0 AC |
3587 | 2002-04-25 Andrew Cagney <ac131313@redhat.com> |
3588 | ||
3589 | * gdbarch.sh (LC_ALL): Set to `c'. | |
3590 | ||
2e5ff58c TR |
3591 | 2002-04-25 Theodore A. Roth <troth@verinet.com> |
3592 | ||
3593 | * avr-tdep.c: Ran through gdb_indent.sh. | |
3594 | ||
e33ce519 TR |
3595 | 2002-04-25 Theodore A. Roth <troth@verinet.com> |
3596 | ||
3597 | * MAINTAINERS: Add myself as AVR maintainer. | |
3598 | * NEWS: Note new target avr. | |
3599 | ||
8818c391 TR |
3600 | 2002-04-25 Theodore A. Roth <troth@verinet.com> |
3601 | ||
3602 | * Makefile.in: Add support for AVR target. | |
3603 | * configure.tgt: Add support for AVR target. | |
3604 | * avr-tdep.c: New file | |
3605 | * config/avr/avr.mt: New file. | |
3606 | ||
79509c2d TR |
3607 | 2002-04-25 Theodore A. Roth <troth@verinet.com> |
3608 | ||
3609 | * MAINTAINERS: Add myself to write-after-approval. | |
3610 | ||
dac8068e PM |
3611 | 2002-04-24 Pierre Muller <ics.u-strasbg.fr> |
3612 | ||
3613 | * f-lang.c (get_bf_for_fcn): Replace fprintf (stderr,... | |
3614 | with fprintf_unfiltered (gdb_stderr,.... | |
3615 | ||
25bf3106 PM |
3616 | 2002-04-25 Pierre Muller <muller@ics.u-strasbg.fr> |
3617 | ||
3618 | Fix PR gdb/508. | |
3619 | * symfile.c (add_filename_language): Fix wrong xrealloc size argument. | |
3620 | ||
24467a86 PM |
3621 | 2002-04-25 Pierre Muller <muller@ics.u-strasbg.fr> |
3622 | ||
3623 | * p-exp.y: Also use new prev_lexptr variable | |
3624 | to improve error reporting. Based on Michael Snyder | |
3625 | 2002-04-24 dated patch to c-exp.y. | |
3626 | ||
95b80706 JT |
3627 | 2002-04-25 Jason Thorpe <thorpej@wasabisystems.com> |
3628 | ||
3629 | * alpha-tdep.c (alpha_breakpoint_from_pc): New function. | |
3630 | (alpha_gdbarch_init): Set gdbarch_breakpoint_from_pc to | |
3631 | alpha_breakpoint_from_pc. Set gdbarch_function_start_offset | |
3632 | to 0. | |
3633 | * config/alpha/tm-alpha.h: Remove forward decls of struct type | |
3634 | and struct value. | |
3635 | (FUNCTION_START_OFFSET): Remove. | |
3636 | (BREAKPOINT): Ditto. | |
3637 | ||
e90cc612 JT |
3638 | 2002-04-25 Jason Thorpe <thorpej@wasabisystems.com> |
3639 | ||
3640 | * MAINTAINERS: Reflect that multi-arch is enabled for VAX. | |
3641 | * NEWS: Ditto. | |
3642 | ||
6c72f9f9 JT |
3643 | 2002-04-24 Jason Thorpe <thorpej@wasabisystems.com> |
3644 | ||
3645 | * alpha-linux-tdep.c (alpha_linux_pc_in_sigtramp): New function. | |
3646 | (alpha_linux_init_abi): Set gdbarch_pc_in_sigtramp to | |
3647 | alpha_linux_pc_in_sigtramp. | |
3648 | * alpha-osf1-tdep.c (alpha_osf1_pc_in_sigtramp): New function. | |
3649 | (alpha_osf1_init_abi): Set gdbarch_pc_in_sigtramp to | |
3650 | alpha_osf1_pc_in_sigtramp. | |
3651 | * alpha-tdep.c (alpha_osf_in_sigtramp): Remove. | |
3652 | * alphafbsd-tdep.c (alphafbsd_pc_in_sigtramp): New function. | |
3653 | (alphafbsd_init_abi): Set gdbarch_pc_in_sigtramp to | |
3654 | alphafbsd_pc_in_sigtramp. | |
3655 | * alphanbsd-tdep.c (alphanbsd_pc_in_sigtramp): New function. | |
3656 | (alphanbsd_init_abi): Set gdbarch_pc_in_sigtramp to | |
3657 | alphanbsd_pc_in_sigtramp. | |
3658 | * config/alpha/tm-alpha.h (IN_SIGTRAMP): Remove. | |
3659 | * config/alpha/tm-alphalinux.h (IN_SIGTRAMP): Remove. | |
3660 | ||
5e4f3379 JT |
3661 | 2002-04-24 Jason Thorpe <thorpej@wasabisystems.com> |
3662 | ||
3663 | * config/alpha/nbsd.mh (NATDEPFILES): Remove solib-legacy.o. | |
3664 | ||
da8ca43d JT |
3665 | 2002-04-24 Jason Thorpe <thorpej@wasabisystems.com> |
3666 | ||
3667 | * Makefile.in (ALLDEPFILES): Add alphanbsd-nat.c and | |
3668 | alphanbsd-tdep.c. | |
3669 | (alphanbsd-nat.o): New dependency list. | |
3670 | (alphanbsd-tdep.o): Ditto. | |
3671 | * NEWS: Note new native NetBSD/alpha configuration. | |
3672 | * alphanbsd-nat.c: New file. | |
3673 | * alphanbsd-tdep.c: Ditto. | |
3674 | * configure.host (alpha*-*-netbsd*): New host. | |
3675 | * configure.tgt (alpha*-*-netbsd*): New target. | |
3676 | * config/alpha/nbsd.mh: New file. | |
3677 | * config/alpha/nbsd.mt: Ditto. | |
3678 | * config/alpha/nm-nbsd.h: Ditto. | |
3679 | * config/alpha/tm-nbsd.h: Ditto. | |
3680 | ||
36a6271d JT |
3681 | 2002-04-24 Jason Thorpe <thorpej@wasabisystems.com> |
3682 | ||
3683 | * Makefile.in (ALLDEPFILES): Add alpha-osf1-tdep.c. | |
3684 | (alpha-osf1-tdep.o): New dependency list. | |
3685 | * alpha-tdep.h (gdbarch_tdep): Add dynamic_sigtramp_offset | |
3686 | and skip_sigtramp_frame members. | |
3687 | * alpha-linux-tdep.c: Include gdbcore.h. | |
3688 | (alpha_linux_sigtramp_offset): Change return type to LONGEST. | |
3689 | (alpha_linux_init_abi): Initialize tdep->dynamic_sigtramp_offset. | |
3690 | * alpha-osf1-tdep.c: New file. | |
3691 | * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Moved to | |
3692 | alpha-osf1-dep.c. | |
3693 | (alpha_frame_past_sigtramp_frame): New function. | |
3694 | (alpha_dynamic_sigtramp_offset): Ditto. | |
3695 | (alpha_proc_desc_is_dyn_sigtramp): Ditto. | |
3696 | (alpha_set_proc_desc_is_dyn_sigtramp): Ditto. | |
3697 | (ALPHA_PROC_SIGTRAMP_MAGIC): Define. | |
3698 | (push_sigtramp_desc): Use alpha_set_proc_desc_is_dyn_sigtramp. | |
3699 | (after_prologue): Use alpha_proc_desc_is_dyn_sigtramp. | |
3700 | (find_proc_desc): Use alpha_dynamic_sigtramp_offset. | |
3701 | (alpha_frame_chain): Use alpha_frame_past_sigtramp_frame. | |
3702 | (alpha_init_extra_frame_info): Use alpha_proc_desc_is_dyn_sigtramp. | |
3703 | (alpha_pop_frame): Use alpha_proc_desc_is_dyn_sigtramp. | |
3704 | (alpha_gdbarch_init): Initialize tdep->dynamic_sigtramp_offset | |
3705 | and tdep->skip_sigtramp_frame. Set gdbarch_skip_trampoline_code | |
3706 | to find_solib_trampoline_target. | |
3707 | * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-osf1-tdep.o. | |
3708 | * config/alpha/tm-alpha.h: Remove inclusion of regcache.h. | |
3709 | (SKIP_TRAMPOLINE_CODE): Remove. | |
3710 | (PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
3711 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
3712 | (DYNAMIC_SIGTRAMP_OFFSET): Ditto. | |
3713 | (FRAME_PAST_SIGTRAMP_FRAME): Ditto. | |
3714 | * config/alpha/tm-alphalinux.h (PROC_DESC_IS_DYN_SIGTRAMP): Remove. | |
3715 | (PROC_SIGTRAMP_MAGIC): Ditto. | |
3716 | (PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
3717 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
3718 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
3719 | (DYNAMIC_SIGTRAMP_OFFSET): Ditto. | |
3720 | (FRAME_PAST_SIGTRAMP_FRAME): Ditto. | |
3721 | ||
2f4bc57b JT |
3722 | 2002-04-24 Jason Thorpe <thorpej@wasabisystems.com> |
3723 | ||
3724 | * NEWS: Note that Alpha targets are now multi-arch. | |
3725 | ||
665132f9 MS |
3726 | 2002-04-24 Michael Snyder <msnyder@redhat.com> |
3727 | ||
3728 | * parser-defs.h (prev_lexptr): New external variable. | |
3729 | * parse.c (parse_exp_1): Set prev_lexptr to null before | |
3730 | calling the language-specific parser. | |
3731 | * c-exp.y (yylex): Set prev_lexptr to start of current token. | |
3732 | (yyerror): Use prev_lexptr in error reporting. | |
3733 | ||
32872fa7 DJ |
3734 | 2002-04-24 Daniel Jacobowitz <drow@mvista.com> |
3735 | ||
3736 | * config/i386/tm-linux.h: Define FILL_FPXREGSET. | |
3737 | * gregset.h: If FILL_FPXREGSET is defined, provide | |
3738 | gdb_fpxregset_t, supply_fpxregset, and fill_fpxregset. | |
3739 | * linux-proc.c (linux_do_thread_registers): If FILL_FPXREGSET | |
3740 | is defined, call fill_fpxregset. | |
3741 | ||
57e76fac MS |
3742 | 2002-04-24 Roland McGrath <roland@frob.com> |
3743 | ||
3744 | * config/i386/i386gnu.mh (NATDEPFILES): Add core-regset.o here. | |
3745 | * i386gnu-nat.c [HAVE_SYS_PROCFS_H] | |
3746 | (supply_gregset, supply_fpregset): New functions. | |
3747 | ||
3748 | * gnu-nat.c (gnu_find_memory_regions): New function. | |
3749 | (init_gnu_ops): Set `to_find_memory_regions' hook to that. | |
3750 | (gnu_xfer_memory): Add a cast. | |
3751 | ||
f43845b3 MS |
3752 | 2002-04-24 Michael Snyder <msnyder@redhat.com> |
3753 | ||
361d1df0 | 3754 | * arm-tdep.c (arm_scan_prologue): Move "mov ip, sp" into the |
f43845b3 MS |
3755 | loop. Add handling for "str lr, [sp, #-4]!" and for saves |
3756 | of argument regs ("str r(0123), [r11, #-nn"]). | |
361d1df0 | 3757 | (arm_skip_prologue): Better handling for frameless functions. |
f43845b3 MS |
3758 | Treat "mov ip, sp" as optional. Recognize "str lr, [sp, #-4]". |
3759 | (arm_skip_prologue): Recognize str r(0123), [r11, #-nn]. | |
3760 | ||
a0abec03 AC |
3761 | Wed Apr 24 14:22:21 2002 Andrew Cagney <cagney@redhat.com> |
3762 | ||
3763 | * arm-tdep.c (arm_gdbarch_init): Add comment that NUM_REGS nor | |
3764 | NUM_PSEUDO_REGS can be used. | |
3765 | ||
d7bd68ca AC |
3766 | 2002-04-24 Andrew Cagney <ac131313@redhat.com> |
3767 | ||
3768 | * arch-utils.h: Update copyright. | |
3769 | ||
3770 | * gdbarch.sh (PC_IN_SIGTRAMP): Add. | |
3771 | * gdbarch.h, gdbarch.c: Re-generate. | |
3772 | ||
3773 | * inferior.h (IN_SIGTRAMP): Delete definition. | |
3774 | * arch-utils.c (legacy_pc_in_sigtramp): New function. | |
3775 | * arch-utils.h (legacy_pc_in_sigtramp): Declare. | |
3776 | ||
3777 | * mips-tdep.c (mips_init_extra_frame_info): Use PC_IN_SIGTRAMP. | |
3778 | (mips_dump_tdep): Do not print value of IN_SIGTRAMP. | |
3779 | * hppa-tdep.c (pc_in_interrupt_handler): Use PC_IN_SIGTRAMP. | |
3780 | (find_proc_framesize): Ditto. | |
3781 | * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Ditto. | |
3782 | (alpha_init_extra_frame_info): Ditto. | |
3783 | * infrun.c (handle_inferior_event): Ditto. | |
3784 | (handle_inferior_event): Ditto. | |
3785 | (check_sigtramp2): Ditto. | |
3786 | * blockframe.c (create_new_frame): Ditto. | |
3787 | (get_prev_frame): Ditto. | |
3788 | * ppc-linux-tdep.c: Update comments. | |
3789 | * i386-linux-tdep.c: Update comments. | |
3790 | * breakpoint.c (bpstat_what): Update comment. | |
3791 | ||
d06f167a ML |
3792 | 2002-04-24 Michal Ludvig <mludvig@suse.cz> |
3793 | ||
3794 | * gdbserver/linux-low.c (regsets_fetch_inferior_registers), | |
361d1df0 | 3795 | (regsets_store_inferior_registers): Removed cast to int from |
d06f167a ML |
3796 | ptrace() calls. |
3797 | * gdbserver/regcache.h: Added declaration of struct inferior_info. | |
3798 | ||
4867e41e DM |
3799 | 2002-04-24 David S. Miller <davem@redhat.com> |
3800 | ||
21d83aa5 DM |
3801 | * i960-tdep.c (register_in_window_p): New function. |
3802 | (i960_find_saved_register): Use it instead of | |
3803 | REGISTER_IN_WINDOW_P. | |
3804 | * config/i960/tm-i960.h (REGISTER_IN_WINDOW): Delete. | |
3805 | ||
4867e41e DM |
3806 | * symtab.h (find_stab_function_addr): Kill extern. |
3807 | * minsyms.c (find_stab_function_addr): Remove from here... | |
3808 | * dbxread.c: ... to here, and mark it static. | |
3809 | ||
69cdf6a2 DM |
3810 | 2002-04-20 David S. Miller <davem@redhat.com> |
3811 | ||
3812 | * sparc-tdep.c (sparc_pop_frame): Only need to allocate | |
3813 | SPARC_INTREG_SIZE * 16 bytes for reg_temp. | |
3814 | ||
5a595886 DM |
3815 | 2002-04-21 David S. Miller <davem@redhat.com> |
3816 | ||
3817 | * remote-vxsparc.c (vx_read_register): Fix typo, we want | |
3818 | REGISTER_RAW_SIZE of SP_REGNUM not CORE_ADDR. | |
3819 | (vx_write_register): Likewise. | |
3820 | ||
1da1a192 JB |
3821 | 2002-04-23 J. Brobecker <brobecker@gnat.com> |
3822 | ||
3823 | * source.c (is_regular_file): New function. | |
3824 | (openp): Check wether file to open is a regular file | |
3825 | to avoid opening directories. | |
3826 | ||
baa6f10b JT |
3827 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
3828 | ||
3829 | * findvar.c (extract_signed_integer): Cast printf argument | |
3830 | to suppress format warning. | |
3831 | (extract_unsigned_integer): Likewise. | |
3832 | * infcmd.c (registers_info): Likewise. | |
3833 | * top.c (get_prompt_1): Likewise. | |
3834 | * valops.c (value_assign): Likewise. | |
3835 | * valprint.c (print_decimal): Likewise. | |
3836 | ||
b2c4da81 L |
3837 | 2002-04-22 H.J. Lu (hjl@gnu.org) |
3838 | ||
3839 | * c-exp.y (typebase): Support | |
361d1df0 | 3840 | |
b2c4da81 L |
3841 | [long|long long|short] [signed|unsigned] [int|] |
3842 | ||
3843 | and | |
3844 | ||
3845 | signed [long|long long|short] int | |
3846 | ||
f267bd6a JT |
3847 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
3848 | ||
3849 | * Makefile.in (vax-tdep.o): Add $(arch_utils_h), $(inferior_h), | |
3850 | and vax-tdep.h. | |
3851 | * vax-tdep.h: New file. | |
3852 | * vax-tdep.c: Include inferior.h, arch-utils.h, and vax-tdep.h. | |
3853 | Make several routines static. | |
3854 | (vax_get_saved_register): New function. | |
3855 | (vax_gdbarch_init): New function. | |
3856 | (_initialize_vax_tdep): Register vax_gdbarch_init. | |
3857 | * config/vax/tm-vax.h: Set GDB_MULTI_ARCH to GDB_MULTI_ARCH_PARTIAL. | |
3858 | Remove macros now under the control of gdbarch. | |
3859 | ||
da3c6d4a MS |
3860 | 2002-04-22 Michael Snyder <msnyder@redhat.com> |
3861 | ||
11d3b27d MS |
3862 | * arm-tdep.c (arm_skip_prologue): Recognize "sub sp, sp, #nn". |
3863 | Some whitespace and coding standards tweaks. | |
da3c6d4a | 3864 | |
a33f7558 JT |
3865 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
3866 | ||
3867 | * vax-tdep.c: Include regcache.h. | |
3868 | (vax_call_dummy_words): New. | |
3869 | (sizeof_vax_call_dummy_words): New. | |
3870 | (vax_fix_call_dummy): New function. | |
3871 | (vax_saved_pc_after_call): Ditto. | |
3872 | * config/vax/tm-vax.h: Don't include regcache.h. | |
3873 | (SAVED_PC_AFTER_CALL): Use vax_saved_pc_after_call. | |
3874 | (CALL_DUMMY): Remove. | |
3875 | (CALL_DUMMY_WORDS): Define. | |
3876 | (SIZEOF_CALL_DUMMY_WORDS): Define. | |
3877 | (FIX_CALL_DUMMY): Use vax_fix_call_dummy. | |
3878 | ||
47a73475 MS |
3879 | 2002-04-18 Michael Snyder <msnyder@redhat.com> |
3880 | ||
3881 | * arm-tdep.h: Change regnum defines to enums for ease of debugging. | |
3882 | ||
52efde73 JT |
3883 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
3884 | ||
3885 | * vax-tdep.c (vax_frame_chain): New function. | |
3886 | (vax_push_dummy_frame): Ditto. | |
3887 | (vax_pop_frame): Ditto. | |
3888 | * config/vax/tm-vax.h (FRAME_CHAIN): vax_frame_chain. | |
3889 | (FRAMELESS_FUNCTION_INVOCATION): Use | |
3890 | generic_frameless_function_invocation_not. | |
3891 | (PUSH_DUMMY_FRAME): Use vax_push_dummy_frame. | |
3892 | (POP_FRAME): Use vax_pop_frame. | |
3893 | ||
ea74468c JT |
3894 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
3895 | ||
3896 | * vax-tdep.c (vax_store_struct_return): New function. | |
3897 | (vax_extract_return_value): Ditto. | |
3898 | (vax_store_return_value): Ditto. | |
3899 | (vax_extract_struct_value_address): Ditto. | |
3900 | * config/vax/tm-vax.h (STORE_STRUCT_RETURN): Use | |
3901 | vax_store_struct_return. | |
3902 | (EXTRACT_RETURN_VALUE): Use vax_extract_return_value. | |
3903 | (STORE_RETURN_VALUE): Use vax_store_return_value. | |
3904 | (EXTRACT_STRUCT_VALUE_ADDRESS): Use vax_extract_struct_value_address. | |
3905 | ||
5516aa92 JT |
3906 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
3907 | ||
3908 | * vax-tdep.c (vax_frame_saved_pc): New function. | |
3909 | (vax_frame_args_address_correct): Ditto. | |
3910 | (vax_frame_args_address): Ditto. | |
3911 | (vax_frame_locals_address): Ditto. | |
3912 | (vax_frame_num_args): Move code to be in proximity to | |
3913 | other frame-related functions. | |
3914 | * config/vax/tm-vax.h (INNER_THAN): Use core_addr_lessthan. | |
3915 | (FRAME_SAVED_PC): Use vax_frame_saved_pc. | |
3916 | (FRAME_ARGS_ADDRESS_CORRECT): Use vax_frame_args_address_correct. | |
3917 | (FRAME_ARGS_ADDRESS): Use vax_frame_args_address. | |
3918 | (FRAME_LOCALS_ADDRESS): Use vax_frame_locals_address. | |
3919 | ||
36af0b35 L |
3920 | 2002-04-22 H.J. Lu (hjl@gnu.org) |
3921 | ||
3922 | * Makefile.in (FLAGS_TO_PASS): Add libdir, mandir, datadir and | |
3923 | includedir. | |
3924 | ||
ab62c900 JT |
3925 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
3926 | ||
3927 | * vax-tdep.c (vax_frame_init_saved_regs): New function. | |
3928 | * config/vax/tm-vax.h (FRAME_FIND_SAVED_REGS): Remove. | |
3929 | (FRAME_INIT_SAVED_REGS): New macro. | |
3930 | ||
7232b100 JT |
3931 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
3932 | ||
3933 | * MAINTAINERS: Reflect that the Alpha target has been multi-arch'd. | |
3934 | ||
b70d2aee JT |
3935 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
3936 | ||
3937 | * alpha-nat.c (get_longjmp_target): Use ALPHA_* constants | |
3938 | where needed. | |
3939 | (fetch_osf_core_registers): Likewise. | |
3940 | (supply_gregset): Likewise. | |
3941 | ||
a0e8a2d1 | 3942 | 2002-04-22 J. Brobecker <brobecker@gnat.com> |
361d1df0 | 3943 | |
a0e8a2d1 JB |
3944 | * symfile.h (get_section_index): Define. |
3945 | * symfile.c (get_section_index): New function. | |
3946 | * mdebugread.c (SC_IS_SBSS): New macro. | |
3947 | (SC_IS_BSS): Return true for the scBss storage class only, as | |
3948 | the scSBss storage class refers to the .sbss section. | |
3949 | (parse_partial_symbols): Discard the symbols which associated | |
3950 | section does not exist. | |
3951 | Make sure to use the .sbss section index for symbols which | |
3952 | storage class is scBss, rather than using the .bss section index. | |
3953 | ||
51eb8b08 JT |
3954 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
3955 | ||
3956 | * vax-tdep.c: Update copyright years. | |
3957 | (vax_register_name): New function. | |
3958 | (vax_register_byte): Ditto. | |
3959 | (vax_register_raw_size): Ditto. | |
3960 | (vax_register_virtual_size): Ditto. | |
3961 | (vax_register_virtual_type): Ditto. | |
3962 | * config/vax/tm-vax.h: Update copyright years. | |
3963 | (REGISTER_NAMES): Remove. | |
3964 | (REGISTER_NAME): Define. | |
3965 | (REGISTER_BYTE): Use vax_register_byte. | |
3966 | (REGISTER_RAW_SIZE): Use vax_register_raw_size. | |
3967 | (REGISTER_VIRTUAL_SIZE): Use vax_register_virtual_size. | |
3968 | (REGISTER_VIRTUAL_TYPE): Use vax_register_virtual_type. | |
3969 | ||
6cc1c0a8 AC |
3970 | 2002-04-21 Andrew Cagney <ac131313@redhat.com> |
3971 | ||
3972 | * config/sparc/tm-sparc.h (sparc_skip_prologue): Restore | |
3973 | declaration | |
3974 | * arc-tdep.c (arc_prologue_frameless_p): Fix syntax error. | |
3975 | ||
9319a2fe DM |
3976 | 2002-04-21 David S. Miller <davem@redhat.com> |
3977 | ||
3978 | * arch-utils.c (generic_prologue_frameless_p): Kill | |
3979 | SKIP_PROLOGUE_FRAMELESS_P code. | |
3980 | * config/arc/tm-arc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete | |
3981 | references. | |
3982 | (PROLOGUE_FRAMELESS_P, arc_prologue_frameless_p): New. | |
3983 | * arc-tdep.c (arc_prologue_frameless_p): Implement. | |
3984 | * config/arc/tm-sparc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete | |
3985 | references. | |
3986 | (PROLOGUE_FRAMELESS_P, sparc_prologue_frameless_p): New. | |
3987 | * sparc-tdep.c (sparc_prologue_frameless_p): Implement. | |
3988 | (sparc_gdbarch_init): Pass it to | |
3989 | set_gdbarch_prologue_frameless_p. | |
a0e8a2d1 | 3990 | |
e9ed6d01 JT |
3991 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
3992 | ||
3993 | * Makefile.in (ALLDEPFILES): Add alphabsd-nat.c. | |
3994 | (alphabsd-nat.o): New dependency list. | |
3995 | ||
36012033 JT |
3996 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
3997 | ||
3998 | * Makefile.in (ALLDEPFILES): Add alpha-linux-tdep.c and | |
3999 | alphafbsd-tdep.c. | |
4000 | (alpha-linux-tdep.o): New dependency list. | |
4001 | (alphafbsd-tdep.o): Likewise. | |
4002 | ||
3379287a JT |
4003 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
4004 | ||
4005 | * alpha-linux-tdep.c: New file. Move alpha_linux_sigtramp_offset | |
4006 | to here... | |
4007 | * alpha-tdep.c: ...from here. | |
4008 | * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-linux-tdep.o. | |
4009 | ||
4bcbd6cb JT |
4010 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
4011 | ||
4012 | * config/alpha/tm-alpha.h: Move alpha_software_single_step | |
4013 | prototype from here... | |
4014 | * alpha-tdep.h: ...to here. | |
4015 | ||
b31da25e AC |
4016 | 2002-04-21 Andrew Cagney <ac131313@redhat.com> |
4017 | ||
4018 | * frame.h (selected_frame_level): Document as deprecated. | |
4019 | (frame_relative_level): Declare. | |
4020 | * stack.c (frame_relative_level): New function. | |
4021 | (selected_frame_level): Document as deprecated. | |
4022 | (select_frame): Do not set the selected_frame_level. | |
4023 | ||
4024 | * stack.c (frame_info, record_selected_frame): Update. | |
4025 | (frame_command, current_frame_command): Update. | |
4026 | (up_silently_base, up_command, down_silently_base): Update. | |
4027 | (down_command): Update. | |
4028 | * inflow.c (kill_command): Update. | |
4029 | * tracepoint.c (finish_tfind_command): Update. | |
4030 | * corelow.c (core_open): Update. | |
4031 | * thread.c (info_threads_command): Update. | |
4032 | (do_captured_thread_select): Update. | |
4033 | * infcmd.c (finish_command): Update. | |
4034 | * breakpoint.c (insert_breakpoints, do_enable_breakpoint): Update. | |
4035 | ||
9c1d6fe5 JT |
4036 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
4037 | ||
4038 | * config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Remove. | |
4039 | ||
ab89facf AC |
4040 | 2002-04-21 Andrew Cagney <ac131313@redhat.com> |
4041 | ||
4042 | * arm-tdep.c (arm_breakpoint_from_pc): Make static. Make return | |
4043 | type const. | |
4044 | ||
82a4efa1 JT |
4045 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
4046 | ||
4047 | * alphafbsd-tdep.c: Update copyright years. Include | |
4048 | alpha-tdep.h. | |
4049 | (alphafbsd_use_struct_convention): Make static. | |
4050 | (alphafbsd_init_abi): New function. | |
4051 | (_initialize_alphafbsd_tdep): New function. | |
4052 | * config/alpha/tm-fbsd.h: Update copyright years. | |
4053 | (USE_STRUCT_CONVENTION): Remove. | |
4054 | ||
44dffaac JT |
4055 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
4056 | ||
4057 | * alpha-tdep.c (alpha_abi_handler): New structure to describe | |
4058 | an Alpha ABI variant. | |
4059 | (alpha_abi_handler_list): Declare. | |
4060 | (alpha_gdbarch_register_os_abi): New function. | |
4061 | (alpha_gdbarch_init): Give registered ABI variant handlers a | |
4062 | chance to tweak the gdbarch once we have set up defaults. | |
4063 | * alpha-tdep.h: Prototype alpha_gdbarch_register_os_abi. | |
4064 | ||
65585be4 JT |
4065 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
4066 | ||
4067 | * alpha-tdep.c (alpha_gdbarch_init): Set coerce_float_to_double | |
4068 | to standard_coerce_float_to_double. | |
4069 | * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
4070 | ||
d9b023cc JT |
4071 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
4072 | ||
4073 | * alpha-tdep.h (gdbarch_tdep): Add vm_min_address member. | |
4074 | * alpha-tdep.c (heuristic_proc_start): Use vm_min_address | |
4075 | from gdbarch_tdep rather than a constant. | |
4076 | (alpha_gdbarch_init): Initialize tdep->vm_min_address to | |
4077 | the default text address for all Alpha Unix ABIs. | |
4078 | (alpha_dump_tdep): Report the value of tdep->vm_min_address. | |
4079 | * config/alpha/tm-alpha.h (VM_MIN_ADDRESS): Delete. | |
4080 | ||
dc129d82 JT |
4081 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
4082 | ||
4083 | * alpha-tdep.h: New file. Includes several Alpha target constants | |
4084 | taken from... | |
4085 | * config/alpha/tm-alpha.h: ...here. Remove macros that we now | |
4086 | let gdbarch deal with. | |
4087 | (GDB_MULTI_ARCH): Define as GDB_MULTI_ARCH_PARTIAL. | |
4088 | * Makefile.in (alpha-nat.o): Add alpha-tdep.h and $(BFD_SRC)/elf-bfd | |
4089 | to dependency list. | |
4090 | * alpha-nat.c: Include alpha-tdep.h. Update for adjusted | |
4091 | Alpha target register names. | |
4092 | * alphabsd-nat.c: Likewise. | |
4093 | * alpha-tdep.c: Include alpha-tdep.h. Update for adjusted | |
4094 | Alpha target register names. Make serveral routines static. | |
4095 | (alpha_get_saved_register): New function. | |
4096 | (alpha_abi_names): New. | |
4097 | (process_note_abi_tag_sections): New function. | |
4098 | (get_elfosabi): New function. | |
4099 | (alpha_gdbarch_init): New function. | |
4100 | (alpha_dump_tdep): New function. | |
4101 | (_initialize_alpha_tdep): Register alpha_gdbarch_init. | |
4102 | ||
d49d1e0a AC |
4103 | 2002-04-21 Andrew Cagney <ac131313@redhat.com> |
4104 | ||
4105 | * frame.c (find_saved_register): Delete #ifdef | |
4106 | HAVE_REGISTER_WINDOWS code. | |
4107 | * config/sparc/tm-sparc.h: Update comments. | |
4108 | * config/i960/tm-i960.h (HAVE_REGISTER_WINDOWS): Delete macro. | |
4109 | ||
92e8c9ed AC |
4110 | 2002-04-21 Andrew Cagney <ac131313@redhat.com> |
4111 | ||
4112 | * i960-tdep.c (i960_find_saved_register): New function. | |
4113 | (i960_get_saved_register): New function. | |
4114 | * config/i960/tm-i960.h (GET_SAVED_REGISTER): Define. | |
4115 | (i960_get_saved_register): Declare. | |
4116 | * config/i960/tm-i960.h, i960-tdep.c: Update copyright. | |
4117 | ||
e1925118 DM |
4118 | 2002-04-20 David S. Miller <davem@redhat.com> |
4119 | ||
4120 | * sparc-nat.c (store-inferior_registers): Fix ambiguous else. | |
4121 | ||
29673b29 AC |
4122 | 2002-04-20 Andrew Cagney <ac131313@redhat.com> |
4123 | ||
4124 | * arm-tdep.c (arm_gdbarch_init): Use gdbarch_num_pseudo_regs | |
4125 | instead of NUM_PSEUDO_REGS. | |
4126 | ||
6c86dcd5 DM |
4127 | 2002-04-20 David S. Miller <davem@redhat.com> |
4128 | ||
4129 | * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Define to | |
4130 | GDB_MULTI_ARCH_PARTIAL | |
4131 | * config/sparc/tm-sp64linux.h (GDB_MULTI_ARCH): Do not | |
4132 | define, let tm-sp64.h do it. | |
4133 | ||
aa40ec90 JT |
4134 | 2002-04-20 Jason Thorpe <thorpej@wasabisystems.com> |
4135 | ||
4136 | * frame.c (find_saved_register): Avoid a NULL pointer | |
4137 | dereference and actually walk the frame list. | |
4138 | ||
0f79675b AC |
4139 | 2002-04-20 Andrew Cagney <ac131313@redhat.com> |
4140 | ||
4141 | * gdbarch.sh (gdbarch_update_p): Keep the list of architectures | |
4142 | sorted in most most-recent-used order. Document. | |
4143 | * gdbarch.h, gdbarch.c: Regenerate. | |
361d1df0 | 4144 | |
c04a1aa8 DJ |
4145 | 2002-04-20 Daniel Jacobowitz <drow@mvista.com> |
4146 | ||
4147 | * gdbserver/inferiors.c (struct inferior_info): Add regcache_data. | |
4148 | (add_inferior): Call create_register_cache. | |
4149 | (clear_inferiors): Call free_register_cache. | |
4150 | (inferior_regcache_data, set_inferior_regcache_data): New functions. | |
4151 | * gdbserver/regcache.c (struct inferior_regcache_data): New. | |
4152 | (registers): Remove. | |
4153 | (get_regcache): New function. | |
4154 | (create_register_cache, free_register_cache): New functions. | |
4155 | (set_register_cache): Don't initialize the register cache here. | |
4156 | (registers_to_string, registers_from_string, register_data): Call | |
4157 | get_regcache. | |
4158 | * gdbserver/regcache.h: Add prototypes. | |
4159 | * gdbserver/server.h: Likewise. | |
4160 | ||
611cb4a5 DJ |
4161 | 2002-04-20 Daniel Jacobowitz <drow@mvista.com> |
4162 | ||
4163 | * gdbserver/mem-break.c: New file. | |
4164 | * gdbserver/mem-break.h: New file. | |
4165 | * gdbserver/Makefile.in: Add mem-break.o rule; update server.h | |
4166 | dependencies. | |
4167 | * gdbserver/inferiors.c (struct inferior_info): Add target_data | |
4168 | member. | |
4169 | (clear_inferiors): Free target_data member if set. | |
4170 | (inferior_target_data, set_inferior_target_data): New functions. | |
4171 | * gdbserver/linux-i386-low.c (i386_breakpoint, i386_breakpoint_len) | |
4172 | (i386_stop_pc, i386_set_pc): New. Add to the_low_target. | |
4173 | * gdbserver/linux-low.c (linux_bp_reinsert): New variable. | |
4174 | (struct inferior_linux_data): New. | |
4175 | (linux_create_inferior): Use set_inferior_target_data. | |
4176 | (linux_attach): Likewise. Call add_inferior. | |
4177 | (linux_wait_for_one_inferior): New function. | |
4178 | (linux_wait): Call it. | |
4179 | (linux_write_memory): Add const. | |
4180 | (initialize_low): Call set_breakpoint_data. | |
4181 | * gdbserver/linux-low.h (struct linux_target_ops): Add breakpoint | |
4182 | handling members. | |
4183 | * gdbserver/server.c (attach_inferior): Remove extra add_inferior | |
4184 | call. | |
4185 | * gdbserver/server.h: Include mem-break.h. Update inferior.c | |
4186 | prototypes. | |
4187 | * gdbserver/target.c (read_inferior_memory) | |
4188 | (write_inferior_memory): New functions. | |
4189 | * gdbserver/target.h (read_inferior_memory) | |
4190 | (write_inferior_memory): Change macros to prototypes. | |
4191 | (struct target_ops): Update comments. Add const to write_memory | |
4192 | definition. | |
4193 | ||
f91305dd | 4194 | 2002-04-19 Andrew Cagney <ac131313@redhat.com> |
bf75c8c1 AC |
4195 | |
4196 | * sparc-tdep.c (sparc_get_saved_register): Use get_prev_frame | |
4197 | instead of ->prev. | |
4198 | * z8k-tdep.c (z8k_frame_chain): Do not use ->prev. | |
4199 | * s390-tdep.c (s390_frame_chain): Do not use ->prev. | |
4200 | * rs6000-tdep.c (frame_get_saved_regs): Use rs6000_frame_chain() | |
4201 | instead of ->prev. | |
4202 | ||
73d322b1 EZ |
4203 | 2002-04-19 Elena Zannoni <ezannoni@redhat.com> |
4204 | ||
4205 | Fix PR gdb/471. | |
4206 | * gdbtypes.c (init_simd_type): Rewrite using new functions. | |
4207 | (build_builtin_type_vec128): Ditto. | |
4208 | (append_composite_type_field): Fix calculation of type length in | |
4209 | union case. | |
4210 | ||
ccd9a834 EZ |
4211 | 2002-04-19 Eli Zaretskii <eliz@is.elta.co.il> |
4212 | ||
4213 | * config/djgpp/README: Update. | |
4214 | ||
4215 | * go32-nat.c (store_register): Cast &a_tss to `char *' to avoid a | |
4216 | compiler warnings. | |
4217 | ||
a57f9e49 JT |
4218 | 2002-04-19 Jason Thorpe <thorpej@wasabisystems.com> |
4219 | ||
4220 | * alpha-tdep.c (setup_arbitrary_frame): Rename... | |
4221 | (alpha_setup_arbitrary_frame): ...to this. | |
4222 | * config/alpha/tm-alpha.h (SETUP_ARBITRARY_FRAME): Update | |
4223 | for alpha_setup_arbitrary_frame. | |
4224 | ||
f4f9705a AC |
4225 | 2002-04-18 Andrew Cagney <cagney@redhat.com> |
4226 | ||
4227 | * gdbarch.sh (BREAKPOINT_FROM_PC): Return a const buffer. | |
4228 | * gdbarch.h, gdbarch.c: Regenerate. | |
361d1df0 | 4229 | |
f4f9705a AC |
4230 | * defs.h (breakpoint_from_pc_fn): Delete type definition. |
4231 | * target.h (memory_breakpoint_from_pc): Update declaration. | |
4232 | * config/mcore/tm-mcore.h (mcore_breakpoint_from_p): Ditto. | |
4233 | ||
4234 | * arch-utils.c (legacy_breakpoint_from_pc): Update return type. | |
4235 | * mcore-tdep.c (mcore_breakpoint_from_pc): Ditto. | |
4236 | * mem-break.c (memory_breakpoint_from_pc): Ditto. | |
4237 | * rs6000-tdep.c (rs6000_breakpoint_from_pc): Ditto. | |
4238 | * s390-tdep.c (s390_breakpoint_from_pc): Ditto | |
4239 | * xstormy16-tdep.c (xstormy16_breakpoint_from_pc): Ditto. | |
4240 | * mn10300-tdep.c (mn10300_breakpoint_from_pc): Ditto. | |
4241 | * mips-tdep.c (mips_breakpoint_from_pc): Ditto. | |
4242 | * m68hc11-tdep.c (m68hc11_breakpoint_from_pc): Ditto. | |
4243 | * ia64-tdep.c (ia64_breakpoint_from_pc): Ditto. | |
4244 | * d10v-tdep.c (d10v_breakpoint_from_pc): Ditto. | |
4245 | * arch-utils.c (legacy_breakpoint_from_pc): Ditto.. | |
4246 | ||
4247 | * mem-break.c (default_memory_insert_breakpoint): Make `bp' a | |
4248 | const pointer. | |
4249 | * monitor.c (monitor_insert_breakpoint): Ditto. | |
4250 | * rs6000-tdep.c (rs6000_software_single_step): Ditto for `breakp'. | |
4251 | ||
4252 | * config/mcore/tm-mcore.h: Update copyright. | |
4253 | * mem-break.c: Ditto. | |
4254 | * xstormy16-tdep.c: Ditto. | |
4255 | ||
29f319b8 PM |
4256 | 2002-04-18 Pierre Muller <muller@ics.u-strasbg.fr> |
4257 | ||
4258 | * p-exp.y: Add precedence rule for '^' token. | |
4259 | This removes the shift/reduce conflicts. | |
4260 | Remove the comment concerning these shift/reduce conflicts. | |
4261 | ||
ebeac11a EZ |
4262 | 2002-04-18 Elena Zannoni <ezannoni@redhat.com> |
4263 | ||
4264 | * rs6000-tdep.c (COMMON_UISA_NOFP_REGS): New macro. | |
4265 | (registers_powerpc_nofp): New register set for processors | |
4266 | without floating point unit. | |
4267 | ||
27c31547 DM |
4268 | 2002-04-18 David S. Miller <davem@redhat.com> |
4269 | ||
4270 | * MAINTAINERS: Add myself to write-after-approval. | |
4271 | ||
47a73475 MS |
4272 | 2002-04-17 Michael Snyder <msnyder@redhat.com> |
4273 | ||
4274 | * MAINTAINERS: Add myself as co-maintainer of testsuite/gdb.asm. | |
4275 | ||
953836b2 AC |
4276 | 2002-04-17 Andrew Cagney <ac131313@redhat.com> |
4277 | ||
4278 | * rs6000-tdep.c (frame_initial_stack_address): Use | |
4279 | frame_register_read to read the alloca_reg. | |
4280 | ||
8b0d4340 AC |
4281 | 2002-04-17 Andrew Cagney <ac131313@redhat.com> |
4282 | ||
4283 | * frame.c (find_saved_register): Find saved registers in the next | |
4284 | not prev frame. | |
4285 | Fix PR gdb/365. | |
4286 | ||
d8864532 AC |
4287 | 2002-04-17 Andrew Cagney <ac131313@redhat.com> |
4288 | ||
4289 | * gdbarch.sh (LANG): Set to ``c''. | |
4290 | ||
36cc83a3 | 4291 | 2002-04-15 Andrew Cagney <ac131313@redhat.com> |
361d1df0 | 4292 | |
36cc83a3 | 4293 | * PROBLEMS: Mention hppa2.0-hp-hpux10.20 compile problems. |
361d1df0 | 4294 | |
2f4150cc | 4295 | 2002-04-15 Andrew Cagney <ac131313@redhat.com> |
2c7ef074 AC |
4296 | |
4297 | * bcache.c: Include <stddef.h> and <stdlib.h> after "defs.h". | |
4298 | Update copyright. | |
4299 | ||
628703c6 | 4300 | * hpread.c (hpread_get_lntt): Add declaration. |
2f4150cc | 4301 | Also fix PR gdb/391. |
361d1df0 | 4302 | |
56157b4a AC |
4303 | 2002-04-14 Andrew Cagney <ac131313@redhat.com> |
4304 | ||
4305 | * acinclude.m4 (AM_PROG_CC_STDC): Import from automake 1.6. | |
4306 | * aclocal.m4, configure: Re-generate. | |
4307 | Fix PR gdb/391. | |
361d1df0 | 4308 | |
6d1e3329 EZ |
4309 | 2002-04-14 Elena Zannoni <ezannoni@redhat.com> |
4310 | ||
4311 | * mi/mi-cmd-disas.c (dump_insns): Use TARGET_PRINT_INSN | |
4312 | instead of tm_print_insn. | |
4313 | ||
cb06fa07 EZ |
4314 | 2002-04-14 Elena Zannoni <ezannoni@redhat.com> |
4315 | ||
4316 | * ppc-bdm.c (bdm_ppc_fetch_registers): Fix typo. | |
4317 | ||
f208ba17 AC |
4318 | 2002-04-14 Andrew Cagney <ac131313@redhat.com> |
4319 | ||
4320 | * config/pa/tm-hppa.h (FRAME_CHAIN_COMBINE): Delete macro. | |
4321 | * blockframe.c (FRAME_CHAIN_COMBINE): Delete macro. | |
4322 | (get_prev_frame): Do not call FRAME_CHAIN_COMBINE. | |
4323 | ||
20f01a46 DH |
4324 | 2002-04-12 Don Howard <dhoward@redhat.com> |
4325 | ||
4326 | * cli/cli-cmds.c (init_cli_cmds): Add new user settable value: | |
4327 | max_user_call_depth. | |
4328 | (init_cmd_lists): Initialize the new value; | |
4329 | * cli/cli-script.c (execute_user_command): Limit the call depth of | |
4330 | user defined commands. This avoids a core-dump when user commands | |
4331 | are infinitly recursive. | |
4332 | ||
a88376a3 KB |
4333 | 2002-04-12 Kevin Buettner <kevinb@redhat.com> |
4334 | ||
4335 | * ppc-tdep.h (struct gdbarch_tdep): Add new member ``lr_frame_offset''. | |
4336 | * rs6000-tdep.c (rs6000_frame_saved_pc): Use ``lr_frame_offset'' | |
4337 | from tdep struct instead of DEFAULT_LR_SAVE. | |
4338 | (rs6000_gdbarch_init): Initialize ``lr_frame_offset''. | |
4339 | * config/powerpc/tm-ppc-eabi.h (DEFAULT_LR_SAVE): Delete. | |
4340 | * config/rs6000/tm-rs6000.h (DEFAULT_LR_SAVE): Delete. | |
4341 | ||
f2172603 MS |
4342 | 2002-04-12 Michael Snyder <msnyder@redhat.com> |
4343 | ||
694f61fb | 4344 | * Remote.c: Spelling fix. |
20fe79c8 MS |
4345 | * gcore.c (default_derive_heap_segment): Use bfd_section_name. |
4346 | If no symbol found for "sbrk", try "_sbrk". | |
4347 | (make_output_phdrs): Use bfd_section_name. | |
4348 | (gcore_copy_callback): Use bfd_section_name. | |
62995fc4 | 4349 | * eval.c: Indentation fix-ups. |
169a7369 MS |
4350 | * d10v-tdep.c (d10v_make_iaddr): Make it idempotent, |
4351 | in case it gets applied to an address that is already | |
4352 | in the instruction space. | |
de74f71f MS |
4353 | * cli/cli-decode.c (help_list): Allow long lines to wrap. |
4354 | * symfile.c: Fix indentation, long lines. | |
f2172603 MS |
4355 | * source.c: White space fix-up. |
4356 | ||
cda5a58a AC |
4357 | 2002-04-12 Andrew Cagney <cagney@redhat.com> |
4358 | ||
4359 | * defs.h (read_relative_register_raw_bytes): Delete declaration. | |
4360 | * frame.c (frame_register_read): New function. Return non-zero on | |
4361 | success. | |
4362 | (read_relative_register_raw_bytes_for_frame): Delete. | |
4363 | (read_relative_register_raw_bytes): Delete. | |
4364 | * frame.h (frame_register_read): Declare. | |
4365 | * d30v-tdep.c: Update Copyright. Use frame_register_read. | |
4366 | * sh-tdep.c: Ditto. | |
4367 | * infcmd.c (do_registers_info): Ditto. | |
4368 | * hppa-tdep.c: Ditto. | |
4369 | * rs6000-tdep.c: Ditto. | |
4370 | * h8500-tdep.c: Ditto. | |
4371 | * mips-tdep.c: Ditto. | |
4372 | * h8300-tdep.c: Ditto. | |
4373 | * z8k-tdep.c: Ditto. | |
4374 | ||
2ea5f656 KB |
4375 | 2002-04-12 Kevin Buettner <kevinb@redhat.com> |
4376 | ||
4377 | From Jimi X <jimix@watson.ibm.com>: | |
4378 | * rs6000-tdep.c (rs6000_gdbarch_init): Use rs6000_* methods for | |
4379 | 64-bit SysV ABI. | |
4380 | ||
27b15785 KB |
4381 | 2002-04-12 Kevin Buettner <kevinb@redhat.com> |
4382 | ||
4383 | From Jimi X <jimix@watson.ibm.com>: | |
4384 | * rs6000-tdep.c (rs6000_gdbarch_init): Compute ``wordsize'' from | |
4385 | bfd info. | |
4386 | ||
5d57ee30 KB |
4387 | 2002-04-12 Kevin Buettner <kevinb@redhat.com> |
4388 | ||
4389 | From Jimi X <jimix@watson.ibm.com>: | |
4390 | * rs6000-tdep.c (powerpc64, 630, rs64ii, rs64iii): Define | |
4391 | register sets for these processor variants. | |
4392 | ||
bc1e36ca DJ |
4393 | 2002-04-11 Daniel Jacobowitz <drow@mvista.com> |
4394 | ||
4395 | * gdbserver/linux-low.c (usr_store_inferior_registers): Support | |
4396 | registers which are allowed to fail to store. | |
4397 | * gdbserver/linux-low.h (linux_target_ops): Likewise. | |
4398 | * gdbserver/linux-ppc-low.c (ppc_regmap): Support FPSCR. | |
4399 | (ppc_cannot_store_register): FPSCR may not be storable. | |
4400 | * regformats/reg-ppc.dat: Support FPSCR. | |
4401 | ||
e3f36dbd KB |
4402 | 2002-04-11 Kevin Buettner <kevinb@redhat.com> |
4403 | ||
4404 | * ppc-tdep.h (struct gdbarch_tdep): Add new field ``ppc_fpscr_regnum''. | |
4405 | * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers): | |
4406 | Add fpscr as an invalid/unfetchable register. | |
4407 | * ppc-linux-nat.c (ppc_register_u_addr, store_register) | |
4408 | (fetch_ppc_registers, store_ppc_registers, supply_fpregset) | |
4409 | (fill_fpregset): Add support for register fpscr. | |
4410 | (fetch_ppc_registers, store_ppc_registers, supply_gregset) | |
4411 | (fill_gregset): Account for the fact that register ``mq'' might | |
4412 | not exist. | |
4413 | * rs6000-tdep.c (PPC_UISA_SPRS): Use (unused) slot 70 for fpscr. | |
4414 | (registers_power): Add fpscr to register set at slot 71. | |
4415 | (rs6000_gdbarch_init): Account for the fact that ``mq'' doesn't | |
4416 | exist on most PPC architectures. Initialize ppc_fpscr_regnum. | |
4417 | ||
943c9c25 MS |
4418 | 2002-04-11 Michael Snyder <msnyder@redhat.com> |
4419 | ||
4420 | * configure.in: Autoconfiscate _SYSCALL32 define for solaris. | |
4421 | * configure: Regenerate. | |
4422 | * config.in: Regenerate. | |
4423 | * acconfig.h: Add define for _SYSCALL32. | |
4424 | * core-sol2.c: Remove #define _SYSCALL32. | |
4425 | * solib-legacy.c: Remove #define _SYSCALL32. | |
4426 | ||
d8c0a2e7 AC |
4427 | 2002-04-10 Andrew Cagney <ac131313@redhat.com> |
4428 | ||
4429 | * stack.c (select_frame): Cleanup internal error message, do not | |
4430 | use %p. | |
4431 | ||
7cc19214 AC |
4432 | 2002-04-10 Andrew Cagney <ac131313@redhat.com> |
4433 | ||
4434 | * stack.c (select_frame): Check that selected_frame and the | |
4435 | specified level are as expected. | |
4436 | * blockframe.c (get_prev_frame): Set the `level' from next_frame. | |
4437 | Update copyright. | |
4438 | * frame.h (struct frame_info): Add field `level'. Update | |
4439 | copyright. | |
4440 | Work-in-progress PR gdb/464. | |
4441 | ||
67a2b77e AC |
4442 | 2002-04-10 Andrew Cagney <ac131313@redhat.com> |
4443 | ||
4444 | * maint.c (maint_print_section_info): Rename print_section_info. | |
4445 | (print_bfd_section_info, print_objfile_section_info): Update. | |
4446 | * inferior.h (struct gdbarch): Add opaque declaration. | |
4447 | * gdbarch.sh: Add include of "inferior.h" to gdbarch.sh. | |
4448 | * gdbarch.h: Regenerate. | |
4449 | ||
8cfda98c ML |
4450 | 2002-04-10 Michal Ludvig <mludvig@suse.cz> |
4451 | ||
4452 | * x86-64-linux-nat.c (child_resume, child_xfer_memory): Delete. | |
4453 | (PTRACE_XFER_TYPE): Moved to config/i386/nm-x86-64.h. | |
4454 | (kernel_u_size): Added. | |
4455 | * config/i386/nm-x86-64.h (CHILD_XFER_MEMORY, CHILD_RESUME): Delete. | |
4456 | (PTRACE_XFER_TYPE): Moved here from config/i386/nm-x86-64.h. | |
4457 | ||
ca439ad2 | 4458 | 2002-04-04 Jim Ingham <jingham@apple.com> |
361d1df0 | 4459 | |
ca439ad2 JI |
4460 | * valarith.c (find_size_for_pointer_math): New function, either returns |
4461 | the size for a pointer's target, returns 1 for void *, or errors for | |
4462 | incomplete types. | |
4463 | (value_add, value_sub): use find_size_for_pointer_math. | |
4464 | ||
2f2893d9 DJ |
4465 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> |
4466 | ||
4467 | * linux-low.c (linux_look_up_symbols): New hook. | |
4468 | (linux_target_ops): Add linux_look_up_symbols. | |
4469 | * remote-utils.c (decode_address): New function. | |
4470 | (look_up_one_symbol): New function. | |
4471 | * server.c (handle_query): Call target look_up_symbols hook. | |
4472 | * server.h (look_up_one_symbol): Add prototype. | |
4473 | * target.h (struct target_ops): Add look_up_symbols hook. | |
4474 | ||
2ec06d2e DJ |
4475 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> |
4476 | ||
d64b8841 DJ |
4477 | * gdbserver/server.h: Include <string.h> if HAVE_STRING_H. |
4478 | * ChangeLog: Correct paths in last ChangeLog entry. | |
4479 | ||
4480 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> | |
4481 | ||
4482 | * gdbserver/linux-low.h: Remove obsolete prototypes. | |
2ec06d2e DJ |
4483 | (struct linux_target_ops): New. |
4484 | (extern the_low_target): New. | |
d64b8841 | 4485 | * gdbserver/linux-low.c (num_regs, regmap): Remove declarations. |
2ec06d2e DJ |
4486 | (register_addr): Use the_low_target explicitly. |
4487 | (fetch_register): Likewise. | |
4488 | (usr_fetch_inferior_registers): Likewise. | |
4489 | (usr_store_inferior_registers): Likewise. | |
d64b8841 | 4490 | * gdbserver/linux-arm-low.c (num_regs): Remove. |
2ec06d2e DJ |
4491 | (arm_num_regs): Define. |
4492 | (arm_regmap): Renamed from regmap, made static. | |
4493 | (arm_cannot_fetch_register): Renamed from cannot_fetch_register, | |
4494 | made static. | |
4495 | (arm_cannot_store_register): Renamed from cannot_store_register, | |
4496 | made static. | |
4497 | (the_low_target): New. | |
d64b8841 | 4498 | * gdbserver/linux-i386-low.c (num_regs): Remove. |
2ec06d2e DJ |
4499 | (i386_num_regs): Define. |
4500 | (i386_regmap): Renamed from regmap, made static. | |
4501 | (i386_cannot_fetch_register): Renamed from cannot_fetch_register, | |
4502 | made static. | |
4503 | (i386_cannot_store_register): Renamed from cannot_store_register, | |
4504 | made static. | |
4505 | (the_low_target): New. | |
d64b8841 | 4506 | * gdbserver/linux-ia64-low.c (num_regs): Remove. |
2ec06d2e DJ |
4507 | (ia64_num_regs): Define. |
4508 | (ia64_regmap): Renamed from regmap, made static. | |
4509 | (ia64_cannot_fetch_register): Renamed from cannot_fetch_register, | |
4510 | made static. | |
4511 | (ia64_cannot_store_register): Renamed from cannot_store_register, | |
4512 | made static. | |
4513 | (the_low_target): New. | |
d64b8841 | 4514 | * gdbserver/linux-m68k-low.c (num_regs): Remove. |
2ec06d2e DJ |
4515 | (m68k_num_regs): Define. |
4516 | (m68k_regmap): Renamed from regmap, made static. | |
4517 | (m68k_cannot_fetch_register): Renamed from cannot_fetch_register, | |
4518 | made static. | |
4519 | (m68k_cannot_store_register): Renamed from cannot_store_register, | |
4520 | made static. | |
4521 | (the_low_target): New. | |
d64b8841 | 4522 | * gdbserver/linux-mips-low.c (num_regs): Remove. |
2ec06d2e DJ |
4523 | (mips_num_regs): Define. |
4524 | (mips_regmap): Renamed from regmap, made static. | |
4525 | (mips_cannot_fetch_register): Renamed from cannot_fetch_register, | |
4526 | made static. | |
4527 | (mips_cannot_store_register): Renamed from cannot_store_register, | |
4528 | made static. | |
4529 | (the_low_target): New. | |
d64b8841 | 4530 | * gdbserver/linux-ppc-low.c (num_regs): Remove. |
2ec06d2e DJ |
4531 | (ppc_num_regs): Define. |
4532 | (ppc_regmap): Renamed from regmap, made static. | |
4533 | (ppc_cannot_fetch_register): Renamed from cannot_fetch_register, | |
4534 | made static. | |
4535 | (ppc_cannot_store_register): Renamed from cannot_store_register, | |
4536 | made static. | |
4537 | (the_low_target): New. | |
d64b8841 | 4538 | * gdbserver/linux-s390-low.c (num_regs): Remove. |
2ec06d2e DJ |
4539 | (s390_num_regs): Define. |
4540 | (s390_regmap): Renamed from regmap, made static. | |
4541 | (s390_cannot_fetch_register): Renamed from cannot_fetch_register, | |
4542 | made static. | |
4543 | (s390_cannot_store_register): Renamed from cannot_store_register, | |
4544 | made static. | |
4545 | (the_low_target): New. | |
d64b8841 | 4546 | * gdbserver/linux-sh-low.c (num_regs): Remove. |
2ec06d2e DJ |
4547 | (sh_num_regs): Define. |
4548 | (sh_regmap): Renamed from regmap, made static. | |
4549 | (sh_cannot_fetch_register): Renamed from cannot_fetch_register, | |
4550 | made static. | |
4551 | (sh_cannot_store_register): Renamed from cannot_store_register, | |
4552 | made static. | |
4553 | (the_low_target): New. | |
d64b8841 | 4554 | * gdbserver/linux-x86-64-low.c (x86_64_regmap): Renamed from regmap. |
2ec06d2e DJ |
4555 | (the_low_target): New. |
4556 | ||
96cb11df AC |
4557 | 2002-04-09 Andrew Cagney <ac131313@redhat.com> |
4558 | ||
4559 | * frame.c (read_relative_register_raw_bytes_for_frame): Do not | |
4560 | override FP_REGNUM with frame->fp. Update copyright. | |
4561 | * parse.c (num_std_regs, std_regs): Delete. | |
4562 | (target_map_name_to_register): Do not search std_regs. Update | |
4563 | function description. | |
4564 | * parser-defs.h (num_std_regs, std_regs, struct std_regs): Delete | |
4565 | declarations. Update copyright. | |
4566 | Fix PR gdb/251. | |
361d1df0 | 4567 | |
c3a3ccc7 DJ |
4568 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> |
4569 | ||
4570 | * gdbserver/Makefile.in: Add stamp-h target. | |
4571 | * gdbserver/configure.in: Create stamp-h. | |
4572 | * gdbserver/configure: Regenerated. | |
4573 | ||
ce3a066d DJ |
4574 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> |
4575 | ||
4576 | * gdbserver/inferiors.c: New file. | |
4577 | * gdbserver/target.c: New file. | |
4578 | * gdbserver/target.h: New file. | |
4579 | * gdbserver/Makefile.in: Add target.o and inferiors.o. Update | |
4580 | dependencies. | |
4581 | * gdbserver/linux-low.c (inferior_pid): New static variable, | |
4582 | moved from server.c. | |
4583 | (linux_create_inferior): Renamed from create_inferior. | |
4584 | Call add_inferior. Return 0 on success instead of a PID. | |
4585 | (linux_attach): Renamed from myattach. | |
4586 | (linux_kill): Renamed from kill_inferior. Call clear_inferiors (). | |
4587 | (linux_thread_alive): Renamed from mythread_alive. | |
4588 | (linux_wait): Renamed from mywait. Call clear_inferiors () if the | |
4589 | child dies. | |
4590 | (linux_resume): Renamed from myresume. Add missing ``return 0''. | |
4591 | (regsets_store_inferior_registers): Correct error message. | |
4592 | Add missing ``return 0''. | |
4593 | (linux_fetch_registers): Renamed from fetch_inferior_registers. | |
4594 | (linux_store_registers): Renamed from store_inferior_registers. | |
4595 | (linux_read_memory): Renamed from read_inferior_memory. | |
4596 | (linux_write_memory): Renamed from write_inferior_memory. | |
4597 | (linux_target_ops): New structure. | |
4598 | (initialize_low): Call set_target_ops (). | |
4599 | * gdbserver/remote-utils.c (unhexify): New function. | |
4600 | (hexify): New function. | |
4601 | (input_interrupt): Send signals to ``signal_pid''. | |
4602 | * gdbserver/server.c (inferior_pid): Remove. | |
4603 | (start_inferior): Update create_inferior call. | |
4604 | (attach_inferior): Call add_inferior. | |
4605 | (handle_query): New function. | |
4606 | (main): Call handle_query for `q' packets. | |
4607 | * gdbserver/server.h: Include "target.h". Remove obsolete prototypes. | |
4608 | Add prototypes for "inferiors.c", "target.c", hexify, and unhexify. | |
4609 | ||
0729219d DJ |
4610 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> |
4611 | ||
4612 | * gdbserver/Makefile.in: Add WARN_CFLAGS. Update configury | |
4613 | dependencies. | |
4614 | * gdbserver/configure.in: Check for <string.h> | |
4615 | * gdbserver/configure: Regenerate. | |
4616 | * gdbserver/config.in: Regenerate. | |
4617 | * gdbserver/gdbreplay.c: Include needed system headers. | |
4618 | (remote_open): Remove strchr prototype. | |
4619 | * gdbserver/linux-low.h: Correct #ifdef to HAVE_LINUX_USRREGS. | |
4620 | * gdbserver/regcache.c (supply_register): Change buf argument to const void *. | |
4621 | (supply_register_by_name): Likewise. | |
4622 | (collect_register): Change buf argument to void *. | |
4623 | (collect_register_by_name): Likewise. | |
4624 | * gdbserver/regcache.h: Add missing prototypes. | |
4625 | * gdbserver/remote-utils.c: Include <arpa/inet.h> for inet_ntoa. | |
4626 | * gdbserver/server.c (handle_query): New function. | |
4627 | (attached): New static variable, moved out of main. | |
4628 | (main): Quiet longjmp clobber warnings. | |
4629 | * gdbserver/server.h: Add ATTR_NORETURN and ATTR_FORMAT. Update prototypes. | |
4630 | * gdbserver/utils.c (error): Remove NORETURN. | |
4631 | (fatal): Likewise. | |
4632 | ||
97658e92 DJ |
4633 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> |
4634 | ||
4635 | * symtab.h (ALL_BLOCK_SYMBOLS): Don't dereference the pointer | |
4636 | after the last symbol in a block. | |
4637 | ||
6044e3eb PM |
4638 | 2002-04-09 Pierre Muller <muller@ics.u-strasbg.fr> |
4639 | ||
4640 | * p-exp.y (yylex): Handle also the fact that is_a_field_of_this | |
4641 | is non zero as a found symbol. | |
4642 | ||
0406ec40 AC |
4643 | 2002-04-08 Andrew Cagney <ac131313@redhat.com> |
4644 | ||
4645 | * findvar.c: Include "builtin-regs.h". | |
4646 | (value_of_register): Call value_of_builtin_reg when applicable. | |
4647 | * parse.c: Include "builtin-regs.h" and "gdb_assert.h". | |
4648 | (target_map_name_to_register): Call | |
4649 | builtin_reg_map_name_to_regnum. | |
4650 | * Makefile.in (SFILES): Add builtin-regs.c and std-regs.c. | |
4651 | (COMMON_OBS): Add builtin-regs.o and std-regs.o. | |
4652 | (builtin_regs_h): Define. | |
4653 | (builtin-regs.o): New target. | |
4654 | (findvar.o): Add $(builtin_regs_h). | |
4655 | * builtin-regs.c, builtin-regs.h: New files. | |
4656 | * std-regs.c: New file. | |
4657 | Partial fix for PR gdb/251. | |
4658 | ||
56a6dfb9 KB |
4659 | 2002-04-08 Kevin Buettner <kevinb@redhat.com> |
4660 | ||
4661 | * rs6000-tdep.c (rs6000_gdbarch_init): Don't set tm_print_insn; | |
4662 | it's no longer required. | |
4663 | ||
3a808432 AC |
4664 | 2002-04-08 Andrew Cagney <ac131313@redhat.com> |
4665 | ||
4666 | * Makefile.in (gdbtk-wrapper.o): Add missing dependencies. | |
4667 | ||
7c40d541 KB |
4668 | 2002-04-08 Kevin Buettner <kevinb@redhat.com> |
4669 | ||
4670 | From Jimi X <jimix@watson.ibm.com>: | |
4671 | * rs6000-tdep.c (rs6000_software_single_step): Use | |
4672 | rs6000_breakpoint_from_pc() to fetch breakpoint instruction | |
4673 | and size. Use target_insert_breakpoint() and | |
4674 | target_remove_breakpoint() to insert and remove breakpoints | |
4675 | instead of explicit memory reads and writes. | |
4676 | ||
cc9836a8 KB |
4677 | 2002-04-08 Kevin Buettner <kevinb@redhat.com> |
4678 | ||
4679 | * config/powerpc/tm-ppc-eabi.h (ELF_OBJECT_FORMAT): Delete. | |
4680 | * rs6000-tdep.c (rs6000_push_arguments): Eliminate | |
4681 | ELF_OBJECT_FORMAT ifdef. | |
4682 | ||
7495d1dc KB |
4683 | 2002-04-08 Kevin Buettner <kevinb@redhat.com> |
4684 | ||
4685 | From Jimi X <jimix@watson.ibm.com>: | |
4686 | * rs6000-tdep.c (rs6000_gdbarch_init): Use set_gdbarch_print_insn(). | |
4687 | ||
4288e836 KB |
4688 | 2002-04-08 Kevin Buettner <kevinb@redhat.com> |
4689 | ||
4690 | From Jimi X <jimix@watson.ibm.com>: | |
4691 | * rs6000-tdep.c (rs6000_fix_call_dummy): Delete unused macro | |
4692 | definitions for TOC_ADDR_OFFSET and TARGET_ADDR_OFFSET. | |
4693 | ||
a4e4e501 MK |
4694 | 2002-04-07 Mark Kettenis <kettenis@gnu.org> |
4695 | ||
4696 | * fbsd-proc.c (child_pid_to_exec_file, fbsd_find_memory_regions): | |
4697 | s/asprintf/xasprintf/. | |
4698 | (fbsd_make_corefile_notes): s/strdup/xstrdup/. | |
4699 | ||
006defba AC |
4700 | 2002-04-07 Andrew Cagney <ac131313@redhat.com> |
4701 | ||
4702 | I believe Jeff Law denies responsability for this one: | |
4703 | * config/pa/hpux11w.mh (MH_CFLAGS): Add -Dvfork=fork. | |
4704 | * config/pa/hpux11.mh (MH_CFLAGS): Add -Dvfork=fork. | |
4705 | * config/pa/hpux1020.mh (MH_CFLAGS): Add -Dvfork=fork. | |
4706 | Work-around for PR gdb/366. | |
4707 | ||
7aa83cac EZ |
4708 | 2002-04-07 Elena Zannoni <ezannoni@redhat.com> |
4709 | ||
4710 | * remote-e7000.c (write_small, e7000_read_inferior_memory, | |
4711 | e7000_read_inferior_memory_large, e7000_insert_breakpoint, | |
4712 | e7000_remove_breakpoint): Use paddr_nz() to print addresses. | |
4713 | ||
cf1fcca1 EZ |
4714 | 2002-04-07 Elena Zannoni <ezannoni@redhat.com> |
4715 | ||
4716 | * sh-tdep.c (sh_fp_frame_init_saved_regs, | |
4717 | sh_nofp_frame_init_saved_regs): Use alloca() for 'where' | |
4718 | information. | |
4719 | ||
3f289e6f AC |
4720 | 2002-04-07 Andrew Cagney <ac131313@redhat.com> |
4721 | ||
4722 | * MAINTAINERS (Misc): List Daniel Jacobowitz as the GDBSERVER | |
4723 | maintainer. | |
4724 | ||
129188f6 AC |
4725 | 2002-04-07 Andrew Cagney <ac131313@redhat.com> |
4726 | ||
4727 | * README (Reporting Bugs in GDB): Document the bug web page as the | |
4728 | prefered way of submitting bugs. | |
4729 | Fix PR gdb/402. | |
4730 | ||
1200cd6e AC |
4731 | 2002-04-06 Andrew Cagney <ac131313@redhat.com> |
4732 | ||
4733 | * gdbarch.sh (FP_REGNUM, PC_REGNUM, SP_REGNUM): Allow default of | |
4734 | -1. Update comment. | |
4735 | * gdbarch.h, gdbarch.c: Re-generate. | |
4736 | ||
2853c33c AS |
4737 | 2002-04-07 Andreas Schwab <schwab@suse.de> |
4738 | ||
4739 | * m68klinux-nat.c (fill_fpregset): Properly pass address of | |
4740 | buffer to regcache_collect. | |
4741 | ||
c2169756 AC |
4742 | 2002-04-06 Andrew Cagney <ac131313@redhat.com> |
4743 | ||
4744 | * gdbarch.sh (PS_REGNUM): Add. Document. Default to -1. | |
4745 | * gdbarch.c, gdbarch.h: Re-generate. | |
4746 | ||
25f1b008 AC |
4747 | 2002-04-06 Andrew Cagney <ac131313@redhat.com> |
4748 | ||
4749 | * symtab.c (lookup_symtab): Remove ``const'' from ``rp'' | |
4750 | declaration. Fix -Werror. | |
4751 | ||
59263426 DJ |
4752 | 2002-04-05 Daniel Jacobowitz <drow@mvista.com> |
4753 | ||
4754 | * gdbarch.sh (initialize_non_multiarch): Call init_gdbarch_swap. | |
4755 | * gdbarch.c: Regenerate. | |
4756 | ||
f5db4da3 MS |
4757 | 2002-04-05 Michael Snyder <msnyder@redhat.com> |
4758 | ||
80f8a6eb MS |
4759 | * breakpoint.c (clear_command): Rewrite middle section to |
4760 | combine two loops with identical control conditions. | |
4761 | Add a cleanup to eliminate a memory leak. | |
f5db4da3 MS |
4762 | * cli/cli-dump.c (restore_section_callback): Use paddr_nz. |
4763 | ||
ad3dcc5c L |
4764 | 2002-04-05 H.J. Lu (hjl@gnu.org) |
4765 | ||
4766 | * solib-svr4.c (bkpt_names): Add "__start". | |
4767 | ||
f32e7a74 AC |
4768 | 2002-04-04 Andrew Cagney <ac131313@redhat.com> |
4769 | ||
4770 | * sparc-tdep.c (sparc_push_dummy_frame): Use GDB_TARGET_IS_SPARC64 | |
4771 | as test for 64 bit target. | |
4772 | ||
8227c0ff AC |
4773 | 2002-04-05 Andrew Cagney <ac131313@redhat.com> |
4774 | ||
4775 | * h8500-tdep.c (h8500_write_fp): Delete function. | |
4776 | * dwarf2cfi.c (cfi_write_fp): Document as not used. | |
4777 | * mips-tdep.c (mips_gdbarch_init): Do not set write_fp. | |
4778 | * ia64-tdep.c (ia64_gdbarch_init): Do not set write_fp. | |
4779 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set write_fp. | |
4780 | * rs6000-tdep.c (rs6000_gdbarch_init): Do not set write_fp. | |
4781 | * s390-tdep.c (s390_gdbarch_init): Do not set write_fp. | |
4782 | (s390_write_fp): | |
4783 | * sh-tdep.c (sh_gdbarch_init): Do not set write_fp. | |
4784 | * x86-64-tdep.c (i386_gdbarch_init): Do not set write_fp. | |
4785 | * d10v-tdep.c (d10v_gdbarch_init): Do not set write_fp. | |
4786 | (d10v_write_fp): Delete function. | |
4787 | * inferior.h (write_fp, generic_target_write_fp): Delete | |
4788 | declarations. | |
4789 | * regcache.c (generic_target_write_fp): Delete function. | |
4790 | (write_fp): Delete function. | |
4791 | * gdbarch.sh (TARGET_WRITE_FP): Delete. | |
4792 | * gdbarch.h, gdbarch.c: Regenerate. | |
4793 | * config/v850/tm-v850.h (TARGET_WRITE_FP): Delete macro. | |
4794 | * config/sparc/tm-sp64.h (TARGET_WRITE_FP): Delete macro. | |
4795 | (sparc64_write_fp): Delete declaration. | |
4796 | * config/h8500/tm-h8500.h (TARGET_WRITE_FP): Delete macro. | |
4797 | (h8500_write_fp): Delete declaration. | |
4798 | ||
2757dd86 AC |
4799 | 2002-04-04 Andrew Cagney <ac131313@redhat.com> |
4800 | ||
4801 | * sparc-tdep.c (sparc64_write_fp): Delete. | |
4802 | (sparc_push_dummy_frame): Replace write_fp call with code to store | |
4803 | the FP directly. | |
4804 | (sparc_gdbarch_init): Do not initialize write_fp. | |
4805 | ||
c69255e1 KB |
4806 | 2002-04-05 Kevin Buettner <kevinb@redhat.com> |
4807 | ||
4808 | * rs6000-tdep.c (skip_prologue): Eliminate unused/unreachable | |
4809 | clause. | |
4810 | ||
ae767bfb JB |
4811 | 2002-03-29 Jim Blandy <jimb@redhat.com> |
4812 | ||
4813 | * stack.c (get_selected_block): Add new argument `addr_in_block', | |
4814 | used to return the exact code address we used to select the block, | |
4815 | not just the block. | |
4816 | * blockframe.c (get_frame_block, get_current_block): Same. | |
4817 | * frame.h (get_frame_block, get_current_block, | |
4818 | get_selected_block): Update declarations. | |
4819 | * linespec.c, stack.c, blockframe.c, breakpoint.c, findvar.c, | |
4820 | linespec.c, varobj.c, printcmd.c, symtab.c: Callers changed. | |
4821 | ||
84d2ac95 MS |
4822 | 2002-04-05 Michael Snyder <msnyder@redhat.com> |
4823 | ||
4824 | * breakpoint.c (insert_breakpoints): Change 'hw' to 'hardware in | |
4825 | warning message. | |
4826 | ||
596aa3bf JB |
4827 | 2002-04-05 J. Brobecker <brobecker@gnat.com> |
4828 | ||
4829 | * utils.c (xfullpath): New function. | |
4830 | * defs.h (xfullpath): Add declaration. | |
4831 | * source.c (openp): Use xfullpath in place of gdb_realpath to | |
4832 | avoid resolving the basename part of filenames when the | |
4833 | associated file is a symbolic link. This fixes a potential | |
4834 | inconsistency between the filenames known to GDB and the | |
4835 | filenames it prints in the annotations. | |
4836 | * symtab.c (lookup_symtab): Use the new xfullpath function, in order | |
4837 | to be able to match a filename with either the real filename, or | |
4838 | the name of any symbolic link to this file. | |
4839 | (lookup_partial_symtab): Ditto. | |
4840 | ||
c02f5703 MS |
4841 | 2002-04-04 Michael Snyder <msnyder@redhat.com> |
4842 | ||
4843 | * breakpoint.c: Add support for hardware breakpoints in overlays. | |
4844 | (overlay_events_enabled): New state variable. | |
4845 | (insert_breakpoints): Use overlay_events_enabled to decide | |
4846 | whether to attempt to set a breakpoint at the overlay load addr. | |
4847 | Handle bp_hardware_breakpoint as well as bp_breakpoint. | |
4848 | (remove_breakpoint): Use overlay_events_enabled to decide | |
4849 | whether breakpoints need to be removed from overlay load addr. | |
4850 | Handle bp_hardware_breakpoint as well as bp_breakpoint. | |
4851 | (bpstat_stop_status): Handle bp_hardware_breakpoint in overlays. | |
361d1df0 | 4852 | (create_overlay_event_breakpoint, enable_overlay_breakpoints, |
c02f5703 MS |
4853 | disable_overlay_breakpoints): Update overlay_events_enabled. |
4854 | ||
5fb290d7 DJ |
4855 | 2002-04-04 Daniel Jacobowitz <drow@mvista.com> |
4856 | ||
4857 | * dwarf2read.c (struct function_range): New. | |
4858 | (cu_first_fn, cu_last_fn, cu_cached_fn): New. | |
4859 | (check_cu_functions): New. | |
4860 | (read_file_scope): Initialize global function lists. | |
4861 | Call dwarf_decode_line after processing children. | |
4862 | (read_func_scope): Add to global function list. | |
4863 | (dwarf_decode_lines): Call check_cu_functions everywhere | |
4864 | record_line is called. Call record_line with a linenumber | |
4865 | of 0 to mark sequence ends. | |
4866 | ||
7b3fabf0 ML |
4867 | 2002-04-04 Michal Ludvig <mludvig@suse.cz> |
4868 | ||
361d1df0 | 4869 | * x86-64-linux-nat.c (child_xfer_memory): x86-64 ptrace() ABI |
7b3fabf0 ML |
4870 | change sync with glibc. |
4871 | ||
bce58c09 JB |
4872 | 2002-04-03 Jim Blandy <jimb@redhat.com> |
4873 | ||
4874 | * configure.in: Call AC_C_INLINE. | |
4875 | * configure: Regenerated. | |
361d1df0 | 4876 | |
2fccf04a DJ |
4877 | 2002-04-01 Daniel Jacobowitz <drow@mvista.com> |
4878 | ||
4879 | * rs6000-tdep.c: Change #include of "bfd/libcoff.h" | |
4880 | and "bfd/libbfd.h" to "libcoff.h" and "libbfd.h". | |
4881 | ||
2d1bfe2e MK |
4882 | 2002-03-31 Mark Kettenis <kettenis@gnu.org> |
4883 | ||
a5941fbf MK |
4884 | * NEWS: Mention gcore support on FreeBSD/i386. |
4885 | ||
a90cd31d MK |
4886 | * fbsd-proc.c: New file. |
4887 | * config/i386/nm-fbsd.h (CHILD_PID_TO_EXEC_FILE): Define. | |
4888 | * config/i386/fbsd.mh (NATDEPFILES): Add gcore.o and fbsd-proc.o. | |
4889 | ||
2d1bfe2e MK |
4890 | * lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO in |
4891 | while statement. | |
4892 | ||
9eb6e5a1 JB |
4893 | 2002-03-29 Jim Blandy <jimb@redhat.com> |
4894 | ||
4895 | * cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate | |
4896 | unescaped newlines in string literals, but newer ones don't. So | |
4897 | escape them. | |
4898 | ||
f02df580 MS |
4899 | 2002-03-26 Michael Snyder <msnyder@redhat.com> |
4900 | Andrew Cagney <cagney@redhat.com> | |
4901 | ||
361d1df0 | 4902 | * cli/cli-dump.c: New file. Dump memory to file, |
f02df580 MS |
4903 | restore file to memory. |
4904 | * cli/cli-dump.h: New file. | |
4905 | * Makefile.in: Add rules, dependencies for cli-dump.o. | |
89743e04 | 4906 | * NEWS: Mention new commands. |
f02df580 | 4907 | |
109f874e MS |
4908 | 2002-03-28 Michael Snyder <msnyder@redhat.com> |
4909 | ||
4910 | * symfile.c (symbol_file_add): Move test for null symbols to later. | |
4911 | ||
520f6ade AC |
4912 | 2002-03-27 Andrew Cagney <ac131313@redhat.com> |
4913 | ||
4914 | From veksler at il.ibm.com: | |
4915 | * utils.c (gdb_realpath): If canonicalize_file_name fails, return | |
4916 | the xstrduped original path. | |
4917 | Fix PR gdb/417. | |
4918 | ||
d4654627 MS |
4919 | 2002-03-27 Michael Snyder <msnyder@redhat.com> |
4920 | ||
4921 | * breakpoint.c (_initialize_breakpoint): Clean up help string. | |
4922 | * infcmd.c (_initialize_infcmd): Ditto. | |
4923 | * language.c (_initialize_language): Ditto. | |
4924 | * symfile.c (_initialize_symfile): Ditto. | |
4925 | * top.c (_init_main): Ditto. | |
4926 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
4927 | ||
6be8bc0c EZ |
4928 | 2002-03-27 Elena Zannoni <ezannoni@redhat.com> |
4929 | ||
4930 | * rs6000-tdep.c (struct rs6000_framedata): Add fields for AltiVec | |
4931 | vector registers handling. | |
4932 | (skip_prologue): Handle new AltiVec instructions. Fill in new | |
4933 | fields of frame data. | |
4934 | (frame_get_saved_regs): Fill in information for AltiVec registers. | |
4935 | ||
12af6855 JB |
4936 | 2002-03-27 Jim Blandy <jimb@redhat.com> |
4937 | ||
4938 | * symtab.h (SYMBOL_INIT_MANGLED_NAME): Turn this macro's body into | |
4939 | a function; leave this macro here to invoke that function. | |
4940 | (symbol_init_mangled_name): Declaration for that function. | |
4941 | * symtab.c (symbol_init_mangled_name): New function. | |
4942 | ||
dc672865 AC |
4943 | 2002-03-27 Andrew Cagney <ac131313@redhat.com> |
4944 | ||
4945 | * valarith.c: Replace strerror with safe_strerror. | |
4946 | * tracepoint.c: Ditto. | |
4947 | * lin-lwp.c: Ditto. | |
4948 | * go32-nat.c: Ditto. | |
4949 | * inflow.c: Ditto. | |
4950 | * gnu-nat.c: Ditto. | |
4951 | ||
d96429cd AS |
4952 | 2002-03-27 Andreas Schwab <schwab@suse.de> |
4953 | ||
4954 | * event-top.c (command_line_handler): Remove useless if. | |
4955 | ||
7e336ba1 AJ |
4956 | 2002-03-27 Andreas Jaeger <aj@suse.de> |
4957 | ||
4958 | * dwarf2cfi.c: Give credit to Daniel Berlin, reformat copyright | |
4959 | comment. | |
4960 | ||
de220d0f ML |
4961 | 2002-03-27 Michal Ludvig <mludvig@suse.cz> |
4962 | ||
4963 | * x86-64-tdep.h (X86_64_NUM_REGS, X86_64_NUM_GREGS): Delete #defines. | |
4964 | (x86_64_num_regs, x86_64_num_gregs): Added extern variables. | |
4965 | * x86-64-linux-nat.c (x86_64_regmap): Swapped RBX <> RDX, added DS, ES, FS, GS. | |
4966 | (x86_64_linux_dr_get_status, supply_gregset), | |
4967 | (fill_gregset): Changed X86_64_NUM_GREGS to x86_64_num_gregs. | |
4968 | * x86-64-tdep.c (x86_64_register_raw_size_table): Delete. | |
4969 | (x86_64_register_info_table): Add. | |
4970 | (X86_64_NUM_REGS, X86_64_NUM_GREGS): Add. | |
4971 | (x86_64_register_raw_size, x86_64_register_virtual_type), | |
4972 | (x86_64_register_name, _initialize_x86_64_tdep): Changed to reflect new | |
4973 | general x86_64_register_info_table. | |
4974 | (i386_gdbarch_init): gdbarch_register_bytes is now set | |
4975 | dynamicaly during initialization. | |
4976 | * regformats/reg-x86-64.dat: Synced with changes to registers above. | |
4977 | * gdbserver/linux-x86-64-low.c: Ditto. | |
7e336ba1 | 4978 | |
0e98d0a7 DJ |
4979 | 2002-03-27 Daniel Jacobowitz <drow@mvista.com> |
4980 | ||
4981 | * gdbserver/server.c (main): Call target_signal_to_host_p | |
4982 | and target_signal_to_host on signals received from the remote. | |
4983 | * gdbserver/remote-utils.c (prepare_resume_reply): Call | |
4984 | target_signal_from_host on signals sent to the remote. | |
4985 | * gdbserver/server.h: Add prototypes. Include "gdb/signals.h". | |
4986 | * gdbserver/Makefile.in: Add signals.o. Add -I${INCLUDE_DIR}. | |
4987 | ||
3130066b DJ |
4988 | 2002-03-27 Daniel Jacobowitz <drow@mvista.com> |
4989 | ||
4990 | * signals/signals.c: Include "server.h" in gdbserver build. | |
4991 | (target_signal_from_name): Don't use STREQ. | |
4992 | (_initialize_signals): Likewise. Don't include function in | |
4993 | gdbserver build. | |
4994 | ||
9aedf4f4 DJ |
4995 | 2002-03-27 Daniel Jacobowitz <drow@mvista.com> |
4996 | ||
4997 | * signals.c: Moved to... | |
4998 | * signals/signals.c: Here. | |
7e336ba1 | 4999 | * Makefile (signals.o): Update. |
9aedf4f4 | 5000 | |
3fa41cdb JL |
5001 | 2002-03-26 Jeff Law (law@redhat.com) |
5002 | ||
5003 | * somread.c (som_symtab_read): Remove some commented out code and | |
5004 | updated related comments. Do not set the minimal symbol table to | |
5005 | mst_solib_trampoline for ST_ENTRY symbols with SS_LOCAL scope | |
5006 | in a dynamic executable. | |
5007 | * hppa-tdep.c (find_proc_framesize): Sanely handle the case | |
5008 | where we are unable to find the minimal symbol for the given | |
5009 | PC value. | |
5010 | ||
ee677e8d MS |
5011 | 2002-03-25 Jeff Law (law@redhat.com) |
5012 | ||
5013 | * linux-proc.c (read_mapping): Scan up to end of line for filename. | |
5014 | ||
e76e1718 ML |
5015 | 2002-03-25 Michal Ludvig <mludvig@suse.cz> |
5016 | ||
5017 | * x86-64-tdep.c (x86_64_skip_prologue): Rewritten from scratch. | |
5018 | ||
18a642a1 AC |
5019 | 2002-03-23 Andrew Cagney <ac131313@redhat.com> |
5020 | ||
5021 | * command.h: Update copyright. | |
5022 | (struct cmd_list_element): Replace definition with opaque | |
5023 | declaration. | |
5024 | (enum cmd_types): Document that it will eventually be moved to | |
5025 | cli/cli-decode.h | |
5026 | (CMD_DEPRECATED, DEPRECATED_WARN_USER): Delete macros. | |
5027 | (MALLOCED_REPLACEMENT): Delete macro. | |
5028 | * Makefile.in (cli_decode_h): Add $(command_h). | |
5029 | (top.o, completer.o, maint.o): Add dependency on $(cli_decode_h). | |
7e336ba1 | 5030 | * top.c: Include "cli/cli-decode.h". |
18a642a1 AC |
5031 | * completer.c: Include "cli/cli-decode.h". |
5032 | * maint.c: Include "cli/cli-decode.h". | |
5033 | * cli/cli-decode.h: Include "command.h". | |
5034 | (enum command_class): Delete. | |
5035 | (enum cmd_types): Comment out. | |
5036 | (enum cmd_auto_boolean): Delete. | |
5037 | (enum var_types): Delete. | |
5038 | ||
b2875cc0 AC |
5039 | 2002-03-23 Andrew Cagney <ac131313@redhat.com> |
5040 | ||
5041 | * cli/cli-decode.c: Include "gdb_assert.h". | |
5042 | (add_set_or_show_cmd): New static function. | |
5043 | (add_set_cmd): Rewrite. Use add_set_or_show_cmd. | |
5044 | (add_show_from_set): Rewrite. Use add_set_or_show_cmd. Don't copy | |
5045 | all fields, such as func, from the set command. | |
5046 | ||
3b45974e AC |
5047 | 2002-03-23 Andrew Cagney <ac131313@redhat.com> |
5048 | ||
5049 | * MAINTAINERS (sh-elf): Change warning flag to -w. | |
5050 | ||
823ca731 AC |
5051 | 2002-03-23 Andrew Cagney <cagney@redhat.com> |
5052 | ||
5053 | * defs.h (error): Add printf format attribute. | |
5054 | * thread-db.c (thread_from_lwp): Fix error format string. | |
5055 | * stack.c (parse_frame_specification): Ditto. | |
5056 | * cli/cli-decode.c (undef_cmd_error): Ditto. | |
5057 | * scm-lang.c (scm_lookup_name): Ditto. | |
5058 | * tracepoint.c (trace_error): Ditto. | |
5059 | * remote-utils.c (usage): Ditto. | |
5060 | * remote.c (compare_sections_command): Ditto. | |
5061 | Fix PR gdb/328. | |
5062 | ||
0e101458 AC |
5063 | 2002-03-22 Andrew Cagney <ac131313@redhat.com> |
5064 | ||
5065 | * gdbtypes.c (append_composite_type_field): New function. | |
5066 | (init_composite_type): New function. | |
5067 | * gdbtypes.h (append_composite_type_field): Declare. | |
5068 | (init_composite_type): Ditto. | |
5069 | ||
8e0662df EZ |
5070 | 2002-03-22 Elena Zannoni <ezannoni@redhat.com> |
5071 | ||
5072 | * ppc-linux-tdep.c (ppc_sysv_abi_use_struct_convention): New | |
7e336ba1 | 5073 | function. |
8e0662df EZ |
5074 | * ppc-tdep.h (ppc_sysv_abi_use_struct_convention): Export. |
5075 | * rs6000-tdep.c (rs6000_gdbarch_init): Use different | |
5076 | structure returning convention for SYSV ABI case, but not | |
5077 | for GNU/Linux, FreeBSD, or NetBSD. | |
5078 | ||
3121eff0 DJ |
5079 | 2002-03-22 Daniel Jacobowitz <drow@mvista.com> |
5080 | ||
5081 | * symtab.h (lookup_block_symbol): Add mangled_name argument | |
5082 | to prototype. | |
5083 | ||
5084 | * symmisc.c (maintenance_check_symtabs): Call lookup_block_symbol | |
5085 | with new mangled_name argument. | |
5086 | * linespec.c (decode_line_1): Likewise. | |
5087 | * valops (value_of_this): Likewise. | |
5088 | * symtab.c (lookup_transparent_type): Likewise. | |
5089 | (lookup_symbol_aux): Likewise. Accept new mangled_name argument. | |
5090 | (lookup_symbol): If we are given a mangled name, pass it down | |
5091 | to lookup_symbol_aux. | |
5092 | (lookup_block_symbol): If we are given a mangled name to check | |
5093 | against, only return symbols which match it. | |
5094 | ||
349b409f CF |
5095 | 2002-03-22 Christopher Faylor <cgf@redhat.com> |
5096 | ||
5097 | * win32-nat.c (child_create_inferior): Check for proper shell to use | |
5098 | here, in case the user changes it on the fly. | |
5099 | (_initialize_inftarg): Remove shell path considerations. | |
5100 | ||
2a873819 EZ |
5101 | 2002-03-21 Elena Zannoni <ezannoni@redhat.com> |
5102 | ||
5103 | * rs6000-tdep.c (rs6000_gdbarch_init): Use correct max size value | |
5104 | for gdbarch_max_register_raw_size and max_register_virtual_size. | |
5105 | Adjust copyright year. | |
5106 | ||
a1b9830c DJ |
5107 | 2002-03-21 Daniel Jacobowitz <drow@mvista.com> |
5108 | ||
5109 | * dbxread.c (process_one_symbol): Extend the first N_SLINE | |
5110 | in a function to cover the entire beginning of the function | |
5111 | as well if it does not already. | |
5112 | ||
8b5790f2 TR |
5113 | 2002-03-21 Tom Rix <trix@redhat.com> |
5114 | ||
5115 | * rs6000-nat.c (rs6000_ptrace32): Renamed from ptrace32. | |
5116 | (rs6000_ptrace64): Renamed from ptrace64. | |
5117 | ||
bdbe5747 MH |
5118 | 2002-03-20 Martin M. Hunt <hunt@redhat.com> |
5119 | ||
5120 | * gdbserver/remote-utils.c (remote_open): Don't call | |
5121 | getprotobyname, we're all using TCP here so just use | |
5122 | IPPROTO_TCP. | |
7e336ba1 | 5123 | * gdbserver/gdbreplay.c (remote_open): Ditto. |
bdbe5747 MH |
5124 | |
5125 | 2002-03-20 Martin M. Hunt <hunt@redhat.com> | |
7e336ba1 | 5126 | |
bdbe5747 MH |
5127 | * regcache.c (_initialize_regcache): No need to call |
5128 | build_regcache() at this time; it gets called whenever | |
5129 | the gdbarch changes. | |
5130 | ||
7781cd62 DB |
5131 | 2002-03-20 David O'Brien <obrien@FreeBSD.org> |
5132 | ||
5133 | * sparc-nat.c: Include sys/param.h where possible. | |
5134 | ||
f65ca430 DJ |
5135 | 2002-03-20 Daniel Jacobowitz <drow@mvista.com> |
5136 | ||
5137 | Fix PR gdb/422. | |
5138 | * c-lang.c (c_create_fundamental_type): Handle FT_COMPLEX, | |
5139 | FT_DBL_PREC_COMPLEX, and FT_EXT_PREC_COMPLEX. | |
5140 | * dwarf2read.c (read_base_type): Set TYPE_TARGET_TYPE for | |
5141 | complex types. | |
5142 | * stabsread.c (rs6000_builtin_type): Likewise. | |
5143 | (read_sun_floating_type): Likewise. | |
5144 | ||
0c867556 PS |
5145 | 2002-03-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
5146 | ||
5147 | * stabsread.c (read_member_functions): Remove skip code for duplicate | |
5148 | constructor/destructor methods. Use standard parsing for these | |
5149 | methods and just do not chain them to the list of methods after | |
5150 | parsing. | |
5151 | ||
12b9c64f AO |
5152 | 2002-03-19 Alexandre Oliva <aoliva@redhat.com> |
5153 | ||
5154 | * coffread.c: Remove redundant static declarations. Replace | |
5155 | occurrences of `PTR' with `void *'. | |
5156 | * elfread.c, mdebugread.c, minsyms.c, mipsread.c: Likewise. | |
5157 | * top.h (quit_cover): Likewise. | |
5158 | * defs.h (catch_errors): Likewise. | |
5159 | ||
349c5d5f AC |
5160 | 2002-03-18 Andrew Cagney <ac131313@redhat.com> |
5161 | ||
5162 | * defs.h (XMALLOC): Define. | |
5163 | * gdb-events.sh (XMALLOC): Delete macro. | |
5164 | * gdb-events.c, gdb-events.h: Regenerate. | |
5165 | * gdbarch.sh (XMALLOC): Delete macro. | |
5166 | * gdbarch.c: Regenerate. | |
5167 | * serial.c (XMALLOC): Delete macro. | |
5168 | * ui-file.c (XMALLOC): Ditto. | |
5169 | * ser-unix.h (XMALLOC): Ditto. | |
5170 | * sh-tdep.c (XMALLOC): Ditto. | |
5171 | * ui-out.c (XMALLOC): Ditto. | |
5172 | * utils.c (XMALLOC): Ditto. | |
5173 | * i386-tdep.c (XMALLOC): Ditto. | |
5174 | * gdb-events.c (XMALLOC): Ditto. | |
5175 | * d10v-tdep.c (XMALLOC): Ditto. | |
5176 | * cli-out.c (XMALLOC): Ditto. | |
5177 | ||
5178 | * cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright. | |
5179 | * gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto. | |
5180 | * ui-file.c, ui-out.c: Ditto. | |
5181 | ||
7d0766f3 AC |
5182 | 2002-03-18 Andrew Cagney <ac131313@redhat.com> |
5183 | ||
5184 | * command.h (struct cmd_list_element): Add field context. | |
5185 | (set_cmd_context, get_cmd_context): Declare. | |
5186 | * cli/cli-decode.h: Ditto. | |
5187 | * cli/cli-decode.c (get_cmd_context): New function. | |
5188 | (set_cmd_context): New function. | |
5189 | (add_cmd): Initialize context. | |
5190 | Part of fixing PR gdb/145 and PR gdb/146. | |
5191 | ||
5913bcb0 AC |
5192 | 2002-03-17 Andrew Cagney <ac131313@redhat.com> |
5193 | ||
1868c04e AC |
5194 | * cli/cli-decode.c (cmd_type): New function. |
5195 | * command.h (cmd_type): Declare. | |
5196 | * infrun.c (set_schedlock_func): Call function cmd_type. | |
5197 | * kod.c (kod_set_os): Call cmd_type. | |
5198 | * cris-tdep.c (cris_version_update): Use function cmd_type. | |
5199 | (cris_mode_update, cris_abi_update): Ditto. | |
5200 | ||
5913bcb0 AC |
5201 | * command.h: (execute_cmd_post_hook): Declare. |
5202 | (execute_cmd_pre_hook): Declare. | |
5203 | * cli/cli-script.c (clear_hook_in_cleanup): New function. | |
5204 | (execute_cmd_post_hook, execute_cmd_pre_hook): New | |
5205 | functions. Execute pre/post hook while ensuring that afterwords | |
5206 | hook_in is cleared. | |
5207 | * top.c (execute_command): Use execute_cmd_post_hook, and | |
5208 | execute_cmd_pre_hook to execute pre/post commands. | |
5209 | * infrun.c (normal_stop): Pass stop_command and not pre_hook to | |
5210 | hook_stop_stub. | |
5211 | (hook_stop_stub): Call execute_cmd_pre_hook. | |
5212 | ||
b51450c9 AC |
5213 | 2002-03-17 Andrew Cagney <ac131313@redhat.com> |
5214 | ||
5215 | * kod.c (kod_set_os): Revert previous change. Is called by ``info | |
5216 | set'' and this leads to a core dump. Move xstrdup of | |
5217 | operating_system to after check that it is not NULL. | |
5218 | ||
f66c9f11 AC |
5219 | 2002-03-17 Andrew Cagney <ac131313@redhat.com> |
5220 | ||
8e694ecf AC |
5221 | * kod.c (kod_set_os): Remove unnecessary check that |
5222 | ``command->type'' is set_cmd. | |
5223 | ||
f66c9f11 AC |
5224 | * valprint.c (set_input_radix): Use input_radix. |
5225 | (set_output_radix): Use output_radix. | |
5226 | (set_input_radix_1, set_output_radix_1): Add FIXME - bad radix | |
5227 | isn't reverted. | |
5228 | ||
9d01611c AC |
5229 | 2002-03-16 Andrew Cagney <ac131313@redhat.com> |
5230 | ||
5231 | * value.h (struct value): Delete field ``substring_addr''. Change | |
5232 | aligner fields to force_doublest_align, force_longest_align, | |
ee2d3b3a AC |
5233 | force_core_addr_align and force_pointer_aligh. |
5234 | ||
5235 | * value.h (struct value): Fix typo in above change. | |
9d01611c | 5236 | |
4156bb53 PS |
5237 | 2002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
5238 | ||
5239 | * ia64-tdep.c (ia64_gdbarch_init): Call set_gdbarch_frame_args_skip, | |
5240 | to fix internal_error from ``maintenance print architecture''. | |
5241 | ||
0e5e3ea6 PS |
5242 | 2002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
5243 | ||
5244 | * cp-valprint.c (cp_is_vtbl_ptr_type): Handle vtbl field type | |
5245 | for gcc versions after gcc-2.8.1. | |
5246 | ||
9b013045 PS |
5247 | 2002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
5248 | ||
5249 | * eval.c (evaluate_subexp_standard): Fix setup of ``this'' pointer | |
5250 | for method resolution. Restore adjustment of ``this'' pointer after | |
5251 | calling value_struct_elt, which was accidentally removed during the | |
5252 | HP merge. | |
5253 | ||
376c9600 AC |
5254 | 2002-03-15 Andrew Cagney <ac131313@redhat.com> |
5255 | ||
5256 | * eval.c (evaluate_subexp_standard): Pass ``selected_frame'' to | |
5257 | value_of_register. | |
5258 | * findvar.c (value_of_register): Add ``frame'' parameter. Pass to | |
5259 | get_saved_register. | |
5260 | * value.h (value_of_register): Update. | |
5261 | ||
a4db0f07 RH |
5262 | 2002-03-14 Richard Henderson <rth@redhat.com> |
5263 | ||
5264 | * configure.in: Detect declaration for canonicalize_file_name. | |
5265 | * utils.c (canonicalize_file_name): Declare, if needed. | |
5266 | (gdb_realpath): Prefer realpath if available and usable. | |
5267 | * config.in, configure: Rebuild. | |
5268 | ||
96383835 RH |
5269 | 2002-03-14 Richard Henderson <rth@redhat.com> |
5270 | ||
5271 | * dwarf2read.c (read_array_type): Accept DW_FORM_data8 as | |
5272 | a constant array bound. | |
5273 | ||
5274 | * MAINTAINERS: Add myself to write-after-approval. | |
5275 | ||
75245b24 MS |
5276 | 2002-03-14 Michael Snyder <msnyder@redhat.com> |
5277 | ||
5278 | * symfile.c (syms_from_objfile): Return immediately if no syms. | |
5279 | (symbol_file_add): Return immediately if no syms. | |
5280 | (find_sym_fns): Return immediately if no syms. | |
5281 | ||
e641a1ca ML |
5282 | 2002-03-13 Michal Ludvig <mludvig@suse.cz> |
5283 | ||
5284 | * gdbserver/remote-util.c (remote_open): Print remote-side's | |
5285 | IP address when remote debugging over the network. | |
7e336ba1 | 5286 | |
df08bfec DB |
5287 | 2002-03-12 David O'Brien <obrien@FreeBSD.org> |
5288 | ||
5289 | * config/sparc/fbsd.mh: Fix copyright. | |
5290 | * config/sparc/fbsd.mt: Likewise. | |
5291 | ||
9a57864f RE |
5292 | 2002-03-11 Richard Earnshaw <rearnsha@arm.com> |
5293 | ||
5294 | * MAINTAINERS: Fix typo in name of gdb warnings option. | |
5295 | (x86-64): Fix formating so that this can be parsed by awk. | |
5296 | ||
dd7bf85e DJ |
5297 | 2002-03-10 Daniel Jacobowitz <drow@mvista.com> |
5298 | ||
5299 | * Makefile.in (defs_h): Add $(INCLUDE_DIR)/gdb/signals.h. | |
5300 | * defs.h: Include "gdb/signals.h". | |
5301 | (enum target_signal): Move to $(INCLUDE_DIR)/gdb/signals.h. | |
5302 | ||
33a0a2ac ML |
5303 | 2002-03-10 Michal Ludvig <mludvig@suse.cz> |
5304 | ||
5305 | * x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c | |
7e336ba1 | 5306 | * x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here |
33a0a2ac ML |
5307 | from x86-64-tdep.h |
5308 | ||
dd824b04 DJ |
5309 | 2002-03-10 Daniel Jacobowitz <drow@mvista.com> |
5310 | Don Howard <dhoward@redhat.com> | |
5311 | ||
5312 | * mips-tdep.c (ST0_FR): Define. | |
5313 | (mips2_fp_compat): New function, temporarily disabled. | |
5314 | (mips_read_fp_register_single): New function. | |
5315 | (mips_read_fp_register_double): New function. | |
5316 | (mips_print_register): Use them. | |
5317 | (do_fp_register_row): Likewise. | |
5318 | ||
6a41ff59 AC |
5319 | 2002-03-09 Andrew Cagney <ac131313@redhat.com> |
5320 | ||
5321 | * MAINTAINERS: Add Jim Ingham and Klee Dienes to ``write after | |
5322 | approval''. | |
5323 | ||
4ea09c10 PS |
5324 | 2002-03-08 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
5325 | ||
5326 | * stabsread.c (read_member_functions): Fix is_stub test for | |
5327 | static member functions, improve comment. | |
5328 | ||
6ccc741d RE |
5329 | 2002-03-07 Richard Earnshaw <rearnsha@arm.com> |
5330 | ||
5331 | * remote-rdi.c (myprint): Replace 'PTR' with 'void *'. | |
5332 | (mywrite, mywritec, mypause, myreadc, mygets): Likewise. | |
5333 | (_initialize_remote_rdi): Use add_set_boolean_cmd to register | |
5334 | commands that set boolean values. | |
5335 | (arm_rdi_remove_breakpoint): Rewrite to avoid uninitialized warning. | |
5336 | (arm_rdi_resume): Always initialize PC. | |
5337 | (arm_rdi_open): Don't use rslt as a boolean. | |
5338 | (arm_rdi_create_inferior, arm_rdi_close, arm_rdi_resume) | |
5339 | (arm_rdi_fetch_registers, arm_rdi_store_registers) | |
5340 | (arm_rdi_xfer_memory, arm_rdi_files_info, arm_rdi_kill) | |
5341 | (arm_rdi_insert_breakpoint, arm_rdi_remove_breakpoint): Likewise. | |
5342 | ||
438013df AO |
5343 | 2002-03-06 Alexandre Oliva <aoliva@redhat.com> |
5344 | ||
5345 | * configure.in (gdb_cv_bigtoc): Check for -bbigtoc on AIX. | |
5346 | * configure: Rebuilt. | |
5347 | ||
70ed8774 SC |
5348 | 2002-03-06 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
5349 | ||
5350 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Don't set tm_print_insn. | |
5351 | (m68hc11_gdbarch_init): But use set_gdbarch_print_insn instead. | |
5352 | ||
5ba2abeb AC |
5353 | 2002-03-06 Andrew Cagney <ac131313@redhat.com> |
5354 | ||
5355 | * cli/cli-decode.c (set_cmd_completer): New function. | |
5356 | * command.h (set_cmd_completer): Declare. | |
5357 | * cli/cli-decode.h (set_cmd_completer): Ditto. | |
5358 | ||
5359 | * breakpoint.c (_initialize_breakpoint): Use set_cmd_completer. | |
5360 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
5361 | * win32-nat.c (_initialize_inftarg): Ditto. | |
5362 | * remote-rdi.c (_initialize_remote_rdi): Ditto. | |
5363 | * proc-api.c (_initialize_proc_api): Ditto. | |
5364 | * hppa-tdep.c (_initialize_hppa_tdep): Ditto. | |
5365 | * source.c (_initialize_source): Ditto. | |
5366 | * exec.c (_initialize_exec): Ditto. | |
5367 | * solib.c (_initialize_solib): Ditto. | |
5368 | * top.c (init_main): Ditto. | |
5369 | * tracepoint.c (_initialize_tracepoint): Ditto. | |
5370 | * symfile.c (_initialize_symfile): Ditto. | |
5371 | * printcmd.c (_initialize_printcmd): Ditto. | |
5372 | * infcmd.c (_initialize_infcmd): Ditto. | |
5373 | * corefile.c (_initialize_core): Ditto. | |
5374 | ||
f779ca99 AC |
5375 | 2002-03-05 Andrew Cagney <ac131313@redhat.com> |
5376 | ||
5377 | * MAINTAINERS (Past Maintainers): Add Frank Ch. Eigler. | |
5378 | ||
01a3934b AC |
5379 | 2002-03-05 Andrew Cagney <ac131313@redhat.com> |
5380 | ||
5381 | * MAINTAINERS: Fix Mac OS X and Objective-C/C++. | |
5382 | ||
37057839 AC |
5383 | 2002-03-05 Andrew Cagney <ac131313@redhat.com> |
5384 | ||
5385 | * NEWS: Update headings, 5.2 has branched. | |
5386 | ||
c6ecbae5 DJ |
5387 | 2002-03-04 Daniel Jacobowitz <drow@mvista.com> |
5388 | ||
5389 | * gdbserver/linux-low.c (PTRACE_XFER_TYPE): Change to long. | |
5390 | (num_regs, regmap): Move inside HAVE_LINUX_USRREGS. | |
5391 | (register_addr, REGISTER_RAW_SIZE): Likewise. | |
5392 | (usr_store_inferior_registers): Use PTRACE_XFER_TYPE. | |
5393 | * gdbserver/linux-x86-64-low.c: Remove extra #endif. | |
5394 | ||
e9f30c21 ML |
5395 | 2002-03-03 Michal Ludvig <mludvig@suse.cz> |
5396 | ||
5397 | * MAINTAINERS (x86-64): Add myself. | |
5398 | * x86-64-tdep.c (x86_64_push_arguments): Fixed typo naregs->nregs, | |
5399 | changed value_ptr -> struct value * | |
5400 | ||
54394ac3 DB |
5401 | 2002-03-01 David O'Brien <obrien@FreeBSD.org> |
5402 | ||
5403 | * configure.host (sparc64-*-freebsd): Add. | |
5404 | * configure.tgt: Likewise. | |
5405 | * config/sparc/fbsd.mh: New file. | |
5406 | * config/sparc/fbsd.mt: Likewise. | |
5407 | * config/sparc/nm-fbsd.h: Likewise. | |
5408 | * config/sparc/tm-fbsd.h: Likewise. | |
5409 | ||
bfe95955 DJ |
5410 | 2002-03-01 Daniel Jacobowitz <drow@mvista.com> |
5411 | ||
5412 | * config/djgpp/fnchange.lst: Add regformats/reg-i386-linux.dat and | |
5413 | regformats/reg-s390x.dat. | |
5414 | ||
f33c6cbf AC |
5415 | 2002-03-01 Andrew Cagney <ac131313@redhat.com> |
5416 | ||
5417 | * utils.c: Add FIXME explaining true/false problem. | |
5418 | ||
5ecaa7dd AC |
5419 | 2002-02-28 Andrew Cagney <ac131313@redhat.com> |
5420 | ||
5421 | * MAINTAINERS (Past Maintainers): Add J.T. Conklin. | |
5422 | ||
2a251cc2 MC |
5423 | 2002-02-28 Michael Chastain <mec@shout.net> |
5424 | ||
5425 | * MAINTAINERS: Fix typo: gdb.satbs -> gdb.stabs . | |
5426 | ||
6a8031a3 | 5427 | 2002-02-28 Daniel Jacobowitz <drow@mvista.com> |
265f716b DJ |
5428 | |
5429 | * gdbserver/linux-s390-low.c: New file. | |
5430 | * regformats/reg-s390.dat: New file. | |
5431 | * regformats/reg-s390x.dat: New file. | |
5432 | * gdbserver/configure.srv: Add S/390. | |
5433 | * gdbserver/Makefile.in: Add S/390. | |
5434 | * configure.tgt: Enable gdbserver for S/390. | |
5435 | ||
ac469903 EZ |
5436 | 2002-02-28 Eli Zaretskii <eliz@is.elta.co.il> |
5437 | ||
5438 | * go32-nat.c (_initialize_go32_nat): Don't use periods in the | |
5439 | first line of the doc string for "info dos", except at the end of | |
5440 | the sentence, since the short help stops at the first period. | |
5441 | ||
985cb1a3 JM |
5442 | 2002-02-28 Jason Merrill <jason@redhat.com> |
5443 | ||
5444 | * dwarf2read.c (dwarf_cfi_name): Add new codes. | |
5445 | ||
c570663e FF |
5446 | 2002-02-27 Fred Fish <fnf@redhat.com> |
5447 | ||
5448 | * blockframe.c (generic_fix_call_dummy): Fix obvious typo in | |
5449 | comment (dumy -> dummy). | |
5450 | ||
43630227 PS |
5451 | 2002-02-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
5452 | ||
5453 | * symtab.c (gdb_mangle_name): Handle fully mangled v3 abi physnames. | |
5454 | ||
b84911e8 RB |
5455 | 2002-02-27 Rodney Brown <rbrown64@csc.com.au> |
5456 | ||
5457 | * utils.c (gdb_realpath): Add pathconf fallback for sco3.2v5. | |
5458 | ||
58caa3dc DJ |
5459 | 2002-02-27 Daniel Jacobowitz <drow@mvista.com> |
5460 | ||
5461 | * gdbserver/acconfig.h: New file. | |
5462 | * gdbserver/i387-fp.c: New file. | |
5463 | * gdbserver/i387-fp.h: New file. | |
5464 | * gdbserver/linux-x86-64.c: New file. | |
5465 | * regformats/reg-x86-64.dat: New file. | |
5466 | * configure.tgt: Add x86_64-*-linux* gdbserver support. | |
5467 | * gdbserver/configure.srv: Add x86_64-*-linux* and regset support. | |
5468 | * gdbserver/configure.in: Add support for regsets. | |
5469 | * gdbserver/config.in: Regenerate. | |
5470 | * gdbserver/configure: Regenerate. | |
5471 | * gdbserver/Makefile.in: Likewise. Add $(linux_low_h). | |
5472 | * gdbserver/linux-low.h: New file. | |
5473 | * gdbserver/linux-low.c: Include "linux-low.h". Add support | |
5474 | for regsets. | |
5475 | * gdbserver/linux-arm-low.c: Include "linux-low.h". | |
5476 | * gdbserver/linux-ia64-low.c: Include "linux-low.h". | |
5477 | * gdbserver/linux-m68k-low.c: Include "linux-low.h". | |
5478 | * gdbserver/linux-mips-low.c: Include "linux-low.h". | |
5479 | * gdbserver/linux-ppc-low.c: Include "linux-low.h". | |
5480 | * gdbserver/linux-sh-low.c: Include "linux-low.h". | |
5481 | * gdbserver/linux-i386-low.c: Include "linux-low.h". Include | |
5482 | "i387-fp.h". Add PTRACE_GETREGS and friends. | |
5483 | * gdbserver/regcache.c (supply_register): New function. | |
5484 | (supply_register_by_name): New function. | |
5485 | (collect_register): New function. | |
5486 | (collect_register_by_name): New function. | |
5487 | ||
93652174 DJ |
5488 | 2002-02-27 Daniel Jacobowitz <drow@mvista.com> |
5489 | ||
5490 | * gdbserver/Makefile.in (INTERNAL_CFLAGS): Remove -DGDBSERVER. | |
5491 | (config.status): Add configure.srv dependency. | |
5492 | (server_h): Add config.h dependency. | |
5493 | ||
a02e4a61 DJ |
5494 | 2002-02-27 Daniel Jacobowitz <drow@mvista.com> |
5495 | ||
5496 | * regformats/reg-i386-linux.dat: New file, with $orig_eax. | |
5497 | * gdbserver/Makefile.in: Add rules for reg-i386-linux.o. | |
5498 | * gdbserver/configure.srv: Change i386-*-linux* to use | |
5499 | reg-i386-linux.o. | |
5500 | ||
ce0eebec AC |
5501 | 2002-02-26 Andrew Cagney <ac131313@redhat.com> |
5502 | ||
5503 | * x86-64-tdep.c: Re-indent. Update copyright date. | |
5504 | ||
82dbc5f7 AC |
5505 | 2002-02-26 Andrew Cagney <ac131313@redhat.com> |
5506 | ||
5507 | From Michal Ludvig <mludvig@suse.cz>: | |
5508 | * x86-64-tdep.c (value.h): Delete. | |
5509 | (gdb_assert.h): Include. | |
5510 | (x86_64_register_convert_to_virtual, | |
5511 | x86_64_register_convert_to_raw ): Add check which lets only | |
5512 | floating-point values to be converted. | |
5513 | (value_push): Delete. | |
5514 | (x86_64_push_arguments): Order of arguments pushed on stack fixed. | |
5515 | (i386_gdbarch_init): Number of register_bytes fixed. | |
5516 | ||
e4621584 AC |
5517 | 2002-02-26 Andrew Cagney <ac131313@redhat.com> |
5518 | ||
5519 | * MAINTAINERS: Add x86-64 target. | |
5520 | ||
81a9a963 AC |
5521 | 2002-02-26 Andrew Cagney <ac131313@redhat.com> |
5522 | ||
5523 | * memattr.c (mem_command): Eliminate ``true'' and ``false''. | |
5524 | * osfsolib.c (solib_map_sections): Ditto. | |
5525 | * irix5-nat.c (solib_map_sections): Ditto. | |
5526 | * corelow.c (gdb_check_format): Ditto. | |
5527 | * symfile.c (symfile_bfd_open): Ditto. | |
5528 | * solib.c (solib_map_sections): Ditto. | |
5529 | Fix PR gdb/354. | |
7e336ba1 | 5530 | |
0f017ab9 AC |
5531 | 2002-02-26 Andrew Cagney <ac131313@redhat.com> |
5532 | ||
5533 | * remote.c (_initialize_remote): By default, disable ``e'' and | |
5534 | ``E'' step out-of-range packets. | |
5535 | ||
75738c29 AS |
5536 | 2002-02-26 Andreas Schwab <schwab@suse.de> |
5537 | ||
5538 | * config/m68k/tm-linux.h (FRAME_SAVED_PC): Define as | |
5539 | m68k_linux_frame_saved_pc. | |
5540 | (IN_SIGTRAMP): Define as m68k_linux_in_sigtramp instead of | |
5541 | in_sigtramp. | |
5542 | (SIGCONTEXT_PC_OFFSET): Remove. | |
5543 | * m68klinux-nat.c (m68k_linux_frame_saved_pc, | |
5544 | m68k_linux_sigtramp_saved_pc): New functions. | |
5545 | (IS_SIGTRAMP, IS_RT_SIGTRAMP): Define. | |
5546 | (SIGCONTEXT_PC_OFFSET): Moved here from config/m68k/tm-linux.h. | |
5547 | (UCONTEXT_PC_OFFSET): Define. | |
5548 | (m68k_linux_in_sigtramp): Renamed from in_sigtramp, handle both | |
5549 | non-RT and RT signal trampolines. | |
5550 | ||
7e8ed687 RE |
5551 | 2002-02-26 Richard Earnshaw <rearnsha@arm.com> |
5552 | ||
5553 | * config/arm/tm-embed.h (TARGET_UPAGES): Delete. | |
5554 | (TARGET_NBPG, STACK_END_ADDR): Delete | |
5555 | (VARIABLES_INSIDE_BLOCK): Delete. | |
5556 | ||
6972bc8b AC |
5557 | 2002-02-25 Andrew Cagney <ac131313@redhat.com> |
5558 | ||
5559 | * utils.c (perror_with_name): Make string parameter constant. | |
5560 | (print_sys_errmsg): Ditto. | |
5561 | (query): Ditto. | |
5562 | * defs.h (perror_with_name): Update. | |
5563 | (print_sys_errmsg): Update. | |
5564 | (query): Update. | |
5565 | ||
aa32f823 DJ |
5566 | 2002-02-25 Daniel Jacobowitz <drow@mvista.com> |
5567 | ||
5568 | From Eliot Dresselhaus <eliot@ayrnetworks.com>: | |
5569 | * gdbserver/linux-mips-low.c (cannot_fetch_register): Fix typo. | |
5570 | ||
19caaa45 PS |
5571 | 2002-02-25 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
5572 | ||
5573 | * rs6000-nat.c (set_host_arch): Do not switch to a new architecture | |
5574 | if it already matches the current architecture from the exec file. | |
5575 | Include arch-utils.h for gdbarch_info_init prototype. | |
5576 | * Makefile.in (rs6000-nat.o): Update dependencies. | |
5577 | ||
d951901f EZ |
5578 | 2002-02-25 Eli Zaretskii <eliz@is.elta.co.il> |
5579 | ||
5580 | * config/djgpp/djconfig.sh: Set NM=nm and CFLAGS="-g -O2" in the | |
5581 | list of exported variables. | |
5582 | ||
7ea81414 DJ |
5583 | 2002-02-24 Daniel Jacobowitz <drow@mvista.com> |
5584 | ||
5585 | * gdbserver/configure.srv: New file. | |
5586 | * gdbserver/configure.in: Use configure.srv instead | |
5587 | of the host/target makefile fragments. Set GDBSERVER_DEPFILES | |
5588 | from it. | |
5589 | * gdbserver/configure: Regenerated. | |
5590 | * gdbserver/terminal.h: New file. | |
5591 | * gdbserver/Makefile.in: Update for configure changes. Remove | |
5592 | more unneeded include paths. | |
5593 | ||
080fe24b AC |
5594 | 2002-02-24 Andrew Cagney <ac131313@redhat.com> |
5595 | ||
5596 | From wiz at danbala: | |
5597 | * config/sparc/tm-sp64.h: Fix grammar and typos. | |
5598 | Fix PR gdb/287. | |
5599 | ||
8605d56e AC |
5600 | 2002-02-24 Andrew Cagney <ac131313@redhat.com> |
5601 | ||
5602 | * lin-lwp.c, thread-db.c, defs.h, cris-tdep.c: Replace ``Linux'' | |
a4b6fc86 AC |
5603 | with either ``GNU/Linux'' or ``Linux kernel''. Update copyright. |
5604 | * m68klinux-nat.c, sparc-linux-nat.c, x86-64-linux-nat.c: Ditto. | |
5605 | * x86-64-linux-tdep.c, gregset.h, gdb_wait.h: Ditto. | |
ca557f44 AC |
5606 | * ia64-linux-nat.c, infrun.c, linux-proc.c: Ditto. |
5607 | * proc-service.c, i386-linux-tdep.c, ppc-linux-tdep.c: Ditto. | |
5608 | * s390-tdep.c: Ditto. | |
92362027 AC |
5609 | * config/nm-linux.h, config/alpha/nm-linux.h: Ditto. |
5610 | * config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h: | |
5611 | * config/alpha/xm-alphalinux.h, config/i386/nm-linux.h: Ditto. | |
5612 | * config/i386/nm-x86-64.h, config/i386/tm-linux.h: Ditto. | |
5613 | * config/m68k/tm-linux.h, config/mips/nm-linux.h: Ditto. | |
5614 | * config/mips/tm-linux.h, config/mips/xm-linux.h: Ditto. | |
5615 | * config/powerpc/tm-linux.h, config/s390/nm-linux.h: Ditto. | |
5616 | * config/s390/tm-linux.h, config/sh/tm-linux.h: Ditto. | |
5617 | * config/sparc/nm-linux.h, config/sparc/tm-linux.h: Ditto. | |
5618 | * config/sparc/tm-sp64linux.h, config/sparc/xm-linux.h: Ditto. | |
8605d56e | 5619 | Fix PR gdb/378. |
7e336ba1 | 5620 | |
8ed32cc0 AC |
5621 | 2002-02-23 Andrew Cagney <ac131313@redhat.com> |
5622 | ||
a3007b6f AC |
5623 | * lin-thread.c: Delete file. |
5624 | * configure.in (gdb_cv_struct_reg_r_gs): Update comment to refer | |
5625 | to gdb_proc_service.h. | |
5626 | * configure: Re-generate. | |
5627 | ||
50a9e2f1 AC |
5628 | * ocd.c (ocd_open): Do not try to open the "ocd" device. |
5629 | * serial.c (serial_open): Delete check for "ocd". | |
5630 | Fix PR gdb/349. | |
5631 | ||
8b6e7932 AC |
5632 | * Makefile.in (linux-thread.o): Delete target. |
5633 | * linux-thread.c: Delete file. | |
5634 | ||
d155c46b AC |
5635 | * config/djgpp/fnchange.lst: Rename bfd/elf32-sh64.c. Tweak other |
5636 | renamed SH files to be consistent. | |
5637 | ||
8ed32cc0 AC |
5638 | * symtab.c (sort_search_symbols): Use xfree. |
5639 | ||
0e18d038 RE |
5640 | 2002-02-23 Richard Earnshaw <rearnsha@arm.com> |
5641 | ||
5642 | * arm-linux-tdep.c (arm_linux_init_abi): Register | |
5643 | IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE | |
5644 | * config/arm/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Replace old | |
5645 | definition with undef, since we don't want the sysvr4 definition. | |
5646 | (SKIP_TRAMPOLINE_CODE): Likewise. | |
5647 | ||
27aac7ff AC |
5648 | 2002-02-23 Andrew Cagney <ac131313@redhat.com> |
5649 | ||
5650 | From 2002-02-22 Alfred M. Szmidt <ams@kemisten.nu>: | |
5651 | ||
5652 | * configure.in: (AC_CHECK_FUNCS) Added test for | |
5653 | canonicalize_file_name Regenerated. | |
5654 | * config.in, configure: Regenerated. | |
5655 | * utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is | |
5656 | defined use canonicalize_file_name. | |
7e336ba1 | 5657 | |
65a6e0ee MC |
5658 | 2002-02-23 Michael Chastain <mec@shout.net> |
5659 | ||
5660 | * MAINTAINERS: Remove Michael Chastain from "paper trail" list. | |
5661 | ||
47b95330 AC |
5662 | 2002-02-23 Andrew Cagney <ac131313@redhat.com> |
5663 | ||
5664 | * README: Remove references to cygnus.com. | |
5665 | * MAINTAINERS: Change Past Maintainer addresses to ``foo at bar | |
5666 | dot com'' form. Remove references to cygnus.com and sourceware. | |
5667 | ||
696f451b AC |
5668 | 2002-02-23 Andrew Cagney <ac131313@redhat.com> |
5669 | ||
5670 | From 2002-02-19 Paul Eggert <eggert@twinsun.com>: | |
5671 | * Makefile.in (VER): Change "head -1" to "sed q", since POSIX | |
5672 | 1003.1-2001 no longer allows "head -1". | |
5673 | * gdb/Makefile.in (version.c): Likewise. | |
5674 | * gdb/doc/Makefile.in (GDBvn.texi): Likewise. | |
5675 | * gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is | |
5676 | equivalent. POSIX 1003.1-2001 no longer allows "diff -c3". | |
5677 | ||
bbaca940 AC |
5678 | 2002-02-23 Andrew Cagney <ac131313@redhat.com> |
5679 | ||
5680 | * cli/cli-decode.c (cmd_cfunc_eq): New function. | |
5681 | * command.h (cmd_cfunc_eq): Declare. | |
5682 | * cli/cli-decode.h (cmd_cfunc_eq): Ditto. | |
5683 | ||
5684 | * cli/cli-cmds.h (is_complete_command): Change parameter to a | |
5685 | ``struct cmd_list_element *''. | |
5686 | * cli/cli-cmds.c (is_complete_command): Update. Use | |
5687 | cmd_cfunc_eq. | |
5688 | * top.c (execute_command): Pass the command to | |
5689 | is_complete_command. | |
5690 | * tracepoint.c: Replace function.cfunc with cmd_cfunc_eq. | |
5691 | ||
b8b8b047 AC |
5692 | 2002-02-23 Andrew Cagney <ac131313@redhat.com> |
5693 | ||
5694 | From 2002-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com>: | |
5695 | * config/s390/tm-s390.h (GDB_TARGET_IS_ESAME): Use renamed | |
5696 | architecture defines. | |
5697 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
5698 | ||
19d3fc80 RE |
5699 | 2002-02-23 Richard Earnshaw <rearnsha@arm.com> |
5700 | ||
5701 | * arm-linux-tdep.c (arm_linux_extract_return_value): Make static. | |
5702 | (arm_linux_push_arguments): Likewise. | |
5703 | (arm_linux_init_abi): Register them. Also register linux-specific | |
5704 | call_dummy_words. | |
5705 | (find_minsym_and_objfile): Use strcmp, not STREQ. | |
5706 | * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Delete. | |
5707 | (arm_linux_call_dummy_words): Delete declaration. | |
5708 | (EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS): Delete. | |
5709 | (arm_linux_extract_return_value, arm_linux_push_arguments): Delete | |
5710 | declarations. | |
5711 | (LOWEST_PC): Delete. | |
5712 | ||
3ab13650 PS |
5713 | 2002-02-23 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
5714 | ||
5715 | * maint.c (print_section_info): Do not prepend `0x' to filepos | |
5716 | output, it will be handled by local_hex_string_custom. | |
5717 | ||
19d3fc80 | 5718 | 2002-02-23 Richard Earnshaw <rearnsha@arm.com> |
85ae890c RE |
5719 | |
5720 | * arm-linux-nat.c (store_newfpe_single): Use regcache_collect. | |
5721 | (store_newfpe_double, store_newfpe_extended, store_fpregister) | |
5722 | (store_register, store_regs, fill_gregset, fill_fpregset): Likewise. | |
5723 | ||
d85a5daf JB |
5724 | 2002-02-22 Jim Blandy <jimb@redhat.com> |
5725 | ||
5726 | Indicate that the bcache functions don't change the strings | |
5727 | they're passed. | |
5728 | * bcache.h (bcache, hash): Add `const' keywords to declarations. | |
5729 | * bcache.c (bcache, hash): Add `const' keywords to definitions. | |
5730 | ||
eeb25b8a PM |
5731 | 2002-02-22 Pierre Muller <muller@ics.u-strasbg.fr> |
5732 | ||
5733 | * win32-nat.c (child_create_inferior): Fix create flags setting bug. | |
5734 | ||
6badb179 CF |
5735 | 2002-02-21 Christopher Faylor <cgf@redhat.com> |
5736 | ||
5737 | * win32-nat.c (register_loaded_dll): Just use raw name when we can't | |
5738 | find the complete path to a loaded DLL. | |
5739 | ||
e8717518 FF |
5740 | 2002-02-21 Fred Fish <fnf@redhat.com> |
5741 | ||
5742 | * dbxread.c (process_one_symbol): When finding an N_FUN symbol | |
5743 | that marks the end of the range of a function, enter a line number | |
5744 | entry that has a line number of zero and a PC offset that matches | |
5745 | the end of the function. This starts a range of PC's for which no | |
5746 | line number information is known. | |
5747 | * symtab.c (find_pc_sect_line): If our best fit is in a range of | |
5748 | PC's for which no line number info is found (line number is zero) | |
5749 | then we didn't find any valid line information. | |
5750 | * symtab.h: Document use of zero line number entry. | |
5751 | ||
9abe5450 EZ |
5752 | 2002-02-21 Elena Zannoni <ezannoni@redhat.com> |
5753 | ||
5754 | * ppc-linux-nat.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Define. | |
5755 | (have_ptrace_getvrregs): Define for run time checks. | |
5756 | (gdb_vrregset_t): New type for Altivec register handling. | |
5757 | (fetch_register, store_register): Fetch/store altivec register | |
5758 | when needed. | |
5759 | (fetch_altivec_register, store_altivec_register): New functions. | |
5760 | (supply_vrregset, fill_vrregset): New functions. | |
5761 | (fetch_altivec_registers, store_altivec_registers): New functions. | |
5762 | (fetch_ppc_registers, store_ppc_registers): Fetch/store altivec | |
5763 | registers as well. | |
5764 | ||
aaa38bb5 AJ |
5765 | 2002-02-21 Jiri Smid <smid@suse.cz> |
5766 | ||
5767 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove x86-64-nat.o. | |
5768 | ||
b34db576 RE |
5769 | 2002-02-21 Richard Earnshaw <rearnsha@arm.com> |
5770 | ||
5771 | * Makefile.in (armnbsd-nat.o): Update dependencies. | |
5772 | * armnbsd-nat.c (supply_gregset): New function. Common code to | |
5773 | supply the integer register set. | |
5774 | (supply_fparegset): New function. Similar for FPA registers. | |
5775 | (fetch_regs, fetch_fp_regs): Use them. | |
5776 | (fetch_core_registers): Likewise. | |
5777 | (fetch_elfcore_registers): New function. | |
5778 | (arm_netbsd_elfcore_fns): New core-file type specification. | |
5779 | (_initialize_arm_netbsd_nat): Register it. | |
5780 | ||
3e56fc4b RE |
5781 | 2002-02-21 Richard Earnshaw <rearnsha@arm.com> |
5782 | ||
5783 | * armnbsd-nat.c: Include gdbcore.h. | |
5784 | (FETCH_INFERIOR_REGISTERS): Just error if this isn't defined. | |
5785 | (fetch_regs, fetch_fp_regs, store_regs, store_fp_regs): Add explicit | |
5786 | 'void' to declaration, to shut up ARI. | |
5787 | (fetch_core_registers): Make static. Rewrite using supply_register. | |
5788 | (arm_netbsd_core_fns): New core-file type specification. | |
5789 | (_initialize_arm_netbsd_nat): New function. | |
5790 | ||
097f6b0b CF |
5791 | 2002-02-21 Christopher Faylor <cgf@redhat.com> |
5792 | ||
5793 | * win32-nat.c (register_loaded_dll): Correctly check for invalid handle | |
5794 | value. | |
5795 | ||
c914e0cc CF |
5796 | 2002-02-20 Christopher Faylor <cgf@redhat.com> |
5797 | ||
5798 | * win32-nat.c (register_loaded_dll): Handle case where FindFirstFile | |
5799 | fails. | |
5800 | ||
385fa495 DJ |
5801 | 2002-02-20 Daniel Jacobowitz <drow@mvista.com> |
5802 | ||
5803 | * jv-exp.y (parse_number): Change type of implicit longs | |
5804 | to builtin_type_uint64. | |
5805 | ||
e5f1222d DJ |
5806 | 2002-02-20 Daniel Jacobowitz <drow@mvista.com> |
5807 | ||
5808 | * gdbserver/linux-low.c (mywait): Change argument to waitpid | |
5809 | to be an integer instead of a `union wait'. | |
5810 | ||
75c9abc6 DJ |
5811 | 2002-02-20 Daniel Jacobowitz <drow@mvista.com> |
5812 | ||
5813 | * mips-linux-nat.c: Call the operating system GNU/Linux. | |
5814 | * mips-linux-tdep.c: Likewise. | |
5815 | * mips-tdep.c: Likewise. | |
5816 | ||
551792a5 DJ |
5817 | 2002-02-20 Daniel Jacobowitz <drow@mvista.com> |
5818 | ||
5819 | Fix PR gdb/265. | |
5820 | * jv-exp.y (parse_number): Handle 64-bit integers. | |
5821 | ||
ee6e2b82 DJ |
5822 | 2002-02-20 Daniel Jacobowitz <drow@mvista.com> |
5823 | ||
5824 | * gdbserver/configure.in: Remove AM_PROC_CC_STDC. Change | |
5825 | AC_STDC_HEADERS to AC_HEADER_STDC. | |
5826 | * gdbserver/configure: Regenerated. | |
5827 | ||
a48442a0 RE |
5828 | 2002-02-20 Richard Earnshaw <rearnsha@arm.com> |
5829 | ||
5830 | * arc-tdep.c (get_longjmp_target): Only compile this function if JB_PC | |
5831 | is defined. | |
5832 | * sparc-tdep.c (get_longjmp_target): Likewise. | |
5833 | ||
fe419ffc RE |
5834 | 2002-02-20 Richard Earnshaw <rearnsha@arm.com> |
5835 | ||
5836 | * News: Add news about ARM and Multi-arch. Mention the new target | |
5837 | arm*-*-netbsd*. | |
5838 | ||
5832ed7e JB |
5839 | 2002-02-19 Jim Blandy <jimb@redhat.com> |
5840 | ||
5841 | * stabsread.c (error_type_complaint): Improve error message. | |
5842 | ||
84563040 DJ |
5843 | 2002-02-19 Daniel Jacobowitz <drow@mvista.com> |
5844 | ||
5845 | * gdbserver/README: Update documentation. | |
5846 | * gdbserver/configure.in: Update configury to match documentation. | |
5847 | * gdbserver/Makefile.in: Likewise. | |
5848 | * gdbserver/configure: Regenerated. | |
5849 | * gdbserver/aclocal.m4: New file, generated by aclocal. | |
5850 | * gdbserver/config.in: New file, generated by autoheader. | |
5851 | ||
375fd65b RE |
5852 | 2002-02-19 Richard Earnshaw <rearnsha@arm.com> |
5853 | ||
5854 | * config/djgpp/fnchange.lst: Add change rules for armnbsd-tdep.c and | |
5855 | armnbsd-nat.c. | |
5856 | ||
08216dd7 RE |
5857 | 2002-02-19 Richard Earnshaw <rearnsha@arm.com> |
5858 | ||
5859 | * arm-tdep.h (enum arm_float_model): New enum. | |
5860 | (struct gdbarch_tdep): Add fp_model. | |
5861 | * arm-tdep.c (arm_gdbarch_init): Set fp_model in tdep. Defer setting | |
5862 | up floating-point conversions until we know the floating-point model | |
5863 | in use by the inferior. Don't complain about being unable to | |
5864 | determine the ABI of the inferior when we don't have one. | |
5865 | (arm_extract_return_value): Support different floating-point models. | |
5866 | (arm_store_return_value): Likewise. | |
aaa38bb5 | 5867 | * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Set fp_model in tdep to |
08216dd7 RE |
5868 | ARM_FLOAT_SOFT. |
5869 | (arm_netbsd_elf_init_abi): Set fp_model to ARM_FLOAT_SOFT_VFP. | |
5870 | ||
65d6d66a PS |
5871 | 2002-02-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
5872 | ||
5873 | * i386-tdep.c (i386_gdbarch_init): Eliminate incorrect use | |
5874 | of ``current_gdbarch''. | |
5875 | ||
47221191 RE |
5876 | 2002-02-19 Richard Earnshaw <rearnsha@arm.com> |
5877 | ||
5878 | * armnbsd-nat.c : ANSIfy all function declarations. | |
5879 | (fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs): New. | |
5880 | (fetch_inferior_registers): Re-implement in terms of above. | |
5881 | (store_register, store_regs, store_fp_register, store_fp_regs): New. | |
5882 | (store_inferior_registers): Re-implement in terms of above. | |
5883 | ||
fdf39c9a RE |
5884 | 2002-02-19 Richard Earnshaw <rearnsha@arm.com> |
5885 | ||
aaa38bb5 | 5886 | * arm-linux-nat.c: Linux -> GNU/Linux when not talking about the |
fdf39c9a RE |
5887 | kernel. |
5888 | * arm-linux-tdep.c: Likewise. | |
5889 | * config/arm/tm-linux.h: Likewise. | |
5890 | ||
93247f88 RE |
5891 | 2002-02-19 Richard Earnshaw <rearnsha@arm.com> |
5892 | ||
5893 | * configure.tgt (arm*-*-netbsd*): This variant is now fully multi-arch. | |
5894 | * config/arm/nbsd.mt (TM_FILE): Delete. | |
5895 | * config/arm/tm-nbsd.h: Delete. | |
5896 | ||
d7b486e7 RE |
5897 | 2002-02-19 Richard Earnshaw <rearnsha@arm.com> |
5898 | ||
5899 | * arm-tdep.c (arm_gdbarch_init): Initialize TARGET_CHAR_SIGNED. | |
5900 | Initialize CALL_DUMMY_LENGTH. | |
5901 | ||
41d39a95 RE |
5902 | 2002-02-19 Richard Earnshaw <rearnsha@arm.com> |
5903 | ||
5904 | * armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): New | |
5905 | function. | |
5906 | (arm_netbsd_aout_init_abi): Initialize IN_SOLIB_CALL_TRAMPOLINE. | |
aaa38bb5 | 5907 | * config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only |
41d39a95 RE |
5908 | defines one thing and that is incorrect for this port. |
5909 | (IN_SOLIB_CALL_TRAMPOLINE): Delete. | |
5910 | ||
e1195560 PM |
5911 | 2002-02-18 Pierre Muller <muller@ics.u-strasbg.fr> |
5912 | ||
5913 | * go32-nat.c: add i386-tdep.h include to import FP_REGNUM_P macro. | |
5914 | ||
c1748f97 PM |
5915 | 2002-02-18 Pierre Muller <muller@ics.u-strasbg.fr> |
5916 | ||
5917 | * win32-nat.c (display_selector): New function. Displays information | |
5918 | about the information returned by GetThreadSelectorEntry API function. | |
5919 | (display_selectors): New function. Displays the infomation of | |
5920 | the selector given as argument, or of CS, DS ans FS selectors | |
5921 | if no argument is given. | |
5922 | ( _initialize_inftarg): Add "w32" as info prefix command. | |
5923 | Add "info w32 selector" as command calling display_selectors. | |
5924 | ||
e41e6bbf PM |
5925 | 2002-02-19 Pierre Muller <muller@ics.u-strasbg.fr> |
5926 | ||
5927 | * i386-tdep.c (get_longjmp_target): Fix compilation failure | |
5928 | by setting dummy values to JB_PC and JB_ELEMENT_SIZE | |
5929 | if not defined. | |
5930 | ||
0d3a9f48 RE |
5931 | 2002-02-18 Richard Earnshaw <rearnsha@arm.com> |
5932 | ||
5933 | * config/arm/nbsd.mt (TDEPFILES): Add solib-sunos.o. | |
5934 | ||
3fb4b924 RE |
5935 | 2002-02-18 Richard Earnshaw <rearnsha@arm.com> |
5936 | ||
5937 | * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): New function. | |
5938 | (arm_fix_call_dummy): Call it. | |
5939 | (arm_call_dummy_breakpoint_offset): Delete. | |
5940 | (arm_gdbarch_init): Initialize call_dummy_breakpoint_offset. | |
5941 | * config/arm/tm-arm.h (CALL_DUMMY_BREAKPOINT_OFFSET): Delete. | |
5942 | ||
7f55af32 AC |
5943 | 2002-02-18 Andrew Cagney <ac131313@redhat.com> |
5944 | ||
5945 | * gdbarch.sh (FRAME_CHAIN_VALID): Only require at level 2. | |
5946 | Default to func_frame_chain_valid. | |
5947 | * gdbarch.h, gdbarch.c: Re-generate. | |
5948 | * frame.h (FRAME_CHAIN_VALID): Delete definition. | |
5949 | ||
05f13b9c EZ |
5950 | 2002-02-18 Elena Zannoni <ezannoni@redhat.com> |
5951 | ||
5952 | * ppc-linux-nat.c: Update copyright. | |
5953 | (fetch_register, store_register): Add tid parameter, don't compute | |
5954 | tid here. | |
5955 | (fetch_ppc_registers, store_ppc_registers): Add tid | |
5956 | parameter. Pass it along to callees. | |
5957 | (fetch_inferior_registers, store_inferior_registers): Compute tid | |
5958 | here, and pass it to calleed functions. | |
5959 | (fill_gregset, supply_fpregset): Clean up formatting. | |
5960 | ||
d7afb4c9 RE |
5961 | 2002-02-18 Richard Earnshaw <rearnsha@arm.com> |
5962 | ||
5963 | * arm-tdep.c (arm_gdbarch_init): Initialize coerce_float_to_double. | |
5964 | * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Delete. | |
5965 | ||
9df628e0 RE |
5966 | 2002-02-18 Richard Earnshaw <rearnsha@arm.com> |
5967 | ||
5968 | * gdbarch.sh (GET_LONGJMP_TARGET): Add rule. | |
5969 | * gdbarch.c gdbarch.h: Regenerate. | |
5970 | * breakpoint.c (create_longjmp_breakpoint): Always compile this | |
5971 | function. | |
5972 | (breakpoint_reset): Test GET_LONGJMP_TARGET_P(). | |
5973 | * infrun.c (GET_LONGJMP_TARGET): Delete default definition. | |
5974 | (handle_inferior_event): Test GET_LONGJMP_TARGET_P(). | |
5975 | ||
5976 | * arm-tdep.h (struct gdbarch_tdep): Add jb_pc and jb_elt_size fields. | |
5977 | * arm-tdep.c (arm_get_longjmp_target): New function. | |
5978 | (arm_gdbarch_init): Initialize jb_pc to -1. If ABI handler changes | |
5979 | this to a positive value register arm_get_longjmp_target as the | |
5980 | longjmp handler. | |
5981 | * arm-linux-tdep.c (arm_get_longjmp_target): Delete. | |
5982 | (arm_linux_init_abi): Set up longjmp description in tdep. | |
5983 | * armnbsd-nat.c (get_longjmp_target): Delete. | |
5984 | * armnbsd-tdep.c (arm_netbsd_init_abi_common): Set up longjmp | |
5985 | description in tdep. | |
5986 | * config/arm/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC): Delete. | |
5987 | (get_longjmp_target): Delete declaration. | |
5988 | (GET_LONGJMP_TARGET): Delete. | |
5989 | * config/arm/tm-linux.h (arm_get_longjmp_target): Delete declaration. | |
5990 | (GET_LONGJMP_TARGET): Delete. | |
5991 | ||
57bc8964 KB |
5992 | 2002-02-17 Kevin Buettner <kevinb@redhat.com> |
5993 | ||
5994 | From Peter Schauer <pes@regent.e-technik.tu-muenchen.de>: | |
5995 | * ia64-tdep.c (ia64_gdbarch_init): Eliminate incorrect use | |
5996 | of ``current_gdbarch''. | |
5997 | ||
83d31a92 TT |
5998 | 2002-02-17 Tom Tromey <tromey@redhat.com> |
5999 | ||
6000 | * cli/cli-cmds.c (compare_strings): New function. | |
6001 | (complete_command): Only print each unique item once. | |
6002 | * completer.h (complete_line): Declare. | |
6003 | * completer.c (complete_line): New function. | |
6004 | (line_completion_function): Use it. | |
6005 | ||
17ef5d92 AC |
6006 | 2002-02-16 Andrew Cagney <ac131313@redhat.com> |
6007 | ||
6008 | * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64. | |
6009 | * gdbarch.h, gdbarch.c: Re-generate. | |
6010 | ||
491b8946 DJ |
6011 | 2002-02-16 Daniel Jacobowitz <drow@mvista.com> |
6012 | ||
6013 | * valarith.c (value_x_unop): Fix decrement; support post-decrement. | |
6014 | ||
6015 | 2002-02-16 Daniel Jacobowitz <drow@mvista.com> | |
6016 | ||
6017 | From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>: | |
6018 | * valops.c (value_arg_coerce): Don't take the address of a reference | |
6019 | to convert an argument to a reference. | |
6020 | ||
dfe7f3ac CF |
6021 | 2002-02-15 Christopher Faylor <cgf@redhat.com> |
6022 | ||
6023 | * win32-nat.c (get_image_name): New function. | |
6024 | (handle_load_dll): Use get_image_name function. | |
6025 | (get_child_debug_event): Avoid registering debug events until possibly | |
6026 | execed process is started. | |
6027 | (child_create_inferior): Allow invocation via shell so that command | |
6028 | line redirection, etc. works ok. | |
6029 | (_initialize_inftarg): Add new command: "set shell" to control whether | |
6030 | a shell is used to start a process. | |
6031 | ||
1d33e73a DJ |
6032 | 2002-02-15 Daniel Jacobowitz <drow@mvista.com> |
6033 | ||
6034 | * gdbserver/linux-mips-low.c (cannot_fetch_register): Use find_regno | |
6035 | instead of find_register_by_number. | |
6036 | (cannot_store_register): Likewise. | |
6037 | ||
48cd0caa PM |
6038 | 2002-02-14 Pierre Muller <muller@ics.u-strasbg.fr> |
6039 | ||
aaa38bb5 | 6040 | * dwarf2read.c: Replace fprintf (stderr, ...) by |
48cd0caa PM |
6041 | fprintf_unfiltered (gdb_stderr, ...). |
6042 | ||
8656e7d8 DJ |
6043 | 2002-02-15 Daniel Jacobowitz <drow@mvista.com> |
6044 | ||
6045 | * gdbserver/gdbserver.1: Document --attach. | |
6046 | ||
66e810cd RE |
6047 | 2002-02-15 Richard Earnshaw <rearnsha@arm.com> |
6048 | ||
6049 | * arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint | |
6050 | descriptions. | |
6051 | * arm-tdep.c (arm_default_arm_le_breakpoint) | |
6052 | (arm_default_arm_be_breakpoint, arm_default_thumb_le_breakpoint) | |
6053 | (arm_default_thumb_be_breakpoint): New. Initialize them from | |
6054 | traditional breakpoint defines. | |
6055 | (arm_breakpoint_from_pc): Use new gdbarch_tdep entries. | |
6056 | (arm_gdbarch_init): Initialize new breakpoint variables. | |
6057 | * arm-linux-tdep.c (arm_linux_arm_le_breakpoint): New. | |
6058 | (arm_linux_init_abi): Initialize linux-specific breakpoint. | |
6059 | * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint): New. | |
6060 | (arm_netbsd_aout_init_abi, arm_netbsd_elf_init_abi): Split common | |
6061 | code out to ... | |
6062 | (arm_netbsd_init_abi_common): ... here; new function. | |
6063 | * config/arm/tm-arm.h (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT) | |
6064 | (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Delete. | |
6065 | * config/arm/tm-linux.h (ARM_LE_BREAKPOINT): Delete. | |
6066 | * config/arm/tm-nbsd.h (ARM_LE_BREAKPOINT): Delete. | |
6067 | ||
97e03143 RE |
6068 | 2002-02-15 Richard Earnshaw <rearnsha@arm.com> |
6069 | ||
6070 | * arm-tdep.h (enum arm_abi): New enum. | |
6071 | (struct gdbarch_tdep): New structure. | |
6072 | (LOWEST_PC): Provide a default. | |
6073 | (arm_gdbarch_register_os_abi): Declare new function. | |
6074 | * arm-tdep.c (arm_abi_names): New array. | |
6075 | (process_note_abi_tag_sections): New function. | |
6076 | (get_elfosabi): New function. | |
6077 | (arm_gdbarch_register_os_abi): New function. | |
6078 | (arm_gdbarch_init): Try to determine the ABI of the inferior. If | |
6079 | support for that ABI has been built in, then call the appropriate | |
6080 | configuration routine. Use gdbarch_num_regs() to get the number | |
6081 | of registers. | |
6082 | (arm_dump_tdep): New function. | |
6083 | (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New | |
6084 | place-holder functions. | |
6085 | (_initialize_arm_tdep): Register them. | |
6086 | * config/arm/tm-arm.h (LOWEST_PC): Delete. | |
6087 | ||
6088 | * armnbsd-tdep.c: New file. | |
6089 | * Makefile.in (armnbsd-tdep.o): Add dependencies. | |
6090 | * config/arm/nbsd.mt (TDEPFILES): Add it. | |
6091 | * config/arm/tm-nbsd.h (LOWEST_PC): Delete. | |
6092 | ||
6093 | * armnbsd-nat.c: Include regcache.h. | |
6094 | * Makefile.in (armnbsd-nat.o): Update dependency list. | |
6095 | ||
6096 | * arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message. | |
6097 | ||
ad68be46 DJ |
6098 | 2002-02-14 Daniel Jacobowitz <drow@mvista.com> |
6099 | ||
6100 | * gdbserver/Makefile.in: Fix typos in target rules. | |
6101 | ||
003d6d1d DJ |
6102 | 2002-02-14 Daniel Jacobowitz <drow@mvista.com> |
6103 | ||
aaa38bb5 | 6104 | Fix part of PR gdb/267. |
003d6d1d DJ |
6105 | * linespec.c (find_methods): Handle constructors specially for now. |
6106 | ||
6b230f1b CV |
6107 | 2002-02-14 Corinna Vinschen <vinschen@redhat.com> |
6108 | ||
6109 | * arm-tdep.c (arm_push_arguments): Eliminate special float type | |
6110 | handling. | |
6111 | * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Define to call | |
6112 | standard_coerce_float_to_double(). | |
6113 | ||
1ea98d12 CF |
6114 | 2002-02-14 Christopher Faylor <cgf@redhat.com> |
6115 | ||
6116 | * config/i386/xm-cygwin.h: Revert inadvertent reinclusion of | |
6117 | GDBINIT_FILENAME. | |
6118 | ||
dd47e6fd EZ |
6119 | 2002-02-14 Elena Zannoni <ezannoni@redhat.com> |
6120 | ||
6121 | * rs6000-tdep.c (rs6000_gdbarch_init): Don't call | |
6122 | find_variant_by_name, because it confuses the multiarch | |
6123 | framework. Return NULL if there isn't an architecture with the | |
6124 | user supplied name, instead of forcing a different one without | |
6125 | recording the change with the multiarch machinery. | |
6126 | (find_variant_by_name): Delete. | |
6127 | ||
d7e39b9e PS |
6128 | 2002-02-14 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
6129 | ||
6130 | * config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed by | |
6131 | i386v4-nat.o now. Add gcore.o, Solaris x86 supports gcore. | |
6132 | ||
76e42a4f MH |
6133 | 2002-02-13 Martin M. Hunt <hunt@redhat.com> |
6134 | ||
aaa38bb5 | 6135 | * stack.c (print_frame_info_base): When calling |
76e42a4f MH |
6136 | print_frame_info_listing_hook, set current_source_symtab. |
6137 | ||
0a30fbc4 DJ |
6138 | 2002-02-14 Daniel Jacobowitz <drow@mvista.com> |
6139 | ||
6140 | * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS, | |
6141 | and remove unused $(INCLUDE_DIR). | |
6142 | Add regcache.c to OBS. | |
6143 | Add generated register protocol files to clean target. | |
6144 | Update dependencies for new objects, obsolete old target code. | |
6145 | ||
6146 | * gdbserver/linux-low.c: Remove all platform-specific code to | |
6147 | new files. Remove various dead code. Update to use regcache | |
6148 | functionality. | |
6149 | * gdbserver/remote-utils.c (fromhex): Add return statement | |
6150 | to quiet warning. | |
6151 | (putpkt): Dynamically allocate buf2 because PBUFSIZ is no longer | |
6152 | constant. | |
6153 | (input_interrupt): Add integer parameter to match prototype | |
6154 | of a signal handler. | |
6155 | (outreg): Use register_data (). | |
6156 | (prepare_resume_reply): Use gdbserver_expedite_regs. | |
6157 | * gdbserver/server.c (main): Dynamically allocate own_buf because | |
6158 | PBUFSIZ is no longer constant. Use registers_to_string () and | |
6159 | registers_from_string (). | |
6160 | * gdbserver/server.h: No longer include "defs.h". Add prototypes | |
6161 | for error (), fatal (), and warning (). Update definition of | |
6162 | PBUFSIZ to use regcache functionality. Add include guard. | |
6163 | * gdbserver/utils.c (fatal): Add missing ``const''. | |
6164 | (warning): New function. | |
6165 | ||
6166 | * regformats/regdat.sh: Include "regcache.h" in generated files. | |
6167 | Provide init_registers () function. | |
6168 | * regformats/regdef.h: Add prototype for set_register_cache (). | |
6169 | Add include guard. | |
6170 | ||
6171 | * gdbserver/linux-arm-low.c: New file. | |
6172 | * gdbserver/linux-i386-low.c: New file. | |
6173 | * gdbserver/linux-ia64-low.c: New file. | |
6174 | * gdbserver/linux-m68k-low.c: New file. | |
6175 | * gdbserver/linux-mips-low.c: New file. | |
6176 | * gdbserver/linux-ppc-low.c: New file. | |
6177 | * gdbserver/linux-sh-low.c: New file. | |
6178 | ||
6179 | * gdbserver/regcache.c: New file. | |
6180 | * gdbserver/regcache.h: New file. | |
6181 | ||
6182 | * gdbserver/low-linux.c: Removed obsolete file. | |
6183 | ||
4cc841d0 DJ |
6184 | 2002-02-14 Daniel Jacobowitz <drow@mvista.com> |
6185 | ||
6186 | * config/arm/linux.mt: Update GDBSERVER_DEPFILES. | |
6187 | * config/i386/linux.mt: Likewise. | |
6188 | * config/ia64/linux.mt: Likewise. | |
6189 | * config/m68k/linux.mh: Likewise. | |
6190 | * config/powerpc/linux.mh: Likewise. | |
6191 | * config/mips/linux.mt: Likewise. | |
6192 | ||
6193 | * config/sh/linux.mt: Add GDBSERVER_DEPFILES. | |
6194 | ||
6195 | * config/i386/i386lynx.mh: Mark gdbserver variables | |
6196 | as (currently) obsolete for this target. | |
6197 | * config/i386/nbsd.mt: Likewise. | |
6198 | * config/i386/nbsdelf.mt: Likewise. | |
6199 | * config/m32r/m32r.mt: Likewise. | |
6200 | * config/m68k/m68klynx.mh: Likewise. | |
6201 | * config/m68k/nbsd.mt: Likewise. | |
6202 | * config/m68k/sun3os4.mh: Likewise. | |
6203 | * config/mips/vr5000.mt: Likewise. | |
6204 | * config/ns32k/nbsd.mt: Likewise. | |
6205 | * config/pa/hppabsd.mh: Likewise. | |
6206 | * config/pa/hppaosf.mh: Likewise. | |
6207 | * config/powerpc/nbsd.mt: Likewise. | |
6208 | * config/rs6000/rs6000lynx.mh: Likewise. | |
6209 | * config/s390/s390.mt: Likewise. | |
6210 | * config/s390/s390x.mt: Likewise. | |
6211 | * config/sparc/sparclynx.mh: Likewise. | |
6212 | * config/sparc/sun4os4.mh: Likewise. | |
6213 | * config/i386/x86-64linux.mt: Likewise. | |
6214 | * config/sparc/linux.mh: Likewise. | |
6215 | ||
a85f51e7 DJ |
6216 | 2002-02-14 Daniel Jacobowitz <drow@mvista.com> |
6217 | ||
6218 | * configure.tgt: Configure gdbserver only for known working | |
6219 | targets. Set ${build_gdbserver} instead of modifying ${configdirs}. | |
6220 | * configure.in: Check ${build_gdbserver}. Put gdbserver/ into | |
6221 | SUBDIRS if it is configured. Update comment for ${nativefile}. | |
6222 | * configure: Regenerated. | |
6223 | ||
65554fef MS |
6224 | 2002-02-13 Michael Snyder <msnyder@redhat.com> |
6225 | ||
670a52db MS |
6226 | * config/i386/i386v42mp.mh: Add gcore.o to NATDEPFILES. |
6227 | ||
6dbdc4a3 MS |
6228 | * gcore.c (gcore_command): Use gcore_default_target instead of NULL. |
6229 | (default_gcore_mach): Just return 0, work around a problem in bfd. | |
6230 | (default_gcore_target): OK to return NULL if exec_bfd is null. | |
6231 | (make_mem_sec): Use a cast, avoid a warning. | |
6232 | ||
6233 | * procfs.c (find_memory_regions_callback): Use a cast instead of | |
aaa38bb5 | 6234 | calling host_pointer_to_address (which complains if |
6dbdc4a3 MS |
6235 | sizeof (host pointer) != sizeof (target pointer)). |
6236 | (procfs_make_note_section): Avoid overflow in psargs string. | |
6237 | ||
aaa38bb5 | 6238 | * procfs.c (procfs_make_note_section): Make the default |
65554fef MS |
6239 | implementation return an error. |
6240 | ||
6241 | 2002-02-13 Rodney Brown <rbrown64@csc.com.au> | |
6242 | ||
6243 | * procfs.c (procfs_make_note_section): Provide a default definition | |
6244 | (for alpha-dec-osf4.0f). Fix typos. | |
6245 | ||
1e4d76e7 EZ |
6246 | 2002-02-13 Elena Zannoni <ezannoni@redhat.com> |
6247 | ||
6248 | * linux-proc.c: Add include of regcache.h. | |
6249 | * Makefile.in (linux-proc.o): Add dependency on regcache.h. | |
6250 | ||
b6d1a1d5 AC |
6251 | 2002-02-13 Andrew Cagney <ac131313@redhat.com> |
6252 | ||
6253 | From 2002-01-18 Greg McGary <greg@mcgary.org>: | |
aaa38bb5 AJ |
6254 | * memattr.c (create_mem_region): Disallow useless empty region. |
6255 | Regions are half-open intervals, so allow [A..B) [B..C) as | |
65554fef | 6256 | non-overlapping. |
b6d1a1d5 | 6257 | |
6c6ea35e MC |
6258 | 2002-02-13 Michael Chastain <mec@shout.net> |
6259 | ||
6260 | * defs.h: Kill CONST_PTR. | |
6261 | * c-lang.h (c_builtin_types): Change CONST_PTR to simple "const". | |
6262 | * c-lang.c (c_builtin_types): Likewise. | |
6263 | * ch-lang.c (ch_builtin_types): Likewise. | |
6264 | * f-lang.c (f_builtin_types): Likewise. | |
6265 | * language.c (unknown_builtin_types): Likewise. | |
6266 | * m2-lang.c (m2_builtin_types): Likewise. | |
6267 | * p-lang.c (pascal_builtin_types): Likewise. | |
6268 | * scm-lang.c (c_builtin_types): Likewise. | |
6269 | ||
3e0b0f48 KS |
6270 | 2002-02-13 Keith Seitz <keiths@redhat.com> |
6271 | ||
6272 | * arm-tdep.h (arm_get_next_pc): Add declaration. | |
6273 | ||
67255d04 RE |
6274 | 2002-02-13 Richard Earnshaw <rearnsha@arm.com> |
6275 | ||
6276 | * arm-tdep.c (arm_use_struct_convention): Make static. Move to be | |
6277 | with other related struct-returning functions. | |
6278 | (arm_extract_struct_value_address): New function. | |
6279 | (arm_gdbarch_init): Initialize the above in multi-arch vector. Also | |
6280 | initialize float_format, double_format and long_double_format as | |
6281 | appropriate to the endianness of the target. | |
6282 | * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Delete. | |
6283 | (arm_use_struct_convention): Delete declaration. | |
6284 | (USE_STRUCT_CONVENTION, EXTRACT_STRUCT_VALUE_ADDRESS): Delete. | |
6285 | ||
079777f6 KS |
6286 | 2002-02-13 Keith Seitz <keiths@redhat.com> |
6287 | ||
6288 | * defs.h (core_addr_to_string_nz): New function. | |
6289 | ||
34588f23 MK |
6290 | 2002-02-13 Mark Kettenis <kettenis@gnu.org> |
6291 | ||
6292 | Apply missing bits of 2002-01-15 patch. | |
6293 | * i386v4-nat.c (supply_fpregset): Use i387_supply_fsave. | |
6294 | (fill_fpregset): Use i387_fill_fsave. | |
6295 | ||
49b563f9 KS |
6296 | 2002-02-12 Keith Seitz <keiths@redhat.com> |
6297 | ||
49b563f9 KS |
6298 | * utils.c (core_addr_to_string): Use phex instead of phex_nz. |
6299 | (core_addr_to_string_nz): New function. | |
6300 | ||
aeb98c60 RE |
6301 | 2002-02-11 Richard Earnshaw <rearnsha@arm.com> |
6302 | ||
6303 | * arm-linux-nat.c: Really include arm-tdep.h. | |
6304 | * config/arm/tm-linux.h (struct type, struct value): Declare. | |
6305 | ||
65554fef MS |
6306 | 2002-02-11 Michael Snyder <msnyder@redhat.com> |
6307 | ||
6308 | * procfs.c: Include elf-bfd.h (for elfcore_write functions). | |
6309 | (gcore section): Ifdef for Solaris and Unixware only. | |
6310 | (procfs_do_thread_registers): Unixware needs one lwpstatus | |
6311 | per thread (not one prstatus or pstatus). | |
6312 | (procfs_make_note_section): Iterate only over kernel threads (lwps), | |
6313 | not over all gdb threads. For unixware, call elfcore_write_pstatus | |
6314 | once before iterating over threads. | |
6315 | ||
34e8f22d RE |
6316 | 2002-02-11 Richard Earnshaw <rearnsha@arm.com> |
6317 | ||
6318 | * arm-tdep.h: New file. | |
6319 | * arm-tdep.c: Include arm-tdep.h. | |
6320 | (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) | |
6321 | (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) | |
6322 | (arm_print_float_info, arm_register_type, convert_to_extended) | |
6323 | (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) | |
6324 | (arm_extract_return_value, arm_register_name): Make static. | |
6325 | (arm_software_single_step): Similarly. Fix types in declaration. | |
6326 | (arm_register_byte, arm_register_raw_size, arm_register_virtual_size) | |
6327 | (arm_store_return_value, arm_store_struct_return): New functions. | |
6328 | (arm_gdbarch_init): Register the above functions. Also register | |
6329 | call_dummy_start_offset, sizeof_call_dummy_words, | |
6330 | function_start_offset, inner_than, decr_pc_after_break, fp_regnum, | |
6331 | sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size, | |
aaa38bb5 | 6332 | max_register_virtual_size, register_size. Set up |
34e8f22d RE |
6333 | prologue_cache.saved_regs here, rather than ... |
6334 | (_initialize_arm_tdep): ... here. | |
6335 | * config/arm/tm-arm.h (struct type, struct value): Delete forward | |
6336 | declarations. | |
6337 | (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) | |
6338 | (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) | |
6339 | (arm_print_float_info, arm_register_type, convert_to_extended) | |
6340 | (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) | |
6341 | (arm_extract_return_value, arm_register_name): Delete declarations. | |
6342 | (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET) | |
6343 | (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC) | |
6344 | (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS) | |
6345 | (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE) | |
6346 | (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE) | |
6347 | (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN) | |
6348 | (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS) | |
6349 | (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY) | |
6350 | (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP) | |
6351 | (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete. | |
6352 | (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc) | |
6353 | (arm_get_next_pc): No-longer static -- these are needed by the RDI | |
6354 | interface. | |
6355 | * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h. | |
6356 | * remote-rdi.c remote-rdp.c: Likewise. | |
6357 | * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o) | |
6358 | (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies. | |
6359 | * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus | |
6360 | definition. | |
6361 | ||
6362 | * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM) | |
6363 | (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM) | |
6364 | (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed | |
6365 | from non-ARM_ prefixed definitions. | |
6366 | * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update | |
6367 | all uses of above. | |
6368 | * remote-rdi.c remote-rdp.c: Likewise. | |
6369 | * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM. | |
6370 | ||
148754e5 RE |
6371 | 2002-02-11 Richard Earnshaw <rearnsha@arm.com> |
6372 | ||
6373 | * arm-tdep.c (arm_frameless_function_invocation) | |
6374 | (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args) | |
6375 | (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc) | |
6376 | (arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame) | |
6377 | (arm_pop_frame, arm_get_next_pc): Make static. | |
6378 | (arm_gdbarch_init): Register above in gdbarch structure. | |
6379 | (arm_read_fp): Renamed from arm_target_read_fp. | |
6380 | (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static. | |
6381 | * config/arm/tm-arm.h (arm_frameless_function_invocation) | |
6382 | (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args) | |
6383 | (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc) | |
6384 | (arm_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame) | |
6385 | (arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb) | |
6386 | (arm_pc_is_thumb_dummy): Delete declarations. | |
fcfb8836 RE |
6387 | (INIT_EXTRA_FRAME_INFO, TARGET_READ_FP, FRAME_CHAIN) |
6388 | (FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS) | |
6389 | (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, FRAME_ARGS_SKIP) | |
6390 | (FRAME_INIT_SAVED_REGS, PUSH_DUMMY_FRAME, POP_FRAME): Delete. | |
148754e5 | 6391 | |
434d2d4f DJ |
6392 | 2002-02-10 Daniel Jacobowitz <drow@mvista.com> |
6393 | ||
6394 | * symtab.c (compare_search_syms): New function. | |
6395 | (sort_search_symbols): New function. | |
6396 | (search_symbols): Sort symbols after searching rather than | |
6397 | before. | |
6398 | ||
55241689 AC |
6399 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
6400 | ||
6401 | * NEWS: Linux -> GNU/Linux. | |
6402 | ||
028c194b AC |
6403 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
6404 | ||
6405 | * gdbarch.sh: For for level one methods, disallow a definition | |
6406 | when partially multi-arched. Add comments explaining rationale. | |
6407 | * gdbarch.h: Re-generate. | |
6408 | ||
6acf50cd AC |
6409 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
6410 | ||
6411 | * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when | |
6412 | multi-arch partial. | |
aaa38bb5 | 6413 | |
50248794 AC |
6414 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
6415 | ||
6416 | * gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on bad | |
6417 | field. Use diff -u. | |
6418 | * gdbarch.c: Re-generate. | |
6419 | ||
c30e0066 AC |
6420 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
6421 | ||
9b56c5f3 | 6422 | * config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete. |
c30e0066 AC |
6423 | * gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-arch |
6424 | partial. | |
6425 | ||
6e6d6484 AC |
6426 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
6427 | ||
6428 | * gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when | |
6429 | multi-arch partial. | |
6430 | (PUSH_ARGUMENTS): Switch to using predefault. | |
6431 | * gdbarch.c: Regenerate. | |
6432 | ||
c203844d AC |
6433 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
6434 | ||
6435 | * valops.c (PUSH_ARGUMENTS): Delete definition. | |
6436 | * gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch | |
6437 | partial. Default to default_push_arguments. | |
6438 | * gdbarch.h, gdbarch.c: Regenerate. | |
6439 | ||
b5a2688f AC |
6440 | 2002-02-09 Andrew Cagney <ac131313@redhat.com> |
6441 | ||
6442 | * defs.h (throw_exception): Rename return_to_top_level. Update | |
6443 | comments. | |
6444 | * utils.c (error_stream, internal_verror, quit): Ditto. | |
6445 | * top.c (throw_exception, catcher): Ditto. | |
6446 | * sparclet-rom.c (sparclet_load): Ditto. | |
6447 | * remote.c (interrupt_query, minitelnet): Ditto. | |
6448 | * remote-sds.c (interrupt_query): Ditto. | |
6449 | * remote-mips.c (mips_error, mips_kill): Ditto. | |
6450 | * ocd.c (interrupt_query): Ditto. | |
6451 | * monitor.c (monitor_interrupt_query): Ditto. | |
6452 | * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto. | |
6453 | * target.h: Update comment. | |
aaa38bb5 | 6454 | |
b5a2688f | 6455 | * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright. |
aaa38bb5 | 6456 | |
2fa5c1e0 AC |
6457 | 2002-02-09 Andrew Cagney <ac131313@redhat.com> |
6458 | ||
6459 | * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to | |
6460 | default_double_format. | |
6461 | * gdbarch.h, gdbarch.c: Re-generate. | |
6462 | * findvar.c (floatformat_unknown): Delete variable definition. | |
6463 | * doublest.h (floatformat_unknown): Delete variable declaration. | |
6464 | ||
da966255 JB |
6465 | 2002-02-09 Jim Blandy <jimb@redhat.com> |
6466 | ||
6467 | * stabsread.c (read_type): Add code to parse Sun's syntax for | |
6468 | prototyped function types. | |
6469 | ||
123a4891 AC |
6470 | 2002-02-09 Andrew Cagney <ac131313@redhat.com> |
6471 | ||
6472 | * Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS. | |
6473 | (SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS. | |
6474 | ||
fb39c8f3 PS |
6475 | 2002-02-09 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
6476 | ||
6477 | * xcoffsolib.c (_initialize_xcoffsolib): Renamed from | |
6478 | _initialize_solib. Fixes name clash with solib.c:_initialize_solib, | |
6479 | now _initialize_xcoffsolib gets called again and overrides the | |
6480 | commands from solib.c in a native configuration. | |
6481 | ||
0b87a11d MK |
6482 | 2002-02-09 Mark Kettenis <kettenis@gnu.org> |
6483 | ||
6484 | * doublest.c (store_typed_floating): Don't try to return a value. | |
6485 | Fixes PR gdb/290. | |
6486 | ||
bdc2fc72 JB |
6487 | 2002-02-08 Jim Blandy <jimb@redhat.com> |
6488 | ||
6489 | * c-typeprint.c (c_type_print_varspec_suffix): If a function type | |
6490 | is prototyped and has no arguments, print its argument list as | |
6491 | `(void)'. | |
6492 | ||
da69bbcf CD |
6493 | 2002-02-08 Chris Demetriou <cgd@broadcom.com> |
6494 | ||
6495 | * MAINTAINERS (write-after-approval): Add myself. | |
6496 | (paper-trail): I've escaped! | |
aaa38bb5 | 6497 | |
b69571f5 CF |
6498 | 2002-02-08 Christopher Faylor <cgf@redhat.com> |
6499 | ||
6500 | * win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf | |
6501 | changes. | |
6502 | (_initialize_check_for_gdb_ini): Ditto. | |
6503 | ||
f6871398 MH |
6504 | 2002-02-08 Martin M. Hunt <hunt@redhat.com> |
6505 | ||
6506 | * win32-nat.c (cygwin_pid_to_str): Fix typo. | |
6507 | xaprintf -> xasprintf. | |
6508 | ||
4e52d31c PM |
6509 | 2002-02-08 Pierre Muller <muller@ics.u-strasbg.fr> |
6510 | ||
6511 | * win32-nat.c: Remove use of printf and sprintf functions. | |
6512 | ||
39bbf761 RE |
6513 | 2002-02-08 Richard Earnshaw <rearnsha@arm.com> |
6514 | ||
6515 | * arm-tdep.c (arm_frame_chain_valid): Make static. | |
6516 | (arm_push_arguments): Likewise. | |
6517 | (arm_gdbarch_init): New function. | |
6518 | (_initialize_arm_tdep): Call it. | |
6519 | * config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1. | |
6520 | (TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order. | |
6521 | (FRAME_CHAIN_VALID): Delete. | |
6522 | (arm_frame_chain_valid): Delete declaration. | |
6523 | (PUSH_ARGUMENTS): Delete. | |
6524 | (arm_push_arguments): Delete declaration. | |
6525 | (CALL_DUMMY_P): Delete. | |
6526 | ||
9c9532c9 CV |
6527 | 2002-02-08 Andrew Cagney <ac131313@redhat.com> |
6528 | Corinna Vinschen <vinschen@redhat.com> | |
6529 | ||
6530 | * gdbtypes.c (build_gdbtypes): Disable setting a specific float format | |
6531 | on builtin float types. | |
6532 | ||
4e8f7a8b DJ |
6533 | 2002-02-08 Daniel Jacobowitz <drow@mvista.com> |
6534 | ||
6535 | * utils.c: Include <curses.h> before "bfd.h". | |
6536 | * tui/tui-hooks.c: Likewise. | |
6537 | * tui/tui.c: Likewise. | |
6538 | * tui/tuiCommand.c: Likewise. | |
6539 | * tui/tuiData.c: Likewise. | |
6540 | * tui/tuiDataWin.c: Likewise. | |
6541 | * tui/tuiDisassem.c: Likewise. | |
6542 | * tui/tuiGeneralWin.c: Likewise. | |
6543 | * tui/tuiIO.c: Likewise. | |
6544 | * tui/tuiLayout.c: Likewise. | |
6545 | * tui/tuiRegs.c: Likewise. | |
6546 | * tui/tuiSource.c: Likewise. | |
6547 | * tui/tuiSourceWin.c: Likewise. | |
6548 | * tui/tuiStack.c: Likewise. | |
6549 | * tui/tuiWin.c: Likewise. | |
6550 | ||
cd4bffcf EZ |
6551 | 2002-02-07 Elena Zannoni <ezannoni@redhat.com> |
6552 | ||
6553 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array | |
6554 | to include space for pseudoregs as well. Update loops accordingly. | |
6555 | (sh_fp_frame_init_saved_regs): Ditto. | |
6556 | (sh_init_extra_frame_info, sh_pop_frame): Split long lines. | |
6557 | ||
26806ce2 AC |
6558 | 2002-02-07 Andrew Cagney <ac131313@redhat.com> |
6559 | ||
6560 | * MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer. | |
6561 | Add Richard Earnshaw to Arm maintainers. | |
6562 | ||
97fdab62 AC |
6563 | 2002-02-07 Andrew Cagney <ac131313@redhat.com> |
6564 | ||
a6b98203 AC |
6565 | * defs.h (warning_begin): Delete declaration. |
6566 | ||
97fdab62 AC |
6567 | * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT): |
6568 | Delete macro. | |
6569 | ||
78b29b40 MS |
6570 | 2002-02-07 Michael Snyder <msnyder@redhat.com> |
6571 | ||
aaa38bb5 | 6572 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): |
78b29b40 MS |
6573 | Logic bug, remove misplaced else. |
6574 | ||
d8849953 KD |
6575 | 2002-02-07 Klee Dienes <klee@apple.com> |
6576 | ||
6577 | * fork-inferior.c (fork_inferior): Add '!' to the list of | |
6578 | characters that need to be quoted when building a string for the | |
6579 | shell. Quote '!' specifically with a backslash, since CSH chokes | |
6580 | when trying to evaluate "str!str". | |
aaa38bb5 | 6581 | |
095778a0 NC |
6582 | 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com> |
6583 | ||
6584 | * rdi-share/host.h: Only provide a typedef for bool if it is not | |
6585 | defined. | |
6586 | ||
1900040c MS |
6587 | 2002-02-04 Michael Snyder <msnyder@redhat.com> |
6588 | ||
6589 | * breakpoint.h (enum bptype): Add new overlay event bp type. | |
6590 | (enable_overlay_breakpoints, disable_overlay_breakpoints): Export. | |
aaa38bb5 | 6591 | |
1900040c MS |
6592 | * breakpoint.c (create_internal_breakpoint): New function. |
6593 | (internal_breakpoint_number): Moved into create_internal_breakpoint. | |
6594 | (create_longjmp_breakpoint): Use create_internal_breakpoint. | |
6595 | (create_thread_event_breakpoint): Ditto. | |
6596 | (create_solib_event_breakpoint): Ditto. | |
6597 | (create_overlay_event_breakpoint): New function. | |
6598 | (enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs. | |
6599 | (update_breakpoints_after_exec): Delete and re-initialize | |
6600 | overlay event breakpoints after an exec. Add FIXME comment | |
6601 | about longjmp breakpoint. | |
6602 | (print_it_typical): Ignore overlay event breakpoints. | |
6603 | (print_one_breakpoint): Ditto. | |
6604 | (mention): Ditto. | |
6605 | (bpstat_what): Do not stop for overlay event breakpoints. | |
6606 | (delete_breakpoint): Don't delete overlay event breakpoints. | |
6607 | (breakpoint_re_set_one): Delete the overlay event breakpoint. | |
6608 | (breakpoint_re_set): Re-create overlay event breakpoint. | |
6609 | ||
6610 | * symfile.c (overlay_auto_command): Enable overlay breakpoints. | |
6611 | (overlay_manual_command): Disable overlay breakpoints. | |
6612 | (overlay_off_command): Disable overlay breakpoints. | |
6613 | ||
082fc60d RE |
6614 | 2002-02-06 Richard Earnshaw <rearnsha@arm.com> |
6615 | ||
6616 | * arm-tdep.c: Include elf-bfd.h and coff/internal.h. | |
6617 | (MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines | |
6618 | to here from config/tm-arm.h. | |
6619 | (coff_sym_is_thumb): Make static. | |
6620 | (arm_elf_make_msymbol_special): New function. | |
6621 | (arm_coff_make_msymbol_special): New function. | |
6622 | * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition. | |
6623 | (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise. | |
6624 | (coff_sym_is_thumb): Delete declaration. | |
6625 | (arm_elf_make_msymbol_special): Declare. | |
6626 | (arm_coff_make_msymbol_special): Declare. | |
6627 | (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special. | |
6628 | (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special. | |
6629 | ||
039c5766 RE |
6630 | 2002-02-06 Richard Earnshaw <rearnsha@arm.com> |
6631 | ||
6632 | * arm-tdep.c (arm_software_single_step): ANSIfy function declaration. | |
6633 | ||
6634 | 2002-02-06 Richard Earnshaw <rearnsha@arm.com> | |
6635 | ||
6636 | * gdbarch.sh (PRINT_FLOAT_INFO): Add rule. | |
6637 | * gdbarch.c gdbarch.h: Regenerate. | |
6638 | * arch-utils.c (default_print_float_info): New function. | |
6639 | * arch-utils.h (default_print_float_info): Prototype it. | |
6640 | * infcmd.c (float_info): Call PRINT_FLOAT_INFO. | |
6641 | * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated. | |
6642 | (PRINT_FLOAT_INFO): Document it. | |
6643 | ||
6644 | * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info. | |
6645 | * config/arm/tm-arm.h (FLOAT_INFO): Delete. | |
6646 | (PRINT_FLOAT_INFO): Define. | |
6647 | ||
58fa08f0 PM |
6648 | 2002-02-06 Pierre Muller <muller@ics.u-strasbg.fr> |
6649 | ||
aaa38bb5 | 6650 | * win32-nat.c (_initialize_check_for_gdb_ini): |
58fa08f0 PM |
6651 | Add typecast to sprintf argument to suppress a warning. |
6652 | ||
7393af7c PM |
6653 | 2002-02-05 Pierre Muller <muller@ics.u-strasbg.fr> |
6654 | ||
58fa08f0 | 6655 | * win32-nat.c (last_sig): Changed type of variable to target_signal, |
7393af7c PM |
6656 | to allow easier handling of pass state. |
6657 | (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception, | |
6658 | that gives exception name and address. | |
6659 | (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro | |
aaa38bb5 | 6660 | and set last_sig value to ourstatus->value.sig. Some missing |
7393af7c | 6661 | exceptions added. |
aaa38bb5 AJ |
6662 | (child_continue): Correctly report continue_status. |
6663 | (get_child_debug_event,do_initial_child_stuff): Set last_sig to | |
7393af7c | 6664 | TARGET_SIGNAL_0 (new default value). |
aaa38bb5 | 6665 | (child_resume): consider sig argument passed to decide if |
7393af7c PM |
6666 | the exception should be passed to debuggee or not. |
6667 | ||
6af4589c MS |
6668 | 2002-02-05 Michael Snyder <msnyder@redhat.com> |
6669 | ||
6670 | * regcache.c (fetch_register): Call target_fetch_register | |
6671 | only if we don't call FETCH_PSEUDO_REGISTER. | |
6672 | (store_register): Call target_store_register only if we | |
6673 | don't call STORE_PSEUDO_REGISTER. | |
6674 | ||
a2cf933a EZ |
6675 | 2002-02-05 Elena Zannoni <ezannoni@redhat.com> |
6676 | ||
6677 | * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and | |
6678 | ELF_MAKE_MSYMBOL_SPECIAL. | |
6679 | * gdbarch.c, gdbarch.h: Regenerate. | |
6680 | * arch-utils.c (default_make_msymbol_special): New function. | |
aaa38bb5 | 6681 | * arch-utils.h (default_make_msymbol_special): Export. |
a2cf933a EZ |
6682 | * elfread.c (elf_symtab_read): Compile use of |
6683 | ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now | |
6684 | multiarched. | |
6685 | * coffread.c (coff_symtab_read): Ditto, for | |
6686 | COFF_MAKE_MSYMBOL_SPECIAL. | |
6687 | ||
6bb7be43 JB |
6688 | 2002-02-05 Jim Blandy <jimb@redhat.com> |
6689 | ||
6690 | * solib-svr4.c (svr4_truncate_ptr): New function. | |
6691 | (svr4_relocate_section_addresses): Do the address arithmetic with | |
6692 | the appropriate truncation for target addresses, even when | |
6693 | CORE_ADDR is larger than a target address. | |
6694 | ||
e18651ec DJ |
6695 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
6696 | ||
6697 | * gdbserver/linux-low.c (mywait): Cast second argument of waitpid | |
6698 | to (int *). | |
6699 | ||
6b2725be DJ |
6700 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
6701 | ||
6702 | * gdbserver/linux-low.c (kill_inferior): Remove commented out | |
6703 | code. | |
6704 | ||
fca9e603 DJ |
6705 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
6706 | ||
6707 | * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX. | |
6708 | ||
6c537a52 DJ |
6709 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
6710 | ||
6711 | * gdbserver/linux-low.c: Remove unused include files. | |
6712 | ||
d844cde6 DJ |
6713 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
6714 | ||
6715 | * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE. | |
6716 | (read_inferior_memory): Use it. | |
6717 | (write_inferior_memory): Likewise. | |
6718 | ||
d07c63e7 DJ |
6719 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
6720 | ||
6721 | * gdbserver/linux-low.c (create_inferior): Call strerror instead of | |
6722 | grubbing through sys_errlist. | |
6723 | ||
da6d8c04 DJ |
6724 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
6725 | ||
6726 | * gdbserver/linux-low.c: New file, copied exactly from low-linux.c. | |
6727 | ||
5b421780 PM |
6728 | 2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr> |
6729 | * win32-nat.c (handle_exception): Handle Ctrl-Break exception. | |
6730 | ||
9f60d481 AC |
6731 | 2002-02-04 Andrew Cagney <ac131313@redhat.com> |
6732 | ||
6733 | * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions. | |
6734 | (do_sfunc, set_cmd_sfunc): New functions. | |
6735 | ||
6736 | * command.h (struct cmd_list_element): Add field func. | |
6737 | * cli/cli-decode.h (struct cmd_list_element): Ditto. | |
6738 | * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare. | |
6739 | * cli/cli-decode.h: Ditto. | |
6740 | ||
6741 | * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc. | |
6742 | (help_all, help_cmd_list): Ditto. | |
6743 | (find_cmd, complete_on_cmdlist): Ditto. | |
6744 | * top.c (execute_command): Ditto. | |
6745 | ||
6746 | * cli/cli-setshow.c (do_setshow_command): Call func instead of | |
6747 | function.sfunc. | |
6748 | ||
6749 | * infcmd.c (notice_args_read): Fix function signature. | |
6750 | ||
6751 | * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc. | |
6752 | * cli/cli-decode.c (add_set_cmd): Ditto. | |
6753 | * utils.c (initialize_utils): Ditto. | |
6754 | * maint.c (_initialize_maint_cmds): Ditto. | |
6755 | * infrun.c (_initialize_infrun): Ditto. | |
6756 | * demangle.c (_initialize_demangler): Ditto. | |
6757 | * remote.c (add_packet_config_cmd): Ditto. | |
6758 | * mips-tdep.c (_initialize_mips_tdep): Ditto. | |
6759 | * cris-tdep.c (_initialize_cris_tdep): Ditto. | |
6760 | * proc-api.c (_initialize_proc_api): Ditto. | |
6761 | * kod.c (_initialize_kod): Ditto. | |
6762 | * valprint.c (_initialize_valprint): Ditto. | |
6763 | * top.c (init_main): Ditto. | |
6764 | * infcmd.c (_initialize_infcmd): Ditto. | |
6765 | * corefile.c (_initialize_core): Ditto. | |
6766 | * arm-tdep.c (_initialize_arm_tdep): Ditto. | |
6767 | * arch-utils.c (initialize_current_architecture): Ditto. | |
6768 | (_initialize_gdbarch_utils): Ditto. | |
6769 | * alpha-tdep.c (_initialize_alpha_tdep): Ditto. | |
6770 | ||
6771 | * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc. | |
6772 | * wince.c (_initialize_inftarg): Ditto. | |
6773 | * symfile.c (_initialize_symfile): Ditto. | |
6774 | * mips-tdep.c (_initialize_mips_tdep): Ditto. | |
6775 | * language.c (_initialize_language): Ditto. | |
6776 | * arc-tdep.c (_initialize_arc_tdep): Ditto. | |
6777 | ||
f9ba0717 MS |
6778 | 2002-02-04 Michael Snyder <msnyder@redhat.com> |
6779 | ||
6780 | * memattr.c (_initialize_mem): Elaborate the help for 'mem' command. | |
6781 | ||
0c74b2a7 DJ |
6782 | 2002-02-04 Daniel Jacobowitz <drow@mvista.com> |
6783 | ||
6784 | * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS. | |
6785 | Add rules for building the register data files. | |
6786 | ||
c638789f DJ |
6787 | 2002-02-04 Daniel Jacobowitz <drow@mvista.com> |
6788 | ||
6789 | * regformats/regdat.sh: Add braces to the definition of | |
6790 | expedite_regs_${arch}. | |
6791 | ||
db253027 DJ |
6792 | 2002-02-04 Daniel Jacobowitz <drow@mvista.com> |
6793 | ||
6794 | * regformats/regdef.h (struct reg): Add comment describing the | |
6795 | requirements for offset and size fields. | |
6796 | ||
206be19c AS |
6797 | 2002-02-04 Andreas Schwab <schwab@suse.de> |
6798 | ||
6799 | * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX. | |
6800 | * config/ia64/linux.mt: Don't set GDBSERVER_LIBS. | |
6801 | ||
181c1381 RE |
6802 | 2002-02-04 Richard Earnshaw <rearnsha@arm.com> |
6803 | ||
6804 | * gdbarch.sh (copyright): Update years in generated header. | |
6805 | (SMASH_TEXT_ADDRESS): Add rule. | |
db253027 | 6806 | * gdbarch.h, gdbarch.c: Re-generate. |
181c1381 RE |
6807 | * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS. |
6808 | * dbxread.c: Likewise. | |
6809 | * dwarfread.c: Likewise. | |
6810 | * elfread.c: Likewise. | |
6811 | * somread.c: Likewise. | |
6812 | ||
6813 | * arm-tdep.c (arm_smash_text_address): New function. | |
6814 | * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above. | |
6815 | ||
fa4ba8da PM |
6816 | 2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr> |
6817 | ||
6818 | Add support for hardware watchpoints on win32 native. | |
aaa38bb5 | 6819 | * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of |
fa4ba8da | 6820 | CONTEXT_DEBUG_REGISTERS. |
aaa38bb5 | 6821 | (dr variable): New variable. Static array containing a local copy |
fa4ba8da PM |
6822 | of debug registers. |
6823 | (debug_registers_changed): New variable. Reflects when debug registers | |
6824 | are changed and need to be written to inferior. | |
aaa38bb5 | 6825 | (debug_registers_used): New variable. Reflects when any debug register |
fa4ba8da PM |
6826 | was set, used when new threads are created. |
6827 | (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by | |
6828 | i386-nat code. | |
6829 | (thread_rec): Set dr array if id is the thread of current_event . | |
6830 | (child_continue, child_resume): Change the debug registers for all | |
6831 | threads if debug_registers_changed. | |
6832 | (child_add_thread): Change the debug registers if debug_registers_used. | |
6833 | * config/i386/cygwin.mh: Add use of i386-nat.o file. | |
6834 | Link nm.h to new nm-cygwin.h file. | |
6835 | + config/i386/nm-cygwin.h: New file. Contains the macros used for use | |
6836 | of hardware registers. | |
6837 | ||
a73c86fb AC |
6838 | 2002-02-03 Andrew Cagney <ac131313@redhat.com> |
6839 | ||
6840 | * valprint.c (print_floating): Allow non TYPE_CODE_FLT types. | |
6841 | Restore behavour broken by 2002-01-20 Andrew Cagney | |
6842 | <ac131313@redhat.com> IEEE_FLOAT removal. | |
6843 | ||
acf5ed49 DJ |
6844 | 2002-02-03 Daniel Jacobowitz <drow@mvista.com> |
6845 | ||
6846 | * c-valprint.c (c_val_print): Pass a proper valaddr to | |
6847 | cp_print_class_method. | |
6848 | * valops.c (search_struct_method): If there is only one method | |
6849 | and args is NULL, return that method. | |
6850 | ||
493d28d5 DJ |
6851 | 2002-02-03 Daniel Jacobowitz <drow@mvista.com> |
6852 | ||
6853 | * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of | |
6854 | accessing tag_name directly. | |
6855 | ||
7495dfdb DJ |
6856 | 2002-02-03 Daniel Jacobowitz <drow@mvista.com> |
6857 | ||
6858 | * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead | |
6859 | of accessing tag_name directly. | |
6860 | ||
dd6bda65 DJ |
6861 | 2002-02-03 Daniel Jacobowitz <drow@mvista.com> |
6862 | ||
6863 | PR gdb/280 | |
6864 | * gdbtypes.c (replace_type): New function. | |
6865 | * gdbtypes.h (replace_type): Add prototype. | |
6866 | * stabsread.c (read_type): Use replace_type. | |
6867 | ||
88fe217c RE |
6868 | 2002-02-03 Richard Earnshaw <rearnsha@arm.com> |
6869 | ||
6870 | * Makefile.in (memattr.o): Add missing dependencies rule. | |
6871 | ||
e5d66720 PS |
6872 | 2002-02-03 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
6873 | ||
6874 | * breakpoint.c (break_at_finish_command): Really export. | |
6875 | (break_at_finish_at_depth_command): Ditto. | |
6876 | (tbreak_at_finish_command): Ditto. | |
6877 | * hppa-tdep.c: Include completer.h. | |
6878 | * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h). | |
6879 | (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o. | |
6880 | ||
fffee0be AC |
6881 | 2002-02-01 Andrew Cagney <ac131313@redhat.com> |
6882 | ||
6883 | * utils.c (do_write): New function. | |
6884 | (error_stream): Rewrite combining the code from error_begin and | |
6885 | verror. | |
6886 | (verror): Rewrite using error_stream. | |
6887 | (error_begin): Delete function. | |
6888 | ||
255e7dbf AC |
6889 | 2002-02-01 Andrew Cagney <ac131313@redhat.com> |
6890 | ||
6891 | * utils.c (error_begin): Make static. | |
6892 | * defs.h (error_begin): Delete declaration. | |
6893 | ||
6894 | * linespec.c (cplusplus_error): Replace cplusplus_hint. | |
6895 | (decode_line_1): Use cplusplus_error instead of error_begin, | |
6896 | cplusplus_hint and return_to_top_level. | |
6897 | * coffread.c (coff_symfile_read): Use error instead of error_begin | |
6898 | and return_to_top_level. | |
6899 | * infrun.c (default_skip_permanent_breakpoint): Ditto. | |
6900 | ||
ddfe3c15 AC |
6901 | 2002-02-01 Andrew Cagney <ac131313@redhat.com> |
6902 | ||
6903 | * language.h (type_error, range_error): Make string parameter | |
6904 | constant. | |
6905 | * language.c (warning_pre_print): Delete extern declaration. | |
6906 | * dwarfread.c (warning_pre_print): Ditto. | |
6907 | * language.c (type_error, range_error): Rewrite to use verror and | |
6908 | vwarning instead of warning_begin. | |
6909 | ||
03ac34d5 MS |
6910 | 2002-02-01 Michael Snyder <msnyder@redhat.com> |
6911 | ||
261c4ca2 MS |
6912 | * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code. |
6913 | (set_ignore_count): Move misplaced comment back where it belongs. | |
03ac34d5 | 6914 | |
e00d1dc8 AC |
6915 | 2002-02-01 Andrew Cagney <ac131313@redhat.com> |
6916 | ||
6917 | * command.h (NO_FUNCTION): Delete macro. | |
6918 | * cli/cli-decode.h (NO_FUNCTION): Ditto. | |
6919 | * top.c (execute_command): Replace NO_FUNCTION with NULL. | |
6920 | * tracepoint.c (_initialize_tracepoint): Ditto. | |
6921 | * cli/cli-decode.c (add_set_cmd): Ditto. | |
6922 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
aaa38bb5 | 6923 | |
76b79d6e DJ |
6924 | 2002-02-01 Daniel Jacobowitz <drow@mvista.com> |
6925 | ||
6926 | * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments. | |
6927 | Update ``this'' pointer when calling virtual functions. | |
6928 | ||
799f9e91 MS |
6929 | 2002-02-01 Michael Snyder <msnyder@redhat.com> |
6930 | ||
c7bd442c | 6931 | * breakpoint.c (create_temp_exception_breakpoint): Delete. |
799f9e91 MS |
6932 | * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands. |
6933 | ||
3cf384d4 DJ |
6934 | 2002-02-01 Daniel Jacobowitz <drow@mvista.com> |
6935 | ||
6936 | * regformats/reg-arm.dat: New file. | |
6937 | * regformats/reg-i386.dat: New file. | |
6938 | * regformats/reg-ia64.dat: New file. | |
6939 | * regformats/reg-m68k.dat: New file. | |
6940 | * regformats/reg-mips.dat: New file. | |
6941 | * regformats/reg-ppc.dat: New file. | |
6942 | * regformats/reg-sh.dat: New file. | |
6943 | * regformats/regdef.h: New file. | |
6944 | * regformats/regdat.sh: New file. | |
6945 | ||
0defa245 RE |
6946 | 2002-02-01 Richard Earnshaw <reanrsha@arm.com> |
6947 | ||
6948 | * arm-tdep.c (arm_frameless_function_invocation): Add some comments. | |
6949 | (arm_frame_args_address, arm_frame_locals_address): New functions. | |
6950 | (arm_frame_num_args): New function. | |
6951 | * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address. | |
6952 | (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address. | |
6953 | (FRMA_NUM_ARGS): Call arm_frame_num_args. | |
6954 | ||
405f26e6 MS |
6955 | 2002-01-31 Michael Snyder <msnyder@redhat.com> |
6956 | ||
502fd408 MS |
6957 | * breakpoint.c (break_at_finish_command): Export. |
6958 | (break_at_finish_at_depth_command): Export. | |
6959 | (tbreak_at_finish_command): Export. | |
6960 | (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands. | |
6961 | * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and | |
6962 | "tbreak" commands, which are HPPA specific. | |
6963 | ||
7d35e135 MS |
6964 | * printcmd.c (disassemble_command): Remove an ancient |
6965 | artifact of an old merge. | |
6966 | ||
aaa38bb5 | 6967 | * symfile.h (enum overlay_debugging_state): |
d874f1e2 MS |
6968 | Define enum constant values for overlay mode. |
6969 | * symfile.c (overlay_debugging): Use enums instead of literals. | |
aaa38bb5 AJ |
6970 | (overlay_is_mapped, overlay_auto_command, |
6971 | overlay_manual_command): Ditto. | |
d874f1e2 | 6972 | |
aaa38bb5 AJ |
6973 | * breakpoint.c (insert_breakpoints, remove_breakpoint, |
6974 | breakpoint_here_p, breakpoint_inserted_here_p, | |
6975 | breakpoint_thread_match, bpstat_stop_status, | |
9f04af04 MS |
6976 | describe_other_breakpoints, check_duplicates, clear_command): |
6977 | Coding standard fixes. | |
6978 | ||
8add0441 | 6979 | * target.c (target_xfer_memory): Add spaces, coding standard. |
9f04af04 | 6980 | (do_xfer_memory): Add missing line to trust-readonly |
405f26e6 MS |
6981 | code: check bfd SEC_READONLY flag for section. |
6982 | ||
e351066e AC |
6983 | 2002-01-31 Andrew Cagney <ac131313@redhat.com> |
6984 | ||
7d35e135 | 6985 | * PROBLEMS: Fix typo, 5.1->5.1.1. |
e351066e | 6986 | |
8a48e967 DJ |
6987 | 2002-01-30 Daniel Jacobowitz <drow@mvista.com> |
6988 | ||
6989 | * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for | |
6990 | data symbols, since we search based on textlow and texthigh. | |
6991 | (find_pc_sect_symtab): Likewise. | |
6992 | ||
f5a96129 AC |
6993 | 2002-01-30 Andrew Cagney <ac131313@redhat.com> |
6994 | ||
6995 | * defs.h (vwarning): Declare. | |
f5a96129 AC |
6996 | * utils.c (vwarning): New function. |
6997 | (warning): Call vwarning. | |
6998 | (warning_begin): Delete function. | |
6999 | ||
7000 | * rs6000-nat.c (vmap_ldinfo): Use the function warning to print | |
7001 | the warning message. | |
7002 | * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to | |
7003 | warning_begin. | |
7004 | ||
cefd4ef5 MS |
7005 | 2002-01-30 Michael Snyder <msnyder@redhat.com> |
7006 | ||
1a703748 MS |
7007 | * NEWS: Mention "set trust-readonly-sections" command. |
7008 | Mention generate-core-file command. | |
cefd4ef5 | 7009 | |
3a11626d MS |
7010 | 2002-01-15 Michael Snyder <msnyder@redhat.com> |
7011 | ||
7012 | * target.c: New command, "set trust-readonly-sections on". | |
7013 | (do_xfer_memory): Honor the suggestion to trust readonly sections | |
7014 | by reading them from the object file instead of from the target. | |
7015 | (initialize_targets): Register command "set trust-readonly-sections". | |
7016 | ||
d1c7e53b AC |
7017 | 2002-01-29 Andrew Cagney <ac131313@redhat.com> |
7018 | ||
7019 | * parse.c (target_map_name_to_register): Simplify, search regs and | |
7020 | pseudo-regs using a single loop. | |
7021 | ||
e2c9a72c AC |
7022 | 2002-01-30 Andrew Cagney <ac131313@redhat.com> |
7023 | ||
7024 | * PROBLEMS: Note that the i386 fix was missing from 5.1.1. | |
7025 | ||
69824b4e MK |
7026 | 2002-01-15 Rodney Brown <rbrown64@csc.com.au> |
7027 | ||
7028 | * config/i386/tm-i386v4.h: Define HAVE_I387_REGS. | |
7029 | * config/i386/i386v42mp.mh: Add i387-nat.o . | |
7030 | * i386v4-nat.c: Include i387-nat.h. | |
7031 | (supply_fpregset): Use i387_supply_fsave. | |
7032 | (fill_fpregset): Use i387_fill_fsave. | |
7033 | ||
6eb69eab RE |
7034 | 2002-01-30 Richard Earnshaw <rearnsha@arm.com> |
7035 | ||
7036 | * arm-tdep.c (arm_call_dummy_words): Define. | |
7037 | * arm-linux-tdep.c (arm_linux_call_dummy_words): Define. | |
7038 | * config/arm/tm-arm.h (CALL_DUMMY_P): Define. | |
7039 | (CALL_DUMMY_WORDS): Define. | |
7040 | (arm_call_dummy_words): Declare. | |
7041 | * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define. | |
7042 | (arm_linux_call_dummy_words): Declare. | |
7043 | ||
9852326a AS |
7044 | 2002-01-30 Andreas Schwab <schwab@suse.de> |
7045 | ||
7046 | * m68klinux-nat.c: Fix last change to use regcache_collect | |
7047 | instead of referencing registers[] directly. | |
7048 | ||
977a3030 AC |
7049 | 2002-01-29 Andrew Cagney <ac131313@redhat.com> |
7050 | ||
7051 | * parse.c (target_map_name_to_register): Delete code wrapped in | |
7052 | #ifdef REGISTER_NAME_ALIAS_HOOK. | |
7053 | ||
2076c72b MS |
7054 | 2002-01-28 Michael Snyder <msnyder@redhat.com> |
7055 | ||
7056 | * regcache.c (legacy_read_register_gen): Need to be able to | |
7057 | read pseudo-register as well as real register. | |
7058 | (legacy_write_register_gen): Ditto. | |
7059 | ||
8fcc723b AC |
7060 | 2002-01-28 Andrew Cagney <ac131313@redhat.com> |
7061 | ||
7062 | * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete. | |
7063 | * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete. | |
7064 | * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete. | |
7065 | * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete. | |
7066 | * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete. | |
7067 | * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete. | |
7068 | * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete. | |
7069 | * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete. | |
7070 | * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete. | |
7071 | * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete. | |
7072 | * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete. | |
7073 | * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete. | |
7074 | * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete. | |
7075 | * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete. | |
7076 | * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete. | |
7077 | * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete. | |
7078 | * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete. | |
7079 | * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete. | |
7080 | * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete. | |
7081 | * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete. | |
7082 | ||
afe64c1a AC |
7083 | 2002-01-28 Andrew Cagney <ac131313@redhat.com> |
7084 | ||
7085 | * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro. | |
7086 | (target_byte_order): Initialize to BFD_ENDIAN_BIG. | |
7087 | (initialize_current_architecture): Update target_byte_order using | |
7088 | information from BFD. | |
aaa38bb5 | 7089 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT): |
afe64c1a AC |
7090 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete. |
7091 | ||
75bc7ddf AC |
7092 | 2002-01-28 Andrew Cagney <ac131313@redhat.com> |
7093 | ||
7094 | * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here... | |
7095 | * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken. | |
7096 | ||
7097 | * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in | |
7098 | #ifdef INVALID_FLOAT. | |
7099 | * infcmd.c (do_registers_info): Ditto. | |
7100 | * values.c (unpack_double): Ditto. Add comment. | |
7101 | ||
7102 | * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was | |
7103 | already commented out. | |
7104 | ||
0280a90a AS |
7105 | 2002-01-26 Andreas Schwab <schwab@suse.de> |
7106 | ||
7107 | * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define. | |
7108 | * m68klinux-nat.c: Update ptrace interface for fetching/storing | |
7109 | registers and add support for PTRACE_GETREGS. | |
7110 | ||
7072a954 AC |
7111 | 2002-01-24 Andrew Cagney <ac131313@redhat.com> |
7112 | ||
7113 | GDB 5.1.1 released from 5.1 branch. | |
7114 | * NEWS: Add 5.1.1 news. | |
7115 | * README: Sync with 5.1 branch. | |
7116 | ||
86f902e0 FF |
7117 | 2002-01-23 Fred Fish <fnf@redhat.com> |
7118 | ||
7119 | * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to | |
7120 | stabstring on initial malloc. Reallocing will copy it for us, | |
7121 | if necessary. | |
7122 | ||
8af51c36 EZ |
7123 | 2002-01-23 Elena Zannoni <ezannoni@redhat.com> |
7124 | ||
aaa38bb5 | 7125 | * Makefile.in (hpread_h): Delete. |
8af51c36 EZ |
7126 | (HFILES_NO_SRCDIR): Remove hpread.h. |
7127 | (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c. | |
7128 | (hpread.o): Update dependencies. | |
7129 | (hp-psymtab-read.o, hp-symtab-read.o): Remove. | |
7130 | ||
7131 | * hp-psymtab-read.c: Remove file. | |
7132 | * hp-symtab-read.c: Remove file. | |
7133 | * hpread.h: Remove file. | |
7134 | ||
7135 | * hpread.c: Merge all contents of hp-psymtab-read.c, | |
7136 | hp-symtab-read.c and hpread.h into this file, as it was prior to | |
7137 | January 1999. | |
7138 | ||
7139 | * config/pa/hpux11w.mh, config/pa/hpux11.mh, | |
aaa38bb5 | 7140 | config/pa/hpux1020.mh, config/pa/hppaosf.mh, |
8af51c36 EZ |
7141 | config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES): |
7142 | Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o. | |
7143 | ||
dc5cfeb6 EZ |
7144 | 2002-01-23 Elena Zannoni <ezannoni@redhat.com> |
7145 | ||
7146 | * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset, | |
7147 | fill_gregset): Call gdbarch_tdep() just once, assign result to | |
7148 | variable and use that, instead of calling the function several | |
7149 | times. | |
7150 | ||
ea87b71b AO |
7151 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
7152 | ||
7153 | * configure.host: Accept sparcv9 as alias for sparc64. | |
7154 | * configure.tgt: Likewise. | |
7155 | ||
13fc0c2f KB |
7156 | 2002-01-22 Kevin Buettner <kevinb@redhat.com> |
7157 | ||
7158 | * solib-aix5.c (build_so_list_from_mapfile) | |
7159 | (aix5_relocate_main_executable): Fix xcalloc() calls so order of | |
7160 | arguments is not reversed. | |
7161 | * solib-sunos.c (sunos_relocate_main_executable): Likewise. | |
7162 | * solib-svr4.c (svr4_relocate_main_executable): Likewise. | |
aaa38bb5 | 7163 | |
7bd872fe EZ |
7164 | 2002-01-22 Elena Zannoni <ezannoni@redhat.com> |
7165 | ||
7166 | * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and | |
7167 | modified version of obsolete sh_fetch_pseudo_register. | |
7168 | (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read. | |
7169 | (sh4_register_read): New function. | |
7170 | (sh_pseudo_register_write): New function. Renamed and modified | |
7171 | version of obsolete sh_store_pseudo_register. | |
7172 | (sh_store_pseudo_register): Rename to sh_pseudo_register_write. | |
7173 | (sh4_register_write): New function. | |
7174 | (sh_gdbarch_init): Remove setting of gdbarch function | |
7175 | fetch_pseudo_register and store_pseudo_register. Remove setting of | |
7176 | register_convert_to_raw, register_convert_to_virtual, | |
7177 | register_convertible. | |
7178 | (sh_sh4_register_convertible): Delete. No longer needed. All is | |
7179 | taken care by architecture specific functions | |
7180 | register_read/register_write. | |
7181 | (sh_sh4_register_convert_to_virtual): Make static. | |
7182 | (sh_sh4_register_convert_to_raw): Ditto. | |
7183 | ||
069e84fd AC |
7184 | 2002-01-22 Andrew Cagney <ac131313@redhat.com> |
7185 | ||
7186 | * doublest.c (floatformat_is_negative): Assert FMT is non NULL. | |
7187 | (floatformat_is_nan, floatformat_mantissa): Ditto. | |
7188 | ||
7189 | * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT | |
7190 | for builtin_type_ieee_single_little, builtin_type_ieee_double_big, | |
7191 | builtin_type_ieee_double_little, | |
7192 | builtin_type_ieee_double_littlebyte_bigword, | |
7193 | builtin_type_m68881_ext, builtin_type_i960_ext, | |
7194 | builtin_type_m88110_ext, builtin_type_m88110_harris_ext, | |
7195 | builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword, | |
7196 | builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and | |
7197 | builtin_type_ia64_quad_big, builtin_type_ia64_quad_little. | |
7198 | ||
211a4f69 CV |
7199 | 2002-01-22 Corinna Vinschen <vinschen@redhat.com> |
7200 | ||
7201 | * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless | |
7202 | parameter. Set frameless flag if it exists and depended of | |
7203 | whether the scanned function is frameless or not. | |
7204 | (xstormy16_skip_prologue): If function is frameless, return | |
7205 | result of xstormy16_scan_prologue(). | |
7206 | (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue() | |
7207 | call. | |
7208 | ||
f81353e4 EZ |
7209 | 2002-01-21 Elena Zannoni <ezannoni@redhat.com> |
7210 | ||
7211 | * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments, | |
7212 | sh_generic_show_regs, sh3_show_regs, sh3e_show_regs, | |
7213 | sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs, | |
7214 | sh_sh4_register_byte, sh_sh4_register_raw_size, | |
7215 | sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type, | |
7216 | sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual, | |
7217 | sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register, | |
7218 | sh_store_pseudo_register, sh_do_pseudo_register): Call | |
7219 | gdbarch_tdep() just once, assign result to variable and use that, | |
7220 | instead of calling the function several times. | |
7221 | ||
63c73a17 MK |
7222 | 2002-01-20 Mark Kettenis <kettenis@gnu.org> |
7223 | ||
7224 | * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P | |
7225 | macros instead of LAST_FPU_CTRL_REGNUM. | |
7226 | (store_register): Likewise. | |
7227 | ||
39ad761d JB |
7228 | 2002-01-21 Jim Blandy <jimb@redhat.com> |
7229 | ||
7230 | * infcmd.c (run_command): Check that the `exec' target layer's BFD | |
7231 | is up-to-date before running the program, not just when a program | |
7232 | exits. | |
7233 | ||
3d74b771 FF |
7234 | 2002-01-21 Fred Fish <fnf@redhat.com> |
7235 | ||
7236 | * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue | |
7237 | when we have found all instructions we are looking for. | |
7238 | ||
966fbf70 RE |
7239 | 2002-01-21 Richard Earnshaw <rearnsha@arm.com> |
7240 | ||
7241 | * arm-tdep.c (arm_register_name): New function. | |
7242 | (arm_registers_names): Make static. | |
7243 | * config/arm/tm-arm.h (arm_register_names): Delete declaration. | |
7244 | (arm_register_name): Declare. | |
7245 | (REGISTER_NAME): Use it. | |
7246 | ||
c3b4394c RE |
7247 | 2002-01-21 Richard Earnshaw <rearnsha@arm.com> |
7248 | Kevin Buettner <kevinb@redhat.com> | |
7249 | ||
7250 | Convert arm targets to new FRAME interface. | |
7251 | * arm-tdep.c (struct frame_extra_info): Remove fsr. | |
7252 | (arm_frame_find_save_regs): Delete. | |
7253 | (arm_frame_init_saved_regs): New. | |
7254 | (arm_init_extra_frame_info): Alloacte saved_regs as required. | |
7255 | Allocate extra_info as required. Convert all uses of fsr.regs | |
7256 | to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields | |
7257 | to use extra_info. | |
7258 | (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg) | |
7259 | (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise. | |
7260 | (check_prologue_cache, save_prologue_cache): Likewise. | |
7261 | (_initialize_arm_tdep): Ensure prologue_cache is correctly set up. | |
7262 | * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete. | |
7263 | (FRAME_FIND_SAVED_REGS): Delete. | |
7264 | (arm_frame_find_saved_regs): Delete prototype. | |
7265 | (arm_frame_init_saved_regs): New prototype. | |
7266 | (FRAME_INIT_SAVED_REGS): Define. | |
7267 | ||
61d99182 AC |
7268 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
7269 | ||
7270 | * config/arc/tm-arc.h (IEEE_FLOAT): Delete. | |
7271 | ||
6aaea291 AC |
7272 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
7273 | ||
7274 | From Jeff Law <law@redhat.com>: | |
7275 | * infttrace.c: Include <sys/pstat.h>. | |
7276 | (child_pid_to_exec_file): Revamp. Use pstat call to get the | |
7277 | exec file if the ttrace equivalent fails. | |
7278 | ||
15f698d2 AC |
7279 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
7280 | ||
7281 | * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''. | |
7282 | (closeLogFile): Ditto. | |
7283 | ||
f86ddd7c MC |
7284 | 2002-01-20 Michael Chastain <mec@shout.net> |
7285 | ||
7286 | * top.c (print_gdb_version): Bump copyright year to 2002. | |
7287 | ||
904507ce AC |
7288 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
7289 | ||
7290 | * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena | |
7291 | Zannoni and Eli Zaretskii. | |
7292 | ||
d7f0b9ce DJ |
7293 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
7294 | ||
7295 | * buildsym.c: Update copyright years. | |
7296 | * c-typeprint.c: Likewise. | |
7297 | * dwarf2read.c: Likewise. | |
7298 | * f-typeprint.c: Likewise. | |
7299 | * gdbtypes.c: Likewise. | |
7300 | * gdbtypes.h: Likewise. | |
7301 | * hp-symtab-read.c: Likewise. | |
7302 | * hpread.c: Likewise. | |
7303 | * mdebugread.c: Likewise. | |
7304 | * p-typeprint.c: Likewise. | |
7305 | ||
3fd3d7d2 AC |
7306 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
7307 | ||
7308 | * remote-sim.c (gdbsim_open): Simplify code testing the macro | |
7309 | TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always | |
7310 | byte-order selectable. | |
7311 | * sparc-tdep.c (sparc_target_architecture_hook): Ditto. | |
7312 | * arch-utils.c: Ditto. | |
7313 | (set_endian): Ditto. | |
7314 | (set_endian_from_file): Ditto. | |
7315 | * gdbserver/low-sim.c (create_inferior): Ditto. | |
7316 | * gdbarch.sh: Ditto. | |
7317 | * gdbarch.h: Re-generate. | |
aaa38bb5 AJ |
7318 | * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P): |
7319 | * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE): | |
7320 | * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE): | |
7321 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
7322 | * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
7323 | * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
7324 | * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE): | |
3fd3d7d2 AC |
7325 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete |
7326 | macro definition. | |
7327 | * config/mips/tm-wince.h: Remove #undef of macro | |
7328 | TARGET_BYTE_ORDER_SELECTABLE. | |
7329 | * config/sh/tm-wince.h: Ditto. | |
7330 | ||
b02dede2 DJ |
7331 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
7332 | ||
7333 | * gdbtypes.h (struct cplus_struct_type): Add is_artificial to | |
7334 | member function fields. Add accessor macro | |
7335 | TYPE_FN_FIELD_ARTIFICIAL. | |
7336 | * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods. | |
7337 | * c-typeprint.c (c_type_print_base): Skip artificial member | |
7338 | functions. | |
7339 | ||
c3643761 DJ |
7340 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
7341 | ||
7342 | * f-typeprint.c: Delete unused function f_type_print_args. | |
7343 | * p-typeprint.c: Delete unused function pascal_type_print_args. | |
7344 | ||
8176bb6d DJ |
7345 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
7346 | ||
7347 | * gdbtypes.h (struct type): Fix whitespace. Remove obsolete | |
7348 | comment. Add ``artificial'' to ``union field_location''. | |
7349 | ||
7350 | * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL. | |
7351 | ||
7352 | * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0. | |
7353 | * mdebugread.c (parse_symbol): Likewise. | |
7354 | * stabsread.c (define_symbol): Likewise. | |
7355 | * hp-symtab-read.c (hpread_function_type): Likewise, instead of | |
7356 | initializing TYPE_FIELD_BITPOS to n (obsolete). | |
7357 | (hpread_doc_function_type): Likewise. | |
7358 | * hpread.c (hpread_function_type): Likewise. | |
7359 | ||
7fd60527 AC |
7360 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
7361 | ||
7362 | * configure.in (host_makefile_frag): Only require a host makefile | |
7363 | fragment when a native build. | |
7364 | * configure: Re-generate. | |
7365 | ||
c2f05ac9 AC |
7366 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
7367 | ||
7368 | * doublest.h (floatformat_from_type): Declare. | |
7369 | * doublest.c (floatformat_from_type): New function. | |
7370 | (convert_typed_floating): Use. | |
7371 | ||
7372 | * valprint.c (print_floating): Replace checks for IEEE_FLOAT with | |
7373 | call to function floatformat_from_type. | |
7374 | ||
7375 | * gdbarch.sh (IEEE_FLOAT): Delete. | |
7376 | * gdbarch.h, gdbarch.c: Re-generate. | |
7377 | * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro. | |
7378 | * config/i386/tm-i386.h (IEEE_FLOAT): Ditto. | |
7379 | * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto. | |
7380 | * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto. | |
7381 | * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto. | |
7382 | * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto. | |
7383 | * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto. | |
7384 | * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto. | |
7385 | * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto. | |
7386 | * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto. | |
7387 | * config/arm/tm-arm.h (IEEE_FLOAT): Ditto. | |
c2f05ac9 AC |
7388 | * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto. |
7389 | ||
7390 | * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float. | |
7391 | * x86-64-tdep.c (i386_gdbarch_init): Ditto. | |
7392 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
7393 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
7394 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
7395 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
7396 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
7397 | ||
abf22e64 AJ |
7398 | 2002-01-20 Jiri Smid <smid@suse.cz> |
7399 | ||
7400 | * configure.host, configure.tgt: Support x86-64. | |
7401 | * NEWS: Note new target x86-64. | |
7402 | ||
b7c4cbf8 AJ |
7403 | * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed. |
7404 | * x86-64-linux-nat.c (x86_64_register_u_addr): New function. | |
7405 | * config/i386/nm-x86-64.h (ATTACH_LWP): Removed. | |
7406 | * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o, | |
7407 | x86-64-linux-nat.o): Fix dependencies. | |
7408 | ||
82600034 AC |
7409 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
7410 | ||
7411 | * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE. | |
7412 | * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro .... | |
7413 | * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here. | |
7414 | * config/sparc/xm-sun4os4.h: Delete file. | |
7415 | * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable. | |
abf22e64 | 7416 | |
bbe5c628 AC |
7417 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
7418 | ||
7419 | * config/sparc/sparclynx.mh (XM_FILE): Delete. | |
7420 | * config/rs6000/rs6000lynx.mh (XM_FILE): Delete. | |
7421 | * config/m68k/m68klynx.mh (XM_FILE): Delete. | |
7422 | * config/i386/i386lynx.mh (XM_FILE): Delete. | |
7423 | * config/rs6000/xm-rs6000ly.h: Delete file. | |
7424 | * config/sparc/xm-sparclynx.h: Delete file. | |
7425 | * config/m68k/xm-m68klynx.h: Delete file. | |
7426 | * config/i386/xm-i386lynx.h: Delete file. | |
7427 | * config/xm-lynx.h: Delete file. | |
7428 | * config/djgpp/fnchange.lst: Update. | |
7429 | ||
f8453e34 JT |
7430 | 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com> |
7431 | ||
7432 | * alpha-tdep.c (alpha_register_byte): New function. | |
7433 | (alpha_register_raw_size): Ditto. | |
7434 | (alpha_register_virtual_size): Ditto. | |
7435 | (alpha_skip_prologue_internal): Renamed from | |
7436 | alpha_skip_prologue. | |
7437 | (alpha_skip_prologue): New version that calls | |
7438 | alpha_skip_prologue_internal. | |
7439 | (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal. | |
7440 | * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove | |
7441 | second argument from alpha_skip_prologue. | |
7442 | (REGISTER_BYTE): Use alpha_register_byte. | |
7443 | (REGISTER_RAW_SIZE): Use alpha_register_raw_size. | |
7444 | (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size. | |
7445 | (FRAMELESS_FUNCTION_INVOCATION): Use | |
7446 | generic_frameless_function_invocation_not. | |
7447 | (FRAME_NUM_ARGS): Use frame_num_args_unknown. | |
7448 | (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double. | |
7449 | ||
52d9e613 AC |
7450 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
7451 | ||
7452 | * config/mips/xm-news-mips.h: Delete file. | |
7453 | * config/mips/news-mips.mh (XM_FILE): Delete makefile variable. | |
7454 | ||
7455 | * config/m88k/xm-m88k.h: Delete file. | |
7456 | * config/m88k/xm-dgux.h: Do not include xm-m88k.h. | |
7457 | * config/m88k/xm-delta88v4.h: Ditto. | |
7458 | * config/m88k/xm-delta88.h: Ditto. | |
7459 | ||
7460 | * config/alpha/xm-fbsd.h: Delete file. | |
7461 | * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable. | |
7462 | ||
7463 | * config/sparc/xm-sparc.h: Delete file. | |
7464 | * Makefile.in (xm-sun4os4.h): Delete dependency. | |
7465 | * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h. | |
7466 | * config/sparc/xm-sun4os4.h: Ditto. | |
7467 | * config/sparc/xm-linux.h: Ditto. | |
7468 | ||
7469 | * config/i386/xm-windows.h: Delete file. | |
7470 | ||
2d1b2124 AC |
7471 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
7472 | ||
7473 | * utils.c: Include <sys/param.h> for MAXPATHLEN. | |
7474 | (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined. | |
7475 | ||
ee1f65f0 JT |
7476 | 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com> |
7477 | ||
7478 | * alpha-tdep.c (alpha_call_dummy_words): New. | |
7479 | * config/alpha/tm-alpha.h (CALL_DUMMY): Remove. | |
7480 | (CALL_DUMMY_P): Define. | |
7481 | (CALL_DUMMY_WORDS): Define. | |
7482 | (SIZEOF_CALL_DUMMY_WORDS): Define. | |
7483 | ||
98081e55 PB |
7484 | 2002-01-19 Per Bothner <per@bothner.com> |
7485 | ||
7486 | * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name | |
7487 | isn't NULL, which can happen with some gcj-3.x-produced code. | |
7488 | ||
0d056799 JT |
7489 | 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com> |
7490 | ||
7491 | * alpha-tdep.c (alpha_register_virtual_type): New function. | |
7492 | (alpha_init_frame_pc_first): Ditto. | |
7493 | (alpha_fix_call_dummy): Ditto. | |
7494 | (alpha_store_struct_return): Ditto. | |
7495 | (alpha_extract_struct_value_address): Ditto. | |
7496 | * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use | |
7497 | alpha_register_virtual_type. | |
7498 | (STORE_STRUCT_RETURN): Use alpha_store_struct_return. | |
7499 | (EXTRACT_STRUCT_VALUE_ADDRESS): Use | |
7500 | alpha_extract_struct_value_address. | |
7501 | (FIX_CALL_DUMMY): Use alpha_fix_call_dummy. | |
7502 | (INIT_FRAME_PC): Use init_frame_pc_noop. | |
7503 | (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first. | |
7504 | ||
4604bcad MK |
7505 | 2002-01-19 Mark Kettenis <kettenis@gnu.org> |
7506 | ||
7507 | * i386gnu-nat.c: Include "i386-tdep.h". | |
7508 | (fetch_fpregs): Simplify code dealing with uninitialized floating | |
7509 | point states such that it doesn't require FP7_REGNUM. | |
7510 | ||
140f9984 JT |
7511 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
7512 | ||
abf22e64 AJ |
7513 | * alpha-tdep.c (frame_extra_info): New. |
7514 | (alpha_find_saved_regs): Make static. Use | |
140f9984 JT |
7515 | frame->extra_info. |
7516 | (alpha_frame_init_saved_regs): New function. | |
abf22e64 AJ |
7517 | (alpha_frame_saved_pc): Use frame->extra_info. |
7518 | (temp_saved_regs): Don't declare as struct frame_saved_regs. | |
7519 | (heuristic_proc_desc): Adjust for temp_saved_regs changes. | |
140f9984 JT |
7520 | (init_extra_frame_info): Rename to... |
7521 | (alpha_init_extra_frame_info): ...this. Use frame->extra_info. | |
abf22e64 | 7522 | (alpha_print_extra_frame_info): New function. |
140f9984 JT |
7523 | (alpha_frame_locals_address): Ditto. |
7524 | (alpha_frame_args_address): Ditto. | |
abf22e64 | 7525 | (alpha_pop_frame): Use frame->extra_info. |
140f9984 JT |
7526 | * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use |
7527 | alpha_frame_args_address. | |
abf22e64 | 7528 | (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address. |
140f9984 | 7529 | (alpha_find_saved_regs): Remove prototype. |
abf22e64 AJ |
7530 | (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs. |
7531 | (EXTRA_FRAME_INFO): Remove. | |
140f9984 JT |
7532 | (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info. |
7533 | (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info. | |
7534 | ||
d734c450 JT |
7535 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
7536 | ||
7537 | * alpha-tdep.c (alpha_osf_in_sigtramp): New function. | |
7538 | (alpha_cannot_fetch_register): Ditto. | |
7539 | (alpha_cannot_store_register): Ditto. | |
7540 | (alpha_register_convertible): Ditto. | |
7541 | (alpha_use_struct_convention): Ditto. | |
7542 | * config/alpha/tm-alpha.h: Update copyright years. | |
7543 | (IN_SIGTRAMP): Use alpha_osf_in_sigtramp. | |
7544 | (INNER_THAN): Use core_addr_lessthan. | |
7545 | (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register. | |
7546 | (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register. | |
7547 | (REGISTER_CONVERTIBLE): Use alpha_register_convertible. | |
7548 | (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention. | |
7549 | (FRAME_CHAIN): Remove unnecessary cast. | |
7550 | ||
b4ceaee6 AC |
7551 | 2002-01-18 Andrew Cagney <ac131313@redhat.com> |
7552 | ||
7553 | * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is | |
7554 | obsolete. | |
7555 | ||
0a65a603 AC |
7556 | 2002-01-18 Andrew Cagney <ac131313@redhat.com> |
7557 | ||
7558 | * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright. | |
7559 | * monitor.c, remote-array.c, remote-bug.c: Ditto. | |
7560 | * remote-e7000.c, remote-es.c, remote-mips.c: Ditto. | |
7561 | * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto. | |
7562 | * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto. | |
7563 | * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto. | |
7564 | * x86-64-linux-nat.c: Ditto. | |
7565 | ||
636a6dfc JT |
7566 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
7567 | ||
abf22e64 | 7568 | * alpha-tdep.c (alpha_register_name): New function. |
636a6dfc JT |
7569 | * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove. |
7570 | (REGISTER_NAME): Define. | |
7571 | ||
acceddb6 JT |
7572 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
7573 | ||
7574 | * config/nm-nbsd.h (KERNEL_U_ADDR): Remove. | |
7575 | ||
ec32e4be JT |
7576 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
7577 | ||
7578 | * alpha-tdep.c: Update copyright years. | |
7579 | (alpha_next_pc): New function. | |
7580 | (alpha_software_single_step): Ditto. | |
7581 | * config/alpha/tm-alpha.h: Add prototype for | |
7582 | alpha_software_single_step. | |
7583 | ||
e771a871 JT |
7584 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
7585 | ||
7586 | * alphabsd-nat.c: Update copyright years. | |
7587 | (fill_gregset): Use regcache_collect. | |
7588 | (fill_fpregset): Likewise. | |
7589 | (fetch_inferior_registers): Only fetch integer registers | |
7590 | if requested to do so. | |
7591 | (store_inferior_registers): Only store integer registers | |
7592 | if requested to do so. | |
7593 | ||
7708fa01 AC |
7594 | 2002-01-17 Andrew Cagney <ac131313@redhat.com> |
7595 | ||
7596 | * config/alpha/alpha-osf3.mh (XDEPFILES): Delete. | |
7597 | * config/alpha/alpha-osf2.mh (XDEPFILES): Delete. | |
7598 | * config/alpha/alpha-osf1.mh (XDEPFILES): Delete. | |
7599 | * config/alpha/alpha-linux.mh (XDEPFILES): Delete. | |
7600 | * config/alpha/fbsd.mh (XDEPFILES): Delete. | |
7601 | * config/arm/linux.mh (XDEPFILES): Delete. | |
7602 | * config/arm/nbsd.mh (XDEPFILES): Delete. | |
7603 | * config/i386/i386dgux.mh (XDEPFILES): Delete. | |
7604 | * config/i386/i386sol2.mh (XDEPFILES): Delete. | |
7605 | * config/i386/i386m3.mh (XDEPFILES): Delete. | |
7606 | (NATDEPFILES): Move i387-tdep.o and core-aout.o to here. | |
7607 | * config/i386/i386gnu.mh (XDEPFILES): Delete. | |
7608 | * config/i386/fbsd.mh (XDEPFILES): Delete. | |
7609 | * config/i386/i386bsd.mh (XDEPFILES): Delete. | |
7610 | * config/i386/i386sco5.mh (XDEPFILES): Delete. | |
7611 | * config/i386/i386v4.mh (XDEPFILES): Delete. | |
7612 | * config/i386/i386v42mp.mh (XDEPFILES): Delete. | |
7613 | * config/i386/i386sco4.mh (XDEPFILES): Delete. | |
7614 | * config/i386/i386aix.mh (XDEPFILES): Delete. | |
7615 | * config/i386/go32.mh (XDEPFILES): Delete. | |
7616 | * config/i386/cygwin.mh (XDEPFILES): Delete. | |
7617 | * config/i386/i386lynx.mh (XDEPFILES): Delete. | |
7618 | * config/i386/i386mach.mh (XDEPFILES): Delete. | |
7619 | * config/i386/i386v32.mh (XDEPFILES): Delete. | |
7620 | * config/i386/linux.mh (XDEPFILES): Delete. | |
7621 | * config/i386/nbsdelf.mh (XDEPFILES): Delete. | |
7622 | * config/i386/ncr3000.mh (XDEPFILES): Delete. | |
7623 | * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES. | |
7624 | * config/i386/i386sco.mh (XDEPFILES): Delete. | |
7625 | * config/i386/i386v.mh (XDEPFILES): Delete. | |
7626 | * config/i386/nbsd.mh (XDEPFILES): Delete. | |
7627 | * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES. | |
7628 | * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES. | |
7629 | * config/i386/symmetry.mh (XDEPFILES): Delete. | |
7630 | * config/i386/obsd.mh (XDEPFILES): Delete. | |
7631 | * config/i386/x86-64linux.mh (XDEPFILES): Delete. | |
7632 | * config/ia64/linux.mh (XDEPFILES): Delete. | |
7633 | * config/ia64/aix.mh (XDEPFILES): Delete. | |
7634 | * config/m68k/apollo68b.mh (XDEPFILES): Delete. | |
7635 | * config/m68k/dpx2.mh (XDEPFILES): Delete. | |
7636 | * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES. | |
7637 | * config/m68k/apollo68v.mh (XDEPFILES): Delete. | |
7638 | * config/m68k/hp300bsd.mh (XDEPFILES): Delete. | |
7639 | * config/m68k/linux.mh (XDEPFILES): Delete. | |
7640 | * config/m68k/m68klynx.mh (XDEPFILES): Delete. | |
7641 | * config/m68k/m68kv4.mh (XDEPFILES): Delete. | |
7642 | * config/m68k/nbsd.mh (XDEPFILES): Delete. | |
7643 | * config/m68k/sun2os3.mh (XDEPFILES): Delete. | |
7644 | * config/m68k/sun2os4.mh (XDEPFILES): Delete. | |
7645 | * config/m68k/sun3os3.mh (XDEPFILES): Delete. | |
7646 | * config/m68k/sun3os4.mh (XDEPFILES): Delete. | |
7647 | * config/m88k/delta88.mh (XDEPFILES): Delete. | |
7648 | * config/m88k/delta88v4.mh (XDEPFILES): Delete. | |
7649 | * config/m88k/m88k.mh (XDEPFILES): Delete. | |
7650 | * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES. | |
7651 | * config/mips/linux.mh (XDEPFILES): Delete. | |
7652 | * config/mips/irix6.mh (XDEPFILES): Delete. | |
7653 | * config/mips/irix5.mh (XDEPFILES): Delete. | |
7654 | * config/mips/irix4.mh (XDEPFILES): Delete. | |
7655 | * config/mips/irix3.mh (XDEPFILES): Delete. | |
7656 | * config/mips/decstation.mh (XDEPFILES): Delete. | |
7657 | * config/mips/mipsm3.mh (XDEPFILES): Delete. | |
7658 | (NATDEPFILES): Move core-aout.o to here. | |
7659 | * config/ns32k/nbsd.mh (XDEPFILES): Delete. | |
7660 | * config/pa/hpux1020.mh (XDEPFILES): Delete. | |
7661 | * config/pa/hppabsd.mh (XDEPFILES): Delete. | |
7662 | * config/pa/hppahpux.mh (XDEPFILES): Delete. | |
7663 | * config/pa/hpux11w.mh (XDEPFILES): Delete. | |
7664 | * config/pa/hppaosf.mh (XDEPFILES): Delete. | |
7665 | * config/pa/hpux11.mh (XDEPFILES): Delete. | |
7666 | * config/powerpc/aix.mh (XDEPFILES): Delete. | |
7667 | * config/powerpc/nbsd.mh (XDEPFILES): Delete. | |
7668 | * config/powerpc/linux.mh (XDEPFILES): Delete. | |
7669 | * config/romp/rtbsd.mh: Rename XDEPFILES. | |
7670 | * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete. | |
7671 | * config/rs6000/aix4.mh (XDEPFILES): Delete. | |
7672 | * config/rs6000/rs6000.mh (XDEPFILES): Delete. | |
7673 | * config/s390/s390.mh (XDEPFILES): Delete. | |
7674 | * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES. | |
7675 | * config/sparc/sun4sol2.mh (XDEPFILES): Delete. | |
7676 | * config/sparc/sun4os4.mh (XDEPFILES): Delete. | |
7677 | * config/sparc/sparclynx.mh (XDEPFILES): Delete. | |
7678 | * config/sparc/nbsdelf.mh (XDEPFILES): Delete. | |
7679 | * config/sparc/nbsd.mh (XDEPFILES): Delete. | |
7680 | * config/sparc/linux.mh (XDEPFILES): Delete. | |
7681 | * config/vax/vaxult.mh (XDEPFILES): Delete. | |
7682 | * config/vax/vaxult2.mh (XDEPFILES): Delete. | |
7683 | * Makefile.in (DEPFILES): Remove XDEPFILES. | |
7684 | ||
375fc983 AC |
7685 | 2002-01-17 Andrew Cagney <ac131313@redhat.com> |
7686 | ||
7687 | * utils.c (internal_verror): Fix comments, default is yes not no. | |
7688 | Update queries to match. Default to quit and dump core. | |
7689 | ||
8926118c AC |
7690 | 2002-01-17 Andrew Cagney <ac131313@redhat.com> |
7691 | ||
7692 | * breakpoint.c: Update assuming #if UI_OUT is always true. Update | |
7693 | copyright. | |
7694 | * defs.h, event-top.c, gdbcmd.h: Ditto. | |
7695 | * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto. | |
7696 | * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto. | |
7697 | * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto. | |
7698 | * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto. | |
7699 | * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto. | |
7700 | * mi/mi-main.c:Ditto. | |
7701 | ||
7702 | * stack.c, symfile.c: Update copyright. | |
7703 | ||
45b7b345 DJ |
7704 | 2002-01-17 Daniel Jacobowitz <drow@mvista.com> |
7705 | ||
db728ff7 DJ |
7706 | * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c, |
7707 | gdbserver/low-nbsd.c, gdbserver/low-sim.c, | |
7708 | gdbserver/low-sparc.c, gdbserver/low-sun3.c, | |
7709 | gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices. | |
45b7b345 | 7710 | |
db728ff7 DJ |
7711 | 2002-01-17 Daniel Jacobowitz <drow@mvista.com> |
7712 | ||
7713 | * gdbserver/low-hppabsd.c (myattach): New function, returning -1. | |
7714 | * gdbserver/low-lynx.c (myattach): Likewise. | |
7715 | * gdbserver/low-nbsd.c (myattach): Likewise. | |
7716 | * gdbserver/low-sim.c (myattach): Likewise. | |
7717 | * gdbserver/low-sparc.c (myattach): Likewise. | |
7718 | * gdbserver/low-sun3.c (myattach): Likewise. | |
7719 | ||
7720 | * gdbserver/low-linux.c (myattach): New function. | |
45b7b345 | 7721 | |
db728ff7 | 7722 | * gdbserver/server.c (attach_inferior): New function. |
45b7b345 DJ |
7723 | (main): Handle "--attach". |
7724 | ||
8de3c354 AC |
7725 | 2002-01-16 Andrew Cagney <ac131313@redhat.com> |
7726 | ||
7727 | * MAINTAINERS (language support): Daniel Jacobwitz is C++ | |
7728 | maintainer. | |
7729 | ||
b0129042 DJ |
7730 | 2002-01-15 Daniel Jacobowitz <drow@mvista.com> |
7731 | ||
7732 | * c-typeprint.c (is_type_conversion_operator): Add additional | |
7733 | check for non-conversion operators. | |
7734 | ||
ba8679fb | 7735 | 2002-01-15 Michael Snyder <msnyder@redhat.com> |
2bf543a6 MS |
7736 | |
7737 | * linux-proc.c: Add "info proc" command, a la procfs.c. | |
7738 | (read_mapping): New function, abstract and re-use code. | |
7739 | (linux_find_memory_regions): Use new func read_mapping. | |
7740 | (linux_info_proc_cmd): New function, implement "info proc". | |
7741 | (_initialize_linux_proc): Add new command "info proc". | |
7742 | ||
e4f9b4d5 MS |
7743 | 2002-01-15 Michael Snyder <msnyder@redhat.com> |
7744 | ||
7745 | * symfile.c (generic_load): Use bfd_map_over_sections method | |
7746 | instead of manipulating bfd structure members directly. | |
7747 | (add_section_size_callback): New function, bfd sections callback | |
7748 | used by generic_load. | |
7749 | (load_sections_callback): New function, bfd sections callback | |
7750 | used by generic_load. | |
7751 | ||
08cf96df EZ |
7752 | 2002-01-15 Elena Zannoni <ezannoni@redhat.com> |
7753 | ||
abf22e64 | 7754 | [Based on work by Jim Blandy] |
08cf96df EZ |
7755 | * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export. |
7756 | (builtin_type_vec128): Export. | |
7757 | * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD | |
7758 | types. | |
7759 | (builtin_type_vec128): New builtin type for 128 bit vector | |
7760 | registers. | |
7761 | (build_gdbtypes): Initialize builtin_type_v16qi and | |
7762 | builtin_type_v8hi. Create the vec128 register builtin type | |
7763 | structure. | |
7764 | (build_builtin_type_vec128): New function. | |
abf22e64 | 7765 | (_initialize_gdbtypes): Register builtin_type_v16qi and |
08cf96df EZ |
7766 | builtin_type_v8hi with gdbarch. Same for builtin_type_vec128. |
7767 | * rs6000-tdep.c (rs6000_register_virtual_type): Change type of | |
7768 | AltiVec register to new builtin type. | |
7769 | ||
d7242108 DJ |
7770 | 2001-01-15 Daniel Jacobowitz <drow@mvista.com> |
7771 | ||
7772 | * stabsread.c (read_type): Pass dbx_lookup_type (typenums) | |
7773 | to make_cv_type. | |
7774 | ||
4ee3352d AC |
7775 | 2002-01-14 Andrew Cagney <ac131313@redhat.com> |
7776 | ||
7777 | * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename | |
7778 | CLEAN_UP_REGISTER_VALUE. | |
7779 | * regcache.c (supply_register): Update only call. | |
7780 | ||
f015b2e7 AC |
7781 | 2002-01-14 Andrew Cagney <ac131313@redhat.com> |
7782 | ||
7783 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
7784 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
7785 | a29k-*-vxworks* targets as obsolete. | |
7786 | ||
356ae49d MS |
7787 | 2002-01-14 Michael Snyder <msnyder@redhat.com> |
7788 | ||
7789 | * linux-proc.c (linux_do_thread_registers): Ignore fpxregs | |
7790 | until we can resolve portability issues. | |
7791 | * gregset.h: Remove references to fpxregs. | |
7792 | * gcore.c (gcore_command): Initialize note_sec to NULL. | |
7793 | ||
ade8f45e AC |
7794 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
7795 | ||
7796 | * signals.c (target_signal_to_name): Rewrite. Only use | |
7797 | signals[].name when in bounds and non-NULL. | |
abf22e64 | 7798 | |
89c49e7a AC |
7799 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
7800 | ||
7801 | From Petr Ledvina <ledvinap@kae.zcu.cz>: | |
7802 | * signals.c (target_signal_to_name): Verify that SIG is within the | |
7803 | bounds of the signals array. | |
7804 | ||
4daa9f9f AC |
7805 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
7806 | ||
7807 | * MAINTAINERS: Remove arm-coff and arm-pe from target list. | |
7808 | ||
ba4bbdcb KS |
7809 | 2002-01-13 Keith Seitz <keiths@redhat.com> |
7810 | ||
7811 | * stack.c (print_frame_info_base): Print the frame's pc | |
7812 | only if when print_frame_info_listing_hook is not defined. | |
7813 | ||
575bbeb6 KS |
7814 | 2002-01-13 Keith Seitz <keiths@redhat.com> |
7815 | ||
7816 | * varobj.c (varobj_set_value): Make sure that there were no | |
7817 | errors evaluating the object before attempting to set its | |
7818 | value. | |
7819 | value_cast now properly adjusts VALUE_ADDRESS for baseclasses, | |
7820 | so this offset adjustment is no longer necessary. | |
7821 | (create_child): Don't set the error flag if the child is | |
7822 | a CPLUS_FAKE_CHILD. | |
7823 | (value_of_child): If value_fetch_lazy fails, return NULL | |
7824 | so that callers will be notified that an error occurred. | |
7825 | (c_value_of_variable): Delay check of variable's validity | |
7826 | until later. We actually want all structs and unions to have | |
7827 | the value "{...}". | |
7828 | Do not return "???" for variables which could not be evaluated. | |
7829 | This error condition must be returned to the caller so that it | |
7830 | can get the error condition from gdb. | |
7831 | (cplus_name_of_child): Adjust index for vptr before figuring | |
7832 | out the name of the child. | |
7833 | (cplus_value_of_child): If a child's (real) parent is not valid, | |
7834 | don't even bother trying to give a value for it. Just return | |
7835 | an error. Change all instances in this function. | |
7836 | (cplus_type_of_child): If our parent is one of the "fake" | |
7837 | parents, we need to get at the type of the real parent, and | |
7838 | derive the child's true type using this information. | |
7839 | ||
b76898ab AC |
7840 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
7841 | ||
7842 | From 2002-01-09 John Marshall <johnm@falch.net>: | |
7843 | * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to | |
7844 | sources.redhat.com, and tweak some related URLs which had | |
7845 | suffered from linkrot. | |
7846 | ||
b6649e88 AC |
7847 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
7848 | ||
7849 | From Jeff law: | |
7850 | * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte | |
7851 | structures passed in registers. | |
7852 | ||
82cc5033 EZ |
7853 | 2002-01-13 Eli Zaretskii <eliz@is.elta.co.il> |
7854 | ||
7855 | * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous | |
7856 | white space which prevented compilation. Reported by DSK | |
7857 | <dsk@student.unsw.edu.au>. | |
7858 | ||
ba5f2f8a MS |
7859 | 2002-01-11 Michael Snyder <msnyder@redhat.com> |
7860 | ||
fbd35540 MS |
7861 | * symfile.c (build_section_addr_info_from_section_tab): |
7862 | Use bfd access method instead of manipulating bfd directly. | |
7863 | (syms_from_objfile): Ditto. | |
7864 | (simple_overlay_update_1): Ditto. | |
7865 | (simple_overlay_update): Ditto. | |
7866 | (generic_load): Ditto. | |
7867 | (overlay_unmapped_address): FIXME comment, bfd access methods. | |
7868 | (sections_overlap): FIXME comment, bfd access methods. | |
7869 | (pc_in_mapped_range): FIXME comment, bfd access methods. | |
7870 | (pc_in_unmapped_range): FIXME comment, bfd access methods. | |
7871 | (section_is_mapped): FIXME comment, bfd access methods. | |
7872 | (section_is_overlay): FIXME comment, bfd access methods. | |
7873 | ||
ba5f2f8a MS |
7874 | * symfile.c (generic_load): Whitespace and long line cleanups. |
7875 | Remove duplicate variable, change several local variables to | |
7876 | more appropriate data types. | |
7877 | (print_transfer_performance): Use %lu instead of %ld for ulongs. | |
7878 | ||
17df2af6 AC |
7879 | 2002-01-12 Andrew Cagney <ac131313@redhat.com> |
7880 | ||
7881 | From Peter Schauer: | |
7882 | * language.c (longest_local_hex_string_custom): Use phex_nz to | |
7883 | convert NUM to a hex string. | |
7884 | ||
ec920329 EZ |
7885 | 2002-01-12 Elena Zannoni <ezannoni@redhat.com> |
7886 | ||
7887 | * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in | |
7888 | the function. | |
538a76d6 | 7889 | Update Copyright year. |
ec920329 | 7890 | |
3abd2e01 AC |
7891 | 2002-01-12 Andrew Cagney <ac131313@redhat.com> |
7892 | ||
7893 | * language.c (longest_raw_hex_string): Delete unused function. | |
7894 | ||
b21b22e0 PS |
7895 | 2002-01-11 Petr Sorfa <petrs@caldera.com> |
7896 | ||
7897 | * MAINTAINERS (write-after-approval): Add myself. | |
7898 | * dwarf2read.c (read_tag_string_type): Handling of | |
7899 | DW_AT_byte_size. | |
7900 | (read_tag_string_type): FORTRAN fix to prevent propagation of | |
7901 | first string size. | |
7902 | (set_cu_language): Handling of DW_LANG_Fortran95 | |
7903 | ||
747fe712 RE |
7904 | 2002-01-11 Richard Earnshaw <rearnsha@arm.com> |
7905 | ||
7906 | * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid -> | |
7907 | GETPID(inferior_ptid). | |
7908 | (store_inferior_registers): Likewise. | |
7909 | ||
f1bea926 JM |
7910 | 2002-01-10 Jason Merrill <jason@redhat.com> |
7911 | ||
7912 | * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup. | |
7913 | Fix DW_OP_minus. | |
7914 | ||
ae940673 AC |
7915 | 2002-01-10 Andrew Cagney <ac131313@redhat.com> |
7916 | ||
7917 | * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001 | |
7918 | and bfd/elf32-sh-nbsd.c. | |
7919 | ||
00546b04 MS |
7920 | 2002-01-10 Michael Snyder <msnyder@redhat.com> |
7921 | ||
352ed7b4 MS |
7922 | * NEWS: Mention --pid and corefile/proc-id behavior change. |
7923 | ||
c18be923 MS |
7924 | * Makefile.in: Add rules for gcore.o and linux-proc.o. |
7925 | * gcore.c: Include cli/cli-decode.h instead of command.h. | |
7926 | ||
00546b04 MS |
7927 | * main.c (captured_main): Add new command line option "--pid". |
7928 | If the second command line argument (following the symbol-file) | |
7929 | begins with a digit, try to attach to it before trying to open | |
7930 | it as a corefile. | |
7931 | (print_gdb_help): Document the "--pid" argument. | |
7932 | ||
db60ec62 EZ |
7933 | 2002-01-10 Eli Zaretskii <eliz@is.elta.co.il> |
7934 | ||
7935 | * completer.c (command_completer): New function. | |
7936 | ||
7937 | * completer.h <command_completer>: Add prototype. | |
7938 | ||
7939 | * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the | |
7940 | completer for the "help" command. | |
7941 | ||
39c22d1a JM |
7942 | 2002-01-09 Jason Merrill <jason@redhat.com> |
7943 | ||
7944 | * c-typeprint.c (is_type_conversion_operator): Fix thinko. | |
7945 | ||
c564377f MS |
7946 | 2002-01-09 Michael Snyder <msnyder@redhat.com> |
7947 | ||
975aec09 MS |
7948 | * i386-linux-nat.c (fill_fpxregset): Make global. |
7949 | (store_fpxregset): Ditto. | |
7950 | ||
db4a10fa MS |
7951 | * gregset.h (gdb_fpxregset_t): Define. |
7952 | (supply_fpxregset): Prototype. | |
7953 | (fill_fpxregset): Prototype. | |
7954 | ||
c564377f MS |
7955 | * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo. |
7956 | ||
c3d45d70 RE |
7957 | 2002-01-09 Richard Earnshaw <rearnsha@arm.com> |
7958 | ||
7959 | * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS. | |
7960 | * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise. | |
7961 | * config/arm/tm-nbsd.h (get_longjmp_target): Likewise. | |
7962 | ||
fcc87af1 AC |
7963 | 2002-01-09 Andrew Cagney <ac131313@redhat.com> |
7964 | ||
7965 | * MAINTAINERS: Update target maintainer rules so that any | |
7966 | Maintainer can approve a tested patch for a maintenance-only | |
7967 | target. | |
7968 | ||
dd96c05b RE |
7969 | 2002-01-09 Richard Earnshaw <rearnsha@arm.com> |
7970 | ||
d4297db9 | 7971 | * MAINTAINERS (write-after-approval): Add myself. |
dd96c05b | 7972 | |
d4297db9 | 7973 | * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to |
dd96c05b RE |
7974 | IN_SIGTRAMP. |
7975 | ||
145fdc6e MS |
7976 | 2002-01-08 Michael Snyder <msnyder@redhat.com> |
7977 | ||
7978 | * linux-proc.c (child_pid_to_exec_file): Use readlink to get the | |
7979 | real name of the executable, rather than the /proc name. | |
7980 | ||
be4d1333 MS |
7981 | 2002-01-03 Michael Snyder <msnyder@redhat.com> |
7982 | ||
7983 | Implement a "generate-core-file" command in gdb, save target state. | |
7984 | * gcore.c: New file. Implement new command 'generate-core-file'. | |
7985 | Save a corefile image of the current state of the inferior. | |
7986 | * linux-proc.c: Add linux-specific code for saving corefiles. | |
7987 | * target.h (struct target_ops): Add new target vectors for saving | |
7988 | corefiles; to_find_memory_regions and to_make_corefile_notes. | |
7989 | (target_find_memory_regions): New macro. | |
7990 | (target_make_corefile_notes): New macro. | |
7991 | * target.c (update_current_target): Inherit new target methods. | |
7992 | (dummy_find_memory_regions): New place-holder method. | |
7993 | (dummy_make_corefile_notes): New place-holder method. | |
7994 | (init_dummy_target): Initialize new dummy target vectors. | |
7995 | * exec.c (exec_set_find_memory_regions): New function. | |
7996 | Allow the exec_ops vector for memory regions to be taken over. | |
7997 | (exec_make_note_section): New function, target vector method. | |
7998 | * defs.h (exec_set_find_memory_regions): Export prototype. | |
7999 | * procfs.c (proc_find_memory_regions): New function, corefile method. | |
8000 | (procfs_make_note_section): New function, corefile method. | |
8001 | (init_procfs_ops): Set new target vector pointers. | |
8002 | (find_memory_regions_callback): New function. | |
8003 | (procfs_do_thread_registers): New function. | |
8004 | (procfs_corefile_thread_callback): New function. | |
8005 | * sol-thread.c (sol_find_memory_regions): New function. | |
8006 | (sol_make_note_section): New function. | |
8007 | (init_sol_thread_ops): Initialize new target vectors. | |
8008 | * inftarg.c (inftarg_set_find_memory_regions): New function. | |
8009 | Allow to_find_memory_regions vector to be taken over. | |
8010 | (inftarg_set_make_corefile_notes): New function. | |
8011 | Allow to_make_corefile_notes vector to be taken over. | |
8012 | * thread-db.c (thread_db_new_objfile): Don't activate thread-db | |
8013 | interface layer if not target_has_execution (may be a corefile). | |
8014 | * config/i386/linux.mh: Add gcore.o to NATDEPFILES. | |
8015 | * config/sparc/sun4sol2.mh: Ditto. | |
8016 | * config/alpha/alpha-linux.mh: Ditto. | |
8017 | * config/arm/linux.mh: Ditto. | |
8018 | * config/i386/x86-64linux.mh: Ditto. | |
8019 | * config/ia64/linux.mh: Ditto. | |
8020 | * config/m68k/linux.mh: Ditto. | |
8021 | * config/mips/linux.mh: Ditto. | |
8022 | * config/powerpc/linux.mh: Ditto. | |
8023 | * config/sparc/linux.mh: Ditto. | |
8024 | ||
c6b92abd MS |
8025 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
8026 | ||
8027 | * arm-linux-nat.c: Remove references to regcache.c internal data | |
8028 | (registers[] and register_valid[]). | |
8029 | ||
4b09dc8c MS |
8030 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
8031 | ||
abf22e64 AJ |
8032 | * linux-proc.c: New file. Implement child_pid_to_exec_file, |
8033 | so that attaching to a pid will automatically read the process's | |
4b09dc8c MS |
8034 | symbol file and shlibs. |
8035 | * Makefile.in: Add rule for linux-proc.o. | |
8036 | * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE. | |
8037 | * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES. | |
8038 | * config/arm/linux.mh: Ditto. | |
8039 | * config/i386/linux.mh: Ditto. | |
8040 | * config/i386/x86-64linux.mh: Ditto. | |
8041 | * config/ia64/linux.mh: Ditto. | |
8042 | * config/m68k/linux.mh: Ditto. | |
8043 | * config/mips/linux.mh: Ditto. | |
8044 | * config/powerpc/linux.mh: Ditto. | |
8045 | * config/sparc/linux.mh: Ditto. | |
8046 | ||
c25b74ac PM |
8047 | 2002-01-06 Pierre Muller <muller@ics.u-strasbg.fr> |
8048 | ||
8049 | * win32-nat.c: Add i386-tdep.h dependency. | |
8050 | ||
94cd915f MS |
8051 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
8052 | ||
c7cccb76 MS |
8053 | * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT |
8054 | instead of bfd_get_arch_size. Don't bail out just because | |
8055 | there's no exec_bfd. | |
abf22e64 | 8056 | |
34c0bd93 MS |
8057 | * cp-valprint.c (cp_print_value): FIXME comment, alloca size. |
8058 | * p-valprint.c (pascal_object_print_value): Ditto. | |
8059 | * somread.c (som_symtab_read): Ditto. | |
8060 | * symfile.c (simple_free_overlay_region_table): Ditto. | |
8061 | * valops.c (value_assign): Ditto. | |
8062 | ||
21c1c920 MS |
8063 | * tracepoint.c (tracepoint_save_command): From Klee Dienes -- |
8064 | use tilde_expand and strerror for opening save-tracepoints file. | |
8065 | ||
5bbd998e MS |
8066 | * thread-db.c (thread_db_new_objfile): Indendation fix. |
8067 | ||
94cd915f MS |
8068 | * infptrace.c (GDB_MAX_ALLOCA): New define. |
8069 | (child_xfer_memory): Use xmalloc/xfree instead of alloca if the | |
abf22e64 | 8070 | size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte, |
94cd915f MS |
8071 | can be overridden with whatever value is appropriate to the host). |
8072 | * infttrace.c (child_xfer_memory): Add FIXME warning about use of | |
8073 | alloca to allocate potentially large buffer. | |
8074 | * rs6000-nat.c (child_xfer_memory): Ditto. | |
8075 | * symm-nat.c (child_xfer_memory): Ditto. | |
8076 | * x86-64-linux-nat.c (child_xfer_memory): Ditto. | |
8077 | ||
494e8a93 JSC |
8078 | 2002-01-07 Jackie Smith Cashion <jsmith@redhat.com> |
8079 | ||
8080 | From Nick Clifton <nickc@redhat.com> | |
8081 | * d10v-tdep.c: Set STACK_START to 0x200bffe. | |
8082 | ||
d0e1d48e MS |
8083 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
8084 | ||
abf22e64 | 8085 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): |
d0e1d48e MS |
8086 | Don't use exec_bfd if it's NULL. |
8087 | ||
290b2c7a MK |
8088 | 2002-01-06 Mark Kettenis <kettenis@gnu.org> |
8089 | ||
abf22e64 | 8090 | * valops.c (value_arg_coerce): Fix formatting. |
290b2c7a | 8091 | |
aef21287 AC |
8092 | 2002-01-06 Andrew Cagney <ac131313@redhat.com> |
8093 | ||
8094 | * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>. | |
8095 | * gnu-nat.c: Ditto. | |
8096 | ||
30efa627 AC |
8097 | 2002-01-06 Andrew Cagney <ac131313@redhat.com> |
8098 | ||
8099 | * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff, | |
8100 | arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms, | |
8101 | i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf, | |
8102 | ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and | |
8103 | z8k-coff have not been multi-arched. Update z8k-coff build | |
8104 | status. | |
8105 | ||
9b4ff276 AC |
8106 | 2002-01-06 Andrew Cagney <ac131313@redhat.com> |
8107 | ||
8108 | * MAINTAINERS: Mark a29k target as obsolete. | |
8109 | * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o) | |
8110 | (remote-mm.o, remote-udi.o): Obsolete. Remove references in | |
8111 | comments. | |
8112 | * NEWS: Note that a29k targets are obsolete. | |
8113 | * a29k-tdep.c: Mark as obsolete. | |
8114 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
8115 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
8116 | a29k-*-vxworks* targets as obsolete. | |
8117 | * remote-adapt.c: Obsolete. | |
8118 | * remote-eb.c: Obsolete. | |
8119 | * remote-mm.c: Obsolete. | |
8120 | * remote-udi.c: Obsolete. | |
8121 | * config/a29k/a29k-udi.mt: Obsolete. | |
8122 | * config/a29k/a29k.mt: Obsolete. | |
8123 | * config/a29k/tm-a29k.h: Obsolete. | |
8124 | * config/a29k/tm-vx29k.h: Obsolete. | |
8125 | * config/a29k/vx29k.mt: Obsolete. | |
8126 | ||
a9011d31 AC |
8127 | 2002-01-05 Andrew Cagney <ac131313@redhat.com> |
8128 | ||
8129 | * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN | |
8130 | with BFD_ENDIAN_BIG. | |
8131 | ||
9299404e AC |
8132 | 2002-01-05 Andrew Cagney <ac131313@redhat.com> |
8133 | ||
8134 | * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>. | |
8135 | * configure, config.in: Re-generate. | |
8136 | * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>. | |
8137 | * defs.h: Do not include <endian.h>. | |
8138 | ||
7e89e357 JT |
8139 | 2002-01-05 Jason Thorpe <thorpej@wasabisystems.com> |
8140 | ||
8141 | * acconfig.h (HAVE_PT_GETXMMREGS): New. | |
8142 | * config.in: Regenerate. | |
8143 | * configure.in: Update copyright years. | |
8144 | Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>. | |
8145 | * configure: Regenerate. | |
8146 | * i386bsd-nat.c: Update copyright years. | |
8147 | (fill_gregset): Use regcache_collect. | |
8148 | (fetch_inferior_registers): Only fetch integer registers | |
8149 | if requested to do so. Add support for XMM registers | |
8150 | using PT_GETXMMREGS. | |
8151 | (store_inferior_registers): Only store integer registers | |
8152 | if requested to do so. Add support for XMM registers | |
8153 | using PT_SETXMMREGS. | |
8154 | * i386nbsd-nat.c (fetch_inferior_registers): Remove. | |
8155 | (store_inferior_registers): Remove. | |
8156 | (fetch_core_registers): Use supply_gregset and i387_supply_fsave. | |
8157 | (fetch_elfcore_registers): New function. | |
8158 | (i386nbsd_elfcore_fns): New. | |
8159 | (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns. | |
8160 | * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and | |
8161 | i386bsd-nat.o. | |
8162 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
8163 | * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o. | |
8164 | * config/i386/nbsdelf.mt (TDEPFILES): Likewise. | |
8165 | * config/i386/tm-nbsd.h: Update copyright years. | |
8166 | (HAVE_SSE_REGS): Define. | |
8167 | (IN_SIGTRAMP): Define as i386bsd_in_sigtramp. | |
8168 | (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start. | |
8169 | (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end. | |
8170 | (SIGCONTEXT_PC_OFFSET): Remove. | |
8171 | (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc. | |
8172 | ||
a752853e AC |
8173 | 2002-01-05 Andrew Cagney <ac131313@redhat.com> |
8174 | ||
8175 | * configure.tgt: Remove powerpc-*-macos* target. | |
8176 | * config/m68k/xm-mpw.h: Delete file. | |
8177 | * config/xm-mpw.h: Delete file. | |
8178 | * ser-mac.c: Delete file. | |
8179 | * mpw-make.sed: Delete file. | |
8180 | * mpw-config.in: Delete file. | |
8181 | * mac-xdep.c: Delete file. | |
8182 | * mac-gdb.r: Delete file. | |
8183 | * mac-defs.h: Delete file. | |
8184 | * mac-nat.c: Delete file. | |
8185 | * config/powerpc/macos.mh: Delete file. | |
8186 | * config/powerpc/macos.mt: Delete file. | |
8187 | * config/powerpc/nm-macos.h: Delete file. | |
8188 | * config/powerpc/tm-macos.h: Delete file. | |
8189 | * source.c (openp, open_source_file): Remove obsolete code. | |
8190 | * top.c (gdb_readline): Ditto. | |
8191 | * utils.c (query): Ditto. | |
8192 | * event-top.c (display_gdb_prompt): Ditto. | |
8193 | * Makefile.in (ser-mac.o): Delete obsolete target. | |
8194 | * NEWS: Update. | |
8195 | ||
d7449b42 AC |
8196 | 2002-01-04 Andrew Cagney <ac131313@redhat.com> |
8197 | ||
8198 | * defs.h (BIG_ENDIAN): Delete macro definition. | |
8199 | * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c, | |
8200 | coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h, | |
8201 | findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c, | |
8202 | printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c, | |
8203 | remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c, | |
8204 | stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h, | |
8205 | config/a29k/tm-vx29k.h, config/arm/tm-arm.h, | |
8206 | config/d30v/tm-d30v.h, config/fr30/tm-fr30.h, | |
8207 | config/h8300/tm-h8300.h, config/h8500/tm-h8500.h, | |
8208 | config/m32r/tm-m32r.h, config/m68k/tm-m68k.h, | |
8209 | config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h, | |
8210 | config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c, | |
8211 | mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
8212 | * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
8213 | * gdbarch.c: Re-generate. | |
8214 | ||
356374e8 DJ |
8215 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
8216 | ||
8217 | * thread-db.c (thread_db_new_objfile): Do not enable thread_db | |
8218 | for core files. | |
8219 | ||
a2b8f8f8 JT |
8220 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
8221 | ||
8222 | * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o. | |
8223 | ||
12466af9 AC |
8224 | 2002-01-04 Andrew Cagney <ac131313@redhat.com> |
8225 | ||
8226 | * value.h (value_ptr): Delete typedef. | |
8227 | ||
3549ab40 JT |
8228 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
8229 | ||
8230 | * i386nbsd-nat.c: Update copyright years. | |
8231 | Include i386-tdep.h. | |
8232 | ||
fedbd091 EZ |
8233 | 2002-01-04 Elena Zannoni <ezannoni@redhat.com> |
8234 | ||
8235 | * stabsread.c: Update copyright years. | |
8236 | ||
8237 | From Debashis Mahata <debashis.mahata@wipro.com>: | |
8238 | (read_struct_fields): Deal with Sun C compiler erroneous stab | |
8239 | output for structs and unions. | |
fec8b34f | 8240 | Fix PR gdb/269. |
fedbd091 | 8241 | |
eb43544b DJ |
8242 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
8243 | ||
8244 | * p-valprint.c: Include "cp-abi.h" for baseclass_offset | |
8245 | prototype. | |
8246 | ||
1514d34e DJ |
8247 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
8248 | ||
8249 | * cp-abi.c: Fix whitespace. | |
8250 | (baseclass_offset): New wrapper function. | |
8251 | * cp-abi.h (baseclass_offset): Add prototype. | |
8252 | (struct cp_abi_ops): Add baseclass_offset pointer. | |
8253 | ||
8254 | * valops.c (vb_match): Move to... | |
8255 | * gnu-v2-abi.c (vb_match): here. | |
8256 | * valops.c (baseclass_offset): Move to... | |
8257 | * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename. | |
8258 | ||
8259 | * gnu-v3-abi.c (gnuv3_baseclass_offset): New function. | |
8260 | ||
8261 | * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset. | |
8262 | * gnu-v3-abi.c (init_gnuv3_ops): Likewise. | |
8263 | * hpacc-abi.c (init_hpacc_ops): Likewise. | |
8264 | ||
7f8c9282 DJ |
8265 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
8266 | ||
8267 | * valops.c (find_overload_match): Accept obj as a | |
8268 | reference parameter. Update it before returning. | |
8269 | * value.h (find_overload_match): Update prototype. | |
8270 | * eval.c (evaluate_subexp_standard): Pass object to | |
8271 | find_overload_match by reference. | |
8272 | ||
f23631e4 AC |
8273 | 2002-01-03 Andrew Cagney <ac131313@redhat.com> |
8274 | ||
8275 | * valarith.c: Replace value_ptr with struct value pointer. Remove | |
8276 | register attribute from value declarations. | |
8277 | * valops.c: Ditto. | |
8278 | * value.h: Ditto. | |
8279 | * scm-lang.c (scm_lookup_name): Ditto. | |
8280 | ||
79e10fab | 8281 | 2002-01-03 Michael Snyder <msnyder@redhat.com> |
abf22e64 | 8282 | |
79e10fab AC |
8283 | Abstract the functionality of iterating over mapped memory |
8284 | regions into a general purpose iterator function. | |
abf22e64 | 8285 | * procfs.c (iterate_over_mappings): New function, general purpose |
79e10fab AC |
8286 | iterator for memory sections. |
8287 | (proc_iterate_over_mappings): Reimplement using iterate_over_mappings. | |
8288 | (solib_mappings_callback): New function, callback for above. | |
8289 | (info_proc_mappings): Reimpliment using iterate_over_mappings. | |
8290 | (info_mappings_callback): New function, callback for above. | |
8291 | ||
8292 | * procfs.c (proc_set_watchpoint): Add cast to suppress warning. | |
8293 | ||
c5ad026a MK |
8294 | 2002-01-01 Mark Kettenis <kettenis@gnu.org> |
8295 | ||
d2a7c97a MK |
8296 | * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member. |
8297 | * i386-tdep.c: Include "elf-bfd.h". | |
8298 | (process_note_abi_tag_sections): New function. | |
8299 | (i386_gdbarch_init): Add code to recognize various OS/ABI | |
8300 | combinations. | |
8301 | ||
c5ad026a MK |
8302 | * maint.c (_initialize_maint_cmds): Add missing \ in |
8303 | string-literal. | |
8304 | ||
a1a5b71e | 8305 | For older changes see ChangeLog-2001 |
c906108c SS |
8306 | \f |
8307 | Local Variables: | |
8308 | mode: change-log | |
8309 | left-margin: 8 | |
8310 | fill-column: 74 | |
8311 | version-control: never | |
8312 | End: |