Commit | Line | Data |
---|---|---|
ca0d0b52 AC |
1 | 2002-06-08 Andrew Cagney <ac131313@redhat.com> |
2 | ||
3 | * gdbarch.sh (FRAME_CHAIN_VALID): Set default to | |
4 | generic_func_frame_chain_valid. | |
5 | * gdbarch.h, gdbarch.c: Re-generate. | |
6 | * blockframe.c (generic_func_frame_chain_valid): Only check | |
7 | PC_IN_CALL_DUMMY when generic dummy frames. Don't worry about | |
8 | passing FP to PC_IN_CALL_DUMMY. | |
9 | Fix PR gdb/360. | |
10 | ||
76860b5f AC |
11 | 2002-06-08 Andrew Cagney <ac131313@redhat.com> |
12 | ||
13 | * gdbarch.sh (struct gdbarch_data): Add field init_p. | |
14 | (register_gdbarch_data): Initialize init_p. | |
15 | (gdbarch_data): Initialize data pointer using the init function. | |
16 | (init_gdbarch_data): Delete function. | |
17 | (gdbarch_update_p): Update. | |
18 | (initialize_non_multiarch): Update. | |
19 | (struct gdbarch): Add field initialized_p. | |
20 | * gdbarch.h, gdbarch.c: Re-generate. | |
21 | ||
8dda9770 ML |
22 | 2002-06-07 Michal Ludvig <mludvig@suse.cz> |
23 | ||
24 | * x86-64-linux-nat.c (x86_64_fxsave_offset): New. | |
25 | (supply_fpregset, fill_fpregset): Don't call i387_*_fxsave, | |
26 | better do the things actually here. | |
27 | * x86-64-tdep.c (x86_64_register_name2nr): New. | |
28 | (x86_64_register_name): Renamed to x86_64_register_nr2name. | |
29 | (x86_64_gdbarch_init): Respect the above change. | |
30 | * x86-64-tdep.h (x86_64_register_name2nr) | |
31 | (x86_64_register_nr2name): Add prototypes. | |
32 | * config/i386/x86-64linux.mt (TDEPFILES): Remove i387-tdep.o. | |
33 | ||
3d79a47c MS |
34 | 2002-06-06 Michael Snyder <msnyder@redhat.com> |
35 | ||
7bd91a28 MS |
36 | * d10v-tdep.c (d10v_push_arguments): Handle struct_return. |
37 | Delete extra braces and re-indent. | |
38 | (d10v_store_return_value): Char return values | |
3d79a47c MS |
39 | must be shifted over by one byte in R0. |
40 | (d10v_extract_return_value): Delete extra braces, re-indent. | |
41 | ||
095a4c96 EZ |
42 | 2002-06-06 Elena Zannoni <ezannoni@redhat.com> |
43 | ||
44 | * d10v-tdep.c (d10v_read_sp, d10v_read_fp): Add prototype. | |
45 | (d10v_register_virtual_type): Make $fp and $sp be pointer to data. | |
46 | (d10v_integer_to_address): Rewrite. | |
47 | (d10v_frame_init_saved_regs): When reading fp and sp registers use | |
48 | the d10v specific functions which take care of converting to the | |
49 | correct space. | |
50 | ||
e8a77ca4 EZ |
51 | 2002-06-06 Elena Zannoni <ezannoni@redhat.com> |
52 | ||
53 | * config/djgpp/fnchange.lst: Add testsuite files altivec-abi.c, | |
54 | altivec-abi.exp, altivec-regs.c, altivec-regs.exp. | |
55 | ||
4f2e4a4f AC |
56 | 2002-06-02 Andrew Cagney <ac131313@redhat.com> |
57 | ||
58 | * config/alpha/nm-linux.h: Add "config/" prefix to tm, nm and xm | |
59 | includes. | |
60 | * config/tm-linux.h: Ditto. | |
61 | * config/alpha/tm-alphalinux.h: Ditto. | |
62 | * config/arm/nm-linux.h, config/arm/tm-linux.h: Ditto. | |
63 | * config/arm/xm-nbsd.h, config/i386/nm-gnu.h: Ditto. | |
64 | * config/i386/nm-i386lynx.h, config/i386/nm-i386sol2.h: Ditto. | |
65 | * config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h: Ditto. | |
66 | * config/i386/nm-linux.h, config/i386/nm-m3.h: Ditto. | |
67 | * config/i386/nm-ptx4.h, config/i386/nm-x86-64.h: Ditto. | |
68 | * config/i386/tm-i386gnu.h, config/i386/tm-i386lynx.h: Ditto. | |
69 | * config/i386/tm-i386m3.h, config/i386/tm-i386sco5.h: Ditto. | |
70 | * config/i386/tm-i386v4.h, config/i386/tm-linux.h: Ditto. | |
71 | * config/i386/tm-ptx4.h, config/i386/tm-vxworks.h: Ditto. | |
72 | * config/i386/xm-i386v4.h, config/i386/xm-nbsd.h: Ditto. | |
73 | * config/i386/xm-ptx.h, config/i386/xm-ptx4.h: Ditto. | |
74 | * config/i960/tm-vx960.h, config/ia64/nm-aix.h: Ditto. | |
75 | * config/ia64/nm-linux.h, config/ia64/tm-aix.h: Ditto. | |
76 | * config/ia64/tm-linux.h, config/ia64/xm-aix.h: Ditto. | |
77 | * config/m68k/nm-linux.h, config/m68k/nm-m68klynx.h: Ditto. | |
78 | * config/m68k/nm-sysv4.h, config/m68k/tm-linux.h: Ditto. | |
79 | * config/m68k/tm-m68klynx.h, config/m68k/tm-m68kv4.h: Ditto. | |
80 | * config/m68k/tm-sun2os4.h, config/m68k/tm-sun3os4.h: Ditto. | |
81 | * config/m68k/tm-vx68.h, config/m68k/xm-m68kv4.h: Ditto. | |
82 | * config/m68k/xm-nbsd.h, config/m88k/nm-delta88v4.h: Ditto. | |
83 | * config/m88k/tm-delta88v4.h, config/m88k/xm-delta88v4.h: Ditto. | |
84 | * config/mips/nm-irix5.h, config/mips/nm-linux.h: Ditto. | |
85 | * config/mips/tm-linux.h, config/mips/tm-mips64.h: Ditto. | |
86 | * config/mips/tm-mipsm3.h, config/mips/tm-mipsv4.h: Ditto. | |
87 | * config/mips/tm-vxmips.h, config/mips/xm-irix5.h: Ditto. | |
88 | * config/mips/xm-mipsv4.h, config/ns32k/xm-nbsd.h: Ditto. | |
89 | * config/pa/nm-hppao.h, config/powerpc/nm-linux.h: Ditto. | |
90 | * config/powerpc/tm-linux.h, config/powerpc/tm-vxworks.h: Ditto. | |
91 | * config/powerpc/xm-aix.h, config/rs6000/nm-rs6000ly.h: Ditto. | |
92 | * config/rs6000/tm-rs6000ly.h, config/rs6000/xm-aix4.h: Ditto. | |
93 | * config/sh/tm-linux.h, config/sparc/nm-linux.h: Ditto. | |
94 | * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4sol2.h: Ditto. | |
95 | * config/sparc/tm-linux.h, config/sparc/tm-sp64linux.h: Ditto. | |
96 | * config/sparc/tm-sp64sim.h, config/sparc/tm-sparclynx.h: Ditto. | |
97 | * config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h: Ditto. | |
98 | * config/sparc/tm-vxsparc.h, config/sparc/xm-sun4sol2.h: Ditto. | |
99 | ||
ae2ab2ce AS |
100 | 2002-05-04 Aidan Skinner <aidan@velvet.net> |
101 | ||
102 | * ada-exp.tab.c: New file | |
103 | * ada-exp.y: New file | |
104 | * ada-lang.c: New file | |
105 | * ada-lang.h: New file | |
106 | * ada-lex.c: New file | |
107 | * ada-lex.l: New file | |
108 | * ada-tasks.c: New file | |
109 | * ada-typeprint.c: New file | |
110 | * ada-valprint.c: New file | |
111 | ||
0ddd0135 JT |
112 | 2002-06-02 Jason Thorpe <thorpej@wasabisystems.com> |
113 | ||
114 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Don't set | |
115 | use_struct_convention to ppc_sysv_abi_broken_use_struct_convention. | |
116 | ||
750fbacc JT |
117 | 2002-06-02 Jason Thorpe <thorpej@wasabisystems.com> |
118 | ||
119 | * config/rs6000/aix4.mt (TDEPFILES): Use ppc-sysv-tdep.o | |
120 | insetead of ppc-linux-tdep.o. | |
121 | * config/rs6000/rs6000.mt (TDEPFILES): Likewise. | |
122 | * config/rs6000/rs6000lynx.mt (TDEPFILES): Likewise. | |
123 | ||
df94e18a AC |
124 | 2002-06-02 Andrew Cagney <ac131313@redhat.com> |
125 | ||
126 | 2002-05-07 Christian Groessler <chris@groessler.org> | |
127 | * z8k-tdep.c (z8k_print_register_hook): Fix display of 32 and 64 | |
128 | bit register contents for little endian hosts. | |
129 | ||
1a38ab75 AC |
130 | 2002-06-01 Andrew Cagney <ac131313@redhat.com> |
131 | ||
132 | * MAINTAINERS: Mention that any `HP/UX reader' can be changed by | |
133 | any maintainer. | |
134 | ||
8b1632ac AC |
135 | 2002-06-01 Andrew Cagney <ac131313@redhat.com> |
136 | ||
137 | * gdbarch.h: Regenerate. | |
138 | ||
627054c8 AC |
139 | 2002-06-01 Andrew Cagney <ac131313@redhat.com> |
140 | ||
141 | * MAINTAINERS: Add everyone to write-after-approval list. | |
142 | ||
4f460812 AC |
143 | 2002-06-01 Andrew Cagney <ac131313@redhat.com> |
144 | ||
145 | * stack.c (frame_info): Use frame_register_unwind instead of | |
146 | saved_regs. Mention when the SP is on the stack or in a register. | |
147 | ||
148 | * frame.h (frame_register_unwind_ftype): Define. Document. | |
149 | (struct frame_info): Add field register_unwind and | |
150 | register_unwind_cache. | |
151 | (frame_register_unwind): Declare. | |
152 | (generic_unwind_get_saved_register): Declare. | |
153 | ||
154 | * frame.c (frame_register_unwind): New function. | |
155 | (generic_unwind_get_saved_register): New function. | |
156 | ||
157 | * blockframe.c (generic_call_dummy_register_unwind): New function. | |
158 | (frame_saved_regs_register_unwind): New function. | |
159 | (set_unwind_by_pc): New function. | |
160 | (create_new_frame): New function. | |
161 | (get_prev_frame): New function. | |
162 | ||
de888f76 AC |
163 | 2002-05-30 Andrew Cagney <ac131313@redhat.com> |
164 | ||
165 | * a29k-share/: Delete directory. | |
166 | * remote-vx29k.c: Delete file. | |
167 | ||
2f2c3626 JT |
168 | 2002-05-30 Jason Thorpe <thorpej@wasabisystems.com> |
169 | ||
170 | * config/djgpp/fnchange.lst: Add ns32knbsd-nat.c, ns32knbsd-tdep.c, | |
171 | ppcnbsd-nat.c, ppcnbsd-tdep.c, sparcnbsd-nat.c, and sparcnbsd-tdep.c. | |
172 | ||
9ce5c36a JT |
173 | 2002-05-30 Jason Thorpe <thorpej@wasabisystems.com> |
174 | ||
175 | * Makefile.in (ALLDEPFILES): Add sparc64nbsd-nat.c, | |
176 | sparcnbsd-nat.c, and sparcnbsd-tdep.c. | |
177 | (sparc64nbsd-nat.o) | |
178 | (sparcnbsd-nat.o) | |
179 | (sparcnbsd-tdep.o): New dependency lists. | |
180 | * NEWS: Note new UltraSPARC NetBSD native configuration. | |
181 | * configure.host (sparc64-*-netbsd*): New host. | |
182 | * configure.tgt (sparc-*-netbsdelf*) | |
183 | (sparc-*-netbsd*): Set gdb_target to nbsd. | |
184 | (sparc64-*-netbsd*): New target. | |
185 | * sparc64nbsd-nat.c: New file. | |
186 | * sparcnbsd-nat.c: New file. | |
187 | * sparcnbsd-tdep.c: New file. | |
188 | * sparcnbsd-tdep.h: New file. | |
189 | * config/sparc/nbsd.mt: New file. | |
190 | * config/sparc/nbsd64.mh: New file. | |
191 | * config/sparc/nbsd64.mt: New file. | |
192 | * config/sparc/nbsdaout.mh (NATDEPFILES): Remove corelow.o, | |
193 | sparc-nat.o, and solib.o. Add sparcnbsd-nat.o. | |
194 | (HOST_IPC): Remove. | |
195 | * config/sparc/nbsdaout.mt: Remove. | |
196 | * config/sparc/nbsdelf.mh (NATDEPFILES): Remove corelow.o, | |
197 | sparc-nat.o, and solib.o. Add sparcnbsd-nat.o. | |
198 | (HOST_IPC): Remove. | |
199 | * config/sparc/nbsdelf.mt: Remove. | |
200 | * config/sparc/nm-nbsd.h: Update copyright years. Remove all | |
201 | sparc-nat.c compatiblity defines. | |
202 | * config/sparc/tm-nbsd.h: Update copyright years. Include solib.h. | |
203 | (GDB_MULTI_ARCH): Set to GDB_MULTI_ARCH_PARTIAL. | |
204 | * config/sparc/tm-nbsd64.h: New file. | |
205 | * config/sparc/tm-nbsdaout.h: Remove. | |
206 | * config/sparc/xm-nbsd.h: Remove. | |
207 | ||
ef3cf062 JT |
208 | 2002-05-30 Jason Thorpe <thorpej@wasabisystems.com> |
209 | ||
210 | * Makefile.in (sparc-tdep.o): Add osabi.h to dependency list. | |
211 | * sparc-tdep.c: Include osabi.h. | |
212 | (gdbarch_tdep): Add osabi member. | |
213 | (_initialize_sparc_tdep): Use gdbarch_register. | |
214 | (sparc_gdbarch_init): Use generic OS ABI framework. | |
215 | (sparc_dump_tdep): New function. | |
216 | ||
ee8ff470 KB |
217 | 2002-05-30 Kevin Buettner <kevinb@redhat.com> |
218 | ||
219 | * corefile.c (do_captured_read_memory_integer): Return non-zero | |
220 | result. | |
221 | (safe_read_memory_integer): Copy result of memory read when | |
222 | status is non-zero. Also, add comments. | |
223 | ||
7b112f9c JT |
224 | 2002-05-20 Jason Thorpe <thorpej@wasabisystems.com> |
225 | ||
226 | * Makefile.in (ppc_tdep_h): Define. | |
227 | (ppc-linux-nat.o) | |
228 | (ppc-linux-tdep.o) | |
229 | (rs6000-tdep.o): Use $(ppc_tdep_h). | |
230 | (ppc-sysv-tdep.o) | |
231 | (ppcnbsd-nat.o) | |
232 | (ppcnbsd-tdep.o): New dependency lists. | |
233 | * ppc-tdep.h: Use generic OS ABI framework. | |
357edbbc JT |
234 | * ppc-linux-tdep.c (_initialize_ppc_linux_tdep) |
235 | (ppc_linux_init_abi): New functions. | |
7b112f9c JT |
236 | (ppc_sysv_abi_broken_use_struct_convention) |
237 | (ppc_sysv_abi_use_struct_convention) | |
238 | (ppc_sysv_abi_push_arguments): Move to... | |
239 | * ppc-sysv-tdep.c: ...here. | |
240 | * ppcnbsd-nat.c: Don't include gdbcore.h and regcache.h. | |
241 | * rs6000-tdep.c (process_note_abi_tag_sections) | |
242 | (get_elfosabi): Remove. | |
243 | (rs6000_gdbarch_init): Use generic OS ABI framework. | |
244 | (rs6000_dump_tdep): New function. | |
245 | (_initialize_rs6000_tdep): Use gdbarch_register. | |
246 | * config/powerpc/linux.mt (TDEPFILES): Add ppc-sysv-tdep.o. | |
247 | * config/powerpc/nbsd.mh (NATDEPFILES): Remove solib-legacy.o. | |
248 | * config/powerpc/aix.mt (TDEPFILES): Use ppc-sysv-tdep.o instead | |
249 | of ppc-linux-tdep.o. | |
250 | * config/powerpc/nbsd.mt (TDEPFILES): Likewise. | |
251 | * config/powerpc/ppc-eabi.mt (TDEPFILES): Likewise. | |
252 | * config/powerpc/ppc-sim.mt (TDEPFILES): Likewise. | |
253 | * config/powerpc/ppcle-eabi.mt (TDEPFILES): Likewise. | |
254 | * config/powerpc/ppcle-sim.mt (TDEPFILES): Likewise. | |
255 | * config/powerpc/vxworks.mt (TDEPFILES): Likewise. | |
256 | ||
480dd42a JB |
257 | 2002-05-29 Jim Blandy <jimb@redhat.com> |
258 | ||
259 | * macroscope.c (default_macro_scope): Put `void' in empty argument | |
260 | list. | |
261 | ||
4182591f AC |
262 | 2002-05-29 Andrew Cagney <ac131313@redhat.com> |
263 | ||
264 | * Makefile.in (arch-utils.o): Add $(sim_regno_h). | |
265 | * arch-utils.c: Include "sim-regno.h". | |
266 | * gdbarch.sh: Don't include "sim-regno.h". | |
267 | * gdbarch.h, gdbarch.c: Regenerate. | |
268 | * sim-regno.h (legacy_register_sim_regno): Move declaration from | |
269 | here. | |
270 | * arch-utils.h (legacy_register_sim_regno): To here. | |
271 | * remote-sim.c (legacy_register_sim_regno): Move function from | |
272 | here. | |
273 | * arch-utils.c (legacy_register_sim_regno): To here. | |
274 | ||
8238d0bf AC |
275 | 2002-05-28 Andrew Cagney <ac131313@redhat.com> |
276 | ||
277 | * sim-regno.h: New file. | |
278 | * Makefile.in (sim_regno_h): Define. | |
279 | (d10v-tdep.o, remote-sim.o): Add dependency on $(sim_regno_h). | |
280 | * remote-sim.c: Include "sim-regno.h" and "gdb_assert.h". | |
281 | (legacy_register_sim_regno): New function. | |
282 | (one2one_register_sim_regno): New function. | |
283 | (gdbsim_fetch_register): Rewrite. | |
284 | (gdbsim_store_register): Only store a register when | |
285 | REGISTER_SIM_REGNO is valid. | |
286 | * d10v-tdep.c: Include "sim-regno.h". | |
287 | (d10v_ts2_register_sim_regno): Add legacy_regiter_sim_regno check. | |
288 | (d10v_ts3_register_sim_regno): Ditto. | |
289 | * gdbarch.sh: Include "sim-regno.h". | |
290 | (REGISTER_SIM_REGNO): Set default to legacy_register_sim_regno. | |
291 | * gdbarch.h, gdbarch.c: Regenerate. | |
292 | * arch-utils.h (default_register_sim_regno): Delete declaration. | |
293 | * arch-utils.c (default_register_sim_regno): Delete function. | |
294 | ||
485721b1 JT |
295 | 2002-05-28 Jason Thorpe <thorpej@wasabisystems.com> |
296 | ||
297 | * ppcnbsd-nat.c: Rewrite. | |
298 | * ppcnbsd-tdep.c: New file. | |
299 | * ppcnbsd-tdep.h: New file. | |
300 | * config/powerpc/nbsd.mh (NATDEPFILES): Remove corelow.o, | |
301 | solib.o, and solib-svr4.o. | |
302 | * config/powerpc/nbsd.mt (TDEPFILES): Add ppcnbsd-tdep.o, | |
303 | nbsd-tdep.o, and corelow.o. | |
304 | ||
697f244d AC |
305 | 2002-05-28 Andrew Cagney <ac131313@redhat.com> |
306 | ||
307 | * MAINTAINERS (--enable-gdb-build-warnings): Rewrite script to use | |
308 | `tr' and `sed'. Mention that `broken' targets are not expected to | |
309 | build. | |
310 | ||
f08caad1 | 311 | 2002-05-27 Michal Ludvig <mludvig@suse.cz> |
b1ab997b ML |
312 | |
313 | * x86-64-tdep.c (x86_64_skip_prologue): Remove obsolete note. | |
314 | Let PC point right after the prologue before looking up symbols. | |
315 | ||
3139facc MH |
316 | 2002-05-27 Martin M. Hunt <hunt@redhat.com> |
317 | ||
318 | * i386-tdep.c (i386_register_virtual_type): Return | |
319 | builtin_type_vec128i for SSE registers. | |
320 | ||
321 | * gdbtypes.h (builtin_type_vec128i): Declare. | |
322 | ||
323 | * gdbtypes.c (build_builtin_type_vec128i): New function. | |
324 | (builtin_type_v2_double, builtin_type_v4_int64): New types. | |
325 | (builtin_type_vec128i): New type for SSE2 128-bit registers. | |
326 | (build_gdbtypes): Initialize new builtin vector types. | |
327 | (_initialize_gdbtypes): Register new vector types with gdbarch. | |
328 | ||
6e3ba3b8 JT |
329 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
330 | ||
331 | * MAINTAINERS: ns32k is not longer an obsolete candidate, | |
332 | since it has been multi-arch'd. | |
333 | * NEWS: Note that ns32k-*-* is now partial multi-arch. | |
334 | Move Alpha and VAX multi-arch news entries to same section | |
335 | as other multi-arch news. | |
336 | ||
93d5585d JT |
337 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
338 | ||
339 | * ns32k-tdep.c: include gdbtypes.h, inferior.h, regcache.h, | |
340 | target.s, arch-utils.h, ns32k-tdep.h. Make many functions | |
341 | static. Rename some register numbers to put them in ns32k-tdep | |
342 | private namespace. | |
343 | (ns32k_get_saved_register, ns32k_gdbarch_init_32082, | |
344 | ns32k_gdbarch_init_32382, ns32k_gdbarch_init, ns32k_dump_tdep): New | |
345 | functions. | |
346 | (_initialize_ns32k_tdep): Use gdbarch_register. | |
347 | * ns32k-tdep.h: New file. | |
348 | * ns32knbsd-tdep.c: New file. | |
349 | * config/ns32k/nbsdaout.mt (TDEPFILES): Add ns32knbsd-tdep.o. | |
350 | * config/ns32k/tm-nbsd.h: Include "ns32k/tm-ns32k.h". | |
351 | (IN_SOLIB_CALL_TRAMPOLINE, REGISTER_NAME, NUM_REGS, | |
352 | REGISTER_BYTES, REGISTER_BYTE): Remove. | |
353 | * config/ns32k/tm-ns32k.h: New file. | |
354 | * config/ns32k/tm-umax.h: Remove. | |
355 | ||
efb2c70e JT |
356 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
357 | ||
358 | * ns32k-tdep.c (ns32k_saved_pc_after_call, | |
359 | ns32k_store_struct_return, ns32k_extract_return_value, | |
360 | ns32k_store_return_value, ns32k_extract_struct_value_address): New | |
361 | functions. | |
362 | * config/ns32k/tm-umax.h (SAVED_PC_AFTER_CALL): Define as | |
363 | ns32k_saved_pc_after_call. | |
364 | (STORE_STRUCT_RETURN): Define as ns32k_store_struct_return. | |
365 | (EXTRACT_RETURN_VALUE): Define as ns32k_extract_return_value. | |
366 | (STORE_RETURN_VALUE): Define as ns32k_store_return_value. | |
367 | (EXTRACT_STRUCT_VALUE_ADDRESS): Define as | |
368 | ns32k_extract_struct_value_address. | |
369 | ||
7bcc927b JT |
370 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
371 | ||
372 | * ns32k-tdep.c (ns32k_call_dummy_words, sizeof_ns32k_call_dummy_words, | |
373 | ns32k_fix_call_dummy): New. | |
374 | * config/ns32k/tm-umax.h (CALL_DUMMY_WORDS): Define as | |
375 | ns32k_call_dummy_words. | |
376 | (SIZEOF_CALL_DUMMY_WORDS): Define as sizeof_ns32k_call_dummy_words. | |
377 | (CALL_DUMMY, CALL_DUMMY_LENGTH, CALL_DUMMY_ADDR, | |
378 | CALL_DUMMY_NARGS): Remove. | |
379 | (FIX_CALL_DUMMY): Define as ns32k_fix_call_dummy. | |
380 | ||
78f9d765 JT |
381 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
382 | ||
383 | * ns32k-tdep.c (ns32k_breakpoint_from_pc, ns32k_frame_chain, | |
384 | ns32k_frame_saved_pc, ns32k_frame_args_address, | |
385 | ns32k_frame_locals_address, ns32k_frame_init_saved_regs, | |
386 | ns32k_push_dummy_frame, ns32k_pop_frame): New functions. | |
387 | * config/ns32k/tm-nbsd.h (FRAME_SAVED_PC): Remove. | |
388 | * config/ns32k/tm-umax.h (INNER_THAN): Define as core_addr_lessthan. | |
389 | (BREAKPOINT_FROM_PC): Define as ns32k_breakpoint_from_pc. | |
390 | (BREAKPOINT): Remove.. | |
391 | (FRAME_CHAIN): Define as ns32k_frame_chain. | |
392 | (FRAME_SAVED_PC): Define as ns32k_frame_saved_pc. | |
393 | (FRAME_ARGS_ADDRESS): Define as ns32k_frame_args_address. | |
394 | (FRAME_LOCALS_ADDRESS): Define as ns32k_frame_locals_address. | |
395 | (FRAME_FIND_SAVED_REGS): Remove. | |
396 | (FRAME_INIT_SAVED_REGS): Define as ns32k_frame_init_saved_regs. | |
397 | (PUSH_DUMMY_FRAME): Define as ns32k_push_dummy_frame. | |
398 | (POP_FRAME): Define as ns32k_pop_frame. | |
399 | ||
f2c762e0 JT |
400 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
401 | ||
402 | * ns32k-tdep.c (ns32k_register_byte_32082, | |
403 | ns32k_register_byte_32382, ns32k_register_raw_size, | |
404 | ns32k_register_virtual_size, ns32k_register_virtual_type): New | |
405 | functions. | |
406 | * config/ns32k/tm-nbsd.h (REGISTER_BYTE): Define as | |
407 | ns32k_register_byte_32382. | |
408 | * config/ns32k/tm-umax.h: Update copyright years. | |
409 | (REGISTER_BYTE): Define as ns32k_register_byte_32082. | |
410 | (REGISTER_RAW_SIZE): Define as ns32k_register_raw_size. | |
411 | (REGISTER_VIRTUAL_SIZE): Define as ns32k_register_virtual_size. | |
412 | (REGISTER_VIRTUAL_TYPE): Define as ns32k_register_virtual_type. | |
413 | (ns32k_get_enter_addr): Fix prototype. | |
414 | ||
af137673 JT |
415 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
416 | ||
417 | * ns32k-tdep.c: Update copyright years. | |
418 | (ns32k_register_name_32082): New function. | |
419 | (ns32k_register_name_32382): Ditto. | |
420 | * config/ns32k/tm-nbsd.h (REGISTER_NAMES): Remove. | |
421 | (REGISTER_NAME): Define as ns32k_register_name_32382. | |
422 | * config/ns32k/tm-umax.h (REGISTER_NAMES): Remove. | |
423 | (REGISTER_NAME): Define as ns32k_register_name_32082. | |
424 | ||
a8bc7b56 JB |
425 | 2002-05-24 Jim Blandy <jimb@redhat.com> |
426 | ||
427 | * dwarf2read.c (free_line_header): Use xfree, not free. | |
428 | ||
83a45910 JT |
429 | 2002-05-24 Jason Thorpe <thorpej@wasabisystems.com> |
430 | ||
431 | * config/djgpp/fnchange.lst: Add alphabsd-nat.c, | |
432 | alphabsd-tdep.c, mipsnbsd-nat.c, and mipsnbsd-tdep.c | |
433 | ||
0db71247 AC |
434 | 2002-05-23 Andrew Cagney <ac131313@redhat.com> |
435 | ||
436 | * PROBLEMS: Mention s390 and FreeBSD 4.4 build problems. | |
437 | ||
b9e5e4dd AC |
438 | 2002-05-23 Andrew Cagney <ac131313@redhat.com> |
439 | ||
440 | From Ross Alexander at NEC Europe: | |
441 | * config/pa/hpux11w.mh (NATDEPFILES): Add solib.o. | |
442 | ||
de530e84 MS |
443 | 2002-05-23 Michael Snyder <msnyder@redhat.com> |
444 | ||
445 | * cli/cli-dump.c (restore_command): Use parse_and_eval_long | |
446 | for input, rather than parse_and_eval_address. | |
447 | ||
b91b96f4 AC |
448 | 2002-05-23 Andrew Cagney <ac131313@redhat.com> |
449 | ||
450 | * d10v-tdep.c: Include "gdb/sim-d10v.h" instead of "sim-d10v.h". | |
451 | * Makefile.in (sim_d10v_h): Update definition. | |
452 | ||
8b279e7a AC |
453 | 2002-05-24 Andrew Cagney <cagney@redhat.com> |
454 | ||
455 | * d10v-tdep.c (d10v_gdbarch_init): Revert old code included in | |
456 | change `2002-05-22 Michael Snyder' below. | |
457 | (d10v_push_arguments): Ditto. | |
458 | (d10v_extract_return_value): Ditto. | |
459 | ||
0a3d0425 JB |
460 | 2002-05-23 Jim Blandy <jimb@redhat.com> |
461 | ||
462 | * macrotab.c (check_for_redefinition): Don't complain if the new | |
463 | definition is the same as the previous one. Take more arguments | |
464 | to allow the comparison. | |
465 | (macro_define_object, macro_define_function): Pass more arguments | |
466 | to check_for_redefinition. | |
467 | ||
78eac43e MS |
468 | 2002-05-22 Michael Snyder <msnyder@redhat.com> |
469 | ||
470 | * d10v-tdep.c: Change a few macros to enums for ease of debugging. | |
471 | (d10v_frame_chain_valid): Add PC_IN_CALL_DUMMY clause. | |
472 | (d10v_frame_saved_pc): Add PC_IN_CALL_DUMMY clause. | |
473 | (d10v_frame_chain): Bail immediately if PC_IN_CALL_DUMMY. | |
474 | Don't bail if return_pc is PC_IN_CALL_DUMMY. | |
475 | Add a temp variable to save a call (and a memory read). | |
476 | (d10v_init_extra_frame_info): Get fi->pc from callee's return_pc | |
477 | if possible (so that PC_IN_CALL_DUMMY will work). | |
478 | ||
9bc1edb8 CV |
479 | 2002-05-22 Corinna Vinschen <vinschen@redhat.com> |
480 | ||
481 | * MAINTAINERS: Remove status `OBSOLETE' from v850. | |
482 | ||
005ef3d2 ML |
483 | 2002-05-22 Michal Ludvig <mludvig@suse.cz> |
484 | ||
485 | * dwarf2cfi.c (frame_state_for): Added safety check for a valid | |
486 | fde->cie_ptr. | |
487 | (dwarf2_build_frame_info): Corrected handling of eh_frame. | |
488 | (dwarf2_build_frame_info): Add offset to fde->initial_location | |
489 | so that frames of shared libraries are mapped correctly. | |
6c3eb890 ML |
490 | (execute_stack_op): Change type of 'result' from ULONGEST to |
491 | CORE_ADDR. | |
005ef3d2 | 492 | |
fcf4f891 JT |
493 | 2002-05-22 Jason Thorpe <thorpej@wasabisystems.com> |
494 | ||
495 | * config/alpha/tm-nbsd.h: Include solib.h. | |
496 | ||
cfef91e4 JT |
497 | 2002-05-22 Jason Thorpe <thorpej@wasabisystems.com> |
498 | ||
499 | * alphanbsd-tdep.c (alphanbsd_sigtramp_offset): Don't make | |
500 | assumptions about the host's byte order. | |
501 | ||
9964235a JT |
502 | 2002-05-22 Jason Thorpe <thorpej@wasabisystems.com> |
503 | ||
504 | * Makefile.in (alphanbsd-tdep.o, shnbsd-tdep.o): Add solib-svr4.h | |
505 | to dependency list. | |
506 | * alphanbsd-tdep.c: Include solib-svr4.h. | |
507 | * shnbsd-tdep.c: Ditto. | |
508 | ||
9eeef8ef JT |
509 | 2002-05-22 Jason Thorpe <thorpej@wasabisystems.com> |
510 | ||
511 | * Makefile.in (armnbsd-tdep.o): Add solib-svr4.h and | |
512 | nbsd-tdep.h to dependency list. | |
513 | * configure.host (arm*-*-netbsdelf*, arm*-*-netbsd*, | |
514 | i[3456]86-*-netbsdaout*, i[3456]86-*-netbsd*, m68*-*-netbsd*, | |
515 | ns32k-*-netbsd*, sparc-*-netbsdaout*, sparc-*-netbsd*): Use | |
516 | nbsdaout.mh and nbsdelf.mh consistently. | |
517 | * configure.tgt (i[3456]86-*-netbsd*, m68*-*-netbsd*, | |
518 | ns32k-*-netbsd*, sparc-*-netbsdelf*, sparc-*-netbsd*) Use | |
519 | nbsdaout.mt and nbsdelf.mh consistently. | |
520 | * armnbsd-tdep.c: Include nbsd-tdep.h and solib-svr4.h. | |
521 | (arm_netbsd_elf_init_abi): Use set_solib_svr4_fetch_link_map_offsets | |
522 | to set nbsd_ilp32_solib_svr4_fetch_link_map_offsets. | |
523 | * config/nm-nbsd.h: Garbage-collect SVR4_SHARED_LIBS. Move | |
524 | a.out shared library stuff from here... | |
525 | * config/nm-nbsdaout.h: ...to here. | |
526 | * config/tm-nbsd.h: Remove. | |
527 | * config/alpha/nm-nbsd.h (SVR4_SHARED_LIBS): Remove. | |
528 | * config/arm/nbsd.mh: Remove. | |
529 | * config/arm/nbsd.mt (TDEPFILES): Remove solib-sunos.o, add | |
530 | nbsd-tdep.o. | |
531 | * config/arm/nbsdaout.mh: New file. | |
532 | * config/arm/nbsdelf.mh: New file. | |
533 | * config/arm/nm-nbsdaout.h: New file. | |
534 | * config/i386/nbsd.mh: Remove. | |
535 | * config/i386/nbsd.mt: Remove. | |
536 | * config/i386/nbsdaout.mh: New file. | |
537 | * config/i386/nbsdaout.mt: New file. | |
538 | * config/i386/nbsdelf.mh (NAT_FILE): Use nm-nbsd.h. | |
539 | * config/i386/nbsdelf.mt (TM_FILE): Use tm-nbsd.h. | |
540 | * config/i386/nm-nbsd.h (REGISTER_U_ADDR, | |
541 | i386_register_u_addr): Remove. | |
542 | * config/i386/nm-nbsdaout.h: New file. | |
543 | * config/i386/nm-nbsdelf.h: Remove. | |
544 | * config/i386/tm-nbsd.h: Don't include config/tm-nbsd.h. | |
545 | (USE_STRUCT_CONVENTION): Remove. | |
546 | * config/i386/tm-nbsdaout.h: New file. | |
547 | * config/i386/tm-nbsdelf.h: Remove. | |
548 | * config/m68k/nbsd.mh: Remove. | |
549 | * config/m68k/nbsd.mt: Remove. | |
550 | * config/m68k/nbsdaout.mh: New file. | |
551 | * config/m68k/nbsdaout.mt: New file. | |
552 | * config/m68k/nm-nbsd.h: Use config/nm-nbsd.h. | |
553 | * config/m68k/nm-nbsdaout.h: New file. | |
554 | * config/m68k/tm-nbsd.h: Don't include config/tm-nbsd.h. | |
555 | (IN_SOLIB_CALL_TRAMPOLINE): Define. | |
556 | * config/ns32k/nbsd.mh: Remove. | |
557 | * config/ns32k/nbsd.mt: Remove. | |
558 | * config/ns32k/nbsdaout.mh: New file. | |
559 | * config/ns32k/nbsdaout.mt: New file. | |
560 | * config/ns32k/nm-nbsd.h: Include config/nm-nbsd.h. | |
561 | * config/ns32k/nm-nbsdaout.h: New file. | |
562 | * config/ns32k/tm-nbsd.h: Don't include config/tm-nbsd.h. | |
563 | (IN_SOLIB_CALL_TRAMPOLINE): Define. | |
564 | * config/powerpc/nm-nbsd.h: Include config/nm-nbsd.h. | |
565 | (SVR4_SHARED_LIBS): Remove. | |
566 | * config/powerpc/tm-nbsd.h: Dont' include config/tm-nbsd.h. | |
567 | * config/sparc/nbsd.mh: Remove. | |
568 | * config/sparc/nbsd.mt: Remove. | |
569 | * config/sparc/nbsdaout.mh: New file. | |
570 | * config/sparc/nbsdaout.mt: New file. | |
571 | * config/sparc/nbsdelf.mh (NAT_FILE): Use nm-nbsd.h. | |
572 | * config/sparc/nbsdelf.mt: New file. | |
573 | * config/sparc/nm-nbsdaout.h: New file. | |
574 | * config/sparc/nm-nbsdelf.h: Remove. | |
575 | * config/sparc/tm-nbsd.h: Don't include config/tm-nbsd.h. | |
576 | * config/sparc/tm-nbsdaout.h: New file. | |
577 | ||
257ce470 JT |
578 | 2002-05-21 Jason Thorpe <thorpej@wasabisystems.com> |
579 | ||
580 | * Makefile.in (ALLDEPFILES): Add mipsnbsd-nat.c and | |
581 | mipsnbsd-tdep.c | |
582 | (mipsnbsd-nat.o, mipsnbsd-tdep.o): New dependency lists. | |
583 | ||
76a6d5fe JT |
584 | 2002-05-21 Jason Thorpe <thorpej@wasabisystems.com> |
585 | ||
586 | * Makefile.in (ALLDEPFILES): Add shnbsd-tdep.c and | |
587 | shnbsd-nat.c. | |
588 | (shnbsd-tdep.o, shnbsd-nat.o): New dependency lists. | |
589 | ||
45888261 JT |
590 | 2002-05-21 Jason Thorpe <thorpej@wasabisystems.com> |
591 | ||
592 | * NEWS: Note new MIPS NetBSD native configuration. | |
593 | * configure.host (mips*-*-netbsd*): New host. | |
594 | * configure.tgt (mips*-*-netbsd*): New target. | |
595 | * mipsnbsd-nat.c: New file. | |
596 | * mipsnbsd-tdep.c: New file. | |
597 | * mipsnbsd-tdep.h: New file. | |
598 | * config/mips/nbsd.mh: New file. | |
599 | * config/mips/nbsd.mt: New file. | |
600 | * config/mips/nm-nbsd.h: New file. | |
601 | * config/mips/tm-nbsd.h: New file. | |
602 | ||
70f80edf JT |
603 | 2002-05-21 Jason Thorpe <thorpej@wasabisystems.com> |
604 | ||
605 | * Makefile.in (SFILES): Add osabi.c. | |
606 | (COMMON_OBS): Add osabi.o. | |
607 | (osabi.o): New dependency list. | |
608 | * osabi.c: New file. | |
609 | * osabi.h: New file. | |
610 | * doc/gdbint.texinfo: Document new generic OS ABI framework. | |
611 | ||
612 | * Makefile.in (alpha_tdep_h): Define and use instead of | |
613 | alpha-tdep.h. | |
614 | * alpha-tdep.c (alpha_abi_names, process_note_abi_tag_sections, | |
615 | get_elfosabi, alpha_abi_handler_list, alpha_gdbarch_register_os_abi): | |
616 | Remove. | |
617 | (alpha_gdbarch_init, alpha_dump_tdep): Use generic OS ABI framework. | |
618 | * alpha-tdep.h: Include osabi.h. | |
619 | (alpha_abi): Remove. | |
620 | (gdbarch_tdep): Use generic OS ABI framework. | |
621 | * alpha-linux-tdep.c (_initialize_alpha_linux_tdep): Use | |
622 | gdbarch_register_osabi. | |
623 | * alpha-osf1-tdep.c (_initialize_alpha_osf1_tdep): Likewise. | |
624 | * alphafbsd-tdep.c (_initialize_alphafbsd_tdep): Likewise. | |
625 | * alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Likewise. | |
626 | ||
627 | * Makefile.in (sh_tdep_h): Add osabi.h. | |
628 | * sh-tdep.h (sh_osabi): Remove. | |
629 | (gdbarch_tdep): Use generic OS ABI framework. | |
630 | * sh-tdep.c (sh_osabi_names, process_note_abi_tag_sections, | |
631 | sh_osabi_handler_list, sh_gdbarch_register_os_abi): Remove. | |
632 | (sh_gdbarch_init, sh_dump_tdep): Use generic OS ABI framework. | |
633 | * shnbsd-tdep.c (_initialize_shnbsd_tdep): Use gdbarch_register_osabi. | |
634 | ||
635 | * Makefile.in (arm_tdep_h): Define and use instead of arm-tdep.h. | |
636 | * arm-linux-tdep.c (_initialize_arm_linux_tdep): Use | |
637 | gdbarch_register_osabi. | |
638 | * arm-tdep.c (arm_abi_names, process_note_abi_tag_sections, | |
639 | arm_abi_handler_list, arm_gdbarch_register_os_abi): Remove. | |
640 | (get_elfosabi): Rename to... | |
641 | (arm_elf_osabi_sniffer): ...this. Adjust to use generic OS | |
642 | ABI framework support routines. | |
643 | (arm_gdbarch_init): Use generic OS ABI framework. | |
644 | (arm_dump_tdep): Likewise. | |
645 | (_initialize_arm_tdep): Likewise. | |
646 | * arm-tdep.h: Include osabi.h. | |
647 | (arm_abi): Remove. | |
648 | (gdbarch_tdep): Remove arm_abi and abi_name members. Add | |
649 | osabi member. | |
650 | (arm_gdbarch_register_os_abi): Remove prototype. | |
651 | * armnbsd-tdep.c (arm_netbsd_aout_osabi_sniffer): New function. | |
652 | (_initialize_arm_netbsd_tdep): Use gdbarch_register_osabi. | |
653 | ||
654 | * Makefile.in (mips-tdep.o): Add osabi.h to dependency list. | |
655 | * mips-tdep.c: Include osabi.h. | |
656 | (gdbarch_tdep, mips_gdbarch_init, mips_dump_tdep): Use generic | |
657 | OS ABI framework. | |
658 | ||
d194345b KH |
659 | 2002-05-20 Kazu Hirata <kazu@cs.umass.edu> |
660 | ||
661 | * h8300-tdep.c: Fix formatting. | |
662 | ||
70c6b0d1 EZ |
663 | 2002-05-20 Elena Zannoni <ezannoni@redhat.com> |
664 | ||
665 | * rs6000-tdep.c (rs6000_do_registers_info): Simplify code for | |
666 | printing vector registers. | |
667 | ||
165b8e33 AC |
668 | 2002-05-19 Andrew Cagney <ac131313@redhat.com> |
669 | ||
670 | From Fernando Nasser: | |
671 | * remote.c (remote_async_open_1): Re-throw the exception when the | |
672 | connection fails. | |
673 | (remote_cisco_open): Ditto. | |
674 | (remote_open_1): Ditto. | |
675 | ||
36918e70 AC |
676 | 2002-05-19 Andrew Cagney <ac131313@redhat.com> |
677 | ||
678 | * remote.c (remote_start_remote_dummy): Add uiout parameter. | |
679 | (remote_start_remote): Add uiout parameter. Pass through to | |
680 | remote_start_remote_dummy. | |
681 | (remote_open_1): Use catch_exception instead of catch_errors. | |
682 | (remote_async_open_1): Ditto. | |
683 | (remote_cisco_open): Ditto. | |
684 | ||
ae44c0c4 AC |
685 | 2002-05-19 Andrew Cagney <ac131313@redhat.com> |
686 | ||
687 | * remote.c (remote_start_remote): Replace PTR with void pointer. | |
688 | (sigint_remote_twice_token, sigint_remote_token): Ditto. Make | |
689 | static. | |
690 | ||
8efe637d AC |
691 | 2002-05-18 Andrew Cagney <ac131313@redhat.com> |
692 | ||
693 | * gdb_indent.sh: Allow the script to be run in the sim directory. | |
694 | ||
2f1b5984 MK |
695 | 2002-05-18 Mark Kettenis <kettenis@gnu.org> |
696 | ||
f0f625e2 MK |
697 | * config/i386/nm-cygwin.h (NO_PTRACE_H): Remove define. |
698 | * config/i386/nm-go32.h (NO_PTRACE_H): Remove define. | |
699 | ||
2f1b5984 MK |
700 | * corelow.c (core_open): Only call set_gdbarch_from_file if |
701 | exec_bfd is NULL. | |
702 | ||
fc974602 AV |
703 | 2002-05-17 Andrey Volkov <avolkov@transas.com> |
704 | ||
705 | * h8300-tdep.c: Add support of EXR register | |
706 | * config/h8300/tm-h8300.h: Ditto. | |
707 | ||
906709f4 AV |
708 | 2002-05-17 Andrey Volkov <avolkov@transas.com> |
709 | ||
710 | * h8300-tdep.c: Add additional CCR flags (I,UI,H,U) | |
711 | ||
6e591d68 AV |
712 | 2002-05-17 Andrey Volkov <avolkov@transas.com> |
713 | ||
714 | * h8300-tdep.c: Change literal regnums to REGNO. | |
715 | ||
84f0252a JB |
716 | 2002-05-17 Jim Blandy <jimb@redhat.com> |
717 | ||
e0e9281e JB |
718 | * NEWS: Note addition of macro support. |
719 | ||
84f0252a JB |
720 | Expand preprocessor macros in C expressions. |
721 | * c-lang.h: #include "macroexp.h", for macro_lookup_ftype. | |
722 | (scan_macro_expansion, scanning_macro_expansion, | |
723 | finished_macro_expansion): New function declarations. | |
724 | (expression_macro_lookup_func, expression_macro_lookup_baton): New | |
725 | variable declarations. | |
726 | * parser-defs.h (expression_context_pc): New declaration. | |
727 | * parse.c (expression_context_pc): New variable. | |
728 | (parse_exp_1): Set expression_context_pc, as well as | |
729 | expression_context_block. | |
730 | * c-exp.y (yylex): If we're not already reading the result of a | |
731 | macro expansion, try to macro-expand the next token. When we're | |
732 | done scanning a macro expansion, switch back to the mainline text. | |
733 | Commas and `if's in a macro's expansion don't terminate the input. | |
734 | * c-lang.c: #include "macroscope.h" and "gdb_assert.h". | |
735 | (macro_original_text, macro_expanded_text, | |
736 | expression_macro_lookup_func, expression_macro_lookup_baton): New | |
737 | variables. | |
738 | (scan_macro_expansion, scanning_macro_expansion, | |
739 | finished_macro_expansion, scan_macro_cleanup, null_macro_lookup, | |
740 | c_preprocess_and_parse): New functions. | |
741 | (c_language_defn, cplus_language_defn, asm_language_defn): Call | |
742 | c_preprocess_and_parse, instead of c_parse. | |
743 | * Makefile.in (c_lang_h): Note that this #includes macroexp.h. | |
744 | (c-lang.o): Note dependency on macroscope.h and gdb_assert.h. | |
745 | ||
1c509ca8 JR |
746 | Fri May 17 14:26:19 2002 J"orn Rennecke <joern.rennecke@superh.com> |
747 | ||
748 | * sh-tdep.c (gdb_print_insn_sh64): Delete. | |
749 | (gdb_print_insn_sh): Just set info->endian and use print_insn_sh. | |
750 | (sh_gdbarch_init): Always use gdb_print_insn_sh. | |
751 | ||
2250ee0c CV |
752 | 2002-05-17 Corinna Vinschen <vinschen@redhat.com> |
753 | ||
754 | * NEWS: Add section for multi-arched targets. Add v850 to that section. | |
755 | ||
ab3b8126 JT |
756 | 2002-05-17 Jason Thorpe <thorpej@wasabisystems.com> |
757 | ||
758 | * Makefile.in (sh_tdep_h): Define and use. | |
759 | * config/sh/tm-sh.h (sh_osabi, sh_abi, gdbarch_tdep, | |
760 | register enum): Move to... | |
761 | * * sh-tdep.h: ...here. | |
762 | * sh-tdep.c: Include sh-tdep.h. | |
763 | * sh3-rom.c: Likewise. | |
764 | * shnbsd-tdep.c: Likewise. | |
765 | ||
ed9d4749 MS |
766 | 2002-05-16 Michael Snyder <msnyder@redhat.com> |
767 | ||
768 | * arm-tdep.c: Spelling fix in comment. | |
769 | ||
2e276125 JB |
770 | 2002-05-16 Jim Blandy <jimb@redhat.com> |
771 | ||
6821892e JB |
772 | Add commands for manually expanding macros and showing their |
773 | definitions. | |
774 | * macrocmd.c, macroscope.c, macroscope.h: New files. | |
775 | * Makefile.in (SFILES): Add macrocmd.c, macroscope.c. | |
776 | (macroscope_h): New variable. | |
777 | (HFILES_NO_SRCDIR): Add macroscope.h. | |
778 | (COMMON_OBS): Add macrocmd.o, macroscope.o. | |
779 | (macroscope.o, macrocmd.o): New rules. | |
780 | ||
2e276125 JB |
781 | Teach the Dwarf 2 reader to read macro information. |
782 | * dwarf2read.c: #include "macrotab.h". | |
783 | (dwarf_macinfo_buffer): New variable. | |
784 | (struct dwarf2_pinfo): New members: dwarf_macinfo_buffer, and | |
785 | dwarf_macinfo_size. | |
786 | (DWARF_MACINFO_BUFFER, DWARF_MACINFO_SIZE): New macros. | |
787 | (dwarf2_missing_macinfo_section, dwarf2_macros_too_long, | |
788 | dwarf2_macros_not_terminated, dwarf2_macro_outside_file, | |
789 | dwarf2_macro_unmatched_end_file, dwarf2_macro_malformed_definition, | |
790 | dwarf2_macro_spaces_in_definition): New complaints. | |
791 | (dwarf2_has_info): Initialize dwarf_macinfo_offset. | |
792 | (dwarf2_build_psymtabs): Read the .dwarf_macinfo section. | |
793 | (dwarf2_build_psymtabs_hard): Record the buffer and its size in | |
794 | the partial symbol table. | |
795 | (psymtab_to_symtab_1): Set the macinfo buffer and size globals | |
796 | from what's recorded in the partial symbol table. | |
797 | (read_file_scope): If the compilation unit has a | |
798 | `DW_AT_macro_info' attribute, read its macro information. | |
799 | * Makefile.in (dwarf2read.o): Depend on macrotab.h. | |
800 | ||
2f53fe6c DJ |
801 | 2002-05-16 Daniel Jacobowitz <drow@mvista.com> |
802 | ||
803 | Fix PR gdb/546 | |
804 | * ser-tcp.c: Don't include <netinet/udp.h>. | |
805 | ||
2be99286 SC |
806 | 2002-05-16 Stephane Carrez <stcarrez@nerim.fr> |
807 | ||
808 | * MAINTAINERS: Update my email address. | |
809 | ||
c9af212b | 810 | 2002-05-16 Richard Earnshaw <rearnsha@arm.com> |
8501bbeb RE |
811 | |
812 | * config/arm/nm-nbsd.h: Use "config/nm-nbsd.h" to include generic | |
813 | include file of the same name. | |
814 | ||
bf5f1a52 CV |
815 | 2002-05-16 Corinna Vinschen <vinschen@redhat.com> |
816 | ||
817 | * configure.tgt: Mark v850 as multi-arched. | |
818 | * config/v850/tm-v850.h: Remove file. | |
819 | * config/v850/v850.mt: Eliminate TM_FILE. | |
820 | ||
435e042a CV |
821 | 2002-05-16 Corinna Vinschen <vinschen@redhat.com> |
822 | ||
823 | * v850-tdep.c: Full multi-arch. | |
824 | * config/v850/tm-v850.h: Eliminate or move to v850-tdep.c everything. | |
825 | Define GDB_MULTI_ARCH to 2. | |
826 | ||
9819c6c8 PM |
827 | 2002-05-16 Pierre Muller <muller@ics.u-strasbg.fr> |
828 | ||
829 | * p-exp.y (current_type): New static variable. | |
830 | Carries the type of the expression at the position that is parsed. | |
831 | (push_current_type, pop_current_type): Two new functions. Used | |
832 | to store/restore current_type in expression on specific tokens. | |
c9af212b RE |
833 | (search_field): New static variable. Set to one after parsing a point |
834 | as at that point only a FIELDNAME token should be searched. | |
9819c6c8 PM |
835 | (FIELDNAME): New token. After a point only a token belonging to |
836 | current_type type definition is allowed. | |
837 | (all over token rules): reset and change current_type according | |
838 | to rules. | |
839 | (exp '[' rule): insert implicit array index field if | |
840 | exp is a pascal string type. | |
841 | ||
3a06899a CV |
842 | 2002-05-16 Corinna Vinschen <vinschen@redhat.com> |
843 | ||
844 | * v850-tdep.c: Fix comment for v850_scan_prologue. Remove extra | |
845 | frame info. Use frame_info's saved_regs instead of matching member | |
846 | in extra_frame_info throughout. | |
847 | (v850_frame_init_saved_regs): New function. | |
848 | (v850_init_extra_frame_info): Move most functionality into | |
849 | v850_frame_init_saved_regs(). | |
850 | * config/v850/tm-v850.h (EXTRA_FRAME_INFO): Remove definition. | |
851 | (v850_frame_find_saved_regs): Remove declaration. | |
852 | (FRAME_FIND_SAVED_REGS): Remove definition. | |
853 | (v850_frame_init_saved_regs): Add declaration. | |
854 | (FRAME_INIT_SAVED_REGS): Add definition. | |
855 | ||
6ed14b0e CV |
856 | 2002-05-16 Corinna Vinschen <vinschen@redhat.com> |
857 | ||
858 | * v850-tdep.c: Begin multi-arch'ing v850. | |
859 | (v850_target_architecture_hook): Remove function. | |
860 | (v850_gdbarch_init): New function. Add code previously in | |
861 | v850_target_architecture_hook(). | |
862 | (_initialize_v850_tdep): Don't set target_architecture_hook. | |
863 | Call register_gdbarch_init() instead. | |
864 | ||
42725910 DJ |
865 | 2002-05-16 Daniel Jacobowitz <drow@mvista.com> |
866 | ||
867 | * gdbtypes.h (struct cplus_struct_type): Remove args field. | |
868 | * hpread.c (hpread_read_struct_type): Remove assignments to args. | |
869 | (fixup_class_method_type): Likewise. | |
870 | ||
0bc68c49 DJ |
871 | 2002-05-15 Daniel Jacobowitz <drow@mvista.com> |
872 | ||
873 | From Martin Pool <mbp@samba.org>: | |
874 | * gdbserver/server.c (gdbserver_usage): New function. | |
875 | (main): Call it. | |
876 | ||
99d9066e JB |
877 | 2002-05-15 Jim Blandy <jimb@redhat.com> |
878 | ||
879 | Add macro structures to GDB's symbol tables. Nobody puts anything | |
880 | in them yet. | |
881 | * symtab.h (struct symtab): New member: `macro_table'. | |
882 | * buildsym.h (pending_macros): New global variable. | |
883 | * buildsym.c: #include "macrotab.h". | |
884 | (buildsym_init): Initialize `pending_macros'. | |
885 | (end_symtab): If we found macro information while reading a CU's | |
886 | debugging info, do build a symtab structure for it. Make the | |
887 | symtab point to the macro information, and clear the | |
888 | `pending_macros' pointer which held it while we were reading the | |
889 | debug info. | |
890 | (really_free_pendings): Free any pending macro table. | |
891 | * objfiles.h (struct objfile): New member: `macro_cache'. | |
892 | * objfiles.c (allocate_objfile): Set allocate and free functions | |
893 | for the macro cache's objstack. | |
894 | (free_objfile): Empty the macro cache's obstack. | |
895 | * symfile.c (reread_symbols): Empty the macro cache's obstack, and | |
896 | set new allocate and free functions for it. | |
897 | * solib-sunos.c (allocate_rt_common_objfile): Set allocate and | |
898 | free functions for the macro cache's objstack. (Why is this | |
899 | function building its own objfile?) | |
900 | * symmisc.c (print_objfile_statistics): Print statistics on the | |
901 | macro bcache. | |
902 | * Makefile.in: Note that buildsym.o depends on macrotab.h. | |
903 | ||
c899585b RE |
904 | 2002-05-15 Richard Earnshaw <rearnsha@arm.com> |
905 | ||
906 | * config/arm/nm-nbsd.h: Use <> for include of config/nm-nbsd.h. | |
907 | (REGISTER_U_ADDR): Delete definition. | |
908 | (arm_register_u_addr): Delete declaration. | |
909 | ||
a6cdd8c5 RE |
910 | 2002-05-15 Richard Earnshaw <rearnsha@arm.com> |
911 | ||
912 | * arm-linux-tdep.c (ARM_LINUX_JB_PC): Renamed from JB_PC. | |
913 | (ARM_LINUX_JB_ELEMENT_SIZE): Likewise. | |
914 | ||
fd3a5ca1 DJ |
915 | 2002-05-14 Daniel Jacobowitz <drow@mvista.com> |
916 | ||
917 | * gdbserver/mem-break.c (reinsert_breakpoint_by_bp): Correct typo | |
918 | stop_at -> stop_pc. | |
919 | ||
c97dcfc7 AC |
920 | 2002-05-14 Andrew Cagney <ac131313@redhat.com> |
921 | ||
922 | * regcache.c (register_valid): Revise comments refering to "Not | |
923 | available" and "unavailable". | |
924 | * frame.c (frame_register_read): Ditto. | |
925 | * findvar.c (value_of_register): Ditto. | |
926 | ||
93021b7d AC |
927 | 2002-05-15 Andrew Cagney <cagney@redhat.com> |
928 | ||
929 | * Makefile.in (remote_sim_h): Replace remote-sim_h. | |
930 | (remote-sim.o): Update dependencies. | |
931 | (d10v-tdep.o): Specify dependencies. | |
932 | (sim_d10v_h): Define. | |
933 | ||
a86bc61c JB |
934 | 2002-05-14 Jim Blandy <jimb@redhat.com> |
935 | ||
936 | * macroexp.c (init_buffer, gather_arguments, expand): Use NULL, not 0. | |
937 | * macrotab.c (macro_lookup_inclusion, find_definition, | |
938 | new_macro_table): Same. | |
939 | ||
940 | * macroexp.c (currently_rescanning, expand): Use `strcmp () == 0', | |
941 | not `! strcmp ()'. This is a dubious improvement. | |
942 | * macrotab.c (macro_lookup_inclusion, find_definition): Same. | |
943 | ||
944 | * macrotab.c (macro_lookup_inclusion): Initialize `best_depth', | |
945 | although it's not necessary, to avoid a warning. | |
946 | ||
2fdde8f8 DJ |
947 | 2002-05-14 Daniel Jacobowitz <drow@mvista.com> |
948 | ||
949 | * gdbtypes.h: Update accessor macros to use TYPE_MAIN_TYPE. | |
950 | (TYPE_CONST, TYPE_VOLATILE, TYPE_CODE_SPACE, TYPE_DATA_SPACE): Use | |
951 | TYPE_INSTANCE_FLAGS. | |
952 | (struct main_type): New. | |
953 | (struct type): Move most members to struct main_type. Change | |
954 | cv_type and as_type to new type_chain member. Add instance_flags. | |
955 | (TYPE_MAIN_TYPE, TYPE_CHAIN, TYPE_INSTANCE_FLAGS): New macros. | |
956 | (TYPE_CV_TYPE, TYPE_AS_TYPE): Remove. | |
957 | (finish_cv_type): Remove prototype. | |
958 | * gdbtypes.c (alloc_type): Update comment. Allocate TYPE_MAIN_TYPE. | |
959 | Set TYPE_CHAIN. | |
960 | (alloc_type_instance): New function. | |
961 | (smash_type): New function. | |
962 | (make_pointer_type, make_reference_type, make_function_type) | |
963 | (smash_to_member_type, smash_to_method_type): Call smash_type. | |
964 | (make_qualified_type): New function. | |
965 | (make_type_with_address_space): Call make_qualified_type. | |
966 | (make_cv_type): Likewise. | |
967 | (finish_cv_type): Remove unnecessary function. | |
968 | (replace_type): Update comment. Copy TYPE_MAIN_TYPE. | |
969 | (recursive_dump_type): Dump TYPE_CHAIN and TYPE_INSTANCE_FLAGS; | |
970 | remove TYPE_CV_TYPE and TYPE_AS_TYPE. | |
971 | * c-typeprint.c (c_type_print_modifier): Use TYPE_INSTANCE_FLAGS. | |
972 | * dwarf2read.c (read_structure_scope): Don't call finish_cv_type. | |
973 | * hpread.c (hpread_read_struct_type): Likewise. | |
974 | * stabsread.c (read_struct_type): Likewise. | |
975 | ||
843fedf4 EZ |
976 | 2002-05-14 Elena Zannoni <ezannoni@redhat.com> |
977 | ||
978 | * configure.tgt: Add a catch all sh* target, for cases like | |
979 | sh[2,3,4]-elf and sh-hms. | |
980 | ||
05a6c72c KS |
981 | 2002-05-14 Keith Seitz <keiths@redhat.com> |
982 | ||
983 | * event-loop.c (create_file_handler): Don't do anything but | |
984 | update data when we are given a fd which we are already | |
985 | monitoring. | |
986 | ||
5d085aaf ML |
987 | 2002-05-14 Michal Ludvig <mludvig@suse.cz> |
988 | ||
989 | * dwarf2cfi.c (context_cpy): Copy registers correctly. | |
990 | (update_context): Use __func__ in warnings. | |
991 | ||
9db8d71f DJ |
992 | 2002-05-14 Daniel Jacobowitz <drow@mvista.com> |
993 | ||
994 | * ser-tcp.c: Include <netinet/udp.h>. Rename tcp_open | |
995 | and tcp_close to net_open and net_close. | |
996 | (net_open): Accept "udp:" and "tcp:" specifications. Connect | |
997 | using UDP if requested. Don't try to disable Nagle on UDP | |
998 | sockets. | |
999 | * remote.c (remote_serial_open): New function. Warn about UDP. | |
1000 | (remote_open_1, remote_async_open_1, remote_cisco_open): Call it. | |
1001 | ||
5dbc6baa EZ |
1002 | 2002-05-13 Elena Zannoni <ezannoni@redhat.com> |
1003 | ||
1004 | * MAINTAINERS: List sh-elf as buildable with ,-Werror. | |
1005 | ||
cc3023f7 EZ |
1006 | 2002-05-13 Elena Zannoni <ezannoni@redhat.com> |
1007 | ||
1008 | * configure.tgt: Remove sh-hms target. | |
1009 | * MAINTAINERS: Don't list sh-hms as a separate target. | |
1010 | ||
ec2bcbe7 JB |
1011 | 2002-05-13 Jim Blandy <jimb@redhat.com> |
1012 | ||
1013 | Add first preprocessor macro-expansion files. | |
1014 | * macroexp.c, macroexp.h, macrotab.c, macrotab.h: New files. | |
1015 | * Makefile.in (SFILES): Add macrotab.c, macroexp.c. | |
1016 | (splay_tree_h, macroexp_h, macrotab_h): New variable. | |
1017 | (HFILES_NO_SRCDIR): Add macrotab.h, macroexp.h. | |
1018 | (COMMON_OBS): Add macrotab.o, macroexp.o. | |
1019 | (macroexp.o, macrotab.o): New rules. | |
1020 | ||
6d531722 AC |
1021 | 2002-05-13 Andrew Cagney <ac131313@redhat.com> |
1022 | ||
1023 | * config/m88k/tm-m88k.h: Update copyright. | |
1024 | (m88k_target_write_pc): Declare | |
1025 | (TARGET_WRITE_PC): Redefine using m88k_target_write_pc. | |
1026 | (M88K_NNPC_REGNUM): Rename NNPC_REGNUM. | |
1027 | (SHIFT_INST_REGS): Update definition. | |
1028 | * m88k-tdep.c (m88k_target_write_pc): New function. Implement | |
1029 | using old definition of TARGET_WRITE_PC. | |
1030 | * regcache.c (generic_target_write_pc): Delete code handling | |
1031 | NNPC_REGNUM. | |
1032 | * gdbarch.sh (NNPC_REGNUM): Delete. | |
1033 | * gdbarch.h, gdbarch.c: Regenerate. | |
1034 | ||
3e3f2739 RE |
1035 | 2002-05-13 Richard Earnshaw <rearnsha@arm.com> |
1036 | ||
1037 | * builtin-regs.c (value_of_builtin_reg): Correctly calculate the | |
1038 | builtin reg number. | |
1039 | ||
0004e5a2 DJ |
1040 | 2002-05-13 Daniel Jacobowitz <drow@mvista.com> |
1041 | ||
1042 | * ax-gdb.c (gen_sign_extend, gen_fetch, gen_usual_unary) | |
1043 | (gen_cast, gen_scale, gen_add, gen_sub, gen_binop, gen_deref) | |
1044 | (gen_address_of, gen_struct_ref, gen_repeat): Use type | |
1045 | access macros. | |
1046 | * c-typeprint.c (cp_type_print_method_args): Likewise. | |
1047 | (c_type_print_args): Likewise. | |
1048 | * d10v-tdep.c (d10v_push_arguments): Likewise. | |
1049 | (d10v_extract_return_value): Likewise. | |
1050 | * expprint.c (print_subexp): Likewise. | |
1051 | * gdbtypes.c (lookup_primitive_typename): Likewise. | |
1052 | (lookup_template_type, add_mangled_type, print_arg_types): Likewise. | |
1053 | * gdbtypes.h (TYPE_UNSIGNED, TYPE_NOSIGN, TYPE_STUB) | |
1054 | (TYPE_TARGET_STUB, TYPE_STATIC, TYPE_CONST, TYPE_VOLATILE) | |
1055 | (TYPE_PROTOTYPED, TYPE_INCOMPLETE, TYPE_CODE_SPACE, TYPE_VARARGS) | |
1056 | (TYPE_VECTOR): Likewise. | |
1057 | * hpread.c (hpread_read_struct_type) | |
1058 | (fix_static_member_physnames, fixup_class_method_type) | |
1059 | (hpread_type_lookup): Likewise. | |
1060 | * mdebugread.c (parse_symbol, parse_type): Likewise. | |
1061 | * p-lang.c (is_pascal_string_type): Likewise. | |
1062 | * valops.c (hand_function_call): Likewise. | |
1063 | * x86-64-tdep.c (classify_argument): Likewise. | |
1064 | ||
1065 | * hpread.c (hpread_read_function_type) | |
1066 | (hpread_read_doc_function_type): Call replace_type. | |
1067 | * dstread.c (create_new_type): Delete. | |
1068 | (decode_dst_structure, process_dst_function): Call alloc_type. | |
1069 | Use type access macros. | |
1070 | ||
dff95cc7 MK |
1071 | 2002-05-12 Mark Kettenis <kettenis@gnu.org> |
1072 | ||
1073 | * i387-tdep.c (i387_supply_fxsave): Skip the SSE registers if | |
1074 | the're not supported by the current architecture. | |
1075 | (i387_fill_fxsave): Likewise. | |
1076 | ||
bbcd32ad FF |
1077 | 2002-05-12 Fred Fish <fnf@redhat.com> |
1078 | ||
1079 | * symfile.c (default_symfile_offsets): Arrange for uninitialized | |
1080 | sect_index_xxx members to index the first slot in section_offsets | |
1081 | if all of the section_offsets are zero. | |
1082 | ||
89cf4787 MK |
1083 | 2002-05-12 Mark Kettenis <kettenis@gnu.org> |
1084 | ||
1085 | * configure.tgt (sparc-*openbsd): Remove entry accidentially | |
1086 | checked in with last change. | |
1087 | ||
1f77ffc5 MK |
1088 | 2002-05-12 Mark Kettenis <kettenis@gnu.org> |
1089 | ||
1090 | * configure.tgt (i[3456]86-*-unixware*, i[3456]86-*-unixware2*): | |
1091 | Remove targets. These are canonicalized to i386-*-sysv4.2uw by | |
1092 | config.sub. | |
1093 | ||
89b8b4a9 DJ |
1094 | 2002-05-12 Daniel Jacobowitz <drow@mvista.com> |
1095 | ||
1096 | * Makefile.in: Update dependencies. | |
1097 | ||
14a5e767 AC |
1098 | 2002-05-11 Andrew Cagney <ac131313@redhat.com> |
1099 | ||
1100 | * language.c (local_hex_string_custom): Simplify. Do not depend | |
1101 | on PRINTF_HAS_LONG_LONG or CC_HAS_LONG_LONG. | |
1102 | ||
1103 | * memattr.c (mem_info_command): Replace calls to | |
1104 | longest_local_hex_string and longest_local_hex_string_custom. | |
1105 | * buildsym.c (make_blockvector): Ditto. | |
1106 | * solib.c (info_sharedlibrary_command): Ditto. | |
1107 | * tracepoint.c (tracepoints_info): Ditto. | |
1108 | * symtab.c (print_msymbol_info): Ditto. | |
1109 | ||
1110 | * language.c (local_hex_string): Delete. | |
1111 | (local_hex_string_custom): Delete. | |
1112 | (longest_local_hex_string): Rename to local_hex_string. | |
1113 | (longest_local_hex_string_custom): Rename to | |
1114 | local_hex_string_custom. | |
1115 | * language.h (local_hex_string): Change parameter type to LONGEST. | |
1116 | (local_hex_string_custom): Ditto. | |
1117 | (longest_local_hex_string): Delete declaration. | |
1118 | (longest_local_hex_string_custom): Ditto. | |
1119 | ||
1120 | * solib.c: Update copyright. | |
1121 | * memattr.c: Update copyright. | |
1122 | ||
13d01224 AC |
1123 | 2002-05-11 Andrew Cagney <ac131313@redhat.com> |
1124 | ||
1125 | * arch-utils.h (legacy_register_to_value): Declare. | |
1126 | (legacy_value_to_register): Declare. | |
1127 | (legacy_convert_register_p): Declare. | |
1128 | * arch-utils.c (legacy_register_to_value): New function. | |
1129 | (legacy_value_to_register): New function. | |
1130 | (legacy_convert_register_p): New function. | |
1131 | ||
1132 | * gdbarch.sh (REGISTER_TO_VALUE): Define. | |
1133 | (VALUE_TO_REGISTER): Define. | |
1134 | (CONVERT_REGISTER_P): Define. | |
1135 | * gdbarch.h, gdbarch.c: Regenerate. | |
1136 | ||
1137 | * valops.c (value_assign): Use CONVERT_REGISTER_P and | |
1138 | VALUE_TO_REGISTER. | |
1139 | * findvar.c (value_from_register): Use REGISTER_TO_VALUE and | |
1140 | CONVERT_REGISTER_P. | |
1141 | ||
4a1970e4 DJ |
1142 | 2005-05-11 Daniel Jacobowitz <drow@mvista.com> |
1143 | Peter Schauer <pes@regent.e-technik.tu-muenchen.de> | |
1144 | ||
1145 | * Makefile.in: Update dependencies for valops.c. | |
1146 | * valops.c: Include "gdb_assert.h". | |
1147 | (typecmp): Skip THIS parameter to methods. | |
1148 | (find_method_list): Remove static_memfuncp argument, | |
1149 | update callers. Check for stub methods. | |
1150 | (find_value_oload_method_list): Don't set *static_memfuncp. | |
1151 | (find_overload_match): Don't check for stub methods. Assert | |
1152 | that methods are not stubbed. Handle static methods. | |
1153 | (value_find_oload_method_list): Remove static_memfuncp argument. | |
1154 | * gdbtypes.c (check_stub_method): Do not add THIS pointer | |
1155 | to the argument list for static stub methods. | |
1156 | * value.h (value_find_oload_method_list): Update prototype. | |
1157 | ||
b2e75d78 AC |
1158 | 2002-05-11 Andrew Cagney <ac131313@redhat.com> |
1159 | ||
1160 | * arch-utils.h (generic_register_size): Declare. | |
1161 | (generic_register_raw_size, generic_register_virtual_size): Delete | |
1162 | declarations. | |
1163 | * arch-utils.c (generic_register_raw_size): Delete. | |
1164 | (generic_register_size): New function. | |
1165 | (generic_register_virtual_size): Delete. | |
1166 | ||
1167 | * gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Make | |
1168 | default generic_register_size. | |
1169 | * gdbarch.h, gdbarch.c: Re-generate. | |
1170 | ||
1171 | * d10v-tdep.c (d10v_gdbarch_init): Use generic_register_size for | |
1172 | register_virtual_size. | |
1173 | * x86-64-tdep.c (x86_64_gdbarch_init): Ditto. | |
1174 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
1175 | ||
451fbdda AC |
1176 | 2002-05-11 Andrew Cagney <ac131313@redhat.com> |
1177 | ||
1178 | * gdbarch.sh (gdbarch_data): Add gdbarch parameter. | |
1179 | * gdbarch.h, gdbarch.c: Regenerate. | |
1180 | * gnu-v3-abi.c: Update copyright. | |
1181 | (vtable_address_point_offset): Update. | |
1182 | (gnuv3_rtti_type): Update. | |
1183 | (gnuv3_baseclass_offset): Update. | |
1184 | * solib-svr4.c (svr4_fetch_link_map_offsets): Update. | |
1185 | (init_fetch_link_map_offsets): Update. | |
1186 | * remote.c (get_remote_state): Update. | |
1187 | ||
6d2f5cea DJ |
1188 | 2002-05-11 Daniel Jacobowitz <drow@mvista.com> |
1189 | ||
1190 | * TODO: Remove value_headof/value_from_vtable_info comment. | |
1191 | * printcmd.c (print_command_1): Don't call value_from_vtable_info. | |
1192 | * values.c (value_headof, value_from_vtable_info): Delete. | |
1193 | * value.h (value_from_vtable_info): Delete prototype. | |
1194 | ||
d2324da4 AC |
1195 | 2002-05-11 Andrew Cagney <ac131313@redhat.com> |
1196 | ||
1197 | * Makefile.in: Replace gdb_assert.h with $(gdb_assert_h), | |
1198 | gdb_string.h with $(gdb_string_h) and gdb_regex.h with | |
1199 | $(gdb_regex_h). | |
1200 | (gdb_assert_h): Define. | |
1201 | (gdb_wait_h): Define. | |
1202 | (gdb_regex_h): Define. | |
1203 | ||
5c717440 DJ |
1204 | 2002-05-11 Daniel Jacobowitz <drow@mvista.com> |
1205 | ||
1206 | From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>: | |
1207 | * linespec.c (find_methods): Handle GCC 3.x template constructors. | |
1208 | ||
6c7861b3 JT |
1209 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
1210 | ||
1211 | * nbsd-tdep.c: Fix comment. | |
1212 | ||
ea5bc2a6 JT |
1213 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
1214 | ||
1215 | * Makefile.in (ALLDEPFILES): Add nbsd-tdep.c. | |
1216 | (alphanbsd-tdep.o): Add nbsd-tdep.h to dependency list. | |
1217 | (nbsd-tdep.o): New dependency list. | |
1218 | * alphanbsd-tdep.c: Don't include solib-svr4.h. Include | |
1219 | nbsd-tdep.h. | |
1220 | (alphanbsd_solib_svr4_fetch_link_map_offsets): Remove. | |
1221 | (alphanbsd_init_abi): Use nbsd_lp64_solib_svr4_fetch_link_map_offsets. | |
1222 | * nbsd-tdep.c: New file. | |
1223 | * nbsd-tdep.h: New file. | |
1224 | * shnbsd-tdep.c: Don't include solib-svr4.h. Include | |
1225 | nbsd-tdep.h. | |
1226 | (shnbsd_solib_svr4_fetch_link_map_offsets): Remove. | |
1227 | (shnbsd_init_abi): Use nbsd_ilp32_solib_svr4_fetch_link_map_offsets. | |
1228 | * config/alpha/nbsd.mt (TDEPFILES): Add nbsd-tdep.o. | |
1229 | * config/sh/nbsd.mt (TDEPFILES): Ditto. | |
1230 | ||
b28da865 JT |
1231 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
1232 | ||
1233 | * config/alpha/nbsd.mh (NATDEPFILES): Remove corelow.o. | |
1234 | * config/alpha/nbsd.mt (TDEPFILES): Add corelow.o. | |
1235 | * config/i386/nbsd.mh (NATDEPFILES): Remove corelow.o. | |
1236 | * config/i386/nbsd.mt (TDEPFILES): Add corelow.o. | |
1237 | * config/i386/nbsdelf.mh (NATDEPFILES): Remove corelow.o. | |
1238 | * config/i386/nbsdelf.mt (TDEPFILES): Add corelow.o. | |
1239 | ||
4b8ff1fa JT |
1240 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
1241 | ||
1242 | * config/i386/nbsd.mh (NATDEPFILES): Use line continuations. | |
1243 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
1244 | * config/m68k/nbsd.mh (NATDEPFILES): Likewise. | |
1245 | * config/ns32k/nbsd.mh (NATDEPFILES): Likewise. | |
1246 | * config/powerpc/nbsd.mh (NATDEPFILES): Likewise. | |
1247 | * config/sparc/nbsd.mh (NATDEPFILES): Likewise. | |
1248 | * config/sparc/nbsdelf.mh (NATDEPFILES): Likewise. | |
1249 | ||
dfe6eb1f JT |
1250 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
1251 | ||
1252 | * i386nbsd-nat.c: Delete file. Move fetch_core_registers and | |
1253 | fetch_elfcore_registers to... | |
1254 | * i386nbsd-tdep.c: ...here. | |
1255 | (i386nbsd_use_struct_convention): Rename to... | |
1256 | (i386nbsd_aout_use_struct_convention): ...this. | |
1257 | (i386nbsd_supply_reg): New function. | |
1258 | (i386nbsd_fill_reg): New function. | |
1259 | (fetch_core_registers): Use i386nbsd_supply_reg. | |
1260 | (fetch_elfcore_registers): Likewise. | |
1261 | (_initialize_i386nbsd_tdep): New function. | |
1262 | * config/i386/nbsd.mh (NATDEPFILES): Remove i386nbsd-nat.o. | |
1263 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
1264 | * config/i386/nbsdelf.mt (TDEPFILES): Add i386nbsd-tdep.o. | |
1265 | * config/i386/tm-nbsd.h (i386nbsd_use_struct_convention): Rename to... | |
1266 | (i386nbsd_aout_use_struct_convention): ...this. | |
1267 | ||
20cb8cda JT |
1268 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
1269 | ||
1270 | * shnbsd-nat.c (fetch_inferior_registers): Use shnbsd_supply_reg. | |
1271 | (store_inferior_registers): Use shnbsd_fill_reg. | |
1272 | * shnbsd-tdep.c (sh_nbsd_supply_registers, | |
1273 | sh_nbsd_supply_register): Collapse into... | |
1274 | (shnbsd_supply_reg): ...this. | |
1275 | (sh_nbsd_fill_registers, sh_nbsd_fill_register): Collapse into... | |
1276 | (shnbsd_fill_reg): ...this. | |
1277 | (sh_nbsd_solib_svr4_fetch_link_map_offsets): Rename to... | |
1278 | (shnbsd_solib_svr4_fetch_link_map_offsets): ...this. | |
1279 | (fetch_core_registers): Use shnbsd_supply_reg. | |
1280 | (fetch_elfcore_registers): Use shnbsd_supply_reg. | |
1281 | (sh_nbsd_core_fns): Rename to... | |
1282 | (shnbsd_core_fns): ...this. | |
1283 | (sh_nbsd_elfcore_fns): Rename to... | |
1284 | (shnbsd_elfcore_fns): ...this. | |
1285 | (sh_nbsd_init_abi): Rename to... | |
1286 | (shnbsd_init_abi): ...this. | |
1287 | (_initialize_sh_nbsd_tdep): Rename to... | |
1288 | (_initialize_shnbsd_tdep): ...this. | |
1289 | * shnbsd-tdep.h (sh_nbsd_supply_registers, | |
1290 | sh_nbsd_supply_register, sh_nbsd_fill_registers, | |
1291 | sh_nbsd_fill_register): Remove prototypes. | |
1292 | (shnbsd_supply_reg, shnbsd_fill_reg): Add prototypes. | |
1293 | ||
e750d25e JT |
1294 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
1295 | ||
1296 | * Makefile.in (ALLDEPFILES): Remove i387-nat.c. | |
1297 | (i387-nat.o): Delete dependency list. | |
1298 | (go32-nat.o): Change i387-nat.h to i387-tdep.h. | |
1299 | (x86-64-linux-nat.o): Likewise. | |
1300 | * i387-nat.c: Delete file, moving contents to... | |
1301 | * i387-tdep.c: ...here. | |
1302 | * i387-nat.h: Rename... | |
1303 | * i387-tdep.h: ...to this. | |
1304 | * go32-nat.c: Include i387-tdep.h instead of i387-nat.h. | |
1305 | * i386-linux-nat.c: Likewise. | |
1306 | * i386bsd-nat.c: Likewise. | |
1307 | * i386gnu-nat.c: Likewise. | |
1308 | * i386nbsd-nat.c: Likewise. | |
1309 | * i386v4-nat.c: Likewise. | |
1310 | * x86-64-linux-nat.c: Likewise. | |
1311 | * config/i386/fbsd.mh (NATDEPFILES): Remove i387-nat.o. | |
1312 | * config/i386/go32.mh (NATDEPFILES): Likewise. | |
1313 | * config/i386/i386gnu.mh (NATDEPFILES): Likewise. | |
1314 | * config/i386/i386sol2.mh (NATDEPFILES): Likewise. | |
1315 | * config/i386/i386v42mp.mh (NATDEPFILES): Likewise. | |
1316 | * config/i386/linux.mh (NATDEPFILES): Likewise. | |
1317 | * config/i386/nbsd.mh (NATDEPFILES): Likewise. | |
1318 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
1319 | * config/i386/obsd.mh (NATDEPFILES): Likewise. | |
1320 | * config/i386/x86-64linux.mh (NATDEPFILES): Likewise. | |
1321 | ||
1aee598a JT |
1322 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
1323 | ||
1324 | * Makefile.in (ALLDEPFILES): Remove alphanbsd-nat.c. | |
1325 | (alphanbsd-nat.o): Remove dependency list. | |
1326 | (alphanbsd-tdep.o): Add $(regcache_h) to dependency list. | |
1327 | * alphanbsd-nat.c: Delete. Contents moved to... | |
1328 | * alphanbsd-tdep.c: ...here. | |
1329 | (_initialize_alphanbsd_tdep): Register core functions. | |
1330 | * config/alpha/nbsd.mh (NATDEPFILES): Remove alphanbsd-nat.o. | |
1331 | ||
12bcb0fe JT |
1332 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
1333 | ||
1334 | * Makefile.in (ALLDEPFILES): Add alphabsd-tdep.c. | |
1335 | (alphabsd-nat.o): Depend on alphabsd-tdep.h. | |
1336 | (alphanbsd-nat.o): Likewise. | |
1337 | (alphabsd-tdep.o): New dependency list. | |
1338 | * alphabsd-nat.c (supply_gregset): Use alphabsd_supply_reg. | |
1339 | (fill_gregset): Use alphabsd_fill_reg. | |
1340 | (supply_fpregset): Use alphabsd_supply_fpreg. | |
1341 | (fill_fpregset): Use alphabsd_fill_fpreg. | |
1342 | (fetch_inferior_registers): Use struct reg and struct fpreg | |
1343 | rather than gregset_t and fpregset_t. Use alphabsd_supply_reg | |
1344 | and alphabsd_supply_fpreg. | |
1345 | (store_inferior_registers): Use struct reg and struct fpreg | |
1346 | rather than gregset_t and fpregset_t. Use alphabsd_fill_reg | |
1347 | and alphabsd_fill_fpreg. | |
1348 | * alphabsd-tdep.c: New file. | |
1349 | * alphabsd-tdep.h: New file. | |
1350 | * alphanbsd-nat.c (fetch_core_registers): Use alphabsd_supply_fpreg. | |
1351 | (fetch_elfcore_registers): Use alphabsd_supply_reg and | |
1352 | alphabsd_supply_fpreg. | |
1353 | * config/alpha/fbsd.mt (TDEPFILES): Add alphabsd-tdep.o. | |
1354 | * config/alpha/nbsd.mt (TDEPFILES): Likewise. | |
1355 | ||
361d1df0 EC |
1356 | 2002-05-11 Eric Christopher <echristo@redhat.com> |
1357 | ||
1358 | * mips-tdep.c (mips_double_register_type): Fix thinko. | |
1359 | (mips_single_register_type): Ditto. | |
1360 | * MAINTAINERS: Add self. | |
1361 | ||
92dd7cee MK |
1362 | 2002-05-11 Mark Kettenis <kettenis@gnu.org> |
1363 | ||
1364 | * i387-nat.c (i387_supply_register, i387_fill_fsave, | |
1365 | i387_supply_fxsave, i387_fill_fxsave): Rewrite in order to do the | |
1366 | right thing on architectures with different endianness and/or | |
1367 | integer sizes. | |
1368 | ||
e27da16d JT |
1369 | 2002-05-10 Jason Thorpe <thorpej@wasabisystems.com> |
1370 | ||
1371 | From Christian Limpach <chris@Pin.LU> | |
1372 | * configure.in: Change sed expression which comments out | |
1373 | NATDEPFILES to also comment out continuation lines. | |
1374 | * configure: Regenerate. | |
1375 | ||
ddde02bd EZ |
1376 | 2002-05-10 Elena Zannoni <ezannoni@redhat.com> |
1377 | ||
1378 | * sh-tdep.c: Clean up code erroneously reintroduced by previous | |
1379 | big patch. | |
1380 | ||
1c922164 EZ |
1381 | 2002-05-10 Elena Zannoni <ezannoni@redhat.com> |
1382 | ||
1383 | * sh-tdep.c: Include correct file. | |
1384 | ||
283150cd EZ |
1385 | 2002-05-10 Elena Zannoni <ezannoni@redhat.com> |
1386 | ||
1387 | New support for sh64-elf (sh5) target. | |
1388 | ||
1389 | * configure.tgt: For sh64-elf target, default to sh-elf. | |
1390 | ||
1391 | * config/sh/tm-sh.h (enum sh-abi): Possible ABI's. | |
1392 | (struct gdbarch_tdep): Add new fields for new registers and ABI | |
1393 | info. | |
361d1df0 | 1394 | |
283150cd EZ |
1395 | * sh-tdep.c: Include elf-bfd.h, elf/sh.h, gdb/sim-sh.h. |
1396 | (NUM_PSEUDO_REGS_SH_MEDIA, NUM_PSEUDO_REGS_SH_COMPACT, | |
1397 | MSYMBOL_IS_SPECIAL, IS_ISA32_ADDR, MAKE_ISA32_ADDR, | |
1398 | UNMAKE_ISA32_ADDR, IS_PTABSL_R18, IS_STS_R0, IS_STS_PR, | |
1399 | IS_MOV_TO_R15, IS_MOV_R14, IS_STQ_R18_R14, IS_STQ_R18_R15, | |
1400 | IS_STL_R18_R15, IS_STQ_R14_R15, IS_STL_R14_R15, IS_ADDIL_SP_MEDIA, | |
1401 | IS_ADDI_SP_MEDIA, IS_ADDL_SP_FP_MEDIA, IS_ADD_SP_FP_MEDIA, | |
1402 | IS_MOV_SP_FP_MEDIA, IS_MOV_R0, IS_MOVL_R0, IS_ADD_SP_R0, | |
1403 | IS_MOV_R14_R0, IS_MEDIA_IND_ARG_MOV, IS_MEDIA_ARG_MOV, | |
1404 | IS_MEDIA_MOV_TO_R14, IS_COMPACT_IND_ARG_MOV, IS_COMPACT_ARG_MOV, | |
1405 | IS_COMPACT_MOV_TO_R14, IS_JSR_R0, IS_NOP): New macros. | |
1406 | (sh_sh64_register_name, sh64_elf_make_msymbol_special, | |
1407 | pc_is_isa32, sh_sh64_breakpoint_from_pc, look_for_args_moves, | |
1408 | sh64_skip_prologue_hard_way, sh64_use_struct_convention, | |
1409 | gdb_print_insn_sh64, translate_insn_rn, sh64_frame_chain, | |
1410 | sh64_get_saved_pr, fpp_reg_base_num, is_media_pseudo, | |
1411 | sh64_get_gdb_regnum, sh64_media_reg_base_num, | |
1412 | sh64_compact_reg_base_num, translate_rn_to_arch_reg_num, | |
1413 | sign_extend, sh64_nofp_frame_init_saved_regs, | |
1414 | sh64_init_extra_frame_info, sh64_get_saved_register, | |
1415 | sh64_extract_struct_value_address, sh64_pop_frame, | |
1416 | sh64_push_arguments, sh64_extract_return_value, | |
1417 | sh64_store_return_value, sh64_show_media_regs, | |
1418 | sh64_show_compact_regs, sh64_show_regs, sh_sh64_register_byte, | |
1419 | sh_sh64_register_raw_size, sh_sh64_register_virtual_size, | |
1420 | sh_sh64_register_virtual_type, | |
1421 | sh_sh64_register_convert_to_virtual, | |
1422 | sh_sh64_register_convert_to_raw, sh64_pseudo_register_read, | |
1423 | sh64_register_read, sh64_pseudo_register_write, | |
1424 | sh64_register_write, do_fv_c_register_info, do_dr_c_register_info, | |
1425 | do_r_c_register_info, do_fpp_register_info, do_cr_c_register_info, | |
1426 | sh64_do_pseudo_register, sh_compact_do_registers_info, | |
1427 | sh64_do_registers_info, sh_gdbarch_init): New functions. | |
1428 | ||
3117ed25 EZ |
1429 | 2002-05-10 Elena Zannoni <ezannoni@redhat.com> |
1430 | ||
1431 | * sh-tdep.c (sh_breakpoint_from_pc): Add 'const' to return type. | |
1432 | ||
2654e6d4 DJ |
1433 | 2002-05-10 Daniel Jacobowitz <drow@mvista.com> |
1434 | ||
1435 | * linespec.c (decode_line_1): Check for a double quote after | |
1436 | a filename correctly. | |
1437 | ||
9ab3e532 JB |
1438 | 2002-05-10 Jim Blandy <jimb@redhat.com> |
1439 | ||
1440 | Properly track the size of the current objfile's .debug_line section. | |
1441 | * dwarf2read.c (struct dwarf2_pinfo): New member: dwarf_line_size. | |
1442 | (DWARF_LINE_SIZE): New macro. | |
1443 | (dwarf2_build_psymtabs_hard): Record the line section's size in | |
1444 | the partial symbol table. | |
1445 | (psymtab_to_symtab_1): Restore dwarf_line_size from the partial | |
1446 | symbol table. | |
1447 | ||
126fa72d PS |
1448 | 2002-05-10 Petr Sorfa <petrs@caldera.com> |
1449 | ||
1450 | * ia64-tdep.c: Handle breakpoints on L instruction type | |
1451 | in MLX instruction bundle by moving the breakpoint to | |
1452 | the third slot (X instruction type) as L holds only data. | |
1453 | ||
1f077a3e KB |
1454 | 2002-05-10 Kevin Buettner <kevinb@redhat.com> |
1455 | ||
1456 | * dbxread.c (discarding_local_symbols_complaint): New complaint. | |
1457 | (process_one_symbol): Complain about discarding local symbols | |
1458 | due to a misplaced N_LBRAC entry. | |
1459 | ||
8120c9d5 | 1460 | 2002-05-09 Elena Zannoni <ezannoni@redhat.com> |
361d1df0 EC |
1461 | |
1462 | From Daniel Berlin <dan@cgsoftware.com> | |
8120c9d5 EZ |
1463 | * linespec.c (find_toplevel_char): '<' and '>' also increase and |
1464 | decrease the depth we are at, in the case of templates. | |
361d1df0 | 1465 | |
67b2c998 DJ |
1466 | 2002-05-09 Daniel Jacobowitz <drow@mvista.com> |
1467 | ||
1468 | * mips-tdep.c (mips_float_register_type): New function. | |
1469 | (mips_double_register_type): New function. | |
1470 | (mips_print_register): Use them. | |
1471 | (do_fp_register_row): Likewise. | |
1472 | ||
fd326606 DJ |
1473 | 2002-05-09 Daniel Jacobowitz <drow@mvista.com> |
1474 | ||
6609d9af | 1475 | * signals/signals.c (signals): Remove conditional compilation around |
fd326606 | 1476 | Mach-specific signals. Move them to after TARGET_SIGNAL_DEFAULT. |
6609d9af | 1477 | (target_signal_from_name): Loop until TARGET_SIGNAL_LAST. |
fd326606 | 1478 | |
bef35864 MS |
1479 | 2002-05-09 Michael Snyder <msnyder@redhat.com> |
1480 | ||
1481 | * remote-rdp.c (remote_rdp_can_run): Remove. | |
1482 | ||
c55a3f73 TT |
1483 | 2002-05-09 Tom Tromey <tromey@redhat.com> |
1484 | ||
1485 | * jv-valprint.c (java_val_print): Handle `char' as a special case | |
1486 | of TYPE_CODE_INT. | |
1487 | ||
b8d5e71d MS |
1488 | 2002-05-09 Michael Snyder <msnyder@redhat.com> |
1489 | ||
1490 | * arm-tdep.c (arm_scan_prologue): Accept strb r(0123),[r11,#-nn], | |
1491 | strh r(0123),[r11,#-nn], str r(0123),[r11,#-nn], as well as | |
361d1df0 | 1492 | strb r(0123),[sp,#nn], strh r(0123),[sp,#nn] and |
b8d5e71d | 1493 | str r(0123),[sp,#nn]. |
361d1df0 | 1494 | (arm_skip_prologue): Ditto. Also make disassembly |
b8d5e71d MS |
1495 | order-independent by placing it in a loop. |
1496 | ||
e2cd42dd MS |
1497 | 2002-05-06 Michael Snyder <msnyder@redhat.com> |
1498 | ||
1499 | * stabsread.c (read_type): Add recognition for new attribute: | |
1500 | "@V;" means that an array type is actually a vector. | |
1501 | This is analogous to the vector flag that's been added to dwarf2. | |
1502 | ||
3ce1502b MK |
1503 | 2002-05-09 Mark Kettenis <kettenis@gnu.org> |
1504 | ||
1505 | * i386-tdep.h (i386_abi): New enum. | |
1506 | (struct gdbarch_tdep): Replace os_ident member with abi. | |
1507 | (i386_gdbarch_register_os_abi): New prototype. | |
1508 | * i386-tdep.c (i386_abi_names): New array. | |
1509 | (process_note_abi_tag_sections): Removed. | |
1510 | (process_note_sections): New function. | |
1511 | (i386_elf_abi_from_note, i386_elf_abi): New functions. | |
1512 | (struct i386_abi_handler): New struct. | |
1513 | (i386_abi_handler_list): New variable. | |
1514 | (i386_gdbarch_register_os_abi): New function. | |
1515 | (i386_gdbarch_init): Adapt for the changes given above. | |
1516 | ||
084c156a DJ |
1517 | 2002-05-08 Daniel Jacobowitz <drow@mvista.com> |
1518 | ||
1519 | * gregset.h: Say "GNU/Linux". | |
1520 | ||
6599f021 EZ |
1521 | 2002-05-08 Elena Zannoni <ezannoni@redhat.com> |
1522 | ||
1523 | * gdbtypes.c : Add new builtin type for 64 bit vectors. | |
1524 | (build_gdbtypes): Build builtin_type_v2_float. | |
1525 | (_initialize_gdbtypes): Register new builtin type. | |
1526 | ||
40af4b0c AC |
1527 | 2002-05-08 Andrew Cagney <ac131313@redhat.com> |
1528 | ||
1529 | * gdbarch.sh (init_gdbarch_swap): Do not clear the swap section. | |
1530 | (clear_gdbarch_swap): New function. | |
1531 | (initialize_non_multiarch): Call. | |
1532 | (gdbarch_update_p): Before calling init(), swap out and clear the | |
1533 | existing architecture. | |
1534 | * gdbarch.c: Regenerate. | |
1535 | ||
4fe84f46 JT |
1536 | 2002-05-08 Jason Thorpe <thorpej@wasabisystems.com> |
1537 | ||
1538 | * config/djgpp/fnchange.lst: Add alphanbsd-nat.c and | |
1539 | alphanbsd-tdep.c. | |
1540 | ||
4015edd1 JT |
1541 | 2002-05-08 Jason Thorpe <thorpej@wasabisystems.com> |
1542 | ||
1543 | * sh-nbsd-nat.c: Rename to... | |
1544 | * shnbsd-nat.c: ...this. | |
1545 | * sh-nbsd-tdep.c: Rename to... | |
1546 | * shnbsd-tdep.c: ...this. | |
1547 | * sh-nbsd-tdep.h: Rename to... | |
1548 | * shnbsd-tdep.h: ...this. | |
1549 | * config/sh/nbsd.mh: Use shnbsd-nat.o. | |
1550 | * config/sh/nbsd.mt: Use shnbsd-tdep.o. | |
1551 | ||
0e2bd219 RE |
1552 | 2002-05-08 Richard Earnshaw <rearnsha@arm.com> |
1553 | ||
1554 | * remote-rdi.c (_initializie_remote_rdi): Use ANSI-style string | |
1555 | concatenation for command help messages. | |
1556 | ||
13a38d45 JT |
1557 | 2002-05-08 Jason Thorpe <thorpej@wasabisystems.com> |
1558 | ||
1559 | * NEWS: Note new sh*-*-netbsdelf* configuration. | |
1560 | * configure.host: Set gdb_host_cpu to sh for all sh*. | |
1561 | (sh*-*-netbsdelf*): New host. | |
1562 | * configure.tgt: Set gdb_target_cpu to sh for all sh*. | |
1563 | (sh*-*-netbsdelf*): New target. | |
1564 | * sh-nbsd-nat.c: New file. | |
1565 | * sh-nbsd-tdep.c: New file. | |
1566 | * sh-nbsd-tdep.h: New file. | |
1567 | * config/sh/nbsd.mh: New file. | |
1568 | * config/sh/nbsd.mt: New file. | |
1569 | * config/sh/nm-nbsd.h: New file. | |
1570 | * config/sh/tm-nbsd.h: New file. | |
1571 | ||
d658f924 JT |
1572 | 2002-05-08 Jason Thorpe <thorpej@wasabisystems.com> |
1573 | ||
1574 | * sh-tdep.c (sh_osabi_names): Declare. | |
1575 | (process_note_abi_tag_sections): New function. | |
1576 | (get_elfosabi): Ditto. | |
1577 | (sh_gdbarch_register_os_abi): Ditto. | |
1578 | (sh_dump_tdep): Ditto. | |
1579 | _initialize_sh_tdep): Use gdbarch_register to register | |
1580 | sh_gdbarch_init and sh_dump_tdep. | |
1581 | * config/sh/tm-sh.h (sh_osabi): Declare. | |
1582 | (gdbarch_tdep): Add sh_osabi and osabi_name members. | |
1583 | ||
848cfffb AC |
1584 | 2002-05-07 Andrew Cagney <ac131313@redhat.com> |
1585 | ||
1586 | * arm-tdep.c (arm_skip_prologue): Handle generic dummy frames. | |
1587 | (thumb_scan_prologue): Ditto. | |
1588 | (arm_find_callers_reg): Ditto. | |
1589 | (arm_frame_chain): Ditto. | |
1590 | (arm_init_extra_frame_info): Ditto. | |
1591 | (arm_frame_saved_pc): Ditto. | |
1592 | (arm_pop_frame): Ditto. | |
1593 | (arm_push_return_address): New function. | |
1594 | (arm_gdbarch_init): Initialize use_generic_dummy_frames, | |
1595 | call_dummy_location, call_dummy_breakpoint_offset_p, | |
1596 | call_dummy_breakpoint_offset, call_dummy_p, | |
1597 | call_dummy_stack_adjust_p, call_dummy_words, | |
1598 | sizeof_call_dummy_words, call_dummy_start_offset, | |
1599 | call_dummy_length, fix_call_dummy, pc_in_call_dummy, | |
1600 | call_dummy_address, push_return_address and push_dummy_frame for | |
1601 | generic dummy frames. | |
1602 | ||
e7d717c0 JT |
1603 | 2002-05-07 Jason Thorpe <thorpej@wasabisystems.com> |
1604 | ||
1605 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Fix error in | |
1606 | size computation for alloca. | |
1607 | (sh_fp_frame_init_saved_regs): Likewise. | |
1608 | ||
7bbcf283 RE |
1609 | 2002-05-07 Richard Earnshaw <rearnsha@arm.com> |
1610 | ||
1611 | * arm-tdep.h (ARM_MAX_REGISTER_RAW_SIZE): Define. | |
1612 | (ARM_MAX_REGISTER_VIRTUAL_SIZE): Define. | |
361d1df0 | 1613 | * arm-tdep.c (arm_store_return_value): Use them. |
7bbcf283 RE |
1614 | Use FP_REGISTER_RAW_SIZE when setting the FPA return value. |
1615 | * remote-rdp.c (remote_rdp_fetch_register): Use | |
1616 | ARM_MAX_REGISTER_RAW_SIZE. | |
1617 | (remote_rdp_store_register): Likewise. | |
1618 | ||
4657573b ML |
1619 | 2002-05-07 Michal Ludvig <mludvig@suse.cz> |
1620 | ||
361d1df0 | 1621 | * dwarf2cfi.c: Code cleanup, removed unused variables, |
4657573b ML |
1622 | added default labels to switch {} statements. |
1623 | * x86-64-tdep.c: Ditto. | |
1624 | * x86-64-linux-nat.c: Ditto. | |
1625 | ||
010f3b2f JT |
1626 | 2002-05-07 Jason Thorpe <thorpej@wasabisystems.com> |
1627 | ||
1628 | * solib.h: Protect against multiple inclusion. | |
1629 | ||
debd256d JB |
1630 | 2002-05-06 Jim Blandy <jimb@redhat.com> |
1631 | ||
9ab3e532 JB |
1632 | Add first preprocessor macro-expansion files. |
1633 | * macroexp.c, macroexp.h, macrotab.c, macrotab.h: New files. | |
1634 | * Makefile.in (SFILES): Add macrotab.c, macroexp.c. | |
1635 | (splay_tree_h, macroexp_h, macrotab_h): New variable. | |
1636 | (HFILES_NO_SRCDIR): Add macrotab.h, macroexp.h. | |
1637 | (COMMON_OBS): Add macrotab.o, macroexp.o. | |
1638 | (macroexp.o, macrotab.o): New rules. | |
1639 | ||
debd256d JB |
1640 | Separate the job of reading the line number info statement program |
1641 | header (...expialidocious) out into its own function. | |
1642 | * dwarf2read.c (struct line_head, struct filenames, struct | |
1643 | directories): Replace with... | |
1644 | (struct line_header): New structure, containing the full | |
1645 | contents of the statement program header, including the | |
1646 | include directory and file name tables. | |
1647 | (read_file_scope): If we have line number info, instead of just | |
1648 | calling dwarf_decode_lines to do all the work, call | |
1649 | dwarf_decode_line_header first to get a `struct line_header' | |
1650 | containing the data in the statement program header, and then | |
1651 | pass that to dwarf_decode_lines, which will pick up where that | |
1652 | left off. Be sure to clean up the `struct line_header' object. | |
1653 | (dwarf_decode_line_header, free_line_header, add_include_dir, | |
1654 | add_file_name): New functions. | |
1655 | (dwarf_decode_lines): Move all the code to read the statement | |
1656 | program header into dwarf_decode_line_header. Take the line | |
1657 | header it built as the first argument, instead of the offset to | |
1658 | the compilation unit's line number info. Use the new `struct | |
1659 | line_header' type instead of the old structures. No need to do | |
1660 | cleanups here now, since we don't allocate anything. | |
1661 | (dwarf2_statement_list_fits_in_line_number_section, | |
1662 | dwarf2_line_header_too_long): New complaints. | |
1663 | ||
ac3aafc7 EZ |
1664 | 2002-05-06 Elena Zannoni <ezannoni@redhat.com> |
1665 | ||
1666 | * gdbtypes.c (init_vector_type): New function. | |
1667 | (build_builtin_type_vec128): Simplify the representation of SIMD | |
1668 | registers. | |
1669 | (build_gdbtypes): Initialize new builtin vector types. | |
1670 | (_initialize_gdbtypes): Register new vector types with gdbarch. | |
1671 | (builtin_type_v4_float, builtin_type_v4_int32, | |
1672 | builtin_type_v8_int16, builtin_type_v16_int8, | |
1673 | builtin_type_v2_int32, builtin_type_v4_int16, | |
1674 | builtin_type_v8_int8): New (renamed) SIMD types. | |
1675 | ||
13e49980 MK |
1676 | 2002-05-06 Mark Kettenis <kettenis@gnu.org> |
1677 | ||
1678 | * i387-nat.c (i387_fill_fsave): Use regcache_collect. | |
1679 | (i387_fill_fxsave): Likewise. | |
1680 | ||
997b20b8 AO |
1681 | 2002-05-05 Alexandre Oliva <aoliva@redhat.com> |
1682 | ||
1683 | * alpha-tdep.c (alpha_extract_return_value): Don't use | |
1684 | non-constant array size in prototype. | |
1685 | ||
535c96ce AC |
1686 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> |
1687 | ||
1688 | From Brian Taylor <briant at model dot com>: | |
1689 | * ui-out.c (ui_out_field_core_addr): Use the function | |
1690 | longest_local_hex_string_custom'to format addresses > 32 bits | |
1691 | wide. | |
1692 | ||
1693 | * ui-out.c (ui_out_field_core_addr): Update comment. | |
1694 | ||
bedfa57b AC |
1695 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> |
1696 | ||
1697 | * stack.c (select_and_print_frame): Make static. Delete the | |
1698 | parameter `level'. | |
1699 | (func_command): Update call. | |
1700 | (select_frame_command): Delete code computing the frame level. | |
1701 | * frame.h (select_and_print_frame): Delete declaration. | |
1702 | ||
f621c63e AC |
1703 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> |
1704 | ||
1705 | * sparc-tdep.c (sparc_get_saved_register): Comment why | |
1706 | get_prev_frame call is safe. | |
1707 | ||
0f7d239c AC |
1708 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> |
1709 | ||
1710 | * frame.h (select_frame): Delete level parameter. | |
1711 | * stack.c (select_frame): Update. Use frame_relative_level to | |
1712 | obtain the frame's level. | |
1713 | (select_and_print_frame): Update call. | |
1714 | (select_frame_command): Ditto. | |
1715 | (up_silently_base): Ditto. | |
1716 | (down_silently_base): Ditto. | |
1717 | * ocd.c (ocd_start_remote): Ditto. | |
1718 | * remote-rdp.c (remote_rdp_open): Ditto. | |
1719 | * remote-mips.c (mips_initialize): Ditto. | |
1720 | (common_open): Ditto. | |
1721 | * remote-e7000.c (e7000_start_remote): Ditto. | |
1722 | * m3-nat.c (select_thread): Ditto. | |
1723 | * hppa-tdep.c (child_get_current_exception_event): Ditto. | |
1724 | (child_get_current_exception_event): Ditto. | |
1725 | * varobj.c (varobj_create): Ditto. | |
1726 | (varobj_update): Ditto. | |
1727 | (c_value_of_root): Ditto. | |
1728 | * tracepoint.c (finish_tfind_command): Ditto. | |
1729 | * corelow.c (core_open): Ditto. | |
1730 | * arch-utils.c (generic_prepare_to_proceed): Ditto. | |
1731 | * thread.c (info_threads_command): Ditto. | |
1732 | (switch_to_thread): Ditto. | |
1733 | * infrun.c (normal_stop): Ditto. | |
1734 | (restore_selected_frame): Ditto. | |
1735 | (restore_inferior_status): Ditto. | |
1736 | * breakpoint.c (insert_breakpoints): Ditto. | |
1737 | (watchpoint_check): Ditto. | |
1738 | (bpstat_stop_status): Ditto. | |
1739 | (do_enable_breakpoint): Ditto. | |
1740 | * blockframe.c (flush_cached_frames): Ditto. | |
1741 | (reinit_frame_cache): Ditto. | |
1742 | ||
71d6c7b1 AC |
1743 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> |
1744 | ||
1745 | * MAINTAINERS (Host/Native): Add Jason Thorpe as NetBSD | |
1746 | maintainer. | |
1747 | ||
cda6c68a JB |
1748 | 2002-05-04 Jim Blandy <jimb@redhat.com> |
1749 | ||
1750 | * gdbtypes.c (replace_type): Doc fix. | |
1751 | ||
5c1c87f0 AC |
1752 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> |
1753 | ||
1754 | * valprint.c (strcat_longest): Delete commented out function. | |
1755 | Update copyright. | |
1756 | ||
cd9bfe15 AC |
1757 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> |
1758 | ||
1759 | * MAINTAINERS: Mark a29k as deleted. | |
1760 | * NEWS: Mention that a29k was removed. Add OBSOLETE section. | |
1761 | Move new configurations to the top. | |
1762 | * configure.tgt: Remove a29k. | |
1763 | * config/a29k/tm-vx29k.h: Delete. | |
1764 | * config/a29k/vx29k.mt: Delete. | |
1765 | * config/a29k/tm-a29k.h: Delete. | |
1766 | * config/a29k/a29k-udi.mt: Delete. | |
1767 | * config/a29k/a29k.mt: Delete. | |
1768 | * a29k-tdep.c: Delete. | |
1769 | * remote-udi.c: Delete. | |
1770 | * remote-mm.c: Delete. | |
1771 | * remote-eb.c: Delete. | |
1772 | * remote-adapt.c: Delete. | |
1773 | * Makefile.in: Remove obsolete code. | |
1774 | * gdbserver/Makefile.in: Ditto. | |
1775 | * config/s390/s390x.mt: Ditto. | |
1776 | * config/s390/s390.mt: Ditto. | |
1777 | * config/sparc/sparclynx.mh: Ditto. | |
1778 | * config/sparc/linux.mh: Ditto. | |
1779 | * config/pa/hppaosf.mh: Ditto. | |
1780 | * config/pa/hppabsd.mh: Ditto. | |
1781 | * config/ns32k/nbsd.mt: Ditto. | |
1782 | * config/mips/vr5000.mt: Ditto. | |
1783 | * config/m68k/sun3os4.mh: Ditto. | |
1784 | * config/m68k/nbsd.mt: Ditto. | |
1785 | * config/m68k/m68klynx.mh: Ditto. | |
1786 | * config/m32r/m32r.mt: Ditto. | |
1787 | * config/i386/x86-64linux.mt: Ditto. | |
1788 | * config/i386/nbsdelf.mt: Ditto. | |
1789 | * config/i386/nbsd.mt: Ditto. | |
1790 | * config/i386/i386lynx.mh: Ditto. | |
1791 | ||
bf0c5130 AC |
1792 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> |
1793 | ||
1794 | * target.c (debug_print_register): New function. Handle oversize | |
1795 | registers. | |
1796 | (debug_to_fetch_registers): Call. | |
1797 | (debug_to_store_registers): Call. | |
1798 | ||
2ae1c2d2 JB |
1799 | 2002-05-03 Jim Blandy <jimb@redhat.com> |
1800 | ||
13a393b0 JB |
1801 | * stabsread.c (cleanup_undefined_types): Use replace_type, not memcpy. |
1802 | (read_type): Doc fix. | |
1803 | * gdbtypes.c (replace_type): Doc fix. | |
1804 | ||
2ae1c2d2 JB |
1805 | * stabsread.c (multiply_defined_struct): New complaint. |
1806 | (read_struct_type): If the type we were passed isn't empty, or | |
1807 | incomplete, don't read the new struct type into it; complain, | |
1808 | and return the original type unchanged. Take a new `type_code' | |
1809 | argument, which is the type code for the new type. | |
1810 | (read_type): Rather than storing the type's type code here, pass | |
1811 | it as an argument to read_struct_type, and let that take care of | |
1812 | storing it. That way, we don't overwrite the original type code, | |
1813 | so read_struct_type can use it to decide whether we're overwriting | |
1814 | something we shouldn't. | |
1815 | (complain_about_struct_wipeout): New function. | |
1816 | ||
8de9bdc4 AC |
1817 | 2002-05-03 Andrew Cagney <ac131313@redhat.com> |
1818 | ||
1819 | * gdbarch.sh: Assert that gdbarch is non-NULL. | |
1820 | * gdbarch.c: Regenerate. | |
1821 | ||
f773fdbb JM |
1822 | 2002-05-03 Jason Merrill <jason@redhat.com> |
1823 | ||
1824 | * gnu-v3-abi.c (gnuv3_rtti_type): If we get confused, just warn | |
1825 | and return NULL. | |
1826 | ||
0e04a514 ML |
1827 | 2002-05-03 Michal Ludvig <mludvig@suse.cz> |
1828 | ||
1829 | * x86-64-tdep.c (x86_64_dwarf2gdb_regno_map), | |
1830 | (x86_64_dwarf2gdb_regno_map_length), | |
1831 | (x86_64_dwarf2_reg_to_regnum): Added. | |
1832 | (x86_64_gdbarch_init): Added registration of x86_64_dwarf2_reg_to_regnum. | |
1833 | (x86_64_gdbarch_init): Renamed from i386_gdbarch_init. | |
1834 | (_initialize_x86_64_tdep): Synced with the change above. | |
1835 | (x86_64_skip_prologue): Reformulated message. | |
1836 | ||
065432a8 PM |
1837 | 2002-05-03 Pierre Muller <muller@ics.u-strasbg.fr> |
1838 | ||
1839 | * f-exp.y: Also use new prev_lexptr variable | |
1840 | to improve error reporting. Based on Michael Snyder | |
1841 | 2002-04-24 dated patch to c-exp.y. | |
1842 | * jv-exp.y: Likewise. | |
1843 | * m2-exp.y: Likewise. | |
1844 | ||
a3162708 EZ |
1845 | 2002-05-02 Elena Zannoni <ezannoni@redhat.com> |
1846 | ||
1847 | * valops.c (value_arg_coerce): Don't coerce arrays to pointers if | |
1848 | we are dealing with vectors. | |
1849 | ||
03620c38 PM |
1850 | 2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr> |
1851 | ||
1852 | * config/m68k/tm-nbsd.h: Obvious fix, | |
1853 | correct machine name. | |
1854 | ||
6604db2e PM |
1855 | 2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr> |
1856 | ||
1857 | * p-typeprint.c (pascal_type_print_base): Add support | |
1858 | for TYPE_CODE_STRING and TYPE_CODE_BITSTRING. | |
1859 | ||
0906b739 PM |
1860 | 2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr> |
1861 | ||
1862 | * p-lang.c (pascal_create_fundamental_type): Use TYPE_CODE_CHAR | |
1863 | for fondamental pascal 'char' type. | |
1864 | ||
e2625b33 PM |
1865 | 2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr> |
1866 | ||
1867 | * p-lang.h (is_pascal_string_type): Declaration changed, | |
1868 | new sixth argument of type char ** added. | |
361d1df0 | 1869 | * p-lang.c (is_pascal_string_type): Implementation |
e2625b33 PM |
1870 | changed. Args length_pos, length_size, string_pos, char_size |
1871 | can now be NULL. New argument arrayname set to the field | |
1872 | name of the char array. Return value set to char array | |
1873 | field index plus one. | |
361d1df0 | 1874 | * p-valprint.c (pascal_val_print): Adapt to new declaration of |
e2625b33 PM |
1875 | is_pascal_string_type function. |
1876 | ||
cf17c188 AC |
1877 | 2002-05-02 Andrew Cagney <cagney@redhat.com> |
1878 | ||
1879 | * gdbarch.sh (gdbarch_update_p): Revert 2002-05-02 Andrew Cagney | |
1880 | <cagney@redhat.com> change. | |
1881 | * gdbarch.c: Regenerate. | |
1882 | ||
52bca491 AC |
1883 | 2002-05-02 Andrew Cagney <cagney@redhat.com> |
1884 | ||
1885 | * gdbarch.sh (gdbarch_update_p): Swap out the old architecture | |
1886 | before probing for a new one. Detect errorenous gdbarch_init | |
1887 | functions. | |
1888 | * gdbarch.c: Regenerate. | |
1889 | ||
d5e72505 AC |
1890 | 2002-05-01 Andrew Cagney <cagney@redhat.com> |
1891 | ||
1892 | * config/mn10200/tm-mn10200.h: Include "symfile.h" and "symtab.h". | |
1893 | * config/mcore/tm-mcore.h: Ditto. Update copyright. | |
1894 | * config/v850/tm-v850.h: Ditto. Update copyright. | |
1895 | ||
af566d9f AC |
1896 | 2002-04-30 Andrew Cagney <ac131313@redhat.com> |
1897 | ||
1898 | * cris-tdep.c (cris_gdbarch_init): Use arches instead of | |
1899 | current_gdbarch. | |
1900 | ||
880d85fa MS |
1901 | 2002-04-30 Michael Snyder <msnyder@redhat.com> |
1902 | ||
94c30b78 MS |
1903 | * arm-tdep.c: Whitespace clean-ups. |
1904 | (arm_skip_prologue): Fix thinko; two lines | |
880d85fa MS |
1905 | should have been removed as part of 4/24 change. |
1906 | ||
6f5987a6 KB |
1907 | 2002-04-30 Kevin Buettner <kevinb@redhat.com> |
1908 | ||
1909 | * rs6000-tdep.c: Added comment describing how fpscr register | |
1910 | numbers were chosen. | |
1911 | ||
1a113c93 MS |
1912 | 2002-04-30 Michael Snyder <msnyder@redhat.com> |
1913 | ||
1914 | * gnu-nat.c (gnu_find_memory_regions): Fix merge botch. | |
1915 | ||
9a6f53fe EZ |
1916 | 2002-04-29 Elena Zannoni <ezannoni@redhat.com> |
1917 | ||
1918 | * hpread.c (DNTT_TYPE_VECTOR): Rename from TYPE_VECTOR. | |
1919 | (DNTT_TYPE_VECTOR_LENGTH): Rename from TYPE_VECTOR_LENGTH. | |
1920 | (hpread_symfile_init, hpread_lookup_type): Substitute throughout. | |
1921 | ||
11ed25ac KB |
1922 | 2002-04-29 Kevin Buettner <kevinb@redhat.com> |
1923 | ||
1924 | From Louis Hamilton <hamilton@redhat.com>: | |
1925 | * rs6000-tdep.c (coff/xcoff.h, libxcoff.h): Include. | |
1926 | * xcoffread.c (coff/xcoff.h, libxcoff.h): Likewise. | |
1927 | * rs6000-tdep.c (rs6000_gdbarch_init): Use bfd_xcoff_is_xcoff64(), | |
1928 | not bfd-private xcoff data, to determine wordsize. | |
1929 | * xcoffread.c (read_xcoff_xymtab, read_symbol_lineno): Likewise. | |
1930 | ||
ae232405 AC |
1931 | 2002-04-29 Andrew Cagney <ac131313@redhat.com> |
1932 | ||
1933 | GDB 5.2 released from 5.2 branch. | |
1934 | ||
91fd20f7 ML |
1935 | 2002-04-29 Michal Ludvig <mludvig@suse.cz> |
1936 | ||
1937 | * x86-64-linux-nat.c (fill_gregset): Explicit cast to avoid warning. | |
1938 | * x86-64-tdep.c (i386_gdbarch_init): Ditto. | |
1939 | (x86_64_register_info_table): Added comments with register numbers. | |
361d1df0 | 1940 | |
2dc5091b EZ |
1941 | 2002-04-29 Elena Zannoni <ezannoni@redhat.com> |
1942 | ||
1943 | * rs6000-tdep.c (rs6000_extract_return_value, | |
1944 | rs6000_store_return_value): Handle returning vectors. | |
1945 | (rs6000_gdbarch_init): Use | |
1946 | ppc_sysv_abi_broken_use_struct_convention for native sysv cases. | |
1947 | * ppc-linux-tdep.c (ppc_sysv_abi_broken_use_struct_convention): | |
1948 | New function. | |
1949 | (ppc_sysv_abi_use_struct_convention): Deal with functions returning | |
1950 | vectors. | |
1951 | (ppc_sysv_abi_push_arguments): Handle vector parameters. | |
1952 | * ppc-tdep.h (ppc_sysv_abi_broken_use_struct_convention): Export. | |
361d1df0 | 1953 | |
2b9848d8 PM |
1954 | 2002-04-24 Pierre Muller <ics.u-strasbg.fr> |
1955 | ||
1956 | * hpread.c (hpread_psymtab_to_symtab_1, | |
1957 | hpread_psymtab_to_symtab): Replace fprintf (stderr,...) | |
1958 | with fprintf_unfiltered (gdb_stderr,...). | |
1959 | ||
f8d17dc5 PM |
1960 | 2002-04-24 Pierre Muller <ics.u-strasbg.fr> |
1961 | ||
1962 | * remote-array.c (printf_monitor, write_monitor, | |
361d1df0 | 1963 | array_insert_breakpoint, array_remove_breakpoint ): |
f8d17dc5 PM |
1964 | Replace fprintf (stderr,... |
1965 | with fprintf_unfiltered (gdb_stderr,.... | |
1966 | * remote-es.c: Likewise. | |
1967 | * remote-os9k.c: Likewise. | |
1968 | * remote-st.c: Likewise. | |
1969 | ||
2f2f1ad1 AS |
1970 | 2002-04-28 Andreas Schwab <schwab@suse.de> |
1971 | ||
1972 | * config/s390/s390.mh (NATDEPFILES): Remove solib.o, add | |
1973 | linux-proc.o and gcore.o. | |
1974 | ||
b6779aa2 AC |
1975 | 2002-04-26 Michal Ludvig <mludvig@suse.cz> |
1976 | ||
1977 | * x86-64-tdep.c (x86_64_skip_prologue): Print note when debugging | |
1978 | code without frame pointers. | |
1979 | ||
7e57f5f4 AC |
1980 | 2002-04-26 Andrew Cagney <ac131313@redhat.com> |
1981 | ||
1982 | * sparc-tdep.c (sparc_gdbarch_init): Add comment explaining why | |
1983 | ON_STACK is needed. | |
1984 | ||
2ceb85d0 BE |
1985 | 2002-04-26 Ben Elliston <bje@redhat.com> |
1986 | ||
1987 | * target.c (do_xfer_memory): Correct reference to the new option | |
1988 | "trust-readonly-sections". | |
1989 | ||
f5f8a009 EZ |
1990 | 2002-04-26 Elena Zannoni <ezannoni@redhat.com> |
1991 | ||
1992 | * gdbtypes.h (TYPE_FLAG_VECTOR, TYPE_VECTOR): Define. | |
1993 | * gdbtypes.c (recursive_dump_type): Output the vector flag. | |
1994 | * dwarf2read.c (dwarf_attr_name): Handle new attribute for | |
1995 | vectors. | |
1996 | (read_array_type): Record the fact that this array type is really a | |
1997 | vector (i.e. are passed in by value). | |
1998 | ||
5868c862 JT |
1999 | 2002-04-26 Jason Thorpe <thorpej@wasabisystems.com> |
2000 | ||
2001 | * alpha-tdep.h (gdbarch_tdep): Add sigcontext_addr member. | |
2002 | * alpha-tdep.c (alpha_sigcontext_addr): New function. | |
2003 | (alpha_find_saved_regs): Use alpha_sigcontext_addr. | |
2004 | (alpha_gdbarch_init): Initialize tdep->sigcontext_addr. | |
2005 | * alpha-linux-tdep.c: Include frame.h. | |
2006 | (alpha_linux_sigcontext_addr): New function. | |
2007 | (alpha_linux_init_abi): Set tdep->sigcontext_addr to | |
2008 | alpha_linux_sigcontext_addr. | |
2009 | * alpha-osf1-tdep.c: Include gdbcore.h. | |
2010 | (alpha_osf1_sigcontext_addr): New function. | |
2011 | (alpha_osf1_init_abi): Set tdep->sigcontext_addr to | |
2012 | alpha_osf1_sigcontext_addr. | |
2013 | * config/alpha/tm-alpha.h (SIGCONTEXT_ADDR): Remove. | |
2014 | * config/alpha/tm-alphalinux.h (SIGCONTEXT_ADDR): Remove. | |
2015 | ||
bfb01f37 AC |
2016 | 2002-04-26 Andrew Cagney <ac131313@redhat.com> |
2017 | ||
361d1df0 | 2018 | * stack.c (selected_frame_level): |
bfb01f37 AC |
2019 | (select_frame): Do not set selected_frame_level. |
2020 | * frame.h (selected_frame_level): Delete declaration. | |
2021 | ||
15813d3f AC |
2022 | 2002-04-26 Andrew Cagney <ac131313@redhat.com> |
2023 | ||
2024 | * rs6000-tdep.c (rs6000_gdbarch_init): Only set | |
2025 | convert_from_func_ptr-addr when AIX / PowerOpen. | |
2026 | ||
6096c27a AC |
2027 | 2002-04-25 Andrew Cagney <ac131313@redhat.com> |
2028 | ||
2029 | * valops.c (hand_function_call): Call | |
2030 | generic_save_call_dummy_addr. | |
2031 | * frame.h (generic_save_call_dummy_addr): Declare. | |
2032 | * blockframe.c (struct dummy_frame): Add fields call_lo and | |
2033 | call_hi. | |
2034 | (generic_find_dummy_frame): Check for PC in range call_lo to | |
2035 | call_hi instead of entry_point_address. | |
2036 | (generic_pc_in_call_dummy): Search the dummy frames for a PC in | |
2037 | the call_lo to call_hi range. Allow for DECR_PC_AFTER_BREAK. | |
2038 | (generic_save_call_dummy_addr): New function. | |
2039 | ||
f510d44e DM |
2040 | 2002-04-24 David S. Miller <davem@redhat.com> |
2041 | ||
2042 | * sparc-tdep.c (sparc_gdbarch_skip_prologue): Kill, duplicates | |
2043 | sparc_skip_prologue. | |
2044 | (sparc_skip_prologue): Kill frameless_p arg, and use line number | |
2045 | information to find prologue when possible. | |
2046 | (sparc_prologue_frameless_p): Call examine_prologue directly. | |
2047 | (sparc_gdbarch_init): Update set_gdbarch_skip_prologue call. | |
2048 | * config/sparc/tm-sparc.h (sparc_skip_prologue): Update for killed | |
2049 | second argument. | |
2050 | (SKIP_PROLOGUE): Likewise. | |
2051 | ||
15d72a92 JT |
2052 | 2002-04-25 Jason Thorpe <thorpej@wasabisystems.com> |
2053 | ||
2054 | * alpha-tdep.c (alpha_skip_prologue_internal): Remove | |
2055 | GDB_TARGET_HAS_SHARED_LIBS #ifdef and update comment to | |
2056 | indicate that the condition it was testing is always true. | |
2057 | * config/alpha/nm-linux.h (GDB_TARGET_HAS_SHARED_LIBS): Remove. | |
2058 | * config/alpha/nm-nbsd.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto. | |
2059 | * config/alpha/nm-osf.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto. | |
2060 | ||
accc6d1f JT |
2061 | 2002-04-25 Jason Thorpe <thorpej@wasabisystems.com> |
2062 | ||
2063 | * alpha-tdep.h (gdbarch_tdep): Add jb_pc and jb_elt_size members. | |
2064 | * alpha-linux-tdep.c (alpha_linux_init_abi): Initialize | |
2065 | tdep->jb_pc and tdep->jb_elt_size. | |
2066 | * alpha-osf1-tdep.c (alpha_osf1_init_abi): Likewise. | |
2067 | * alphafbsd-tdep.c (alphafbsd_init_abi): Likewise. | |
2068 | * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise. | |
2069 | * alpha-nat.c (get_longjmp_target): Remove. | |
2070 | (JB_ELEMENT_SIZE): Ditto. | |
2071 | (JB_PC): Ditto. | |
2072 | * alpha-tdep.c (alpha_get_longjmp_target): New function. | |
2073 | (alpha_gdbarch_init): Default tdep->jb_pc to -1. If the | |
2074 | OS ABI sets jb_pc to a valid value, set gdbarch_get_longjmp_target | |
2075 | to alpha_get_longjmp_target. | |
2076 | (alpha_dump_tdep): Report tdep->jb_pc and tdep->jb_elt_size. | |
2077 | * config/alpha/nm-linux.h (GET_LONGJMP_TARGET): Remove. | |
2078 | * config/alpha/nm-osf.h (GET_LONGJMP_TARGET): Remove. | |
2079 | ||
1bfdc549 AC |
2080 | 2002-04-25 Andrew Cagney <ac131313@redhat.com> |
2081 | ||
2082 | * README: Update to GDB 5.2. | |
2083 | ||
1bd316f0 AC |
2084 | 2002-04-25 Andrew Cagney <ac131313@redhat.com> |
2085 | ||
2086 | * gdbarch.sh (LC_ALL): Set to `c'. | |
2087 | ||
2e5ff58c TR |
2088 | 2002-04-25 Theodore A. Roth <troth@verinet.com> |
2089 | ||
2090 | * avr-tdep.c: Ran through gdb_indent.sh. | |
2091 | ||
e33ce519 TR |
2092 | 2002-04-25 Theodore A. Roth <troth@verinet.com> |
2093 | ||
2094 | * MAINTAINERS: Add myself as AVR maintainer. | |
2095 | * NEWS: Note new target avr. | |
2096 | ||
8818c391 TR |
2097 | 2002-04-25 Theodore A. Roth <troth@verinet.com> |
2098 | ||
2099 | * Makefile.in: Add support for AVR target. | |
2100 | * configure.tgt: Add support for AVR target. | |
2101 | * avr-tdep.c: New file | |
2102 | * config/avr/avr.mt: New file. | |
2103 | ||
79509c2d TR |
2104 | 2002-04-25 Theodore A. Roth <troth@verinet.com> |
2105 | ||
2106 | * MAINTAINERS: Add myself to write-after-approval. | |
2107 | ||
dac8068e PM |
2108 | 2002-04-24 Pierre Muller <ics.u-strasbg.fr> |
2109 | ||
2110 | * f-lang.c (get_bf_for_fcn): Replace fprintf (stderr,... | |
2111 | with fprintf_unfiltered (gdb_stderr,.... | |
2112 | ||
25bf3106 PM |
2113 | 2002-04-25 Pierre Muller <muller@ics.u-strasbg.fr> |
2114 | ||
2115 | Fix PR gdb/508. | |
2116 | * symfile.c (add_filename_language): Fix wrong xrealloc size argument. | |
2117 | ||
24467a86 PM |
2118 | 2002-04-25 Pierre Muller <muller@ics.u-strasbg.fr> |
2119 | ||
2120 | * p-exp.y: Also use new prev_lexptr variable | |
2121 | to improve error reporting. Based on Michael Snyder | |
2122 | 2002-04-24 dated patch to c-exp.y. | |
2123 | ||
95b80706 JT |
2124 | 2002-04-25 Jason Thorpe <thorpej@wasabisystems.com> |
2125 | ||
2126 | * alpha-tdep.c (alpha_breakpoint_from_pc): New function. | |
2127 | (alpha_gdbarch_init): Set gdbarch_breakpoint_from_pc to | |
2128 | alpha_breakpoint_from_pc. Set gdbarch_function_start_offset | |
2129 | to 0. | |
2130 | * config/alpha/tm-alpha.h: Remove forward decls of struct type | |
2131 | and struct value. | |
2132 | (FUNCTION_START_OFFSET): Remove. | |
2133 | (BREAKPOINT): Ditto. | |
2134 | ||
e90cc612 JT |
2135 | 2002-04-25 Jason Thorpe <thorpej@wasabisystems.com> |
2136 | ||
2137 | * MAINTAINERS: Reflect that multi-arch is enabled for VAX. | |
2138 | * NEWS: Ditto. | |
2139 | ||
6c72f9f9 JT |
2140 | 2002-04-24 Jason Thorpe <thorpej@wasabisystems.com> |
2141 | ||
2142 | * alpha-linux-tdep.c (alpha_linux_pc_in_sigtramp): New function. | |
2143 | (alpha_linux_init_abi): Set gdbarch_pc_in_sigtramp to | |
2144 | alpha_linux_pc_in_sigtramp. | |
2145 | * alpha-osf1-tdep.c (alpha_osf1_pc_in_sigtramp): New function. | |
2146 | (alpha_osf1_init_abi): Set gdbarch_pc_in_sigtramp to | |
2147 | alpha_osf1_pc_in_sigtramp. | |
2148 | * alpha-tdep.c (alpha_osf_in_sigtramp): Remove. | |
2149 | * alphafbsd-tdep.c (alphafbsd_pc_in_sigtramp): New function. | |
2150 | (alphafbsd_init_abi): Set gdbarch_pc_in_sigtramp to | |
2151 | alphafbsd_pc_in_sigtramp. | |
2152 | * alphanbsd-tdep.c (alphanbsd_pc_in_sigtramp): New function. | |
2153 | (alphanbsd_init_abi): Set gdbarch_pc_in_sigtramp to | |
2154 | alphanbsd_pc_in_sigtramp. | |
2155 | * config/alpha/tm-alpha.h (IN_SIGTRAMP): Remove. | |
2156 | * config/alpha/tm-alphalinux.h (IN_SIGTRAMP): Remove. | |
2157 | ||
5e4f3379 JT |
2158 | 2002-04-24 Jason Thorpe <thorpej@wasabisystems.com> |
2159 | ||
2160 | * config/alpha/nbsd.mh (NATDEPFILES): Remove solib-legacy.o. | |
2161 | ||
da8ca43d JT |
2162 | 2002-04-24 Jason Thorpe <thorpej@wasabisystems.com> |
2163 | ||
2164 | * Makefile.in (ALLDEPFILES): Add alphanbsd-nat.c and | |
2165 | alphanbsd-tdep.c. | |
2166 | (alphanbsd-nat.o): New dependency list. | |
2167 | (alphanbsd-tdep.o): Ditto. | |
2168 | * NEWS: Note new native NetBSD/alpha configuration. | |
2169 | * alphanbsd-nat.c: New file. | |
2170 | * alphanbsd-tdep.c: Ditto. | |
2171 | * configure.host (alpha*-*-netbsd*): New host. | |
2172 | * configure.tgt (alpha*-*-netbsd*): New target. | |
2173 | * config/alpha/nbsd.mh: New file. | |
2174 | * config/alpha/nbsd.mt: Ditto. | |
2175 | * config/alpha/nm-nbsd.h: Ditto. | |
2176 | * config/alpha/tm-nbsd.h: Ditto. | |
2177 | ||
36a6271d JT |
2178 | 2002-04-24 Jason Thorpe <thorpej@wasabisystems.com> |
2179 | ||
2180 | * Makefile.in (ALLDEPFILES): Add alpha-osf1-tdep.c. | |
2181 | (alpha-osf1-tdep.o): New dependency list. | |
2182 | * alpha-tdep.h (gdbarch_tdep): Add dynamic_sigtramp_offset | |
2183 | and skip_sigtramp_frame members. | |
2184 | * alpha-linux-tdep.c: Include gdbcore.h. | |
2185 | (alpha_linux_sigtramp_offset): Change return type to LONGEST. | |
2186 | (alpha_linux_init_abi): Initialize tdep->dynamic_sigtramp_offset. | |
2187 | * alpha-osf1-tdep.c: New file. | |
2188 | * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Moved to | |
2189 | alpha-osf1-dep.c. | |
2190 | (alpha_frame_past_sigtramp_frame): New function. | |
2191 | (alpha_dynamic_sigtramp_offset): Ditto. | |
2192 | (alpha_proc_desc_is_dyn_sigtramp): Ditto. | |
2193 | (alpha_set_proc_desc_is_dyn_sigtramp): Ditto. | |
2194 | (ALPHA_PROC_SIGTRAMP_MAGIC): Define. | |
2195 | (push_sigtramp_desc): Use alpha_set_proc_desc_is_dyn_sigtramp. | |
2196 | (after_prologue): Use alpha_proc_desc_is_dyn_sigtramp. | |
2197 | (find_proc_desc): Use alpha_dynamic_sigtramp_offset. | |
2198 | (alpha_frame_chain): Use alpha_frame_past_sigtramp_frame. | |
2199 | (alpha_init_extra_frame_info): Use alpha_proc_desc_is_dyn_sigtramp. | |
2200 | (alpha_pop_frame): Use alpha_proc_desc_is_dyn_sigtramp. | |
2201 | (alpha_gdbarch_init): Initialize tdep->dynamic_sigtramp_offset | |
2202 | and tdep->skip_sigtramp_frame. Set gdbarch_skip_trampoline_code | |
2203 | to find_solib_trampoline_target. | |
2204 | * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-osf1-tdep.o. | |
2205 | * config/alpha/tm-alpha.h: Remove inclusion of regcache.h. | |
2206 | (SKIP_TRAMPOLINE_CODE): Remove. | |
2207 | (PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
2208 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
2209 | (DYNAMIC_SIGTRAMP_OFFSET): Ditto. | |
2210 | (FRAME_PAST_SIGTRAMP_FRAME): Ditto. | |
2211 | * config/alpha/tm-alphalinux.h (PROC_DESC_IS_DYN_SIGTRAMP): Remove. | |
2212 | (PROC_SIGTRAMP_MAGIC): Ditto. | |
2213 | (PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
2214 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
2215 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
2216 | (DYNAMIC_SIGTRAMP_OFFSET): Ditto. | |
2217 | (FRAME_PAST_SIGTRAMP_FRAME): Ditto. | |
2218 | ||
2f4bc57b JT |
2219 | 2002-04-24 Jason Thorpe <thorpej@wasabisystems.com> |
2220 | ||
2221 | * NEWS: Note that Alpha targets are now multi-arch. | |
2222 | ||
665132f9 MS |
2223 | 2002-04-24 Michael Snyder <msnyder@redhat.com> |
2224 | ||
2225 | * parser-defs.h (prev_lexptr): New external variable. | |
2226 | * parse.c (parse_exp_1): Set prev_lexptr to null before | |
2227 | calling the language-specific parser. | |
2228 | * c-exp.y (yylex): Set prev_lexptr to start of current token. | |
2229 | (yyerror): Use prev_lexptr in error reporting. | |
2230 | ||
32872fa7 DJ |
2231 | 2002-04-24 Daniel Jacobowitz <drow@mvista.com> |
2232 | ||
2233 | * config/i386/tm-linux.h: Define FILL_FPXREGSET. | |
2234 | * gregset.h: If FILL_FPXREGSET is defined, provide | |
2235 | gdb_fpxregset_t, supply_fpxregset, and fill_fpxregset. | |
2236 | * linux-proc.c (linux_do_thread_registers): If FILL_FPXREGSET | |
2237 | is defined, call fill_fpxregset. | |
2238 | ||
57e76fac MS |
2239 | 2002-04-24 Roland McGrath <roland@frob.com> |
2240 | ||
2241 | * config/i386/i386gnu.mh (NATDEPFILES): Add core-regset.o here. | |
2242 | * i386gnu-nat.c [HAVE_SYS_PROCFS_H] | |
2243 | (supply_gregset, supply_fpregset): New functions. | |
2244 | ||
2245 | * gnu-nat.c (gnu_find_memory_regions): New function. | |
2246 | (init_gnu_ops): Set `to_find_memory_regions' hook to that. | |
2247 | (gnu_xfer_memory): Add a cast. | |
2248 | ||
f43845b3 MS |
2249 | 2002-04-24 Michael Snyder <msnyder@redhat.com> |
2250 | ||
361d1df0 | 2251 | * arm-tdep.c (arm_scan_prologue): Move "mov ip, sp" into the |
f43845b3 MS |
2252 | loop. Add handling for "str lr, [sp, #-4]!" and for saves |
2253 | of argument regs ("str r(0123), [r11, #-nn"]). | |
361d1df0 | 2254 | (arm_skip_prologue): Better handling for frameless functions. |
f43845b3 MS |
2255 | Treat "mov ip, sp" as optional. Recognize "str lr, [sp, #-4]". |
2256 | (arm_skip_prologue): Recognize str r(0123), [r11, #-nn]. | |
2257 | ||
a0abec03 AC |
2258 | Wed Apr 24 14:22:21 2002 Andrew Cagney <cagney@redhat.com> |
2259 | ||
2260 | * arm-tdep.c (arm_gdbarch_init): Add comment that NUM_REGS nor | |
2261 | NUM_PSEUDO_REGS can be used. | |
2262 | ||
d7bd68ca AC |
2263 | 2002-04-24 Andrew Cagney <ac131313@redhat.com> |
2264 | ||
2265 | * arch-utils.h: Update copyright. | |
2266 | ||
2267 | * gdbarch.sh (PC_IN_SIGTRAMP): Add. | |
2268 | * gdbarch.h, gdbarch.c: Re-generate. | |
2269 | ||
2270 | * inferior.h (IN_SIGTRAMP): Delete definition. | |
2271 | * arch-utils.c (legacy_pc_in_sigtramp): New function. | |
2272 | * arch-utils.h (legacy_pc_in_sigtramp): Declare. | |
2273 | ||
2274 | * mips-tdep.c (mips_init_extra_frame_info): Use PC_IN_SIGTRAMP. | |
2275 | (mips_dump_tdep): Do not print value of IN_SIGTRAMP. | |
2276 | * hppa-tdep.c (pc_in_interrupt_handler): Use PC_IN_SIGTRAMP. | |
2277 | (find_proc_framesize): Ditto. | |
2278 | * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Ditto. | |
2279 | (alpha_init_extra_frame_info): Ditto. | |
2280 | * infrun.c (handle_inferior_event): Ditto. | |
2281 | (handle_inferior_event): Ditto. | |
2282 | (check_sigtramp2): Ditto. | |
2283 | * blockframe.c (create_new_frame): Ditto. | |
2284 | (get_prev_frame): Ditto. | |
2285 | * ppc-linux-tdep.c: Update comments. | |
2286 | * i386-linux-tdep.c: Update comments. | |
2287 | * breakpoint.c (bpstat_what): Update comment. | |
2288 | ||
d06f167a ML |
2289 | 2002-04-24 Michal Ludvig <mludvig@suse.cz> |
2290 | ||
2291 | * gdbserver/linux-low.c (regsets_fetch_inferior_registers), | |
361d1df0 | 2292 | (regsets_store_inferior_registers): Removed cast to int from |
d06f167a ML |
2293 | ptrace() calls. |
2294 | * gdbserver/regcache.h: Added declaration of struct inferior_info. | |
2295 | ||
4867e41e DM |
2296 | 2002-04-24 David S. Miller <davem@redhat.com> |
2297 | ||
21d83aa5 DM |
2298 | * i960-tdep.c (register_in_window_p): New function. |
2299 | (i960_find_saved_register): Use it instead of | |
2300 | REGISTER_IN_WINDOW_P. | |
2301 | * config/i960/tm-i960.h (REGISTER_IN_WINDOW): Delete. | |
2302 | ||
4867e41e DM |
2303 | * symtab.h (find_stab_function_addr): Kill extern. |
2304 | * minsyms.c (find_stab_function_addr): Remove from here... | |
2305 | * dbxread.c: ... to here, and mark it static. | |
2306 | ||
69cdf6a2 DM |
2307 | 2002-04-20 David S. Miller <davem@redhat.com> |
2308 | ||
2309 | * sparc-tdep.c (sparc_pop_frame): Only need to allocate | |
2310 | SPARC_INTREG_SIZE * 16 bytes for reg_temp. | |
2311 | ||
5a595886 DM |
2312 | 2002-04-21 David S. Miller <davem@redhat.com> |
2313 | ||
2314 | * remote-vxsparc.c (vx_read_register): Fix typo, we want | |
2315 | REGISTER_RAW_SIZE of SP_REGNUM not CORE_ADDR. | |
2316 | (vx_write_register): Likewise. | |
2317 | ||
1da1a192 JB |
2318 | 2002-04-23 J. Brobecker <brobecker@gnat.com> |
2319 | ||
2320 | * source.c (is_regular_file): New function. | |
2321 | (openp): Check wether file to open is a regular file | |
2322 | to avoid opening directories. | |
2323 | ||
baa6f10b JT |
2324 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
2325 | ||
2326 | * findvar.c (extract_signed_integer): Cast printf argument | |
2327 | to suppress format warning. | |
2328 | (extract_unsigned_integer): Likewise. | |
2329 | * infcmd.c (registers_info): Likewise. | |
2330 | * top.c (get_prompt_1): Likewise. | |
2331 | * valops.c (value_assign): Likewise. | |
2332 | * valprint.c (print_decimal): Likewise. | |
2333 | ||
b2c4da81 L |
2334 | 2002-04-22 H.J. Lu (hjl@gnu.org) |
2335 | ||
2336 | * c-exp.y (typebase): Support | |
361d1df0 | 2337 | |
b2c4da81 L |
2338 | [long|long long|short] [signed|unsigned] [int|] |
2339 | ||
2340 | and | |
2341 | ||
2342 | signed [long|long long|short] int | |
2343 | ||
f267bd6a JT |
2344 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
2345 | ||
2346 | * Makefile.in (vax-tdep.o): Add $(arch_utils_h), $(inferior_h), | |
2347 | and vax-tdep.h. | |
2348 | * vax-tdep.h: New file. | |
2349 | * vax-tdep.c: Include inferior.h, arch-utils.h, and vax-tdep.h. | |
2350 | Make several routines static. | |
2351 | (vax_get_saved_register): New function. | |
2352 | (vax_gdbarch_init): New function. | |
2353 | (_initialize_vax_tdep): Register vax_gdbarch_init. | |
2354 | * config/vax/tm-vax.h: Set GDB_MULTI_ARCH to GDB_MULTI_ARCH_PARTIAL. | |
2355 | Remove macros now under the control of gdbarch. | |
2356 | ||
da3c6d4a MS |
2357 | 2002-04-22 Michael Snyder <msnyder@redhat.com> |
2358 | ||
11d3b27d MS |
2359 | * arm-tdep.c (arm_skip_prologue): Recognize "sub sp, sp, #nn". |
2360 | Some whitespace and coding standards tweaks. | |
da3c6d4a | 2361 | |
a33f7558 JT |
2362 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
2363 | ||
2364 | * vax-tdep.c: Include regcache.h. | |
2365 | (vax_call_dummy_words): New. | |
2366 | (sizeof_vax_call_dummy_words): New. | |
2367 | (vax_fix_call_dummy): New function. | |
2368 | (vax_saved_pc_after_call): Ditto. | |
2369 | * config/vax/tm-vax.h: Don't include regcache.h. | |
2370 | (SAVED_PC_AFTER_CALL): Use vax_saved_pc_after_call. | |
2371 | (CALL_DUMMY): Remove. | |
2372 | (CALL_DUMMY_WORDS): Define. | |
2373 | (SIZEOF_CALL_DUMMY_WORDS): Define. | |
2374 | (FIX_CALL_DUMMY): Use vax_fix_call_dummy. | |
2375 | ||
47a73475 MS |
2376 | 2002-04-18 Michael Snyder <msnyder@redhat.com> |
2377 | ||
2378 | * arm-tdep.h: Change regnum defines to enums for ease of debugging. | |
2379 | ||
52efde73 JT |
2380 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
2381 | ||
2382 | * vax-tdep.c (vax_frame_chain): New function. | |
2383 | (vax_push_dummy_frame): Ditto. | |
2384 | (vax_pop_frame): Ditto. | |
2385 | * config/vax/tm-vax.h (FRAME_CHAIN): vax_frame_chain. | |
2386 | (FRAMELESS_FUNCTION_INVOCATION): Use | |
2387 | generic_frameless_function_invocation_not. | |
2388 | (PUSH_DUMMY_FRAME): Use vax_push_dummy_frame. | |
2389 | (POP_FRAME): Use vax_pop_frame. | |
2390 | ||
ea74468c JT |
2391 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
2392 | ||
2393 | * vax-tdep.c (vax_store_struct_return): New function. | |
2394 | (vax_extract_return_value): Ditto. | |
2395 | (vax_store_return_value): Ditto. | |
2396 | (vax_extract_struct_value_address): Ditto. | |
2397 | * config/vax/tm-vax.h (STORE_STRUCT_RETURN): Use | |
2398 | vax_store_struct_return. | |
2399 | (EXTRACT_RETURN_VALUE): Use vax_extract_return_value. | |
2400 | (STORE_RETURN_VALUE): Use vax_store_return_value. | |
2401 | (EXTRACT_STRUCT_VALUE_ADDRESS): Use vax_extract_struct_value_address. | |
2402 | ||
5516aa92 JT |
2403 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
2404 | ||
2405 | * vax-tdep.c (vax_frame_saved_pc): New function. | |
2406 | (vax_frame_args_address_correct): Ditto. | |
2407 | (vax_frame_args_address): Ditto. | |
2408 | (vax_frame_locals_address): Ditto. | |
2409 | (vax_frame_num_args): Move code to be in proximity to | |
2410 | other frame-related functions. | |
2411 | * config/vax/tm-vax.h (INNER_THAN): Use core_addr_lessthan. | |
2412 | (FRAME_SAVED_PC): Use vax_frame_saved_pc. | |
2413 | (FRAME_ARGS_ADDRESS_CORRECT): Use vax_frame_args_address_correct. | |
2414 | (FRAME_ARGS_ADDRESS): Use vax_frame_args_address. | |
2415 | (FRAME_LOCALS_ADDRESS): Use vax_frame_locals_address. | |
2416 | ||
36af0b35 L |
2417 | 2002-04-22 H.J. Lu (hjl@gnu.org) |
2418 | ||
2419 | * Makefile.in (FLAGS_TO_PASS): Add libdir, mandir, datadir and | |
2420 | includedir. | |
2421 | ||
ab62c900 JT |
2422 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
2423 | ||
2424 | * vax-tdep.c (vax_frame_init_saved_regs): New function. | |
2425 | * config/vax/tm-vax.h (FRAME_FIND_SAVED_REGS): Remove. | |
2426 | (FRAME_INIT_SAVED_REGS): New macro. | |
2427 | ||
7232b100 JT |
2428 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
2429 | ||
2430 | * MAINTAINERS: Reflect that the Alpha target has been multi-arch'd. | |
2431 | ||
b70d2aee JT |
2432 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
2433 | ||
2434 | * alpha-nat.c (get_longjmp_target): Use ALPHA_* constants | |
2435 | where needed. | |
2436 | (fetch_osf_core_registers): Likewise. | |
2437 | (supply_gregset): Likewise. | |
2438 | ||
a0e8a2d1 | 2439 | 2002-04-22 J. Brobecker <brobecker@gnat.com> |
361d1df0 | 2440 | |
a0e8a2d1 JB |
2441 | * symfile.h (get_section_index): Define. |
2442 | * symfile.c (get_section_index): New function. | |
2443 | * mdebugread.c (SC_IS_SBSS): New macro. | |
2444 | (SC_IS_BSS): Return true for the scBss storage class only, as | |
2445 | the scSBss storage class refers to the .sbss section. | |
2446 | (parse_partial_symbols): Discard the symbols which associated | |
2447 | section does not exist. | |
2448 | Make sure to use the .sbss section index for symbols which | |
2449 | storage class is scBss, rather than using the .bss section index. | |
2450 | ||
51eb8b08 JT |
2451 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
2452 | ||
2453 | * vax-tdep.c: Update copyright years. | |
2454 | (vax_register_name): New function. | |
2455 | (vax_register_byte): Ditto. | |
2456 | (vax_register_raw_size): Ditto. | |
2457 | (vax_register_virtual_size): Ditto. | |
2458 | (vax_register_virtual_type): Ditto. | |
2459 | * config/vax/tm-vax.h: Update copyright years. | |
2460 | (REGISTER_NAMES): Remove. | |
2461 | (REGISTER_NAME): Define. | |
2462 | (REGISTER_BYTE): Use vax_register_byte. | |
2463 | (REGISTER_RAW_SIZE): Use vax_register_raw_size. | |
2464 | (REGISTER_VIRTUAL_SIZE): Use vax_register_virtual_size. | |
2465 | (REGISTER_VIRTUAL_TYPE): Use vax_register_virtual_type. | |
2466 | ||
6cc1c0a8 AC |
2467 | 2002-04-21 Andrew Cagney <ac131313@redhat.com> |
2468 | ||
2469 | * config/sparc/tm-sparc.h (sparc_skip_prologue): Restore | |
2470 | declaration | |
2471 | * arc-tdep.c (arc_prologue_frameless_p): Fix syntax error. | |
2472 | ||
9319a2fe DM |
2473 | 2002-04-21 David S. Miller <davem@redhat.com> |
2474 | ||
2475 | * arch-utils.c (generic_prologue_frameless_p): Kill | |
2476 | SKIP_PROLOGUE_FRAMELESS_P code. | |
2477 | * config/arc/tm-arc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete | |
2478 | references. | |
2479 | (PROLOGUE_FRAMELESS_P, arc_prologue_frameless_p): New. | |
2480 | * arc-tdep.c (arc_prologue_frameless_p): Implement. | |
2481 | * config/arc/tm-sparc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete | |
2482 | references. | |
2483 | (PROLOGUE_FRAMELESS_P, sparc_prologue_frameless_p): New. | |
2484 | * sparc-tdep.c (sparc_prologue_frameless_p): Implement. | |
2485 | (sparc_gdbarch_init): Pass it to | |
2486 | set_gdbarch_prologue_frameless_p. | |
a0e8a2d1 | 2487 | |
e9ed6d01 JT |
2488 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
2489 | ||
2490 | * Makefile.in (ALLDEPFILES): Add alphabsd-nat.c. | |
2491 | (alphabsd-nat.o): New dependency list. | |
2492 | ||
36012033 JT |
2493 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
2494 | ||
2495 | * Makefile.in (ALLDEPFILES): Add alpha-linux-tdep.c and | |
2496 | alphafbsd-tdep.c. | |
2497 | (alpha-linux-tdep.o): New dependency list. | |
2498 | (alphafbsd-tdep.o): Likewise. | |
2499 | ||
3379287a JT |
2500 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
2501 | ||
2502 | * alpha-linux-tdep.c: New file. Move alpha_linux_sigtramp_offset | |
2503 | to here... | |
2504 | * alpha-tdep.c: ...from here. | |
2505 | * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-linux-tdep.o. | |
2506 | ||
4bcbd6cb JT |
2507 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
2508 | ||
2509 | * config/alpha/tm-alpha.h: Move alpha_software_single_step | |
2510 | prototype from here... | |
2511 | * alpha-tdep.h: ...to here. | |
2512 | ||
b31da25e AC |
2513 | 2002-04-21 Andrew Cagney <ac131313@redhat.com> |
2514 | ||
2515 | * frame.h (selected_frame_level): Document as deprecated. | |
2516 | (frame_relative_level): Declare. | |
2517 | * stack.c (frame_relative_level): New function. | |
2518 | (selected_frame_level): Document as deprecated. | |
2519 | (select_frame): Do not set the selected_frame_level. | |
2520 | ||
2521 | * stack.c (frame_info, record_selected_frame): Update. | |
2522 | (frame_command, current_frame_command): Update. | |
2523 | (up_silently_base, up_command, down_silently_base): Update. | |
2524 | (down_command): Update. | |
2525 | * inflow.c (kill_command): Update. | |
2526 | * tracepoint.c (finish_tfind_command): Update. | |
2527 | * corelow.c (core_open): Update. | |
2528 | * thread.c (info_threads_command): Update. | |
2529 | (do_captured_thread_select): Update. | |
2530 | * infcmd.c (finish_command): Update. | |
2531 | * breakpoint.c (insert_breakpoints, do_enable_breakpoint): Update. | |
2532 | ||
9c1d6fe5 JT |
2533 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
2534 | ||
2535 | * config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Remove. | |
2536 | ||
ab89facf AC |
2537 | 2002-04-21 Andrew Cagney <ac131313@redhat.com> |
2538 | ||
2539 | * arm-tdep.c (arm_breakpoint_from_pc): Make static. Make return | |
2540 | type const. | |
2541 | ||
82a4efa1 JT |
2542 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
2543 | ||
2544 | * alphafbsd-tdep.c: Update copyright years. Include | |
2545 | alpha-tdep.h. | |
2546 | (alphafbsd_use_struct_convention): Make static. | |
2547 | (alphafbsd_init_abi): New function. | |
2548 | (_initialize_alphafbsd_tdep): New function. | |
2549 | * config/alpha/tm-fbsd.h: Update copyright years. | |
2550 | (USE_STRUCT_CONVENTION): Remove. | |
2551 | ||
44dffaac JT |
2552 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
2553 | ||
2554 | * alpha-tdep.c (alpha_abi_handler): New structure to describe | |
2555 | an Alpha ABI variant. | |
2556 | (alpha_abi_handler_list): Declare. | |
2557 | (alpha_gdbarch_register_os_abi): New function. | |
2558 | (alpha_gdbarch_init): Give registered ABI variant handlers a | |
2559 | chance to tweak the gdbarch once we have set up defaults. | |
2560 | * alpha-tdep.h: Prototype alpha_gdbarch_register_os_abi. | |
2561 | ||
65585be4 JT |
2562 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
2563 | ||
2564 | * alpha-tdep.c (alpha_gdbarch_init): Set coerce_float_to_double | |
2565 | to standard_coerce_float_to_double. | |
2566 | * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
2567 | ||
d9b023cc JT |
2568 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
2569 | ||
2570 | * alpha-tdep.h (gdbarch_tdep): Add vm_min_address member. | |
2571 | * alpha-tdep.c (heuristic_proc_start): Use vm_min_address | |
2572 | from gdbarch_tdep rather than a constant. | |
2573 | (alpha_gdbarch_init): Initialize tdep->vm_min_address to | |
2574 | the default text address for all Alpha Unix ABIs. | |
2575 | (alpha_dump_tdep): Report the value of tdep->vm_min_address. | |
2576 | * config/alpha/tm-alpha.h (VM_MIN_ADDRESS): Delete. | |
2577 | ||
dc129d82 JT |
2578 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
2579 | ||
2580 | * alpha-tdep.h: New file. Includes several Alpha target constants | |
2581 | taken from... | |
2582 | * config/alpha/tm-alpha.h: ...here. Remove macros that we now | |
2583 | let gdbarch deal with. | |
2584 | (GDB_MULTI_ARCH): Define as GDB_MULTI_ARCH_PARTIAL. | |
2585 | * Makefile.in (alpha-nat.o): Add alpha-tdep.h and $(BFD_SRC)/elf-bfd | |
2586 | to dependency list. | |
2587 | * alpha-nat.c: Include alpha-tdep.h. Update for adjusted | |
2588 | Alpha target register names. | |
2589 | * alphabsd-nat.c: Likewise. | |
2590 | * alpha-tdep.c: Include alpha-tdep.h. Update for adjusted | |
2591 | Alpha target register names. Make serveral routines static. | |
2592 | (alpha_get_saved_register): New function. | |
2593 | (alpha_abi_names): New. | |
2594 | (process_note_abi_tag_sections): New function. | |
2595 | (get_elfosabi): New function. | |
2596 | (alpha_gdbarch_init): New function. | |
2597 | (alpha_dump_tdep): New function. | |
2598 | (_initialize_alpha_tdep): Register alpha_gdbarch_init. | |
2599 | ||
d49d1e0a AC |
2600 | 2002-04-21 Andrew Cagney <ac131313@redhat.com> |
2601 | ||
2602 | * frame.c (find_saved_register): Delete #ifdef | |
2603 | HAVE_REGISTER_WINDOWS code. | |
2604 | * config/sparc/tm-sparc.h: Update comments. | |
2605 | * config/i960/tm-i960.h (HAVE_REGISTER_WINDOWS): Delete macro. | |
2606 | ||
92e8c9ed AC |
2607 | 2002-04-21 Andrew Cagney <ac131313@redhat.com> |
2608 | ||
2609 | * i960-tdep.c (i960_find_saved_register): New function. | |
2610 | (i960_get_saved_register): New function. | |
2611 | * config/i960/tm-i960.h (GET_SAVED_REGISTER): Define. | |
2612 | (i960_get_saved_register): Declare. | |
2613 | * config/i960/tm-i960.h, i960-tdep.c: Update copyright. | |
2614 | ||
e1925118 DM |
2615 | 2002-04-20 David S. Miller <davem@redhat.com> |
2616 | ||
2617 | * sparc-nat.c (store-inferior_registers): Fix ambiguous else. | |
2618 | ||
29673b29 AC |
2619 | 2002-04-20 Andrew Cagney <ac131313@redhat.com> |
2620 | ||
2621 | * arm-tdep.c (arm_gdbarch_init): Use gdbarch_num_pseudo_regs | |
2622 | instead of NUM_PSEUDO_REGS. | |
2623 | ||
6c86dcd5 DM |
2624 | 2002-04-20 David S. Miller <davem@redhat.com> |
2625 | ||
2626 | * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Define to | |
2627 | GDB_MULTI_ARCH_PARTIAL | |
2628 | * config/sparc/tm-sp64linux.h (GDB_MULTI_ARCH): Do not | |
2629 | define, let tm-sp64.h do it. | |
2630 | ||
aa40ec90 JT |
2631 | 2002-04-20 Jason Thorpe <thorpej@wasabisystems.com> |
2632 | ||
2633 | * frame.c (find_saved_register): Avoid a NULL pointer | |
2634 | dereference and actually walk the frame list. | |
2635 | ||
0f79675b AC |
2636 | 2002-04-20 Andrew Cagney <ac131313@redhat.com> |
2637 | ||
2638 | * gdbarch.sh (gdbarch_update_p): Keep the list of architectures | |
2639 | sorted in most most-recent-used order. Document. | |
2640 | * gdbarch.h, gdbarch.c: Regenerate. | |
361d1df0 | 2641 | |
c04a1aa8 DJ |
2642 | 2002-04-20 Daniel Jacobowitz <drow@mvista.com> |
2643 | ||
2644 | * gdbserver/inferiors.c (struct inferior_info): Add regcache_data. | |
2645 | (add_inferior): Call create_register_cache. | |
2646 | (clear_inferiors): Call free_register_cache. | |
2647 | (inferior_regcache_data, set_inferior_regcache_data): New functions. | |
2648 | * gdbserver/regcache.c (struct inferior_regcache_data): New. | |
2649 | (registers): Remove. | |
2650 | (get_regcache): New function. | |
2651 | (create_register_cache, free_register_cache): New functions. | |
2652 | (set_register_cache): Don't initialize the register cache here. | |
2653 | (registers_to_string, registers_from_string, register_data): Call | |
2654 | get_regcache. | |
2655 | * gdbserver/regcache.h: Add prototypes. | |
2656 | * gdbserver/server.h: Likewise. | |
2657 | ||
611cb4a5 DJ |
2658 | 2002-04-20 Daniel Jacobowitz <drow@mvista.com> |
2659 | ||
2660 | * gdbserver/mem-break.c: New file. | |
2661 | * gdbserver/mem-break.h: New file. | |
2662 | * gdbserver/Makefile.in: Add mem-break.o rule; update server.h | |
2663 | dependencies. | |
2664 | * gdbserver/inferiors.c (struct inferior_info): Add target_data | |
2665 | member. | |
2666 | (clear_inferiors): Free target_data member if set. | |
2667 | (inferior_target_data, set_inferior_target_data): New functions. | |
2668 | * gdbserver/linux-i386-low.c (i386_breakpoint, i386_breakpoint_len) | |
2669 | (i386_stop_pc, i386_set_pc): New. Add to the_low_target. | |
2670 | * gdbserver/linux-low.c (linux_bp_reinsert): New variable. | |
2671 | (struct inferior_linux_data): New. | |
2672 | (linux_create_inferior): Use set_inferior_target_data. | |
2673 | (linux_attach): Likewise. Call add_inferior. | |
2674 | (linux_wait_for_one_inferior): New function. | |
2675 | (linux_wait): Call it. | |
2676 | (linux_write_memory): Add const. | |
2677 | (initialize_low): Call set_breakpoint_data. | |
2678 | * gdbserver/linux-low.h (struct linux_target_ops): Add breakpoint | |
2679 | handling members. | |
2680 | * gdbserver/server.c (attach_inferior): Remove extra add_inferior | |
2681 | call. | |
2682 | * gdbserver/server.h: Include mem-break.h. Update inferior.c | |
2683 | prototypes. | |
2684 | * gdbserver/target.c (read_inferior_memory) | |
2685 | (write_inferior_memory): New functions. | |
2686 | * gdbserver/target.h (read_inferior_memory) | |
2687 | (write_inferior_memory): Change macros to prototypes. | |
2688 | (struct target_ops): Update comments. Add const to write_memory | |
2689 | definition. | |
2690 | ||
f91305dd | 2691 | 2002-04-19 Andrew Cagney <ac131313@redhat.com> |
bf75c8c1 AC |
2692 | |
2693 | * sparc-tdep.c (sparc_get_saved_register): Use get_prev_frame | |
2694 | instead of ->prev. | |
2695 | * z8k-tdep.c (z8k_frame_chain): Do not use ->prev. | |
2696 | * s390-tdep.c (s390_frame_chain): Do not use ->prev. | |
2697 | * rs6000-tdep.c (frame_get_saved_regs): Use rs6000_frame_chain() | |
2698 | instead of ->prev. | |
2699 | ||
73d322b1 EZ |
2700 | 2002-04-19 Elena Zannoni <ezannoni@redhat.com> |
2701 | ||
2702 | Fix PR gdb/471. | |
2703 | * gdbtypes.c (init_simd_type): Rewrite using new functions. | |
2704 | (build_builtin_type_vec128): Ditto. | |
2705 | (append_composite_type_field): Fix calculation of type length in | |
2706 | union case. | |
2707 | ||
ccd9a834 EZ |
2708 | 2002-04-19 Eli Zaretskii <eliz@is.elta.co.il> |
2709 | ||
2710 | * config/djgpp/README: Update. | |
2711 | ||
2712 | * go32-nat.c (store_register): Cast &a_tss to `char *' to avoid a | |
2713 | compiler warnings. | |
2714 | ||
a57f9e49 JT |
2715 | 2002-04-19 Jason Thorpe <thorpej@wasabisystems.com> |
2716 | ||
2717 | * alpha-tdep.c (setup_arbitrary_frame): Rename... | |
2718 | (alpha_setup_arbitrary_frame): ...to this. | |
2719 | * config/alpha/tm-alpha.h (SETUP_ARBITRARY_FRAME): Update | |
2720 | for alpha_setup_arbitrary_frame. | |
2721 | ||
f4f9705a AC |
2722 | 2002-04-18 Andrew Cagney <cagney@redhat.com> |
2723 | ||
2724 | * gdbarch.sh (BREAKPOINT_FROM_PC): Return a const buffer. | |
2725 | * gdbarch.h, gdbarch.c: Regenerate. | |
361d1df0 | 2726 | |
f4f9705a AC |
2727 | * defs.h (breakpoint_from_pc_fn): Delete type definition. |
2728 | * target.h (memory_breakpoint_from_pc): Update declaration. | |
2729 | * config/mcore/tm-mcore.h (mcore_breakpoint_from_p): Ditto. | |
2730 | ||
2731 | * arch-utils.c (legacy_breakpoint_from_pc): Update return type. | |
2732 | * mcore-tdep.c (mcore_breakpoint_from_pc): Ditto. | |
2733 | * mem-break.c (memory_breakpoint_from_pc): Ditto. | |
2734 | * rs6000-tdep.c (rs6000_breakpoint_from_pc): Ditto. | |
2735 | * s390-tdep.c (s390_breakpoint_from_pc): Ditto | |
2736 | * xstormy16-tdep.c (xstormy16_breakpoint_from_pc): Ditto. | |
2737 | * mn10300-tdep.c (mn10300_breakpoint_from_pc): Ditto. | |
2738 | * mips-tdep.c (mips_breakpoint_from_pc): Ditto. | |
2739 | * m68hc11-tdep.c (m68hc11_breakpoint_from_pc): Ditto. | |
2740 | * ia64-tdep.c (ia64_breakpoint_from_pc): Ditto. | |
2741 | * d10v-tdep.c (d10v_breakpoint_from_pc): Ditto. | |
2742 | * arch-utils.c (legacy_breakpoint_from_pc): Ditto.. | |
2743 | ||
2744 | * mem-break.c (default_memory_insert_breakpoint): Make `bp' a | |
2745 | const pointer. | |
2746 | * monitor.c (monitor_insert_breakpoint): Ditto. | |
2747 | * rs6000-tdep.c (rs6000_software_single_step): Ditto for `breakp'. | |
2748 | ||
2749 | * config/mcore/tm-mcore.h: Update copyright. | |
2750 | * mem-break.c: Ditto. | |
2751 | * xstormy16-tdep.c: Ditto. | |
2752 | ||
29f319b8 PM |
2753 | 2002-04-18 Pierre Muller <muller@ics.u-strasbg.fr> |
2754 | ||
2755 | * p-exp.y: Add precedence rule for '^' token. | |
2756 | This removes the shift/reduce conflicts. | |
2757 | Remove the comment concerning these shift/reduce conflicts. | |
2758 | ||
ebeac11a EZ |
2759 | 2002-04-18 Elena Zannoni <ezannoni@redhat.com> |
2760 | ||
2761 | * rs6000-tdep.c (COMMON_UISA_NOFP_REGS): New macro. | |
2762 | (registers_powerpc_nofp): New register set for processors | |
2763 | without floating point unit. | |
2764 | ||
27c31547 DM |
2765 | 2002-04-18 David S. Miller <davem@redhat.com> |
2766 | ||
2767 | * MAINTAINERS: Add myself to write-after-approval. | |
2768 | ||
47a73475 MS |
2769 | 2002-04-17 Michael Snyder <msnyder@redhat.com> |
2770 | ||
2771 | * MAINTAINERS: Add myself as co-maintainer of testsuite/gdb.asm. | |
2772 | ||
953836b2 AC |
2773 | 2002-04-17 Andrew Cagney <ac131313@redhat.com> |
2774 | ||
2775 | * rs6000-tdep.c (frame_initial_stack_address): Use | |
2776 | frame_register_read to read the alloca_reg. | |
2777 | ||
8b0d4340 AC |
2778 | 2002-04-17 Andrew Cagney <ac131313@redhat.com> |
2779 | ||
2780 | * frame.c (find_saved_register): Find saved registers in the next | |
2781 | not prev frame. | |
2782 | Fix PR gdb/365. | |
2783 | ||
d8864532 AC |
2784 | 2002-04-17 Andrew Cagney <ac131313@redhat.com> |
2785 | ||
2786 | * gdbarch.sh (LANG): Set to ``c''. | |
2787 | ||
36cc83a3 | 2788 | 2002-04-15 Andrew Cagney <ac131313@redhat.com> |
361d1df0 | 2789 | |
36cc83a3 | 2790 | * PROBLEMS: Mention hppa2.0-hp-hpux10.20 compile problems. |
361d1df0 | 2791 | |
2f4150cc | 2792 | 2002-04-15 Andrew Cagney <ac131313@redhat.com> |
2c7ef074 AC |
2793 | |
2794 | * bcache.c: Include <stddef.h> and <stdlib.h> after "defs.h". | |
2795 | Update copyright. | |
2796 | ||
628703c6 | 2797 | * hpread.c (hpread_get_lntt): Add declaration. |
2f4150cc | 2798 | Also fix PR gdb/391. |
361d1df0 | 2799 | |
56157b4a AC |
2800 | 2002-04-14 Andrew Cagney <ac131313@redhat.com> |
2801 | ||
2802 | * acinclude.m4 (AM_PROG_CC_STDC): Import from automake 1.6. | |
2803 | * aclocal.m4, configure: Re-generate. | |
2804 | Fix PR gdb/391. | |
361d1df0 | 2805 | |
6d1e3329 EZ |
2806 | 2002-04-14 Elena Zannoni <ezannoni@redhat.com> |
2807 | ||
2808 | * mi/mi-cmd-disas.c (dump_insns): Use TARGET_PRINT_INSN | |
2809 | instead of tm_print_insn. | |
2810 | ||
cb06fa07 EZ |
2811 | 2002-04-14 Elena Zannoni <ezannoni@redhat.com> |
2812 | ||
2813 | * ppc-bdm.c (bdm_ppc_fetch_registers): Fix typo. | |
2814 | ||
f208ba17 AC |
2815 | 2002-04-14 Andrew Cagney <ac131313@redhat.com> |
2816 | ||
2817 | * config/pa/tm-hppa.h (FRAME_CHAIN_COMBINE): Delete macro. | |
2818 | * blockframe.c (FRAME_CHAIN_COMBINE): Delete macro. | |
2819 | (get_prev_frame): Do not call FRAME_CHAIN_COMBINE. | |
2820 | ||
20f01a46 DH |
2821 | 2002-04-12 Don Howard <dhoward@redhat.com> |
2822 | ||
2823 | * cli/cli-cmds.c (init_cli_cmds): Add new user settable value: | |
2824 | max_user_call_depth. | |
2825 | (init_cmd_lists): Initialize the new value; | |
2826 | * cli/cli-script.c (execute_user_command): Limit the call depth of | |
2827 | user defined commands. This avoids a core-dump when user commands | |
2828 | are infinitly recursive. | |
2829 | ||
a88376a3 KB |
2830 | 2002-04-12 Kevin Buettner <kevinb@redhat.com> |
2831 | ||
2832 | * ppc-tdep.h (struct gdbarch_tdep): Add new member ``lr_frame_offset''. | |
2833 | * rs6000-tdep.c (rs6000_frame_saved_pc): Use ``lr_frame_offset'' | |
2834 | from tdep struct instead of DEFAULT_LR_SAVE. | |
2835 | (rs6000_gdbarch_init): Initialize ``lr_frame_offset''. | |
2836 | * config/powerpc/tm-ppc-eabi.h (DEFAULT_LR_SAVE): Delete. | |
2837 | * config/rs6000/tm-rs6000.h (DEFAULT_LR_SAVE): Delete. | |
2838 | ||
f2172603 MS |
2839 | 2002-04-12 Michael Snyder <msnyder@redhat.com> |
2840 | ||
694f61fb | 2841 | * Remote.c: Spelling fix. |
20fe79c8 MS |
2842 | * gcore.c (default_derive_heap_segment): Use bfd_section_name. |
2843 | If no symbol found for "sbrk", try "_sbrk". | |
2844 | (make_output_phdrs): Use bfd_section_name. | |
2845 | (gcore_copy_callback): Use bfd_section_name. | |
62995fc4 | 2846 | * eval.c: Indentation fix-ups. |
169a7369 MS |
2847 | * d10v-tdep.c (d10v_make_iaddr): Make it idempotent, |
2848 | in case it gets applied to an address that is already | |
2849 | in the instruction space. | |
de74f71f MS |
2850 | * cli/cli-decode.c (help_list): Allow long lines to wrap. |
2851 | * symfile.c: Fix indentation, long lines. | |
f2172603 MS |
2852 | * source.c: White space fix-up. |
2853 | ||
cda5a58a AC |
2854 | 2002-04-12 Andrew Cagney <cagney@redhat.com> |
2855 | ||
2856 | * defs.h (read_relative_register_raw_bytes): Delete declaration. | |
2857 | * frame.c (frame_register_read): New function. Return non-zero on | |
2858 | success. | |
2859 | (read_relative_register_raw_bytes_for_frame): Delete. | |
2860 | (read_relative_register_raw_bytes): Delete. | |
2861 | * frame.h (frame_register_read): Declare. | |
2862 | * d30v-tdep.c: Update Copyright. Use frame_register_read. | |
2863 | * sh-tdep.c: Ditto. | |
2864 | * infcmd.c (do_registers_info): Ditto. | |
2865 | * hppa-tdep.c: Ditto. | |
2866 | * rs6000-tdep.c: Ditto. | |
2867 | * h8500-tdep.c: Ditto. | |
2868 | * mips-tdep.c: Ditto. | |
2869 | * h8300-tdep.c: Ditto. | |
2870 | * z8k-tdep.c: Ditto. | |
2871 | ||
2ea5f656 KB |
2872 | 2002-04-12 Kevin Buettner <kevinb@redhat.com> |
2873 | ||
2874 | From Jimi X <jimix@watson.ibm.com>: | |
2875 | * rs6000-tdep.c (rs6000_gdbarch_init): Use rs6000_* methods for | |
2876 | 64-bit SysV ABI. | |
2877 | ||
27b15785 KB |
2878 | 2002-04-12 Kevin Buettner <kevinb@redhat.com> |
2879 | ||
2880 | From Jimi X <jimix@watson.ibm.com>: | |
2881 | * rs6000-tdep.c (rs6000_gdbarch_init): Compute ``wordsize'' from | |
2882 | bfd info. | |
2883 | ||
5d57ee30 KB |
2884 | 2002-04-12 Kevin Buettner <kevinb@redhat.com> |
2885 | ||
2886 | From Jimi X <jimix@watson.ibm.com>: | |
2887 | * rs6000-tdep.c (powerpc64, 630, rs64ii, rs64iii): Define | |
2888 | register sets for these processor variants. | |
2889 | ||
bc1e36ca DJ |
2890 | 2002-04-11 Daniel Jacobowitz <drow@mvista.com> |
2891 | ||
2892 | * gdbserver/linux-low.c (usr_store_inferior_registers): Support | |
2893 | registers which are allowed to fail to store. | |
2894 | * gdbserver/linux-low.h (linux_target_ops): Likewise. | |
2895 | * gdbserver/linux-ppc-low.c (ppc_regmap): Support FPSCR. | |
2896 | (ppc_cannot_store_register): FPSCR may not be storable. | |
2897 | * regformats/reg-ppc.dat: Support FPSCR. | |
2898 | ||
e3f36dbd KB |
2899 | 2002-04-11 Kevin Buettner <kevinb@redhat.com> |
2900 | ||
2901 | * ppc-tdep.h (struct gdbarch_tdep): Add new field ``ppc_fpscr_regnum''. | |
2902 | * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers): | |
2903 | Add fpscr as an invalid/unfetchable register. | |
2904 | * ppc-linux-nat.c (ppc_register_u_addr, store_register) | |
2905 | (fetch_ppc_registers, store_ppc_registers, supply_fpregset) | |
2906 | (fill_fpregset): Add support for register fpscr. | |
2907 | (fetch_ppc_registers, store_ppc_registers, supply_gregset) | |
2908 | (fill_gregset): Account for the fact that register ``mq'' might | |
2909 | not exist. | |
2910 | * rs6000-tdep.c (PPC_UISA_SPRS): Use (unused) slot 70 for fpscr. | |
2911 | (registers_power): Add fpscr to register set at slot 71. | |
2912 | (rs6000_gdbarch_init): Account for the fact that ``mq'' doesn't | |
2913 | exist on most PPC architectures. Initialize ppc_fpscr_regnum. | |
2914 | ||
943c9c25 MS |
2915 | 2002-04-11 Michael Snyder <msnyder@redhat.com> |
2916 | ||
2917 | * configure.in: Autoconfiscate _SYSCALL32 define for solaris. | |
2918 | * configure: Regenerate. | |
2919 | * config.in: Regenerate. | |
2920 | * acconfig.h: Add define for _SYSCALL32. | |
2921 | * core-sol2.c: Remove #define _SYSCALL32. | |
2922 | * solib-legacy.c: Remove #define _SYSCALL32. | |
2923 | ||
d8c0a2e7 AC |
2924 | 2002-04-10 Andrew Cagney <ac131313@redhat.com> |
2925 | ||
2926 | * stack.c (select_frame): Cleanup internal error message, do not | |
2927 | use %p. | |
2928 | ||
7cc19214 AC |
2929 | 2002-04-10 Andrew Cagney <ac131313@redhat.com> |
2930 | ||
2931 | * stack.c (select_frame): Check that selected_frame and the | |
2932 | specified level are as expected. | |
2933 | * blockframe.c (get_prev_frame): Set the `level' from next_frame. | |
2934 | Update copyright. | |
2935 | * frame.h (struct frame_info): Add field `level'. Update | |
2936 | copyright. | |
2937 | Work-in-progress PR gdb/464. | |
2938 | ||
67a2b77e AC |
2939 | 2002-04-10 Andrew Cagney <ac131313@redhat.com> |
2940 | ||
2941 | * maint.c (maint_print_section_info): Rename print_section_info. | |
2942 | (print_bfd_section_info, print_objfile_section_info): Update. | |
2943 | * inferior.h (struct gdbarch): Add opaque declaration. | |
2944 | * gdbarch.sh: Add include of "inferior.h" to gdbarch.sh. | |
2945 | * gdbarch.h: Regenerate. | |
2946 | ||
8cfda98c ML |
2947 | 2002-04-10 Michal Ludvig <mludvig@suse.cz> |
2948 | ||
2949 | * x86-64-linux-nat.c (child_resume, child_xfer_memory): Delete. | |
2950 | (PTRACE_XFER_TYPE): Moved to config/i386/nm-x86-64.h. | |
2951 | (kernel_u_size): Added. | |
2952 | * config/i386/nm-x86-64.h (CHILD_XFER_MEMORY, CHILD_RESUME): Delete. | |
2953 | (PTRACE_XFER_TYPE): Moved here from config/i386/nm-x86-64.h. | |
2954 | ||
ca439ad2 | 2955 | 2002-04-04 Jim Ingham <jingham@apple.com> |
361d1df0 | 2956 | |
ca439ad2 JI |
2957 | * valarith.c (find_size_for_pointer_math): New function, either returns |
2958 | the size for a pointer's target, returns 1 for void *, or errors for | |
2959 | incomplete types. | |
2960 | (value_add, value_sub): use find_size_for_pointer_math. | |
2961 | ||
2f2893d9 DJ |
2962 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> |
2963 | ||
2964 | * linux-low.c (linux_look_up_symbols): New hook. | |
2965 | (linux_target_ops): Add linux_look_up_symbols. | |
2966 | * remote-utils.c (decode_address): New function. | |
2967 | (look_up_one_symbol): New function. | |
2968 | * server.c (handle_query): Call target look_up_symbols hook. | |
2969 | * server.h (look_up_one_symbol): Add prototype. | |
2970 | * target.h (struct target_ops): Add look_up_symbols hook. | |
2971 | ||
2ec06d2e DJ |
2972 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> |
2973 | ||
d64b8841 DJ |
2974 | * gdbserver/server.h: Include <string.h> if HAVE_STRING_H. |
2975 | * ChangeLog: Correct paths in last ChangeLog entry. | |
2976 | ||
2977 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> | |
2978 | ||
2979 | * gdbserver/linux-low.h: Remove obsolete prototypes. | |
2ec06d2e DJ |
2980 | (struct linux_target_ops): New. |
2981 | (extern the_low_target): New. | |
d64b8841 | 2982 | * gdbserver/linux-low.c (num_regs, regmap): Remove declarations. |
2ec06d2e DJ |
2983 | (register_addr): Use the_low_target explicitly. |
2984 | (fetch_register): Likewise. | |
2985 | (usr_fetch_inferior_registers): Likewise. | |
2986 | (usr_store_inferior_registers): Likewise. | |
d64b8841 | 2987 | * gdbserver/linux-arm-low.c (num_regs): Remove. |
2ec06d2e DJ |
2988 | (arm_num_regs): Define. |
2989 | (arm_regmap): Renamed from regmap, made static. | |
2990 | (arm_cannot_fetch_register): Renamed from cannot_fetch_register, | |
2991 | made static. | |
2992 | (arm_cannot_store_register): Renamed from cannot_store_register, | |
2993 | made static. | |
2994 | (the_low_target): New. | |
d64b8841 | 2995 | * gdbserver/linux-i386-low.c (num_regs): Remove. |
2ec06d2e DJ |
2996 | (i386_num_regs): Define. |
2997 | (i386_regmap): Renamed from regmap, made static. | |
2998 | (i386_cannot_fetch_register): Renamed from cannot_fetch_register, | |
2999 | made static. | |
3000 | (i386_cannot_store_register): Renamed from cannot_store_register, | |
3001 | made static. | |
3002 | (the_low_target): New. | |
d64b8841 | 3003 | * gdbserver/linux-ia64-low.c (num_regs): Remove. |
2ec06d2e DJ |
3004 | (ia64_num_regs): Define. |
3005 | (ia64_regmap): Renamed from regmap, made static. | |
3006 | (ia64_cannot_fetch_register): Renamed from cannot_fetch_register, | |
3007 | made static. | |
3008 | (ia64_cannot_store_register): Renamed from cannot_store_register, | |
3009 | made static. | |
3010 | (the_low_target): New. | |
d64b8841 | 3011 | * gdbserver/linux-m68k-low.c (num_regs): Remove. |
2ec06d2e DJ |
3012 | (m68k_num_regs): Define. |
3013 | (m68k_regmap): Renamed from regmap, made static. | |
3014 | (m68k_cannot_fetch_register): Renamed from cannot_fetch_register, | |
3015 | made static. | |
3016 | (m68k_cannot_store_register): Renamed from cannot_store_register, | |
3017 | made static. | |
3018 | (the_low_target): New. | |
d64b8841 | 3019 | * gdbserver/linux-mips-low.c (num_regs): Remove. |
2ec06d2e DJ |
3020 | (mips_num_regs): Define. |
3021 | (mips_regmap): Renamed from regmap, made static. | |
3022 | (mips_cannot_fetch_register): Renamed from cannot_fetch_register, | |
3023 | made static. | |
3024 | (mips_cannot_store_register): Renamed from cannot_store_register, | |
3025 | made static. | |
3026 | (the_low_target): New. | |
d64b8841 | 3027 | * gdbserver/linux-ppc-low.c (num_regs): Remove. |
2ec06d2e DJ |
3028 | (ppc_num_regs): Define. |
3029 | (ppc_regmap): Renamed from regmap, made static. | |
3030 | (ppc_cannot_fetch_register): Renamed from cannot_fetch_register, | |
3031 | made static. | |
3032 | (ppc_cannot_store_register): Renamed from cannot_store_register, | |
3033 | made static. | |
3034 | (the_low_target): New. | |
d64b8841 | 3035 | * gdbserver/linux-s390-low.c (num_regs): Remove. |
2ec06d2e DJ |
3036 | (s390_num_regs): Define. |
3037 | (s390_regmap): Renamed from regmap, made static. | |
3038 | (s390_cannot_fetch_register): Renamed from cannot_fetch_register, | |
3039 | made static. | |
3040 | (s390_cannot_store_register): Renamed from cannot_store_register, | |
3041 | made static. | |
3042 | (the_low_target): New. | |
d64b8841 | 3043 | * gdbserver/linux-sh-low.c (num_regs): Remove. |
2ec06d2e DJ |
3044 | (sh_num_regs): Define. |
3045 | (sh_regmap): Renamed from regmap, made static. | |
3046 | (sh_cannot_fetch_register): Renamed from cannot_fetch_register, | |
3047 | made static. | |
3048 | (sh_cannot_store_register): Renamed from cannot_store_register, | |
3049 | made static. | |
3050 | (the_low_target): New. | |
d64b8841 | 3051 | * gdbserver/linux-x86-64-low.c (x86_64_regmap): Renamed from regmap. |
2ec06d2e DJ |
3052 | (the_low_target): New. |
3053 | ||
96cb11df AC |
3054 | 2002-04-09 Andrew Cagney <ac131313@redhat.com> |
3055 | ||
3056 | * frame.c (read_relative_register_raw_bytes_for_frame): Do not | |
3057 | override FP_REGNUM with frame->fp. Update copyright. | |
3058 | * parse.c (num_std_regs, std_regs): Delete. | |
3059 | (target_map_name_to_register): Do not search std_regs. Update | |
3060 | function description. | |
3061 | * parser-defs.h (num_std_regs, std_regs, struct std_regs): Delete | |
3062 | declarations. Update copyright. | |
3063 | Fix PR gdb/251. | |
361d1df0 | 3064 | |
c3a3ccc7 DJ |
3065 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> |
3066 | ||
3067 | * gdbserver/Makefile.in: Add stamp-h target. | |
3068 | * gdbserver/configure.in: Create stamp-h. | |
3069 | * gdbserver/configure: Regenerated. | |
3070 | ||
ce3a066d DJ |
3071 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> |
3072 | ||
3073 | * gdbserver/inferiors.c: New file. | |
3074 | * gdbserver/target.c: New file. | |
3075 | * gdbserver/target.h: New file. | |
3076 | * gdbserver/Makefile.in: Add target.o and inferiors.o. Update | |
3077 | dependencies. | |
3078 | * gdbserver/linux-low.c (inferior_pid): New static variable, | |
3079 | moved from server.c. | |
3080 | (linux_create_inferior): Renamed from create_inferior. | |
3081 | Call add_inferior. Return 0 on success instead of a PID. | |
3082 | (linux_attach): Renamed from myattach. | |
3083 | (linux_kill): Renamed from kill_inferior. Call clear_inferiors (). | |
3084 | (linux_thread_alive): Renamed from mythread_alive. | |
3085 | (linux_wait): Renamed from mywait. Call clear_inferiors () if the | |
3086 | child dies. | |
3087 | (linux_resume): Renamed from myresume. Add missing ``return 0''. | |
3088 | (regsets_store_inferior_registers): Correct error message. | |
3089 | Add missing ``return 0''. | |
3090 | (linux_fetch_registers): Renamed from fetch_inferior_registers. | |
3091 | (linux_store_registers): Renamed from store_inferior_registers. | |
3092 | (linux_read_memory): Renamed from read_inferior_memory. | |
3093 | (linux_write_memory): Renamed from write_inferior_memory. | |
3094 | (linux_target_ops): New structure. | |
3095 | (initialize_low): Call set_target_ops (). | |
3096 | * gdbserver/remote-utils.c (unhexify): New function. | |
3097 | (hexify): New function. | |
3098 | (input_interrupt): Send signals to ``signal_pid''. | |
3099 | * gdbserver/server.c (inferior_pid): Remove. | |
3100 | (start_inferior): Update create_inferior call. | |
3101 | (attach_inferior): Call add_inferior. | |
3102 | (handle_query): New function. | |
3103 | (main): Call handle_query for `q' packets. | |
3104 | * gdbserver/server.h: Include "target.h". Remove obsolete prototypes. | |
3105 | Add prototypes for "inferiors.c", "target.c", hexify, and unhexify. | |
3106 | ||
0729219d DJ |
3107 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> |
3108 | ||
3109 | * gdbserver/Makefile.in: Add WARN_CFLAGS. Update configury | |
3110 | dependencies. | |
3111 | * gdbserver/configure.in: Check for <string.h> | |
3112 | * gdbserver/configure: Regenerate. | |
3113 | * gdbserver/config.in: Regenerate. | |
3114 | * gdbserver/gdbreplay.c: Include needed system headers. | |
3115 | (remote_open): Remove strchr prototype. | |
3116 | * gdbserver/linux-low.h: Correct #ifdef to HAVE_LINUX_USRREGS. | |
3117 | * gdbserver/regcache.c (supply_register): Change buf argument to const void *. | |
3118 | (supply_register_by_name): Likewise. | |
3119 | (collect_register): Change buf argument to void *. | |
3120 | (collect_register_by_name): Likewise. | |
3121 | * gdbserver/regcache.h: Add missing prototypes. | |
3122 | * gdbserver/remote-utils.c: Include <arpa/inet.h> for inet_ntoa. | |
3123 | * gdbserver/server.c (handle_query): New function. | |
3124 | (attached): New static variable, moved out of main. | |
3125 | (main): Quiet longjmp clobber warnings. | |
3126 | * gdbserver/server.h: Add ATTR_NORETURN and ATTR_FORMAT. Update prototypes. | |
3127 | * gdbserver/utils.c (error): Remove NORETURN. | |
3128 | (fatal): Likewise. | |
3129 | ||
97658e92 DJ |
3130 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> |
3131 | ||
3132 | * symtab.h (ALL_BLOCK_SYMBOLS): Don't dereference the pointer | |
3133 | after the last symbol in a block. | |
3134 | ||
6044e3eb PM |
3135 | 2002-04-09 Pierre Muller <muller@ics.u-strasbg.fr> |
3136 | ||
3137 | * p-exp.y (yylex): Handle also the fact that is_a_field_of_this | |
3138 | is non zero as a found symbol. | |
3139 | ||
0406ec40 AC |
3140 | 2002-04-08 Andrew Cagney <ac131313@redhat.com> |
3141 | ||
3142 | * findvar.c: Include "builtin-regs.h". | |
3143 | (value_of_register): Call value_of_builtin_reg when applicable. | |
3144 | * parse.c: Include "builtin-regs.h" and "gdb_assert.h". | |
3145 | (target_map_name_to_register): Call | |
3146 | builtin_reg_map_name_to_regnum. | |
3147 | * Makefile.in (SFILES): Add builtin-regs.c and std-regs.c. | |
3148 | (COMMON_OBS): Add builtin-regs.o and std-regs.o. | |
3149 | (builtin_regs_h): Define. | |
3150 | (builtin-regs.o): New target. | |
3151 | (findvar.o): Add $(builtin_regs_h). | |
3152 | * builtin-regs.c, builtin-regs.h: New files. | |
3153 | * std-regs.c: New file. | |
3154 | Partial fix for PR gdb/251. | |
3155 | ||
56a6dfb9 KB |
3156 | 2002-04-08 Kevin Buettner <kevinb@redhat.com> |
3157 | ||
3158 | * rs6000-tdep.c (rs6000_gdbarch_init): Don't set tm_print_insn; | |
3159 | it's no longer required. | |
3160 | ||
3a808432 AC |
3161 | 2002-04-08 Andrew Cagney <ac131313@redhat.com> |
3162 | ||
3163 | * Makefile.in (gdbtk-wrapper.o): Add missing dependencies. | |
3164 | ||
7c40d541 KB |
3165 | 2002-04-08 Kevin Buettner <kevinb@redhat.com> |
3166 | ||
3167 | From Jimi X <jimix@watson.ibm.com>: | |
3168 | * rs6000-tdep.c (rs6000_software_single_step): Use | |
3169 | rs6000_breakpoint_from_pc() to fetch breakpoint instruction | |
3170 | and size. Use target_insert_breakpoint() and | |
3171 | target_remove_breakpoint() to insert and remove breakpoints | |
3172 | instead of explicit memory reads and writes. | |
3173 | ||
cc9836a8 KB |
3174 | 2002-04-08 Kevin Buettner <kevinb@redhat.com> |
3175 | ||
3176 | * config/powerpc/tm-ppc-eabi.h (ELF_OBJECT_FORMAT): Delete. | |
3177 | * rs6000-tdep.c (rs6000_push_arguments): Eliminate | |
3178 | ELF_OBJECT_FORMAT ifdef. | |
3179 | ||
7495d1dc KB |
3180 | 2002-04-08 Kevin Buettner <kevinb@redhat.com> |
3181 | ||
3182 | From Jimi X <jimix@watson.ibm.com>: | |
3183 | * rs6000-tdep.c (rs6000_gdbarch_init): Use set_gdbarch_print_insn(). | |
3184 | ||
4288e836 KB |
3185 | 2002-04-08 Kevin Buettner <kevinb@redhat.com> |
3186 | ||
3187 | From Jimi X <jimix@watson.ibm.com>: | |
3188 | * rs6000-tdep.c (rs6000_fix_call_dummy): Delete unused macro | |
3189 | definitions for TOC_ADDR_OFFSET and TARGET_ADDR_OFFSET. | |
3190 | ||
a4e4e501 MK |
3191 | 2002-04-07 Mark Kettenis <kettenis@gnu.org> |
3192 | ||
3193 | * fbsd-proc.c (child_pid_to_exec_file, fbsd_find_memory_regions): | |
3194 | s/asprintf/xasprintf/. | |
3195 | (fbsd_make_corefile_notes): s/strdup/xstrdup/. | |
3196 | ||
006defba AC |
3197 | 2002-04-07 Andrew Cagney <ac131313@redhat.com> |
3198 | ||
3199 | I believe Jeff Law denies responsability for this one: | |
3200 | * config/pa/hpux11w.mh (MH_CFLAGS): Add -Dvfork=fork. | |
3201 | * config/pa/hpux11.mh (MH_CFLAGS): Add -Dvfork=fork. | |
3202 | * config/pa/hpux1020.mh (MH_CFLAGS): Add -Dvfork=fork. | |
3203 | Work-around for PR gdb/366. | |
3204 | ||
7aa83cac EZ |
3205 | 2002-04-07 Elena Zannoni <ezannoni@redhat.com> |
3206 | ||
3207 | * remote-e7000.c (write_small, e7000_read_inferior_memory, | |
3208 | e7000_read_inferior_memory_large, e7000_insert_breakpoint, | |
3209 | e7000_remove_breakpoint): Use paddr_nz() to print addresses. | |
3210 | ||
cf1fcca1 EZ |
3211 | 2002-04-07 Elena Zannoni <ezannoni@redhat.com> |
3212 | ||
3213 | * sh-tdep.c (sh_fp_frame_init_saved_regs, | |
3214 | sh_nofp_frame_init_saved_regs): Use alloca() for 'where' | |
3215 | information. | |
3216 | ||
3f289e6f AC |
3217 | 2002-04-07 Andrew Cagney <ac131313@redhat.com> |
3218 | ||
3219 | * MAINTAINERS (Misc): List Daniel Jacobowitz as the GDBSERVER | |
3220 | maintainer. | |
3221 | ||
129188f6 AC |
3222 | 2002-04-07 Andrew Cagney <ac131313@redhat.com> |
3223 | ||
3224 | * README (Reporting Bugs in GDB): Document the bug web page as the | |
3225 | prefered way of submitting bugs. | |
3226 | Fix PR gdb/402. | |
3227 | ||
1200cd6e AC |
3228 | 2002-04-06 Andrew Cagney <ac131313@redhat.com> |
3229 | ||
3230 | * gdbarch.sh (FP_REGNUM, PC_REGNUM, SP_REGNUM): Allow default of | |
3231 | -1. Update comment. | |
3232 | * gdbarch.h, gdbarch.c: Re-generate. | |
3233 | ||
2853c33c AS |
3234 | 2002-04-07 Andreas Schwab <schwab@suse.de> |
3235 | ||
3236 | * m68klinux-nat.c (fill_fpregset): Properly pass address of | |
3237 | buffer to regcache_collect. | |
3238 | ||
c2169756 AC |
3239 | 2002-04-06 Andrew Cagney <ac131313@redhat.com> |
3240 | ||
3241 | * gdbarch.sh (PS_REGNUM): Add. Document. Default to -1. | |
3242 | * gdbarch.c, gdbarch.h: Re-generate. | |
3243 | ||
25f1b008 AC |
3244 | 2002-04-06 Andrew Cagney <ac131313@redhat.com> |
3245 | ||
3246 | * symtab.c (lookup_symtab): Remove ``const'' from ``rp'' | |
3247 | declaration. Fix -Werror. | |
3248 | ||
59263426 DJ |
3249 | 2002-04-05 Daniel Jacobowitz <drow@mvista.com> |
3250 | ||
3251 | * gdbarch.sh (initialize_non_multiarch): Call init_gdbarch_swap. | |
3252 | * gdbarch.c: Regenerate. | |
3253 | ||
f5db4da3 MS |
3254 | 2002-04-05 Michael Snyder <msnyder@redhat.com> |
3255 | ||
80f8a6eb MS |
3256 | * breakpoint.c (clear_command): Rewrite middle section to |
3257 | combine two loops with identical control conditions. | |
3258 | Add a cleanup to eliminate a memory leak. | |
f5db4da3 MS |
3259 | * cli/cli-dump.c (restore_section_callback): Use paddr_nz. |
3260 | ||
ad3dcc5c L |
3261 | 2002-04-05 H.J. Lu (hjl@gnu.org) |
3262 | ||
3263 | * solib-svr4.c (bkpt_names): Add "__start". | |
3264 | ||
f32e7a74 AC |
3265 | 2002-04-04 Andrew Cagney <ac131313@redhat.com> |
3266 | ||
3267 | * sparc-tdep.c (sparc_push_dummy_frame): Use GDB_TARGET_IS_SPARC64 | |
3268 | as test for 64 bit target. | |
3269 | ||
8227c0ff AC |
3270 | 2002-04-05 Andrew Cagney <ac131313@redhat.com> |
3271 | ||
3272 | * h8500-tdep.c (h8500_write_fp): Delete function. | |
3273 | * dwarf2cfi.c (cfi_write_fp): Document as not used. | |
3274 | * mips-tdep.c (mips_gdbarch_init): Do not set write_fp. | |
3275 | * ia64-tdep.c (ia64_gdbarch_init): Do not set write_fp. | |
3276 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set write_fp. | |
3277 | * rs6000-tdep.c (rs6000_gdbarch_init): Do not set write_fp. | |
3278 | * s390-tdep.c (s390_gdbarch_init): Do not set write_fp. | |
3279 | (s390_write_fp): | |
3280 | * sh-tdep.c (sh_gdbarch_init): Do not set write_fp. | |
3281 | * x86-64-tdep.c (i386_gdbarch_init): Do not set write_fp. | |
3282 | * d10v-tdep.c (d10v_gdbarch_init): Do not set write_fp. | |
3283 | (d10v_write_fp): Delete function. | |
3284 | * inferior.h (write_fp, generic_target_write_fp): Delete | |
3285 | declarations. | |
3286 | * regcache.c (generic_target_write_fp): Delete function. | |
3287 | (write_fp): Delete function. | |
3288 | * gdbarch.sh (TARGET_WRITE_FP): Delete. | |
3289 | * gdbarch.h, gdbarch.c: Regenerate. | |
3290 | * config/v850/tm-v850.h (TARGET_WRITE_FP): Delete macro. | |
3291 | * config/sparc/tm-sp64.h (TARGET_WRITE_FP): Delete macro. | |
3292 | (sparc64_write_fp): Delete declaration. | |
3293 | * config/h8500/tm-h8500.h (TARGET_WRITE_FP): Delete macro. | |
3294 | (h8500_write_fp): Delete declaration. | |
3295 | ||
2757dd86 AC |
3296 | 2002-04-04 Andrew Cagney <ac131313@redhat.com> |
3297 | ||
3298 | * sparc-tdep.c (sparc64_write_fp): Delete. | |
3299 | (sparc_push_dummy_frame): Replace write_fp call with code to store | |
3300 | the FP directly. | |
3301 | (sparc_gdbarch_init): Do not initialize write_fp. | |
3302 | ||
c69255e1 KB |
3303 | 2002-04-05 Kevin Buettner <kevinb@redhat.com> |
3304 | ||
3305 | * rs6000-tdep.c (skip_prologue): Eliminate unused/unreachable | |
3306 | clause. | |
3307 | ||
ae767bfb JB |
3308 | 2002-03-29 Jim Blandy <jimb@redhat.com> |
3309 | ||
3310 | * stack.c (get_selected_block): Add new argument `addr_in_block', | |
3311 | used to return the exact code address we used to select the block, | |
3312 | not just the block. | |
3313 | * blockframe.c (get_frame_block, get_current_block): Same. | |
3314 | * frame.h (get_frame_block, get_current_block, | |
3315 | get_selected_block): Update declarations. | |
3316 | * linespec.c, stack.c, blockframe.c, breakpoint.c, findvar.c, | |
3317 | linespec.c, varobj.c, printcmd.c, symtab.c: Callers changed. | |
3318 | ||
84d2ac95 MS |
3319 | 2002-04-05 Michael Snyder <msnyder@redhat.com> |
3320 | ||
3321 | * breakpoint.c (insert_breakpoints): Change 'hw' to 'hardware in | |
3322 | warning message. | |
3323 | ||
596aa3bf JB |
3324 | 2002-04-05 J. Brobecker <brobecker@gnat.com> |
3325 | ||
3326 | * utils.c (xfullpath): New function. | |
3327 | * defs.h (xfullpath): Add declaration. | |
3328 | * source.c (openp): Use xfullpath in place of gdb_realpath to | |
3329 | avoid resolving the basename part of filenames when the | |
3330 | associated file is a symbolic link. This fixes a potential | |
3331 | inconsistency between the filenames known to GDB and the | |
3332 | filenames it prints in the annotations. | |
3333 | * symtab.c (lookup_symtab): Use the new xfullpath function, in order | |
3334 | to be able to match a filename with either the real filename, or | |
3335 | the name of any symbolic link to this file. | |
3336 | (lookup_partial_symtab): Ditto. | |
3337 | ||
c02f5703 MS |
3338 | 2002-04-04 Michael Snyder <msnyder@redhat.com> |
3339 | ||
3340 | * breakpoint.c: Add support for hardware breakpoints in overlays. | |
3341 | (overlay_events_enabled): New state variable. | |
3342 | (insert_breakpoints): Use overlay_events_enabled to decide | |
3343 | whether to attempt to set a breakpoint at the overlay load addr. | |
3344 | Handle bp_hardware_breakpoint as well as bp_breakpoint. | |
3345 | (remove_breakpoint): Use overlay_events_enabled to decide | |
3346 | whether breakpoints need to be removed from overlay load addr. | |
3347 | Handle bp_hardware_breakpoint as well as bp_breakpoint. | |
3348 | (bpstat_stop_status): Handle bp_hardware_breakpoint in overlays. | |
361d1df0 | 3349 | (create_overlay_event_breakpoint, enable_overlay_breakpoints, |
c02f5703 MS |
3350 | disable_overlay_breakpoints): Update overlay_events_enabled. |
3351 | ||
5fb290d7 DJ |
3352 | 2002-04-04 Daniel Jacobowitz <drow@mvista.com> |
3353 | ||
3354 | * dwarf2read.c (struct function_range): New. | |
3355 | (cu_first_fn, cu_last_fn, cu_cached_fn): New. | |
3356 | (check_cu_functions): New. | |
3357 | (read_file_scope): Initialize global function lists. | |
3358 | Call dwarf_decode_line after processing children. | |
3359 | (read_func_scope): Add to global function list. | |
3360 | (dwarf_decode_lines): Call check_cu_functions everywhere | |
3361 | record_line is called. Call record_line with a linenumber | |
3362 | of 0 to mark sequence ends. | |
3363 | ||
7b3fabf0 ML |
3364 | 2002-04-04 Michal Ludvig <mludvig@suse.cz> |
3365 | ||
361d1df0 | 3366 | * x86-64-linux-nat.c (child_xfer_memory): x86-64 ptrace() ABI |
7b3fabf0 ML |
3367 | change sync with glibc. |
3368 | ||
bce58c09 JB |
3369 | 2002-04-03 Jim Blandy <jimb@redhat.com> |
3370 | ||
3371 | * configure.in: Call AC_C_INLINE. | |
3372 | * configure: Regenerated. | |
361d1df0 | 3373 | |
2fccf04a DJ |
3374 | 2002-04-01 Daniel Jacobowitz <drow@mvista.com> |
3375 | ||
3376 | * rs6000-tdep.c: Change #include of "bfd/libcoff.h" | |
3377 | and "bfd/libbfd.h" to "libcoff.h" and "libbfd.h". | |
3378 | ||
2d1bfe2e MK |
3379 | 2002-03-31 Mark Kettenis <kettenis@gnu.org> |
3380 | ||
a5941fbf MK |
3381 | * NEWS: Mention gcore support on FreeBSD/i386. |
3382 | ||
a90cd31d MK |
3383 | * fbsd-proc.c: New file. |
3384 | * config/i386/nm-fbsd.h (CHILD_PID_TO_EXEC_FILE): Define. | |
3385 | * config/i386/fbsd.mh (NATDEPFILES): Add gcore.o and fbsd-proc.o. | |
3386 | ||
2d1bfe2e MK |
3387 | * lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO in |
3388 | while statement. | |
3389 | ||
9eb6e5a1 JB |
3390 | 2002-03-29 Jim Blandy <jimb@redhat.com> |
3391 | ||
3392 | * cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate | |
3393 | unescaped newlines in string literals, but newer ones don't. So | |
3394 | escape them. | |
3395 | ||
f02df580 MS |
3396 | 2002-03-26 Michael Snyder <msnyder@redhat.com> |
3397 | Andrew Cagney <cagney@redhat.com> | |
3398 | ||
361d1df0 | 3399 | * cli/cli-dump.c: New file. Dump memory to file, |
f02df580 MS |
3400 | restore file to memory. |
3401 | * cli/cli-dump.h: New file. | |
3402 | * Makefile.in: Add rules, dependencies for cli-dump.o. | |
89743e04 | 3403 | * NEWS: Mention new commands. |
f02df580 | 3404 | |
109f874e MS |
3405 | 2002-03-28 Michael Snyder <msnyder@redhat.com> |
3406 | ||
3407 | * symfile.c (symbol_file_add): Move test for null symbols to later. | |
3408 | ||
520f6ade AC |
3409 | 2002-03-27 Andrew Cagney <ac131313@redhat.com> |
3410 | ||
3411 | From veksler at il.ibm.com: | |
3412 | * utils.c (gdb_realpath): If canonicalize_file_name fails, return | |
3413 | the xstrduped original path. | |
3414 | Fix PR gdb/417. | |
3415 | ||
d4654627 MS |
3416 | 2002-03-27 Michael Snyder <msnyder@redhat.com> |
3417 | ||
3418 | * breakpoint.c (_initialize_breakpoint): Clean up help string. | |
3419 | * infcmd.c (_initialize_infcmd): Ditto. | |
3420 | * language.c (_initialize_language): Ditto. | |
3421 | * symfile.c (_initialize_symfile): Ditto. | |
3422 | * top.c (_init_main): Ditto. | |
3423 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
3424 | ||
6be8bc0c EZ |
3425 | 2002-03-27 Elena Zannoni <ezannoni@redhat.com> |
3426 | ||
3427 | * rs6000-tdep.c (struct rs6000_framedata): Add fields for AltiVec | |
3428 | vector registers handling. | |
3429 | (skip_prologue): Handle new AltiVec instructions. Fill in new | |
3430 | fields of frame data. | |
3431 | (frame_get_saved_regs): Fill in information for AltiVec registers. | |
3432 | ||
12af6855 JB |
3433 | 2002-03-27 Jim Blandy <jimb@redhat.com> |
3434 | ||
3435 | * symtab.h (SYMBOL_INIT_MANGLED_NAME): Turn this macro's body into | |
3436 | a function; leave this macro here to invoke that function. | |
3437 | (symbol_init_mangled_name): Declaration for that function. | |
3438 | * symtab.c (symbol_init_mangled_name): New function. | |
3439 | ||
dc672865 AC |
3440 | 2002-03-27 Andrew Cagney <ac131313@redhat.com> |
3441 | ||
3442 | * valarith.c: Replace strerror with safe_strerror. | |
3443 | * tracepoint.c: Ditto. | |
3444 | * lin-lwp.c: Ditto. | |
3445 | * go32-nat.c: Ditto. | |
3446 | * inflow.c: Ditto. | |
3447 | * gnu-nat.c: Ditto. | |
3448 | ||
d96429cd AS |
3449 | 2002-03-27 Andreas Schwab <schwab@suse.de> |
3450 | ||
3451 | * event-top.c (command_line_handler): Remove useless if. | |
3452 | ||
7e336ba1 AJ |
3453 | 2002-03-27 Andreas Jaeger <aj@suse.de> |
3454 | ||
3455 | * dwarf2cfi.c: Give credit to Daniel Berlin, reformat copyright | |
3456 | comment. | |
3457 | ||
de220d0f ML |
3458 | 2002-03-27 Michal Ludvig <mludvig@suse.cz> |
3459 | ||
3460 | * x86-64-tdep.h (X86_64_NUM_REGS, X86_64_NUM_GREGS): Delete #defines. | |
3461 | (x86_64_num_regs, x86_64_num_gregs): Added extern variables. | |
3462 | * x86-64-linux-nat.c (x86_64_regmap): Swapped RBX <> RDX, added DS, ES, FS, GS. | |
3463 | (x86_64_linux_dr_get_status, supply_gregset), | |
3464 | (fill_gregset): Changed X86_64_NUM_GREGS to x86_64_num_gregs. | |
3465 | * x86-64-tdep.c (x86_64_register_raw_size_table): Delete. | |
3466 | (x86_64_register_info_table): Add. | |
3467 | (X86_64_NUM_REGS, X86_64_NUM_GREGS): Add. | |
3468 | (x86_64_register_raw_size, x86_64_register_virtual_type), | |
3469 | (x86_64_register_name, _initialize_x86_64_tdep): Changed to reflect new | |
3470 | general x86_64_register_info_table. | |
3471 | (i386_gdbarch_init): gdbarch_register_bytes is now set | |
3472 | dynamicaly during initialization. | |
3473 | * regformats/reg-x86-64.dat: Synced with changes to registers above. | |
3474 | * gdbserver/linux-x86-64-low.c: Ditto. | |
7e336ba1 | 3475 | |
0e98d0a7 DJ |
3476 | 2002-03-27 Daniel Jacobowitz <drow@mvista.com> |
3477 | ||
3478 | * gdbserver/server.c (main): Call target_signal_to_host_p | |
3479 | and target_signal_to_host on signals received from the remote. | |
3480 | * gdbserver/remote-utils.c (prepare_resume_reply): Call | |
3481 | target_signal_from_host on signals sent to the remote. | |
3482 | * gdbserver/server.h: Add prototypes. Include "gdb/signals.h". | |
3483 | * gdbserver/Makefile.in: Add signals.o. Add -I${INCLUDE_DIR}. | |
3484 | ||
3130066b DJ |
3485 | 2002-03-27 Daniel Jacobowitz <drow@mvista.com> |
3486 | ||
3487 | * signals/signals.c: Include "server.h" in gdbserver build. | |
3488 | (target_signal_from_name): Don't use STREQ. | |
3489 | (_initialize_signals): Likewise. Don't include function in | |
3490 | gdbserver build. | |
3491 | ||
9aedf4f4 DJ |
3492 | 2002-03-27 Daniel Jacobowitz <drow@mvista.com> |
3493 | ||
3494 | * signals.c: Moved to... | |
3495 | * signals/signals.c: Here. | |
7e336ba1 | 3496 | * Makefile (signals.o): Update. |
9aedf4f4 | 3497 | |
3fa41cdb JL |
3498 | 2002-03-26 Jeff Law (law@redhat.com) |
3499 | ||
3500 | * somread.c (som_symtab_read): Remove some commented out code and | |
3501 | updated related comments. Do not set the minimal symbol table to | |
3502 | mst_solib_trampoline for ST_ENTRY symbols with SS_LOCAL scope | |
3503 | in a dynamic executable. | |
3504 | * hppa-tdep.c (find_proc_framesize): Sanely handle the case | |
3505 | where we are unable to find the minimal symbol for the given | |
3506 | PC value. | |
3507 | ||
ee677e8d MS |
3508 | 2002-03-25 Jeff Law (law@redhat.com) |
3509 | ||
3510 | * linux-proc.c (read_mapping): Scan up to end of line for filename. | |
3511 | ||
e76e1718 ML |
3512 | 2002-03-25 Michal Ludvig <mludvig@suse.cz> |
3513 | ||
3514 | * x86-64-tdep.c (x86_64_skip_prologue): Rewritten from scratch. | |
3515 | ||
18a642a1 AC |
3516 | 2002-03-23 Andrew Cagney <ac131313@redhat.com> |
3517 | ||
3518 | * command.h: Update copyright. | |
3519 | (struct cmd_list_element): Replace definition with opaque | |
3520 | declaration. | |
3521 | (enum cmd_types): Document that it will eventually be moved to | |
3522 | cli/cli-decode.h | |
3523 | (CMD_DEPRECATED, DEPRECATED_WARN_USER): Delete macros. | |
3524 | (MALLOCED_REPLACEMENT): Delete macro. | |
3525 | * Makefile.in (cli_decode_h): Add $(command_h). | |
3526 | (top.o, completer.o, maint.o): Add dependency on $(cli_decode_h). | |
7e336ba1 | 3527 | * top.c: Include "cli/cli-decode.h". |
18a642a1 AC |
3528 | * completer.c: Include "cli/cli-decode.h". |
3529 | * maint.c: Include "cli/cli-decode.h". | |
3530 | * cli/cli-decode.h: Include "command.h". | |
3531 | (enum command_class): Delete. | |
3532 | (enum cmd_types): Comment out. | |
3533 | (enum cmd_auto_boolean): Delete. | |
3534 | (enum var_types): Delete. | |
3535 | ||
b2875cc0 AC |
3536 | 2002-03-23 Andrew Cagney <ac131313@redhat.com> |
3537 | ||
3538 | * cli/cli-decode.c: Include "gdb_assert.h". | |
3539 | (add_set_or_show_cmd): New static function. | |
3540 | (add_set_cmd): Rewrite. Use add_set_or_show_cmd. | |
3541 | (add_show_from_set): Rewrite. Use add_set_or_show_cmd. Don't copy | |
3542 | all fields, such as func, from the set command. | |
3543 | ||
3b45974e AC |
3544 | 2002-03-23 Andrew Cagney <ac131313@redhat.com> |
3545 | ||
3546 | * MAINTAINERS (sh-elf): Change warning flag to -w. | |
3547 | ||
823ca731 AC |
3548 | 2002-03-23 Andrew Cagney <cagney@redhat.com> |
3549 | ||
3550 | * defs.h (error): Add printf format attribute. | |
3551 | * thread-db.c (thread_from_lwp): Fix error format string. | |
3552 | * stack.c (parse_frame_specification): Ditto. | |
3553 | * cli/cli-decode.c (undef_cmd_error): Ditto. | |
3554 | * scm-lang.c (scm_lookup_name): Ditto. | |
3555 | * tracepoint.c (trace_error): Ditto. | |
3556 | * remote-utils.c (usage): Ditto. | |
3557 | * remote.c (compare_sections_command): Ditto. | |
3558 | Fix PR gdb/328. | |
3559 | ||
0e101458 AC |
3560 | 2002-03-22 Andrew Cagney <ac131313@redhat.com> |
3561 | ||
3562 | * gdbtypes.c (append_composite_type_field): New function. | |
3563 | (init_composite_type): New function. | |
3564 | * gdbtypes.h (append_composite_type_field): Declare. | |
3565 | (init_composite_type): Ditto. | |
3566 | ||
8e0662df EZ |
3567 | 2002-03-22 Elena Zannoni <ezannoni@redhat.com> |
3568 | ||
3569 | * ppc-linux-tdep.c (ppc_sysv_abi_use_struct_convention): New | |
7e336ba1 | 3570 | function. |
8e0662df EZ |
3571 | * ppc-tdep.h (ppc_sysv_abi_use_struct_convention): Export. |
3572 | * rs6000-tdep.c (rs6000_gdbarch_init): Use different | |
3573 | structure returning convention for SYSV ABI case, but not | |
3574 | for GNU/Linux, FreeBSD, or NetBSD. | |
3575 | ||
3121eff0 DJ |
3576 | 2002-03-22 Daniel Jacobowitz <drow@mvista.com> |
3577 | ||
3578 | * symtab.h (lookup_block_symbol): Add mangled_name argument | |
3579 | to prototype. | |
3580 | ||
3581 | * symmisc.c (maintenance_check_symtabs): Call lookup_block_symbol | |
3582 | with new mangled_name argument. | |
3583 | * linespec.c (decode_line_1): Likewise. | |
3584 | * valops (value_of_this): Likewise. | |
3585 | * symtab.c (lookup_transparent_type): Likewise. | |
3586 | (lookup_symbol_aux): Likewise. Accept new mangled_name argument. | |
3587 | (lookup_symbol): If we are given a mangled name, pass it down | |
3588 | to lookup_symbol_aux. | |
3589 | (lookup_block_symbol): If we are given a mangled name to check | |
3590 | against, only return symbols which match it. | |
3591 | ||
349b409f CF |
3592 | 2002-03-22 Christopher Faylor <cgf@redhat.com> |
3593 | ||
3594 | * win32-nat.c (child_create_inferior): Check for proper shell to use | |
3595 | here, in case the user changes it on the fly. | |
3596 | (_initialize_inftarg): Remove shell path considerations. | |
3597 | ||
2a873819 EZ |
3598 | 2002-03-21 Elena Zannoni <ezannoni@redhat.com> |
3599 | ||
3600 | * rs6000-tdep.c (rs6000_gdbarch_init): Use correct max size value | |
3601 | for gdbarch_max_register_raw_size and max_register_virtual_size. | |
3602 | Adjust copyright year. | |
3603 | ||
a1b9830c DJ |
3604 | 2002-03-21 Daniel Jacobowitz <drow@mvista.com> |
3605 | ||
3606 | * dbxread.c (process_one_symbol): Extend the first N_SLINE | |
3607 | in a function to cover the entire beginning of the function | |
3608 | as well if it does not already. | |
3609 | ||
8b5790f2 TR |
3610 | 2002-03-21 Tom Rix <trix@redhat.com> |
3611 | ||
3612 | * rs6000-nat.c (rs6000_ptrace32): Renamed from ptrace32. | |
3613 | (rs6000_ptrace64): Renamed from ptrace64. | |
3614 | ||
bdbe5747 MH |
3615 | 2002-03-20 Martin M. Hunt <hunt@redhat.com> |
3616 | ||
3617 | * gdbserver/remote-utils.c (remote_open): Don't call | |
3618 | getprotobyname, we're all using TCP here so just use | |
3619 | IPPROTO_TCP. | |
7e336ba1 | 3620 | * gdbserver/gdbreplay.c (remote_open): Ditto. |
bdbe5747 MH |
3621 | |
3622 | 2002-03-20 Martin M. Hunt <hunt@redhat.com> | |
7e336ba1 | 3623 | |
bdbe5747 MH |
3624 | * regcache.c (_initialize_regcache): No need to call |
3625 | build_regcache() at this time; it gets called whenever | |
3626 | the gdbarch changes. | |
3627 | ||
7781cd62 DB |
3628 | 2002-03-20 David O'Brien <obrien@FreeBSD.org> |
3629 | ||
3630 | * sparc-nat.c: Include sys/param.h where possible. | |
3631 | ||
f65ca430 DJ |
3632 | 2002-03-20 Daniel Jacobowitz <drow@mvista.com> |
3633 | ||
3634 | Fix PR gdb/422. | |
3635 | * c-lang.c (c_create_fundamental_type): Handle FT_COMPLEX, | |
3636 | FT_DBL_PREC_COMPLEX, and FT_EXT_PREC_COMPLEX. | |
3637 | * dwarf2read.c (read_base_type): Set TYPE_TARGET_TYPE for | |
3638 | complex types. | |
3639 | * stabsread.c (rs6000_builtin_type): Likewise. | |
3640 | (read_sun_floating_type): Likewise. | |
3641 | ||
0c867556 PS |
3642 | 2002-03-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
3643 | ||
3644 | * stabsread.c (read_member_functions): Remove skip code for duplicate | |
3645 | constructor/destructor methods. Use standard parsing for these | |
3646 | methods and just do not chain them to the list of methods after | |
3647 | parsing. | |
3648 | ||
12b9c64f AO |
3649 | 2002-03-19 Alexandre Oliva <aoliva@redhat.com> |
3650 | ||
3651 | * coffread.c: Remove redundant static declarations. Replace | |
3652 | occurrences of `PTR' with `void *'. | |
3653 | * elfread.c, mdebugread.c, minsyms.c, mipsread.c: Likewise. | |
3654 | * top.h (quit_cover): Likewise. | |
3655 | * defs.h (catch_errors): Likewise. | |
3656 | ||
349c5d5f AC |
3657 | 2002-03-18 Andrew Cagney <ac131313@redhat.com> |
3658 | ||
3659 | * defs.h (XMALLOC): Define. | |
3660 | * gdb-events.sh (XMALLOC): Delete macro. | |
3661 | * gdb-events.c, gdb-events.h: Regenerate. | |
3662 | * gdbarch.sh (XMALLOC): Delete macro. | |
3663 | * gdbarch.c: Regenerate. | |
3664 | * serial.c (XMALLOC): Delete macro. | |
3665 | * ui-file.c (XMALLOC): Ditto. | |
3666 | * ser-unix.h (XMALLOC): Ditto. | |
3667 | * sh-tdep.c (XMALLOC): Ditto. | |
3668 | * ui-out.c (XMALLOC): Ditto. | |
3669 | * utils.c (XMALLOC): Ditto. | |
3670 | * i386-tdep.c (XMALLOC): Ditto. | |
3671 | * gdb-events.c (XMALLOC): Ditto. | |
3672 | * d10v-tdep.c (XMALLOC): Ditto. | |
3673 | * cli-out.c (XMALLOC): Ditto. | |
3674 | ||
3675 | * cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright. | |
3676 | * gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto. | |
3677 | * ui-file.c, ui-out.c: Ditto. | |
3678 | ||
7d0766f3 AC |
3679 | 2002-03-18 Andrew Cagney <ac131313@redhat.com> |
3680 | ||
3681 | * command.h (struct cmd_list_element): Add field context. | |
3682 | (set_cmd_context, get_cmd_context): Declare. | |
3683 | * cli/cli-decode.h: Ditto. | |
3684 | * cli/cli-decode.c (get_cmd_context): New function. | |
3685 | (set_cmd_context): New function. | |
3686 | (add_cmd): Initialize context. | |
3687 | Part of fixing PR gdb/145 and PR gdb/146. | |
3688 | ||
5913bcb0 AC |
3689 | 2002-03-17 Andrew Cagney <ac131313@redhat.com> |
3690 | ||
1868c04e AC |
3691 | * cli/cli-decode.c (cmd_type): New function. |
3692 | * command.h (cmd_type): Declare. | |
3693 | * infrun.c (set_schedlock_func): Call function cmd_type. | |
3694 | * kod.c (kod_set_os): Call cmd_type. | |
3695 | * cris-tdep.c (cris_version_update): Use function cmd_type. | |
3696 | (cris_mode_update, cris_abi_update): Ditto. | |
3697 | ||
5913bcb0 AC |
3698 | * command.h: (execute_cmd_post_hook): Declare. |
3699 | (execute_cmd_pre_hook): Declare. | |
3700 | * cli/cli-script.c (clear_hook_in_cleanup): New function. | |
3701 | (execute_cmd_post_hook, execute_cmd_pre_hook): New | |
3702 | functions. Execute pre/post hook while ensuring that afterwords | |
3703 | hook_in is cleared. | |
3704 | * top.c (execute_command): Use execute_cmd_post_hook, and | |
3705 | execute_cmd_pre_hook to execute pre/post commands. | |
3706 | * infrun.c (normal_stop): Pass stop_command and not pre_hook to | |
3707 | hook_stop_stub. | |
3708 | (hook_stop_stub): Call execute_cmd_pre_hook. | |
3709 | ||
b51450c9 AC |
3710 | 2002-03-17 Andrew Cagney <ac131313@redhat.com> |
3711 | ||
3712 | * kod.c (kod_set_os): Revert previous change. Is called by ``info | |
3713 | set'' and this leads to a core dump. Move xstrdup of | |
3714 | operating_system to after check that it is not NULL. | |
3715 | ||
f66c9f11 AC |
3716 | 2002-03-17 Andrew Cagney <ac131313@redhat.com> |
3717 | ||
8e694ecf AC |
3718 | * kod.c (kod_set_os): Remove unnecessary check that |
3719 | ``command->type'' is set_cmd. | |
3720 | ||
f66c9f11 AC |
3721 | * valprint.c (set_input_radix): Use input_radix. |
3722 | (set_output_radix): Use output_radix. | |
3723 | (set_input_radix_1, set_output_radix_1): Add FIXME - bad radix | |
3724 | isn't reverted. | |
3725 | ||
9d01611c AC |
3726 | 2002-03-16 Andrew Cagney <ac131313@redhat.com> |
3727 | ||
3728 | * value.h (struct value): Delete field ``substring_addr''. Change | |
3729 | aligner fields to force_doublest_align, force_longest_align, | |
ee2d3b3a AC |
3730 | force_core_addr_align and force_pointer_aligh. |
3731 | ||
3732 | * value.h (struct value): Fix typo in above change. | |
9d01611c | 3733 | |
4156bb53 PS |
3734 | 2002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
3735 | ||
3736 | * ia64-tdep.c (ia64_gdbarch_init): Call set_gdbarch_frame_args_skip, | |
3737 | to fix internal_error from ``maintenance print architecture''. | |
3738 | ||
0e5e3ea6 PS |
3739 | 2002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
3740 | ||
3741 | * cp-valprint.c (cp_is_vtbl_ptr_type): Handle vtbl field type | |
3742 | for gcc versions after gcc-2.8.1. | |
3743 | ||
9b013045 PS |
3744 | 2002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
3745 | ||
3746 | * eval.c (evaluate_subexp_standard): Fix setup of ``this'' pointer | |
3747 | for method resolution. Restore adjustment of ``this'' pointer after | |
3748 | calling value_struct_elt, which was accidentally removed during the | |
3749 | HP merge. | |
3750 | ||
376c9600 AC |
3751 | 2002-03-15 Andrew Cagney <ac131313@redhat.com> |
3752 | ||
3753 | * eval.c (evaluate_subexp_standard): Pass ``selected_frame'' to | |
3754 | value_of_register. | |
3755 | * findvar.c (value_of_register): Add ``frame'' parameter. Pass to | |
3756 | get_saved_register. | |
3757 | * value.h (value_of_register): Update. | |
3758 | ||
a4db0f07 RH |
3759 | 2002-03-14 Richard Henderson <rth@redhat.com> |
3760 | ||
3761 | * configure.in: Detect declaration for canonicalize_file_name. | |
3762 | * utils.c (canonicalize_file_name): Declare, if needed. | |
3763 | (gdb_realpath): Prefer realpath if available and usable. | |
3764 | * config.in, configure: Rebuild. | |
3765 | ||
96383835 RH |
3766 | 2002-03-14 Richard Henderson <rth@redhat.com> |
3767 | ||
3768 | * dwarf2read.c (read_array_type): Accept DW_FORM_data8 as | |
3769 | a constant array bound. | |
3770 | ||
3771 | * MAINTAINERS: Add myself to write-after-approval. | |
3772 | ||
75245b24 MS |
3773 | 2002-03-14 Michael Snyder <msnyder@redhat.com> |
3774 | ||
3775 | * symfile.c (syms_from_objfile): Return immediately if no syms. | |
3776 | (symbol_file_add): Return immediately if no syms. | |
3777 | (find_sym_fns): Return immediately if no syms. | |
3778 | ||
e641a1ca ML |
3779 | 2002-03-13 Michal Ludvig <mludvig@suse.cz> |
3780 | ||
3781 | * gdbserver/remote-util.c (remote_open): Print remote-side's | |
3782 | IP address when remote debugging over the network. | |
7e336ba1 | 3783 | |
df08bfec DB |
3784 | 2002-03-12 David O'Brien <obrien@FreeBSD.org> |
3785 | ||
3786 | * config/sparc/fbsd.mh: Fix copyright. | |
3787 | * config/sparc/fbsd.mt: Likewise. | |
3788 | ||
9a57864f RE |
3789 | 2002-03-11 Richard Earnshaw <rearnsha@arm.com> |
3790 | ||
3791 | * MAINTAINERS: Fix typo in name of gdb warnings option. | |
3792 | (x86-64): Fix formating so that this can be parsed by awk. | |
3793 | ||
dd7bf85e DJ |
3794 | 2002-03-10 Daniel Jacobowitz <drow@mvista.com> |
3795 | ||
3796 | * Makefile.in (defs_h): Add $(INCLUDE_DIR)/gdb/signals.h. | |
3797 | * defs.h: Include "gdb/signals.h". | |
3798 | (enum target_signal): Move to $(INCLUDE_DIR)/gdb/signals.h. | |
3799 | ||
33a0a2ac ML |
3800 | 2002-03-10 Michal Ludvig <mludvig@suse.cz> |
3801 | ||
3802 | * x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c | |
7e336ba1 | 3803 | * x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here |
33a0a2ac ML |
3804 | from x86-64-tdep.h |
3805 | ||
dd824b04 DJ |
3806 | 2002-03-10 Daniel Jacobowitz <drow@mvista.com> |
3807 | Don Howard <dhoward@redhat.com> | |
3808 | ||
3809 | * mips-tdep.c (ST0_FR): Define. | |
3810 | (mips2_fp_compat): New function, temporarily disabled. | |
3811 | (mips_read_fp_register_single): New function. | |
3812 | (mips_read_fp_register_double): New function. | |
3813 | (mips_print_register): Use them. | |
3814 | (do_fp_register_row): Likewise. | |
3815 | ||
6a41ff59 AC |
3816 | 2002-03-09 Andrew Cagney <ac131313@redhat.com> |
3817 | ||
3818 | * MAINTAINERS: Add Jim Ingham and Klee Dienes to ``write after | |
3819 | approval''. | |
3820 | ||
4ea09c10 PS |
3821 | 2002-03-08 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
3822 | ||
3823 | * stabsread.c (read_member_functions): Fix is_stub test for | |
3824 | static member functions, improve comment. | |
3825 | ||
6ccc741d RE |
3826 | 2002-03-07 Richard Earnshaw <rearnsha@arm.com> |
3827 | ||
3828 | * remote-rdi.c (myprint): Replace 'PTR' with 'void *'. | |
3829 | (mywrite, mywritec, mypause, myreadc, mygets): Likewise. | |
3830 | (_initialize_remote_rdi): Use add_set_boolean_cmd to register | |
3831 | commands that set boolean values. | |
3832 | (arm_rdi_remove_breakpoint): Rewrite to avoid uninitialized warning. | |
3833 | (arm_rdi_resume): Always initialize PC. | |
3834 | (arm_rdi_open): Don't use rslt as a boolean. | |
3835 | (arm_rdi_create_inferior, arm_rdi_close, arm_rdi_resume) | |
3836 | (arm_rdi_fetch_registers, arm_rdi_store_registers) | |
3837 | (arm_rdi_xfer_memory, arm_rdi_files_info, arm_rdi_kill) | |
3838 | (arm_rdi_insert_breakpoint, arm_rdi_remove_breakpoint): Likewise. | |
3839 | ||
438013df AO |
3840 | 2002-03-06 Alexandre Oliva <aoliva@redhat.com> |
3841 | ||
3842 | * configure.in (gdb_cv_bigtoc): Check for -bbigtoc on AIX. | |
3843 | * configure: Rebuilt. | |
3844 | ||
70ed8774 SC |
3845 | 2002-03-06 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
3846 | ||
3847 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Don't set tm_print_insn. | |
3848 | (m68hc11_gdbarch_init): But use set_gdbarch_print_insn instead. | |
3849 | ||
5ba2abeb AC |
3850 | 2002-03-06 Andrew Cagney <ac131313@redhat.com> |
3851 | ||
3852 | * cli/cli-decode.c (set_cmd_completer): New function. | |
3853 | * command.h (set_cmd_completer): Declare. | |
3854 | * cli/cli-decode.h (set_cmd_completer): Ditto. | |
3855 | ||
3856 | * breakpoint.c (_initialize_breakpoint): Use set_cmd_completer. | |
3857 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
3858 | * win32-nat.c (_initialize_inftarg): Ditto. | |
3859 | * remote-rdi.c (_initialize_remote_rdi): Ditto. | |
3860 | * proc-api.c (_initialize_proc_api): Ditto. | |
3861 | * hppa-tdep.c (_initialize_hppa_tdep): Ditto. | |
3862 | * source.c (_initialize_source): Ditto. | |
3863 | * exec.c (_initialize_exec): Ditto. | |
3864 | * solib.c (_initialize_solib): Ditto. | |
3865 | * top.c (init_main): Ditto. | |
3866 | * tracepoint.c (_initialize_tracepoint): Ditto. | |
3867 | * symfile.c (_initialize_symfile): Ditto. | |
3868 | * printcmd.c (_initialize_printcmd): Ditto. | |
3869 | * infcmd.c (_initialize_infcmd): Ditto. | |
3870 | * corefile.c (_initialize_core): Ditto. | |
3871 | ||
f779ca99 AC |
3872 | 2002-03-05 Andrew Cagney <ac131313@redhat.com> |
3873 | ||
3874 | * MAINTAINERS (Past Maintainers): Add Frank Ch. Eigler. | |
3875 | ||
01a3934b AC |
3876 | 2002-03-05 Andrew Cagney <ac131313@redhat.com> |
3877 | ||
3878 | * MAINTAINERS: Fix Mac OS X and Objective-C/C++. | |
3879 | ||
37057839 AC |
3880 | 2002-03-05 Andrew Cagney <ac131313@redhat.com> |
3881 | ||
3882 | * NEWS: Update headings, 5.2 has branched. | |
3883 | ||
c6ecbae5 DJ |
3884 | 2002-03-04 Daniel Jacobowitz <drow@mvista.com> |
3885 | ||
3886 | * gdbserver/linux-low.c (PTRACE_XFER_TYPE): Change to long. | |
3887 | (num_regs, regmap): Move inside HAVE_LINUX_USRREGS. | |
3888 | (register_addr, REGISTER_RAW_SIZE): Likewise. | |
3889 | (usr_store_inferior_registers): Use PTRACE_XFER_TYPE. | |
3890 | * gdbserver/linux-x86-64-low.c: Remove extra #endif. | |
3891 | ||
e9f30c21 ML |
3892 | 2002-03-03 Michal Ludvig <mludvig@suse.cz> |
3893 | ||
3894 | * MAINTAINERS (x86-64): Add myself. | |
3895 | * x86-64-tdep.c (x86_64_push_arguments): Fixed typo naregs->nregs, | |
3896 | changed value_ptr -> struct value * | |
3897 | ||
54394ac3 DB |
3898 | 2002-03-01 David O'Brien <obrien@FreeBSD.org> |
3899 | ||
3900 | * configure.host (sparc64-*-freebsd): Add. | |
3901 | * configure.tgt: Likewise. | |
3902 | * config/sparc/fbsd.mh: New file. | |
3903 | * config/sparc/fbsd.mt: Likewise. | |
3904 | * config/sparc/nm-fbsd.h: Likewise. | |
3905 | * config/sparc/tm-fbsd.h: Likewise. | |
3906 | ||
bfe95955 DJ |
3907 | 2002-03-01 Daniel Jacobowitz <drow@mvista.com> |
3908 | ||
3909 | * config/djgpp/fnchange.lst: Add regformats/reg-i386-linux.dat and | |
3910 | regformats/reg-s390x.dat. | |
3911 | ||
f33c6cbf AC |
3912 | 2002-03-01 Andrew Cagney <ac131313@redhat.com> |
3913 | ||
3914 | * utils.c: Add FIXME explaining true/false problem. | |
3915 | ||
5ecaa7dd AC |
3916 | 2002-02-28 Andrew Cagney <ac131313@redhat.com> |
3917 | ||
3918 | * MAINTAINERS (Past Maintainers): Add J.T. Conklin. | |
3919 | ||
2a251cc2 MC |
3920 | 2002-02-28 Michael Chastain <mec@shout.net> |
3921 | ||
3922 | * MAINTAINERS: Fix typo: gdb.satbs -> gdb.stabs . | |
3923 | ||
6a8031a3 | 3924 | 2002-02-28 Daniel Jacobowitz <drow@mvista.com> |
265f716b DJ |
3925 | |
3926 | * gdbserver/linux-s390-low.c: New file. | |
3927 | * regformats/reg-s390.dat: New file. | |
3928 | * regformats/reg-s390x.dat: New file. | |
3929 | * gdbserver/configure.srv: Add S/390. | |
3930 | * gdbserver/Makefile.in: Add S/390. | |
3931 | * configure.tgt: Enable gdbserver for S/390. | |
3932 | ||
ac469903 EZ |
3933 | 2002-02-28 Eli Zaretskii <eliz@is.elta.co.il> |
3934 | ||
3935 | * go32-nat.c (_initialize_go32_nat): Don't use periods in the | |
3936 | first line of the doc string for "info dos", except at the end of | |
3937 | the sentence, since the short help stops at the first period. | |
3938 | ||
985cb1a3 JM |
3939 | 2002-02-28 Jason Merrill <jason@redhat.com> |
3940 | ||
3941 | * dwarf2read.c (dwarf_cfi_name): Add new codes. | |
3942 | ||
c570663e FF |
3943 | 2002-02-27 Fred Fish <fnf@redhat.com> |
3944 | ||
3945 | * blockframe.c (generic_fix_call_dummy): Fix obvious typo in | |
3946 | comment (dumy -> dummy). | |
3947 | ||
43630227 PS |
3948 | 2002-02-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
3949 | ||
3950 | * symtab.c (gdb_mangle_name): Handle fully mangled v3 abi physnames. | |
3951 | ||
b84911e8 RB |
3952 | 2002-02-27 Rodney Brown <rbrown64@csc.com.au> |
3953 | ||
3954 | * utils.c (gdb_realpath): Add pathconf fallback for sco3.2v5. | |
3955 | ||
58caa3dc DJ |
3956 | 2002-02-27 Daniel Jacobowitz <drow@mvista.com> |
3957 | ||
3958 | * gdbserver/acconfig.h: New file. | |
3959 | * gdbserver/i387-fp.c: New file. | |
3960 | * gdbserver/i387-fp.h: New file. | |
3961 | * gdbserver/linux-x86-64.c: New file. | |
3962 | * regformats/reg-x86-64.dat: New file. | |
3963 | * configure.tgt: Add x86_64-*-linux* gdbserver support. | |
3964 | * gdbserver/configure.srv: Add x86_64-*-linux* and regset support. | |
3965 | * gdbserver/configure.in: Add support for regsets. | |
3966 | * gdbserver/config.in: Regenerate. | |
3967 | * gdbserver/configure: Regenerate. | |
3968 | * gdbserver/Makefile.in: Likewise. Add $(linux_low_h). | |
3969 | * gdbserver/linux-low.h: New file. | |
3970 | * gdbserver/linux-low.c: Include "linux-low.h". Add support | |
3971 | for regsets. | |
3972 | * gdbserver/linux-arm-low.c: Include "linux-low.h". | |
3973 | * gdbserver/linux-ia64-low.c: Include "linux-low.h". | |
3974 | * gdbserver/linux-m68k-low.c: Include "linux-low.h". | |
3975 | * gdbserver/linux-mips-low.c: Include "linux-low.h". | |
3976 | * gdbserver/linux-ppc-low.c: Include "linux-low.h". | |
3977 | * gdbserver/linux-sh-low.c: Include "linux-low.h". | |
3978 | * gdbserver/linux-i386-low.c: Include "linux-low.h". Include | |
3979 | "i387-fp.h". Add PTRACE_GETREGS and friends. | |
3980 | * gdbserver/regcache.c (supply_register): New function. | |
3981 | (supply_register_by_name): New function. | |
3982 | (collect_register): New function. | |
3983 | (collect_register_by_name): New function. | |
3984 | ||
93652174 DJ |
3985 | 2002-02-27 Daniel Jacobowitz <drow@mvista.com> |
3986 | ||
3987 | * gdbserver/Makefile.in (INTERNAL_CFLAGS): Remove -DGDBSERVER. | |
3988 | (config.status): Add configure.srv dependency. | |
3989 | (server_h): Add config.h dependency. | |
3990 | ||
a02e4a61 DJ |
3991 | 2002-02-27 Daniel Jacobowitz <drow@mvista.com> |
3992 | ||
3993 | * regformats/reg-i386-linux.dat: New file, with $orig_eax. | |
3994 | * gdbserver/Makefile.in: Add rules for reg-i386-linux.o. | |
3995 | * gdbserver/configure.srv: Change i386-*-linux* to use | |
3996 | reg-i386-linux.o. | |
3997 | ||
ce0eebec AC |
3998 | 2002-02-26 Andrew Cagney <ac131313@redhat.com> |
3999 | ||
4000 | * x86-64-tdep.c: Re-indent. Update copyright date. | |
4001 | ||
82dbc5f7 AC |
4002 | 2002-02-26 Andrew Cagney <ac131313@redhat.com> |
4003 | ||
4004 | From Michal Ludvig <mludvig@suse.cz>: | |
4005 | * x86-64-tdep.c (value.h): Delete. | |
4006 | (gdb_assert.h): Include. | |
4007 | (x86_64_register_convert_to_virtual, | |
4008 | x86_64_register_convert_to_raw ): Add check which lets only | |
4009 | floating-point values to be converted. | |
4010 | (value_push): Delete. | |
4011 | (x86_64_push_arguments): Order of arguments pushed on stack fixed. | |
4012 | (i386_gdbarch_init): Number of register_bytes fixed. | |
4013 | ||
e4621584 AC |
4014 | 2002-02-26 Andrew Cagney <ac131313@redhat.com> |
4015 | ||
4016 | * MAINTAINERS: Add x86-64 target. | |
4017 | ||
81a9a963 AC |
4018 | 2002-02-26 Andrew Cagney <ac131313@redhat.com> |
4019 | ||
4020 | * memattr.c (mem_command): Eliminate ``true'' and ``false''. | |
4021 | * osfsolib.c (solib_map_sections): Ditto. | |
4022 | * irix5-nat.c (solib_map_sections): Ditto. | |
4023 | * corelow.c (gdb_check_format): Ditto. | |
4024 | * symfile.c (symfile_bfd_open): Ditto. | |
4025 | * solib.c (solib_map_sections): Ditto. | |
4026 | Fix PR gdb/354. | |
7e336ba1 | 4027 | |
0f017ab9 AC |
4028 | 2002-02-26 Andrew Cagney <ac131313@redhat.com> |
4029 | ||
4030 | * remote.c (_initialize_remote): By default, disable ``e'' and | |
4031 | ``E'' step out-of-range packets. | |
4032 | ||
75738c29 AS |
4033 | 2002-02-26 Andreas Schwab <schwab@suse.de> |
4034 | ||
4035 | * config/m68k/tm-linux.h (FRAME_SAVED_PC): Define as | |
4036 | m68k_linux_frame_saved_pc. | |
4037 | (IN_SIGTRAMP): Define as m68k_linux_in_sigtramp instead of | |
4038 | in_sigtramp. | |
4039 | (SIGCONTEXT_PC_OFFSET): Remove. | |
4040 | * m68klinux-nat.c (m68k_linux_frame_saved_pc, | |
4041 | m68k_linux_sigtramp_saved_pc): New functions. | |
4042 | (IS_SIGTRAMP, IS_RT_SIGTRAMP): Define. | |
4043 | (SIGCONTEXT_PC_OFFSET): Moved here from config/m68k/tm-linux.h. | |
4044 | (UCONTEXT_PC_OFFSET): Define. | |
4045 | (m68k_linux_in_sigtramp): Renamed from in_sigtramp, handle both | |
4046 | non-RT and RT signal trampolines. | |
4047 | ||
7e8ed687 RE |
4048 | 2002-02-26 Richard Earnshaw <rearnsha@arm.com> |
4049 | ||
4050 | * config/arm/tm-embed.h (TARGET_UPAGES): Delete. | |
4051 | (TARGET_NBPG, STACK_END_ADDR): Delete | |
4052 | (VARIABLES_INSIDE_BLOCK): Delete. | |
4053 | ||
6972bc8b AC |
4054 | 2002-02-25 Andrew Cagney <ac131313@redhat.com> |
4055 | ||
4056 | * utils.c (perror_with_name): Make string parameter constant. | |
4057 | (print_sys_errmsg): Ditto. | |
4058 | (query): Ditto. | |
4059 | * defs.h (perror_with_name): Update. | |
4060 | (print_sys_errmsg): Update. | |
4061 | (query): Update. | |
4062 | ||
aa32f823 DJ |
4063 | 2002-02-25 Daniel Jacobowitz <drow@mvista.com> |
4064 | ||
4065 | From Eliot Dresselhaus <eliot@ayrnetworks.com>: | |
4066 | * gdbserver/linux-mips-low.c (cannot_fetch_register): Fix typo. | |
4067 | ||
19caaa45 PS |
4068 | 2002-02-25 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
4069 | ||
4070 | * rs6000-nat.c (set_host_arch): Do not switch to a new architecture | |
4071 | if it already matches the current architecture from the exec file. | |
4072 | Include arch-utils.h for gdbarch_info_init prototype. | |
4073 | * Makefile.in (rs6000-nat.o): Update dependencies. | |
4074 | ||
d951901f EZ |
4075 | 2002-02-25 Eli Zaretskii <eliz@is.elta.co.il> |
4076 | ||
4077 | * config/djgpp/djconfig.sh: Set NM=nm and CFLAGS="-g -O2" in the | |
4078 | list of exported variables. | |
4079 | ||
7ea81414 DJ |
4080 | 2002-02-24 Daniel Jacobowitz <drow@mvista.com> |
4081 | ||
4082 | * gdbserver/configure.srv: New file. | |
4083 | * gdbserver/configure.in: Use configure.srv instead | |
4084 | of the host/target makefile fragments. Set GDBSERVER_DEPFILES | |
4085 | from it. | |
4086 | * gdbserver/configure: Regenerated. | |
4087 | * gdbserver/terminal.h: New file. | |
4088 | * gdbserver/Makefile.in: Update for configure changes. Remove | |
4089 | more unneeded include paths. | |
4090 | ||
080fe24b AC |
4091 | 2002-02-24 Andrew Cagney <ac131313@redhat.com> |
4092 | ||
4093 | From wiz at danbala: | |
4094 | * config/sparc/tm-sp64.h: Fix grammar and typos. | |
4095 | Fix PR gdb/287. | |
4096 | ||
8605d56e AC |
4097 | 2002-02-24 Andrew Cagney <ac131313@redhat.com> |
4098 | ||
4099 | * lin-lwp.c, thread-db.c, defs.h, cris-tdep.c: Replace ``Linux'' | |
a4b6fc86 AC |
4100 | with either ``GNU/Linux'' or ``Linux kernel''. Update copyright. |
4101 | * m68klinux-nat.c, sparc-linux-nat.c, x86-64-linux-nat.c: Ditto. | |
4102 | * x86-64-linux-tdep.c, gregset.h, gdb_wait.h: Ditto. | |
ca557f44 AC |
4103 | * ia64-linux-nat.c, infrun.c, linux-proc.c: Ditto. |
4104 | * proc-service.c, i386-linux-tdep.c, ppc-linux-tdep.c: Ditto. | |
4105 | * s390-tdep.c: Ditto. | |
92362027 AC |
4106 | * config/nm-linux.h, config/alpha/nm-linux.h: Ditto. |
4107 | * config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h: | |
4108 | * config/alpha/xm-alphalinux.h, config/i386/nm-linux.h: Ditto. | |
4109 | * config/i386/nm-x86-64.h, config/i386/tm-linux.h: Ditto. | |
4110 | * config/m68k/tm-linux.h, config/mips/nm-linux.h: Ditto. | |
4111 | * config/mips/tm-linux.h, config/mips/xm-linux.h: Ditto. | |
4112 | * config/powerpc/tm-linux.h, config/s390/nm-linux.h: Ditto. | |
4113 | * config/s390/tm-linux.h, config/sh/tm-linux.h: Ditto. | |
4114 | * config/sparc/nm-linux.h, config/sparc/tm-linux.h: Ditto. | |
4115 | * config/sparc/tm-sp64linux.h, config/sparc/xm-linux.h: Ditto. | |
8605d56e | 4116 | Fix PR gdb/378. |
7e336ba1 | 4117 | |
8ed32cc0 AC |
4118 | 2002-02-23 Andrew Cagney <ac131313@redhat.com> |
4119 | ||
a3007b6f AC |
4120 | * lin-thread.c: Delete file. |
4121 | * configure.in (gdb_cv_struct_reg_r_gs): Update comment to refer | |
4122 | to gdb_proc_service.h. | |
4123 | * configure: Re-generate. | |
4124 | ||
50a9e2f1 AC |
4125 | * ocd.c (ocd_open): Do not try to open the "ocd" device. |
4126 | * serial.c (serial_open): Delete check for "ocd". | |
4127 | Fix PR gdb/349. | |
4128 | ||
8b6e7932 AC |
4129 | * Makefile.in (linux-thread.o): Delete target. |
4130 | * linux-thread.c: Delete file. | |
4131 | ||
d155c46b AC |
4132 | * config/djgpp/fnchange.lst: Rename bfd/elf32-sh64.c. Tweak other |
4133 | renamed SH files to be consistent. | |
4134 | ||
8ed32cc0 AC |
4135 | * symtab.c (sort_search_symbols): Use xfree. |
4136 | ||
0e18d038 RE |
4137 | 2002-02-23 Richard Earnshaw <rearnsha@arm.com> |
4138 | ||
4139 | * arm-linux-tdep.c (arm_linux_init_abi): Register | |
4140 | IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE | |
4141 | * config/arm/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Replace old | |
4142 | definition with undef, since we don't want the sysvr4 definition. | |
4143 | (SKIP_TRAMPOLINE_CODE): Likewise. | |
4144 | ||
27aac7ff AC |
4145 | 2002-02-23 Andrew Cagney <ac131313@redhat.com> |
4146 | ||
4147 | From 2002-02-22 Alfred M. Szmidt <ams@kemisten.nu>: | |
4148 | ||
4149 | * configure.in: (AC_CHECK_FUNCS) Added test for | |
4150 | canonicalize_file_name Regenerated. | |
4151 | * config.in, configure: Regenerated. | |
4152 | * utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is | |
4153 | defined use canonicalize_file_name. | |
7e336ba1 | 4154 | |
65a6e0ee MC |
4155 | 2002-02-23 Michael Chastain <mec@shout.net> |
4156 | ||
4157 | * MAINTAINERS: Remove Michael Chastain from "paper trail" list. | |
4158 | ||
47b95330 AC |
4159 | 2002-02-23 Andrew Cagney <ac131313@redhat.com> |
4160 | ||
4161 | * README: Remove references to cygnus.com. | |
4162 | * MAINTAINERS: Change Past Maintainer addresses to ``foo at bar | |
4163 | dot com'' form. Remove references to cygnus.com and sourceware. | |
4164 | ||
696f451b AC |
4165 | 2002-02-23 Andrew Cagney <ac131313@redhat.com> |
4166 | ||
4167 | From 2002-02-19 Paul Eggert <eggert@twinsun.com>: | |
4168 | * Makefile.in (VER): Change "head -1" to "sed q", since POSIX | |
4169 | 1003.1-2001 no longer allows "head -1". | |
4170 | * gdb/Makefile.in (version.c): Likewise. | |
4171 | * gdb/doc/Makefile.in (GDBvn.texi): Likewise. | |
4172 | * gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is | |
4173 | equivalent. POSIX 1003.1-2001 no longer allows "diff -c3". | |
4174 | ||
bbaca940 AC |
4175 | 2002-02-23 Andrew Cagney <ac131313@redhat.com> |
4176 | ||
4177 | * cli/cli-decode.c (cmd_cfunc_eq): New function. | |
4178 | * command.h (cmd_cfunc_eq): Declare. | |
4179 | * cli/cli-decode.h (cmd_cfunc_eq): Ditto. | |
4180 | ||
4181 | * cli/cli-cmds.h (is_complete_command): Change parameter to a | |
4182 | ``struct cmd_list_element *''. | |
4183 | * cli/cli-cmds.c (is_complete_command): Update. Use | |
4184 | cmd_cfunc_eq. | |
4185 | * top.c (execute_command): Pass the command to | |
4186 | is_complete_command. | |
4187 | * tracepoint.c: Replace function.cfunc with cmd_cfunc_eq. | |
4188 | ||
b8b8b047 AC |
4189 | 2002-02-23 Andrew Cagney <ac131313@redhat.com> |
4190 | ||
4191 | From 2002-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com>: | |
4192 | * config/s390/tm-s390.h (GDB_TARGET_IS_ESAME): Use renamed | |
4193 | architecture defines. | |
4194 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
4195 | ||
19d3fc80 RE |
4196 | 2002-02-23 Richard Earnshaw <rearnsha@arm.com> |
4197 | ||
4198 | * arm-linux-tdep.c (arm_linux_extract_return_value): Make static. | |
4199 | (arm_linux_push_arguments): Likewise. | |
4200 | (arm_linux_init_abi): Register them. Also register linux-specific | |
4201 | call_dummy_words. | |
4202 | (find_minsym_and_objfile): Use strcmp, not STREQ. | |
4203 | * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Delete. | |
4204 | (arm_linux_call_dummy_words): Delete declaration. | |
4205 | (EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS): Delete. | |
4206 | (arm_linux_extract_return_value, arm_linux_push_arguments): Delete | |
4207 | declarations. | |
4208 | (LOWEST_PC): Delete. | |
4209 | ||
3ab13650 PS |
4210 | 2002-02-23 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
4211 | ||
4212 | * maint.c (print_section_info): Do not prepend `0x' to filepos | |
4213 | output, it will be handled by local_hex_string_custom. | |
4214 | ||
19d3fc80 | 4215 | 2002-02-23 Richard Earnshaw <rearnsha@arm.com> |
85ae890c RE |
4216 | |
4217 | * arm-linux-nat.c (store_newfpe_single): Use regcache_collect. | |
4218 | (store_newfpe_double, store_newfpe_extended, store_fpregister) | |
4219 | (store_register, store_regs, fill_gregset, fill_fpregset): Likewise. | |
4220 | ||
d85a5daf JB |
4221 | 2002-02-22 Jim Blandy <jimb@redhat.com> |
4222 | ||
4223 | Indicate that the bcache functions don't change the strings | |
4224 | they're passed. | |
4225 | * bcache.h (bcache, hash): Add `const' keywords to declarations. | |
4226 | * bcache.c (bcache, hash): Add `const' keywords to definitions. | |
4227 | ||
eeb25b8a PM |
4228 | 2002-02-22 Pierre Muller <muller@ics.u-strasbg.fr> |
4229 | ||
4230 | * win32-nat.c (child_create_inferior): Fix create flags setting bug. | |
4231 | ||
6badb179 CF |
4232 | 2002-02-21 Christopher Faylor <cgf@redhat.com> |
4233 | ||
4234 | * win32-nat.c (register_loaded_dll): Just use raw name when we can't | |
4235 | find the complete path to a loaded DLL. | |
4236 | ||
e8717518 FF |
4237 | 2002-02-21 Fred Fish <fnf@redhat.com> |
4238 | ||
4239 | * dbxread.c (process_one_symbol): When finding an N_FUN symbol | |
4240 | that marks the end of the range of a function, enter a line number | |
4241 | entry that has a line number of zero and a PC offset that matches | |
4242 | the end of the function. This starts a range of PC's for which no | |
4243 | line number information is known. | |
4244 | * symtab.c (find_pc_sect_line): If our best fit is in a range of | |
4245 | PC's for which no line number info is found (line number is zero) | |
4246 | then we didn't find any valid line information. | |
4247 | * symtab.h: Document use of zero line number entry. | |
4248 | ||
9abe5450 EZ |
4249 | 2002-02-21 Elena Zannoni <ezannoni@redhat.com> |
4250 | ||
4251 | * ppc-linux-nat.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Define. | |
4252 | (have_ptrace_getvrregs): Define for run time checks. | |
4253 | (gdb_vrregset_t): New type for Altivec register handling. | |
4254 | (fetch_register, store_register): Fetch/store altivec register | |
4255 | when needed. | |
4256 | (fetch_altivec_register, store_altivec_register): New functions. | |
4257 | (supply_vrregset, fill_vrregset): New functions. | |
4258 | (fetch_altivec_registers, store_altivec_registers): New functions. | |
4259 | (fetch_ppc_registers, store_ppc_registers): Fetch/store altivec | |
4260 | registers as well. | |
4261 | ||
aaa38bb5 AJ |
4262 | 2002-02-21 Jiri Smid <smid@suse.cz> |
4263 | ||
4264 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove x86-64-nat.o. | |
4265 | ||
b34db576 RE |
4266 | 2002-02-21 Richard Earnshaw <rearnsha@arm.com> |
4267 | ||
4268 | * Makefile.in (armnbsd-nat.o): Update dependencies. | |
4269 | * armnbsd-nat.c (supply_gregset): New function. Common code to | |
4270 | supply the integer register set. | |
4271 | (supply_fparegset): New function. Similar for FPA registers. | |
4272 | (fetch_regs, fetch_fp_regs): Use them. | |
4273 | (fetch_core_registers): Likewise. | |
4274 | (fetch_elfcore_registers): New function. | |
4275 | (arm_netbsd_elfcore_fns): New core-file type specification. | |
4276 | (_initialize_arm_netbsd_nat): Register it. | |
4277 | ||
3e56fc4b RE |
4278 | 2002-02-21 Richard Earnshaw <rearnsha@arm.com> |
4279 | ||
4280 | * armnbsd-nat.c: Include gdbcore.h. | |
4281 | (FETCH_INFERIOR_REGISTERS): Just error if this isn't defined. | |
4282 | (fetch_regs, fetch_fp_regs, store_regs, store_fp_regs): Add explicit | |
4283 | 'void' to declaration, to shut up ARI. | |
4284 | (fetch_core_registers): Make static. Rewrite using supply_register. | |
4285 | (arm_netbsd_core_fns): New core-file type specification. | |
4286 | (_initialize_arm_netbsd_nat): New function. | |
4287 | ||
097f6b0b CF |
4288 | 2002-02-21 Christopher Faylor <cgf@redhat.com> |
4289 | ||
4290 | * win32-nat.c (register_loaded_dll): Correctly check for invalid handle | |
4291 | value. | |
4292 | ||
c914e0cc CF |
4293 | 2002-02-20 Christopher Faylor <cgf@redhat.com> |
4294 | ||
4295 | * win32-nat.c (register_loaded_dll): Handle case where FindFirstFile | |
4296 | fails. | |
4297 | ||
385fa495 DJ |
4298 | 2002-02-20 Daniel Jacobowitz <drow@mvista.com> |
4299 | ||
4300 | * jv-exp.y (parse_number): Change type of implicit longs | |
4301 | to builtin_type_uint64. | |
4302 | ||
e5f1222d DJ |
4303 | 2002-02-20 Daniel Jacobowitz <drow@mvista.com> |
4304 | ||
4305 | * gdbserver/linux-low.c (mywait): Change argument to waitpid | |
4306 | to be an integer instead of a `union wait'. | |
4307 | ||
75c9abc6 DJ |
4308 | 2002-02-20 Daniel Jacobowitz <drow@mvista.com> |
4309 | ||
4310 | * mips-linux-nat.c: Call the operating system GNU/Linux. | |
4311 | * mips-linux-tdep.c: Likewise. | |
4312 | * mips-tdep.c: Likewise. | |
4313 | ||
551792a5 DJ |
4314 | 2002-02-20 Daniel Jacobowitz <drow@mvista.com> |
4315 | ||
4316 | Fix PR gdb/265. | |
4317 | * jv-exp.y (parse_number): Handle 64-bit integers. | |
4318 | ||
ee6e2b82 DJ |
4319 | 2002-02-20 Daniel Jacobowitz <drow@mvista.com> |
4320 | ||
4321 | * gdbserver/configure.in: Remove AM_PROC_CC_STDC. Change | |
4322 | AC_STDC_HEADERS to AC_HEADER_STDC. | |
4323 | * gdbserver/configure: Regenerated. | |
4324 | ||
a48442a0 RE |
4325 | 2002-02-20 Richard Earnshaw <rearnsha@arm.com> |
4326 | ||
4327 | * arc-tdep.c (get_longjmp_target): Only compile this function if JB_PC | |
4328 | is defined. | |
4329 | * sparc-tdep.c (get_longjmp_target): Likewise. | |
4330 | ||
fe419ffc RE |
4331 | 2002-02-20 Richard Earnshaw <rearnsha@arm.com> |
4332 | ||
4333 | * News: Add news about ARM and Multi-arch. Mention the new target | |
4334 | arm*-*-netbsd*. | |
4335 | ||
5832ed7e JB |
4336 | 2002-02-19 Jim Blandy <jimb@redhat.com> |
4337 | ||
4338 | * stabsread.c (error_type_complaint): Improve error message. | |
4339 | ||
84563040 DJ |
4340 | 2002-02-19 Daniel Jacobowitz <drow@mvista.com> |
4341 | ||
4342 | * gdbserver/README: Update documentation. | |
4343 | * gdbserver/configure.in: Update configury to match documentation. | |
4344 | * gdbserver/Makefile.in: Likewise. | |
4345 | * gdbserver/configure: Regenerated. | |
4346 | * gdbserver/aclocal.m4: New file, generated by aclocal. | |
4347 | * gdbserver/config.in: New file, generated by autoheader. | |
4348 | ||
375fd65b RE |
4349 | 2002-02-19 Richard Earnshaw <rearnsha@arm.com> |
4350 | ||
4351 | * config/djgpp/fnchange.lst: Add change rules for armnbsd-tdep.c and | |
4352 | armnbsd-nat.c. | |
4353 | ||
08216dd7 RE |
4354 | 2002-02-19 Richard Earnshaw <rearnsha@arm.com> |
4355 | ||
4356 | * arm-tdep.h (enum arm_float_model): New enum. | |
4357 | (struct gdbarch_tdep): Add fp_model. | |
4358 | * arm-tdep.c (arm_gdbarch_init): Set fp_model in tdep. Defer setting | |
4359 | up floating-point conversions until we know the floating-point model | |
4360 | in use by the inferior. Don't complain about being unable to | |
4361 | determine the ABI of the inferior when we don't have one. | |
4362 | (arm_extract_return_value): Support different floating-point models. | |
4363 | (arm_store_return_value): Likewise. | |
aaa38bb5 | 4364 | * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Set fp_model in tdep to |
08216dd7 RE |
4365 | ARM_FLOAT_SOFT. |
4366 | (arm_netbsd_elf_init_abi): Set fp_model to ARM_FLOAT_SOFT_VFP. | |
4367 | ||
65d6d66a PS |
4368 | 2002-02-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
4369 | ||
4370 | * i386-tdep.c (i386_gdbarch_init): Eliminate incorrect use | |
4371 | of ``current_gdbarch''. | |
4372 | ||
47221191 RE |
4373 | 2002-02-19 Richard Earnshaw <rearnsha@arm.com> |
4374 | ||
4375 | * armnbsd-nat.c : ANSIfy all function declarations. | |
4376 | (fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs): New. | |
4377 | (fetch_inferior_registers): Re-implement in terms of above. | |
4378 | (store_register, store_regs, store_fp_register, store_fp_regs): New. | |
4379 | (store_inferior_registers): Re-implement in terms of above. | |
4380 | ||
fdf39c9a RE |
4381 | 2002-02-19 Richard Earnshaw <rearnsha@arm.com> |
4382 | ||
aaa38bb5 | 4383 | * arm-linux-nat.c: Linux -> GNU/Linux when not talking about the |
fdf39c9a RE |
4384 | kernel. |
4385 | * arm-linux-tdep.c: Likewise. | |
4386 | * config/arm/tm-linux.h: Likewise. | |
4387 | ||
93247f88 RE |
4388 | 2002-02-19 Richard Earnshaw <rearnsha@arm.com> |
4389 | ||
4390 | * configure.tgt (arm*-*-netbsd*): This variant is now fully multi-arch. | |
4391 | * config/arm/nbsd.mt (TM_FILE): Delete. | |
4392 | * config/arm/tm-nbsd.h: Delete. | |
4393 | ||
d7b486e7 RE |
4394 | 2002-02-19 Richard Earnshaw <rearnsha@arm.com> |
4395 | ||
4396 | * arm-tdep.c (arm_gdbarch_init): Initialize TARGET_CHAR_SIGNED. | |
4397 | Initialize CALL_DUMMY_LENGTH. | |
4398 | ||
41d39a95 RE |
4399 | 2002-02-19 Richard Earnshaw <rearnsha@arm.com> |
4400 | ||
4401 | * armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): New | |
4402 | function. | |
4403 | (arm_netbsd_aout_init_abi): Initialize IN_SOLIB_CALL_TRAMPOLINE. | |
aaa38bb5 | 4404 | * config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only |
41d39a95 RE |
4405 | defines one thing and that is incorrect for this port. |
4406 | (IN_SOLIB_CALL_TRAMPOLINE): Delete. | |
4407 | ||
e1195560 PM |
4408 | 2002-02-18 Pierre Muller <muller@ics.u-strasbg.fr> |
4409 | ||
4410 | * go32-nat.c: add i386-tdep.h include to import FP_REGNUM_P macro. | |
4411 | ||
c1748f97 PM |
4412 | 2002-02-18 Pierre Muller <muller@ics.u-strasbg.fr> |
4413 | ||
4414 | * win32-nat.c (display_selector): New function. Displays information | |
4415 | about the information returned by GetThreadSelectorEntry API function. | |
4416 | (display_selectors): New function. Displays the infomation of | |
4417 | the selector given as argument, or of CS, DS ans FS selectors | |
4418 | if no argument is given. | |
4419 | ( _initialize_inftarg): Add "w32" as info prefix command. | |
4420 | Add "info w32 selector" as command calling display_selectors. | |
4421 | ||
e41e6bbf PM |
4422 | 2002-02-19 Pierre Muller <muller@ics.u-strasbg.fr> |
4423 | ||
4424 | * i386-tdep.c (get_longjmp_target): Fix compilation failure | |
4425 | by setting dummy values to JB_PC and JB_ELEMENT_SIZE | |
4426 | if not defined. | |
4427 | ||
0d3a9f48 RE |
4428 | 2002-02-18 Richard Earnshaw <rearnsha@arm.com> |
4429 | ||
4430 | * config/arm/nbsd.mt (TDEPFILES): Add solib-sunos.o. | |
4431 | ||
3fb4b924 RE |
4432 | 2002-02-18 Richard Earnshaw <rearnsha@arm.com> |
4433 | ||
4434 | * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): New function. | |
4435 | (arm_fix_call_dummy): Call it. | |
4436 | (arm_call_dummy_breakpoint_offset): Delete. | |
4437 | (arm_gdbarch_init): Initialize call_dummy_breakpoint_offset. | |
4438 | * config/arm/tm-arm.h (CALL_DUMMY_BREAKPOINT_OFFSET): Delete. | |
4439 | ||
7f55af32 AC |
4440 | 2002-02-18 Andrew Cagney <ac131313@redhat.com> |
4441 | ||
4442 | * gdbarch.sh (FRAME_CHAIN_VALID): Only require at level 2. | |
4443 | Default to func_frame_chain_valid. | |
4444 | * gdbarch.h, gdbarch.c: Re-generate. | |
4445 | * frame.h (FRAME_CHAIN_VALID): Delete definition. | |
4446 | ||
05f13b9c EZ |
4447 | 2002-02-18 Elena Zannoni <ezannoni@redhat.com> |
4448 | ||
4449 | * ppc-linux-nat.c: Update copyright. | |
4450 | (fetch_register, store_register): Add tid parameter, don't compute | |
4451 | tid here. | |
4452 | (fetch_ppc_registers, store_ppc_registers): Add tid | |
4453 | parameter. Pass it along to callees. | |
4454 | (fetch_inferior_registers, store_inferior_registers): Compute tid | |
4455 | here, and pass it to calleed functions. | |
4456 | (fill_gregset, supply_fpregset): Clean up formatting. | |
4457 | ||
d7afb4c9 RE |
4458 | 2002-02-18 Richard Earnshaw <rearnsha@arm.com> |
4459 | ||
4460 | * arm-tdep.c (arm_gdbarch_init): Initialize coerce_float_to_double. | |
4461 | * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Delete. | |
4462 | ||
9df628e0 RE |
4463 | 2002-02-18 Richard Earnshaw <rearnsha@arm.com> |
4464 | ||
4465 | * gdbarch.sh (GET_LONGJMP_TARGET): Add rule. | |
4466 | * gdbarch.c gdbarch.h: Regenerate. | |
4467 | * breakpoint.c (create_longjmp_breakpoint): Always compile this | |
4468 | function. | |
4469 | (breakpoint_reset): Test GET_LONGJMP_TARGET_P(). | |
4470 | * infrun.c (GET_LONGJMP_TARGET): Delete default definition. | |
4471 | (handle_inferior_event): Test GET_LONGJMP_TARGET_P(). | |
4472 | ||
4473 | * arm-tdep.h (struct gdbarch_tdep): Add jb_pc and jb_elt_size fields. | |
4474 | * arm-tdep.c (arm_get_longjmp_target): New function. | |
4475 | (arm_gdbarch_init): Initialize jb_pc to -1. If ABI handler changes | |
4476 | this to a positive value register arm_get_longjmp_target as the | |
4477 | longjmp handler. | |
4478 | * arm-linux-tdep.c (arm_get_longjmp_target): Delete. | |
4479 | (arm_linux_init_abi): Set up longjmp description in tdep. | |
4480 | * armnbsd-nat.c (get_longjmp_target): Delete. | |
4481 | * armnbsd-tdep.c (arm_netbsd_init_abi_common): Set up longjmp | |
4482 | description in tdep. | |
4483 | * config/arm/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC): Delete. | |
4484 | (get_longjmp_target): Delete declaration. | |
4485 | (GET_LONGJMP_TARGET): Delete. | |
4486 | * config/arm/tm-linux.h (arm_get_longjmp_target): Delete declaration. | |
4487 | (GET_LONGJMP_TARGET): Delete. | |
4488 | ||
57bc8964 KB |
4489 | 2002-02-17 Kevin Buettner <kevinb@redhat.com> |
4490 | ||
4491 | From Peter Schauer <pes@regent.e-technik.tu-muenchen.de>: | |
4492 | * ia64-tdep.c (ia64_gdbarch_init): Eliminate incorrect use | |
4493 | of ``current_gdbarch''. | |
4494 | ||
83d31a92 TT |
4495 | 2002-02-17 Tom Tromey <tromey@redhat.com> |
4496 | ||
4497 | * cli/cli-cmds.c (compare_strings): New function. | |
4498 | (complete_command): Only print each unique item once. | |
4499 | * completer.h (complete_line): Declare. | |
4500 | * completer.c (complete_line): New function. | |
4501 | (line_completion_function): Use it. | |
4502 | ||
17ef5d92 AC |
4503 | 2002-02-16 Andrew Cagney <ac131313@redhat.com> |
4504 | ||
4505 | * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64. | |
4506 | * gdbarch.h, gdbarch.c: Re-generate. | |
4507 | ||
491b8946 DJ |
4508 | 2002-02-16 Daniel Jacobowitz <drow@mvista.com> |
4509 | ||
4510 | * valarith.c (value_x_unop): Fix decrement; support post-decrement. | |
4511 | ||
4512 | 2002-02-16 Daniel Jacobowitz <drow@mvista.com> | |
4513 | ||
4514 | From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>: | |
4515 | * valops.c (value_arg_coerce): Don't take the address of a reference | |
4516 | to convert an argument to a reference. | |
4517 | ||
dfe7f3ac CF |
4518 | 2002-02-15 Christopher Faylor <cgf@redhat.com> |
4519 | ||
4520 | * win32-nat.c (get_image_name): New function. | |
4521 | (handle_load_dll): Use get_image_name function. | |
4522 | (get_child_debug_event): Avoid registering debug events until possibly | |
4523 | execed process is started. | |
4524 | (child_create_inferior): Allow invocation via shell so that command | |
4525 | line redirection, etc. works ok. | |
4526 | (_initialize_inftarg): Add new command: "set shell" to control whether | |
4527 | a shell is used to start a process. | |
4528 | ||
1d33e73a DJ |
4529 | 2002-02-15 Daniel Jacobowitz <drow@mvista.com> |
4530 | ||
4531 | * gdbserver/linux-mips-low.c (cannot_fetch_register): Use find_regno | |
4532 | instead of find_register_by_number. | |
4533 | (cannot_store_register): Likewise. | |
4534 | ||
48cd0caa PM |
4535 | 2002-02-14 Pierre Muller <muller@ics.u-strasbg.fr> |
4536 | ||
aaa38bb5 | 4537 | * dwarf2read.c: Replace fprintf (stderr, ...) by |
48cd0caa PM |
4538 | fprintf_unfiltered (gdb_stderr, ...). |
4539 | ||
8656e7d8 DJ |
4540 | 2002-02-15 Daniel Jacobowitz <drow@mvista.com> |
4541 | ||
4542 | * gdbserver/gdbserver.1: Document --attach. | |
4543 | ||
66e810cd RE |
4544 | 2002-02-15 Richard Earnshaw <rearnsha@arm.com> |
4545 | ||
4546 | * arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint | |
4547 | descriptions. | |
4548 | * arm-tdep.c (arm_default_arm_le_breakpoint) | |
4549 | (arm_default_arm_be_breakpoint, arm_default_thumb_le_breakpoint) | |
4550 | (arm_default_thumb_be_breakpoint): New. Initialize them from | |
4551 | traditional breakpoint defines. | |
4552 | (arm_breakpoint_from_pc): Use new gdbarch_tdep entries. | |
4553 | (arm_gdbarch_init): Initialize new breakpoint variables. | |
4554 | * arm-linux-tdep.c (arm_linux_arm_le_breakpoint): New. | |
4555 | (arm_linux_init_abi): Initialize linux-specific breakpoint. | |
4556 | * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint): New. | |
4557 | (arm_netbsd_aout_init_abi, arm_netbsd_elf_init_abi): Split common | |
4558 | code out to ... | |
4559 | (arm_netbsd_init_abi_common): ... here; new function. | |
4560 | * config/arm/tm-arm.h (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT) | |
4561 | (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Delete. | |
4562 | * config/arm/tm-linux.h (ARM_LE_BREAKPOINT): Delete. | |
4563 | * config/arm/tm-nbsd.h (ARM_LE_BREAKPOINT): Delete. | |
4564 | ||
97e03143 RE |
4565 | 2002-02-15 Richard Earnshaw <rearnsha@arm.com> |
4566 | ||
4567 | * arm-tdep.h (enum arm_abi): New enum. | |
4568 | (struct gdbarch_tdep): New structure. | |
4569 | (LOWEST_PC): Provide a default. | |
4570 | (arm_gdbarch_register_os_abi): Declare new function. | |
4571 | * arm-tdep.c (arm_abi_names): New array. | |
4572 | (process_note_abi_tag_sections): New function. | |
4573 | (get_elfosabi): New function. | |
4574 | (arm_gdbarch_register_os_abi): New function. | |
4575 | (arm_gdbarch_init): Try to determine the ABI of the inferior. If | |
4576 | support for that ABI has been built in, then call the appropriate | |
4577 | configuration routine. Use gdbarch_num_regs() to get the number | |
4578 | of registers. | |
4579 | (arm_dump_tdep): New function. | |
4580 | (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New | |
4581 | place-holder functions. | |
4582 | (_initialize_arm_tdep): Register them. | |
4583 | * config/arm/tm-arm.h (LOWEST_PC): Delete. | |
4584 | ||
4585 | * armnbsd-tdep.c: New file. | |
4586 | * Makefile.in (armnbsd-tdep.o): Add dependencies. | |
4587 | * config/arm/nbsd.mt (TDEPFILES): Add it. | |
4588 | * config/arm/tm-nbsd.h (LOWEST_PC): Delete. | |
4589 | ||
4590 | * armnbsd-nat.c: Include regcache.h. | |
4591 | * Makefile.in (armnbsd-nat.o): Update dependency list. | |
4592 | ||
4593 | * arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message. | |
4594 | ||
ad68be46 DJ |
4595 | 2002-02-14 Daniel Jacobowitz <drow@mvista.com> |
4596 | ||
4597 | * gdbserver/Makefile.in: Fix typos in target rules. | |
4598 | ||
003d6d1d DJ |
4599 | 2002-02-14 Daniel Jacobowitz <drow@mvista.com> |
4600 | ||
aaa38bb5 | 4601 | Fix part of PR gdb/267. |
003d6d1d DJ |
4602 | * linespec.c (find_methods): Handle constructors specially for now. |
4603 | ||
6b230f1b CV |
4604 | 2002-02-14 Corinna Vinschen <vinschen@redhat.com> |
4605 | ||
4606 | * arm-tdep.c (arm_push_arguments): Eliminate special float type | |
4607 | handling. | |
4608 | * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Define to call | |
4609 | standard_coerce_float_to_double(). | |
4610 | ||
1ea98d12 CF |
4611 | 2002-02-14 Christopher Faylor <cgf@redhat.com> |
4612 | ||
4613 | * config/i386/xm-cygwin.h: Revert inadvertent reinclusion of | |
4614 | GDBINIT_FILENAME. | |
4615 | ||
dd47e6fd EZ |
4616 | 2002-02-14 Elena Zannoni <ezannoni@redhat.com> |
4617 | ||
4618 | * rs6000-tdep.c (rs6000_gdbarch_init): Don't call | |
4619 | find_variant_by_name, because it confuses the multiarch | |
4620 | framework. Return NULL if there isn't an architecture with the | |
4621 | user supplied name, instead of forcing a different one without | |
4622 | recording the change with the multiarch machinery. | |
4623 | (find_variant_by_name): Delete. | |
4624 | ||
d7e39b9e PS |
4625 | 2002-02-14 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
4626 | ||
4627 | * config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed by | |
4628 | i386v4-nat.o now. Add gcore.o, Solaris x86 supports gcore. | |
4629 | ||
76e42a4f MH |
4630 | 2002-02-13 Martin M. Hunt <hunt@redhat.com> |
4631 | ||
aaa38bb5 | 4632 | * stack.c (print_frame_info_base): When calling |
76e42a4f MH |
4633 | print_frame_info_listing_hook, set current_source_symtab. |
4634 | ||
0a30fbc4 DJ |
4635 | 2002-02-14 Daniel Jacobowitz <drow@mvista.com> |
4636 | ||
4637 | * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS, | |
4638 | and remove unused $(INCLUDE_DIR). | |
4639 | Add regcache.c to OBS. | |
4640 | Add generated register protocol files to clean target. | |
4641 | Update dependencies for new objects, obsolete old target code. | |
4642 | ||
4643 | * gdbserver/linux-low.c: Remove all platform-specific code to | |
4644 | new files. Remove various dead code. Update to use regcache | |
4645 | functionality. | |
4646 | * gdbserver/remote-utils.c (fromhex): Add return statement | |
4647 | to quiet warning. | |
4648 | (putpkt): Dynamically allocate buf2 because PBUFSIZ is no longer | |
4649 | constant. | |
4650 | (input_interrupt): Add integer parameter to match prototype | |
4651 | of a signal handler. | |
4652 | (outreg): Use register_data (). | |
4653 | (prepare_resume_reply): Use gdbserver_expedite_regs. | |
4654 | * gdbserver/server.c (main): Dynamically allocate own_buf because | |
4655 | PBUFSIZ is no longer constant. Use registers_to_string () and | |
4656 | registers_from_string (). | |
4657 | * gdbserver/server.h: No longer include "defs.h". Add prototypes | |
4658 | for error (), fatal (), and warning (). Update definition of | |
4659 | PBUFSIZ to use regcache functionality. Add include guard. | |
4660 | * gdbserver/utils.c (fatal): Add missing ``const''. | |
4661 | (warning): New function. | |
4662 | ||
4663 | * regformats/regdat.sh: Include "regcache.h" in generated files. | |
4664 | Provide init_registers () function. | |
4665 | * regformats/regdef.h: Add prototype for set_register_cache (). | |
4666 | Add include guard. | |
4667 | ||
4668 | * gdbserver/linux-arm-low.c: New file. | |
4669 | * gdbserver/linux-i386-low.c: New file. | |
4670 | * gdbserver/linux-ia64-low.c: New file. | |
4671 | * gdbserver/linux-m68k-low.c: New file. | |
4672 | * gdbserver/linux-mips-low.c: New file. | |
4673 | * gdbserver/linux-ppc-low.c: New file. | |
4674 | * gdbserver/linux-sh-low.c: New file. | |
4675 | ||
4676 | * gdbserver/regcache.c: New file. | |
4677 | * gdbserver/regcache.h: New file. | |
4678 | ||
4679 | * gdbserver/low-linux.c: Removed obsolete file. | |
4680 | ||
4cc841d0 DJ |
4681 | 2002-02-14 Daniel Jacobowitz <drow@mvista.com> |
4682 | ||
4683 | * config/arm/linux.mt: Update GDBSERVER_DEPFILES. | |
4684 | * config/i386/linux.mt: Likewise. | |
4685 | * config/ia64/linux.mt: Likewise. | |
4686 | * config/m68k/linux.mh: Likewise. | |
4687 | * config/powerpc/linux.mh: Likewise. | |
4688 | * config/mips/linux.mt: Likewise. | |
4689 | ||
4690 | * config/sh/linux.mt: Add GDBSERVER_DEPFILES. | |
4691 | ||
4692 | * config/i386/i386lynx.mh: Mark gdbserver variables | |
4693 | as (currently) obsolete for this target. | |
4694 | * config/i386/nbsd.mt: Likewise. | |
4695 | * config/i386/nbsdelf.mt: Likewise. | |
4696 | * config/m32r/m32r.mt: Likewise. | |
4697 | * config/m68k/m68klynx.mh: Likewise. | |
4698 | * config/m68k/nbsd.mt: Likewise. | |
4699 | * config/m68k/sun3os4.mh: Likewise. | |
4700 | * config/mips/vr5000.mt: Likewise. | |
4701 | * config/ns32k/nbsd.mt: Likewise. | |
4702 | * config/pa/hppabsd.mh: Likewise. | |
4703 | * config/pa/hppaosf.mh: Likewise. | |
4704 | * config/powerpc/nbsd.mt: Likewise. | |
4705 | * config/rs6000/rs6000lynx.mh: Likewise. | |
4706 | * config/s390/s390.mt: Likewise. | |
4707 | * config/s390/s390x.mt: Likewise. | |
4708 | * config/sparc/sparclynx.mh: Likewise. | |
4709 | * config/sparc/sun4os4.mh: Likewise. | |
4710 | * config/i386/x86-64linux.mt: Likewise. | |
4711 | * config/sparc/linux.mh: Likewise. | |
4712 | ||
a85f51e7 DJ |
4713 | 2002-02-14 Daniel Jacobowitz <drow@mvista.com> |
4714 | ||
4715 | * configure.tgt: Configure gdbserver only for known working | |
4716 | targets. Set ${build_gdbserver} instead of modifying ${configdirs}. | |
4717 | * configure.in: Check ${build_gdbserver}. Put gdbserver/ into | |
4718 | SUBDIRS if it is configured. Update comment for ${nativefile}. | |
4719 | * configure: Regenerated. | |
4720 | ||
65554fef MS |
4721 | 2002-02-13 Michael Snyder <msnyder@redhat.com> |
4722 | ||
670a52db MS |
4723 | * config/i386/i386v42mp.mh: Add gcore.o to NATDEPFILES. |
4724 | ||
6dbdc4a3 MS |
4725 | * gcore.c (gcore_command): Use gcore_default_target instead of NULL. |
4726 | (default_gcore_mach): Just return 0, work around a problem in bfd. | |
4727 | (default_gcore_target): OK to return NULL if exec_bfd is null. | |
4728 | (make_mem_sec): Use a cast, avoid a warning. | |
4729 | ||
4730 | * procfs.c (find_memory_regions_callback): Use a cast instead of | |
aaa38bb5 | 4731 | calling host_pointer_to_address (which complains if |
6dbdc4a3 MS |
4732 | sizeof (host pointer) != sizeof (target pointer)). |
4733 | (procfs_make_note_section): Avoid overflow in psargs string. | |
4734 | ||
aaa38bb5 | 4735 | * procfs.c (procfs_make_note_section): Make the default |
65554fef MS |
4736 | implementation return an error. |
4737 | ||
4738 | 2002-02-13 Rodney Brown <rbrown64@csc.com.au> | |
4739 | ||
4740 | * procfs.c (procfs_make_note_section): Provide a default definition | |
4741 | (for alpha-dec-osf4.0f). Fix typos. | |
4742 | ||
1e4d76e7 EZ |
4743 | 2002-02-13 Elena Zannoni <ezannoni@redhat.com> |
4744 | ||
4745 | * linux-proc.c: Add include of regcache.h. | |
4746 | * Makefile.in (linux-proc.o): Add dependency on regcache.h. | |
4747 | ||
b6d1a1d5 AC |
4748 | 2002-02-13 Andrew Cagney <ac131313@redhat.com> |
4749 | ||
4750 | From 2002-01-18 Greg McGary <greg@mcgary.org>: | |
aaa38bb5 AJ |
4751 | * memattr.c (create_mem_region): Disallow useless empty region. |
4752 | Regions are half-open intervals, so allow [A..B) [B..C) as | |
65554fef | 4753 | non-overlapping. |
b6d1a1d5 | 4754 | |
6c6ea35e MC |
4755 | 2002-02-13 Michael Chastain <mec@shout.net> |
4756 | ||
4757 | * defs.h: Kill CONST_PTR. | |
4758 | * c-lang.h (c_builtin_types): Change CONST_PTR to simple "const". | |
4759 | * c-lang.c (c_builtin_types): Likewise. | |
4760 | * ch-lang.c (ch_builtin_types): Likewise. | |
4761 | * f-lang.c (f_builtin_types): Likewise. | |
4762 | * language.c (unknown_builtin_types): Likewise. | |
4763 | * m2-lang.c (m2_builtin_types): Likewise. | |
4764 | * p-lang.c (pascal_builtin_types): Likewise. | |
4765 | * scm-lang.c (c_builtin_types): Likewise. | |
4766 | ||
3e0b0f48 KS |
4767 | 2002-02-13 Keith Seitz <keiths@redhat.com> |
4768 | ||
4769 | * arm-tdep.h (arm_get_next_pc): Add declaration. | |
4770 | ||
67255d04 RE |
4771 | 2002-02-13 Richard Earnshaw <rearnsha@arm.com> |
4772 | ||
4773 | * arm-tdep.c (arm_use_struct_convention): Make static. Move to be | |
4774 | with other related struct-returning functions. | |
4775 | (arm_extract_struct_value_address): New function. | |
4776 | (arm_gdbarch_init): Initialize the above in multi-arch vector. Also | |
4777 | initialize float_format, double_format and long_double_format as | |
4778 | appropriate to the endianness of the target. | |
4779 | * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Delete. | |
4780 | (arm_use_struct_convention): Delete declaration. | |
4781 | (USE_STRUCT_CONVENTION, EXTRACT_STRUCT_VALUE_ADDRESS): Delete. | |
4782 | ||
079777f6 KS |
4783 | 2002-02-13 Keith Seitz <keiths@redhat.com> |
4784 | ||
4785 | * defs.h (core_addr_to_string_nz): New function. | |
4786 | ||
34588f23 MK |
4787 | 2002-02-13 Mark Kettenis <kettenis@gnu.org> |
4788 | ||
4789 | Apply missing bits of 2002-01-15 patch. | |
4790 | * i386v4-nat.c (supply_fpregset): Use i387_supply_fsave. | |
4791 | (fill_fpregset): Use i387_fill_fsave. | |
4792 | ||
49b563f9 KS |
4793 | 2002-02-12 Keith Seitz <keiths@redhat.com> |
4794 | ||
49b563f9 KS |
4795 | * utils.c (core_addr_to_string): Use phex instead of phex_nz. |
4796 | (core_addr_to_string_nz): New function. | |
4797 | ||
aeb98c60 RE |
4798 | 2002-02-11 Richard Earnshaw <rearnsha@arm.com> |
4799 | ||
4800 | * arm-linux-nat.c: Really include arm-tdep.h. | |
4801 | * config/arm/tm-linux.h (struct type, struct value): Declare. | |
4802 | ||
65554fef MS |
4803 | 2002-02-11 Michael Snyder <msnyder@redhat.com> |
4804 | ||
4805 | * procfs.c: Include elf-bfd.h (for elfcore_write functions). | |
4806 | (gcore section): Ifdef for Solaris and Unixware only. | |
4807 | (procfs_do_thread_registers): Unixware needs one lwpstatus | |
4808 | per thread (not one prstatus or pstatus). | |
4809 | (procfs_make_note_section): Iterate only over kernel threads (lwps), | |
4810 | not over all gdb threads. For unixware, call elfcore_write_pstatus | |
4811 | once before iterating over threads. | |
4812 | ||
34e8f22d RE |
4813 | 2002-02-11 Richard Earnshaw <rearnsha@arm.com> |
4814 | ||
4815 | * arm-tdep.h: New file. | |
4816 | * arm-tdep.c: Include arm-tdep.h. | |
4817 | (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) | |
4818 | (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) | |
4819 | (arm_print_float_info, arm_register_type, convert_to_extended) | |
4820 | (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) | |
4821 | (arm_extract_return_value, arm_register_name): Make static. | |
4822 | (arm_software_single_step): Similarly. Fix types in declaration. | |
4823 | (arm_register_byte, arm_register_raw_size, arm_register_virtual_size) | |
4824 | (arm_store_return_value, arm_store_struct_return): New functions. | |
4825 | (arm_gdbarch_init): Register the above functions. Also register | |
4826 | call_dummy_start_offset, sizeof_call_dummy_words, | |
4827 | function_start_offset, inner_than, decr_pc_after_break, fp_regnum, | |
4828 | sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size, | |
aaa38bb5 | 4829 | max_register_virtual_size, register_size. Set up |
34e8f22d RE |
4830 | prologue_cache.saved_regs here, rather than ... |
4831 | (_initialize_arm_tdep): ... here. | |
4832 | * config/arm/tm-arm.h (struct type, struct value): Delete forward | |
4833 | declarations. | |
4834 | (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) | |
4835 | (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) | |
4836 | (arm_print_float_info, arm_register_type, convert_to_extended) | |
4837 | (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) | |
4838 | (arm_extract_return_value, arm_register_name): Delete declarations. | |
4839 | (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET) | |
4840 | (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC) | |
4841 | (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS) | |
4842 | (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE) | |
4843 | (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE) | |
4844 | (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN) | |
4845 | (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS) | |
4846 | (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY) | |
4847 | (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP) | |
4848 | (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete. | |
4849 | (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc) | |
4850 | (arm_get_next_pc): No-longer static -- these are needed by the RDI | |
4851 | interface. | |
4852 | * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h. | |
4853 | * remote-rdi.c remote-rdp.c: Likewise. | |
4854 | * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o) | |
4855 | (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies. | |
4856 | * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus | |
4857 | definition. | |
4858 | ||
4859 | * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM) | |
4860 | (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM) | |
4861 | (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed | |
4862 | from non-ARM_ prefixed definitions. | |
4863 | * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update | |
4864 | all uses of above. | |
4865 | * remote-rdi.c remote-rdp.c: Likewise. | |
4866 | * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM. | |
4867 | ||
148754e5 RE |
4868 | 2002-02-11 Richard Earnshaw <rearnsha@arm.com> |
4869 | ||
4870 | * arm-tdep.c (arm_frameless_function_invocation) | |
4871 | (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args) | |
4872 | (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc) | |
4873 | (arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame) | |
4874 | (arm_pop_frame, arm_get_next_pc): Make static. | |
4875 | (arm_gdbarch_init): Register above in gdbarch structure. | |
4876 | (arm_read_fp): Renamed from arm_target_read_fp. | |
4877 | (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static. | |
4878 | * config/arm/tm-arm.h (arm_frameless_function_invocation) | |
4879 | (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args) | |
4880 | (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc) | |
4881 | (arm_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame) | |
4882 | (arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb) | |
4883 | (arm_pc_is_thumb_dummy): Delete declarations. | |
fcfb8836 RE |
4884 | (INIT_EXTRA_FRAME_INFO, TARGET_READ_FP, FRAME_CHAIN) |
4885 | (FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS) | |
4886 | (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, FRAME_ARGS_SKIP) | |
4887 | (FRAME_INIT_SAVED_REGS, PUSH_DUMMY_FRAME, POP_FRAME): Delete. | |
148754e5 | 4888 | |
434d2d4f DJ |
4889 | 2002-02-10 Daniel Jacobowitz <drow@mvista.com> |
4890 | ||
4891 | * symtab.c (compare_search_syms): New function. | |
4892 | (sort_search_symbols): New function. | |
4893 | (search_symbols): Sort symbols after searching rather than | |
4894 | before. | |
4895 | ||
55241689 AC |
4896 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
4897 | ||
4898 | * NEWS: Linux -> GNU/Linux. | |
4899 | ||
028c194b AC |
4900 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
4901 | ||
4902 | * gdbarch.sh: For for level one methods, disallow a definition | |
4903 | when partially multi-arched. Add comments explaining rationale. | |
4904 | * gdbarch.h: Re-generate. | |
4905 | ||
6acf50cd AC |
4906 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
4907 | ||
4908 | * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when | |
4909 | multi-arch partial. | |
aaa38bb5 | 4910 | |
50248794 AC |
4911 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
4912 | ||
4913 | * gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on bad | |
4914 | field. Use diff -u. | |
4915 | * gdbarch.c: Re-generate. | |
4916 | ||
c30e0066 AC |
4917 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
4918 | ||
9b56c5f3 | 4919 | * config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete. |
c30e0066 AC |
4920 | * gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-arch |
4921 | partial. | |
4922 | ||
6e6d6484 AC |
4923 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
4924 | ||
4925 | * gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when | |
4926 | multi-arch partial. | |
4927 | (PUSH_ARGUMENTS): Switch to using predefault. | |
4928 | * gdbarch.c: Regenerate. | |
4929 | ||
c203844d AC |
4930 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
4931 | ||
4932 | * valops.c (PUSH_ARGUMENTS): Delete definition. | |
4933 | * gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch | |
4934 | partial. Default to default_push_arguments. | |
4935 | * gdbarch.h, gdbarch.c: Regenerate. | |
4936 | ||
b5a2688f AC |
4937 | 2002-02-09 Andrew Cagney <ac131313@redhat.com> |
4938 | ||
4939 | * defs.h (throw_exception): Rename return_to_top_level. Update | |
4940 | comments. | |
4941 | * utils.c (error_stream, internal_verror, quit): Ditto. | |
4942 | * top.c (throw_exception, catcher): Ditto. | |
4943 | * sparclet-rom.c (sparclet_load): Ditto. | |
4944 | * remote.c (interrupt_query, minitelnet): Ditto. | |
4945 | * remote-sds.c (interrupt_query): Ditto. | |
4946 | * remote-mips.c (mips_error, mips_kill): Ditto. | |
4947 | * ocd.c (interrupt_query): Ditto. | |
4948 | * monitor.c (monitor_interrupt_query): Ditto. | |
4949 | * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto. | |
4950 | * target.h: Update comment. | |
aaa38bb5 | 4951 | |
b5a2688f | 4952 | * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright. |
aaa38bb5 | 4953 | |
2fa5c1e0 AC |
4954 | 2002-02-09 Andrew Cagney <ac131313@redhat.com> |
4955 | ||
4956 | * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to | |
4957 | default_double_format. | |
4958 | * gdbarch.h, gdbarch.c: Re-generate. | |
4959 | * findvar.c (floatformat_unknown): Delete variable definition. | |
4960 | * doublest.h (floatformat_unknown): Delete variable declaration. | |
4961 | ||
da966255 JB |
4962 | 2002-02-09 Jim Blandy <jimb@redhat.com> |
4963 | ||
4964 | * stabsread.c (read_type): Add code to parse Sun's syntax for | |
4965 | prototyped function types. | |
4966 | ||
123a4891 AC |
4967 | 2002-02-09 Andrew Cagney <ac131313@redhat.com> |
4968 | ||
4969 | * Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS. | |
4970 | (SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS. | |
4971 | ||
fb39c8f3 PS |
4972 | 2002-02-09 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
4973 | ||
4974 | * xcoffsolib.c (_initialize_xcoffsolib): Renamed from | |
4975 | _initialize_solib. Fixes name clash with solib.c:_initialize_solib, | |
4976 | now _initialize_xcoffsolib gets called again and overrides the | |
4977 | commands from solib.c in a native configuration. | |
4978 | ||
0b87a11d MK |
4979 | 2002-02-09 Mark Kettenis <kettenis@gnu.org> |
4980 | ||
4981 | * doublest.c (store_typed_floating): Don't try to return a value. | |
4982 | Fixes PR gdb/290. | |
4983 | ||
bdc2fc72 JB |
4984 | 2002-02-08 Jim Blandy <jimb@redhat.com> |
4985 | ||
4986 | * c-typeprint.c (c_type_print_varspec_suffix): If a function type | |
4987 | is prototyped and has no arguments, print its argument list as | |
4988 | `(void)'. | |
4989 | ||
da69bbcf CD |
4990 | 2002-02-08 Chris Demetriou <cgd@broadcom.com> |
4991 | ||
4992 | * MAINTAINERS (write-after-approval): Add myself. | |
4993 | (paper-trail): I've escaped! | |
aaa38bb5 | 4994 | |
b69571f5 CF |
4995 | 2002-02-08 Christopher Faylor <cgf@redhat.com> |
4996 | ||
4997 | * win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf | |
4998 | changes. | |
4999 | (_initialize_check_for_gdb_ini): Ditto. | |
5000 | ||
f6871398 MH |
5001 | 2002-02-08 Martin M. Hunt <hunt@redhat.com> |
5002 | ||
5003 | * win32-nat.c (cygwin_pid_to_str): Fix typo. | |
5004 | xaprintf -> xasprintf. | |
5005 | ||
4e52d31c PM |
5006 | 2002-02-08 Pierre Muller <muller@ics.u-strasbg.fr> |
5007 | ||
5008 | * win32-nat.c: Remove use of printf and sprintf functions. | |
5009 | ||
39bbf761 RE |
5010 | 2002-02-08 Richard Earnshaw <rearnsha@arm.com> |
5011 | ||
5012 | * arm-tdep.c (arm_frame_chain_valid): Make static. | |
5013 | (arm_push_arguments): Likewise. | |
5014 | (arm_gdbarch_init): New function. | |
5015 | (_initialize_arm_tdep): Call it. | |
5016 | * config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1. | |
5017 | (TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order. | |
5018 | (FRAME_CHAIN_VALID): Delete. | |
5019 | (arm_frame_chain_valid): Delete declaration. | |
5020 | (PUSH_ARGUMENTS): Delete. | |
5021 | (arm_push_arguments): Delete declaration. | |
5022 | (CALL_DUMMY_P): Delete. | |
5023 | ||
9c9532c9 CV |
5024 | 2002-02-08 Andrew Cagney <ac131313@redhat.com> |
5025 | Corinna Vinschen <vinschen@redhat.com> | |
5026 | ||
5027 | * gdbtypes.c (build_gdbtypes): Disable setting a specific float format | |
5028 | on builtin float types. | |
5029 | ||
4e8f7a8b DJ |
5030 | 2002-02-08 Daniel Jacobowitz <drow@mvista.com> |
5031 | ||
5032 | * utils.c: Include <curses.h> before "bfd.h". | |
5033 | * tui/tui-hooks.c: Likewise. | |
5034 | * tui/tui.c: Likewise. | |
5035 | * tui/tuiCommand.c: Likewise. | |
5036 | * tui/tuiData.c: Likewise. | |
5037 | * tui/tuiDataWin.c: Likewise. | |
5038 | * tui/tuiDisassem.c: Likewise. | |
5039 | * tui/tuiGeneralWin.c: Likewise. | |
5040 | * tui/tuiIO.c: Likewise. | |
5041 | * tui/tuiLayout.c: Likewise. | |
5042 | * tui/tuiRegs.c: Likewise. | |
5043 | * tui/tuiSource.c: Likewise. | |
5044 | * tui/tuiSourceWin.c: Likewise. | |
5045 | * tui/tuiStack.c: Likewise. | |
5046 | * tui/tuiWin.c: Likewise. | |
5047 | ||
cd4bffcf EZ |
5048 | 2002-02-07 Elena Zannoni <ezannoni@redhat.com> |
5049 | ||
5050 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array | |
5051 | to include space for pseudoregs as well. Update loops accordingly. | |
5052 | (sh_fp_frame_init_saved_regs): Ditto. | |
5053 | (sh_init_extra_frame_info, sh_pop_frame): Split long lines. | |
5054 | ||
26806ce2 AC |
5055 | 2002-02-07 Andrew Cagney <ac131313@redhat.com> |
5056 | ||
5057 | * MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer. | |
5058 | Add Richard Earnshaw to Arm maintainers. | |
5059 | ||
97fdab62 AC |
5060 | 2002-02-07 Andrew Cagney <ac131313@redhat.com> |
5061 | ||
a6b98203 AC |
5062 | * defs.h (warning_begin): Delete declaration. |
5063 | ||
97fdab62 AC |
5064 | * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT): |
5065 | Delete macro. | |
5066 | ||
78b29b40 MS |
5067 | 2002-02-07 Michael Snyder <msnyder@redhat.com> |
5068 | ||
aaa38bb5 | 5069 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): |
78b29b40 MS |
5070 | Logic bug, remove misplaced else. |
5071 | ||
d8849953 KD |
5072 | 2002-02-07 Klee Dienes <klee@apple.com> |
5073 | ||
5074 | * fork-inferior.c (fork_inferior): Add '!' to the list of | |
5075 | characters that need to be quoted when building a string for the | |
5076 | shell. Quote '!' specifically with a backslash, since CSH chokes | |
5077 | when trying to evaluate "str!str". | |
aaa38bb5 | 5078 | |
095778a0 NC |
5079 | 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com> |
5080 | ||
5081 | * rdi-share/host.h: Only provide a typedef for bool if it is not | |
5082 | defined. | |
5083 | ||
1900040c MS |
5084 | 2002-02-04 Michael Snyder <msnyder@redhat.com> |
5085 | ||
5086 | * breakpoint.h (enum bptype): Add new overlay event bp type. | |
5087 | (enable_overlay_breakpoints, disable_overlay_breakpoints): Export. | |
aaa38bb5 | 5088 | |
1900040c MS |
5089 | * breakpoint.c (create_internal_breakpoint): New function. |
5090 | (internal_breakpoint_number): Moved into create_internal_breakpoint. | |
5091 | (create_longjmp_breakpoint): Use create_internal_breakpoint. | |
5092 | (create_thread_event_breakpoint): Ditto. | |
5093 | (create_solib_event_breakpoint): Ditto. | |
5094 | (create_overlay_event_breakpoint): New function. | |
5095 | (enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs. | |
5096 | (update_breakpoints_after_exec): Delete and re-initialize | |
5097 | overlay event breakpoints after an exec. Add FIXME comment | |
5098 | about longjmp breakpoint. | |
5099 | (print_it_typical): Ignore overlay event breakpoints. | |
5100 | (print_one_breakpoint): Ditto. | |
5101 | (mention): Ditto. | |
5102 | (bpstat_what): Do not stop for overlay event breakpoints. | |
5103 | (delete_breakpoint): Don't delete overlay event breakpoints. | |
5104 | (breakpoint_re_set_one): Delete the overlay event breakpoint. | |
5105 | (breakpoint_re_set): Re-create overlay event breakpoint. | |
5106 | ||
5107 | * symfile.c (overlay_auto_command): Enable overlay breakpoints. | |
5108 | (overlay_manual_command): Disable overlay breakpoints. | |
5109 | (overlay_off_command): Disable overlay breakpoints. | |
5110 | ||
082fc60d RE |
5111 | 2002-02-06 Richard Earnshaw <rearnsha@arm.com> |
5112 | ||
5113 | * arm-tdep.c: Include elf-bfd.h and coff/internal.h. | |
5114 | (MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines | |
5115 | to here from config/tm-arm.h. | |
5116 | (coff_sym_is_thumb): Make static. | |
5117 | (arm_elf_make_msymbol_special): New function. | |
5118 | (arm_coff_make_msymbol_special): New function. | |
5119 | * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition. | |
5120 | (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise. | |
5121 | (coff_sym_is_thumb): Delete declaration. | |
5122 | (arm_elf_make_msymbol_special): Declare. | |
5123 | (arm_coff_make_msymbol_special): Declare. | |
5124 | (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special. | |
5125 | (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special. | |
5126 | ||
039c5766 RE |
5127 | 2002-02-06 Richard Earnshaw <rearnsha@arm.com> |
5128 | ||
5129 | * arm-tdep.c (arm_software_single_step): ANSIfy function declaration. | |
5130 | ||
5131 | 2002-02-06 Richard Earnshaw <rearnsha@arm.com> | |
5132 | ||
5133 | * gdbarch.sh (PRINT_FLOAT_INFO): Add rule. | |
5134 | * gdbarch.c gdbarch.h: Regenerate. | |
5135 | * arch-utils.c (default_print_float_info): New function. | |
5136 | * arch-utils.h (default_print_float_info): Prototype it. | |
5137 | * infcmd.c (float_info): Call PRINT_FLOAT_INFO. | |
5138 | * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated. | |
5139 | (PRINT_FLOAT_INFO): Document it. | |
5140 | ||
5141 | * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info. | |
5142 | * config/arm/tm-arm.h (FLOAT_INFO): Delete. | |
5143 | (PRINT_FLOAT_INFO): Define. | |
5144 | ||
58fa08f0 PM |
5145 | 2002-02-06 Pierre Muller <muller@ics.u-strasbg.fr> |
5146 | ||
aaa38bb5 | 5147 | * win32-nat.c (_initialize_check_for_gdb_ini): |
58fa08f0 PM |
5148 | Add typecast to sprintf argument to suppress a warning. |
5149 | ||
7393af7c PM |
5150 | 2002-02-05 Pierre Muller <muller@ics.u-strasbg.fr> |
5151 | ||
58fa08f0 | 5152 | * win32-nat.c (last_sig): Changed type of variable to target_signal, |
7393af7c PM |
5153 | to allow easier handling of pass state. |
5154 | (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception, | |
5155 | that gives exception name and address. | |
5156 | (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro | |
aaa38bb5 | 5157 | and set last_sig value to ourstatus->value.sig. Some missing |
7393af7c | 5158 | exceptions added. |
aaa38bb5 AJ |
5159 | (child_continue): Correctly report continue_status. |
5160 | (get_child_debug_event,do_initial_child_stuff): Set last_sig to | |
7393af7c | 5161 | TARGET_SIGNAL_0 (new default value). |
aaa38bb5 | 5162 | (child_resume): consider sig argument passed to decide if |
7393af7c PM |
5163 | the exception should be passed to debuggee or not. |
5164 | ||
6af4589c MS |
5165 | 2002-02-05 Michael Snyder <msnyder@redhat.com> |
5166 | ||
5167 | * regcache.c (fetch_register): Call target_fetch_register | |
5168 | only if we don't call FETCH_PSEUDO_REGISTER. | |
5169 | (store_register): Call target_store_register only if we | |
5170 | don't call STORE_PSEUDO_REGISTER. | |
5171 | ||
a2cf933a EZ |
5172 | 2002-02-05 Elena Zannoni <ezannoni@redhat.com> |
5173 | ||
5174 | * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and | |
5175 | ELF_MAKE_MSYMBOL_SPECIAL. | |
5176 | * gdbarch.c, gdbarch.h: Regenerate. | |
5177 | * arch-utils.c (default_make_msymbol_special): New function. | |
aaa38bb5 | 5178 | * arch-utils.h (default_make_msymbol_special): Export. |
a2cf933a EZ |
5179 | * elfread.c (elf_symtab_read): Compile use of |
5180 | ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now | |
5181 | multiarched. | |
5182 | * coffread.c (coff_symtab_read): Ditto, for | |
5183 | COFF_MAKE_MSYMBOL_SPECIAL. | |
5184 | ||
6bb7be43 JB |
5185 | 2002-02-05 Jim Blandy <jimb@redhat.com> |
5186 | ||
5187 | * solib-svr4.c (svr4_truncate_ptr): New function. | |
5188 | (svr4_relocate_section_addresses): Do the address arithmetic with | |
5189 | the appropriate truncation for target addresses, even when | |
5190 | CORE_ADDR is larger than a target address. | |
5191 | ||
e18651ec DJ |
5192 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
5193 | ||
5194 | * gdbserver/linux-low.c (mywait): Cast second argument of waitpid | |
5195 | to (int *). | |
5196 | ||
6b2725be DJ |
5197 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
5198 | ||
5199 | * gdbserver/linux-low.c (kill_inferior): Remove commented out | |
5200 | code. | |
5201 | ||
fca9e603 DJ |
5202 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
5203 | ||
5204 | * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX. | |
5205 | ||
6c537a52 DJ |
5206 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
5207 | ||
5208 | * gdbserver/linux-low.c: Remove unused include files. | |
5209 | ||
d844cde6 DJ |
5210 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
5211 | ||
5212 | * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE. | |
5213 | (read_inferior_memory): Use it. | |
5214 | (write_inferior_memory): Likewise. | |
5215 | ||
d07c63e7 DJ |
5216 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
5217 | ||
5218 | * gdbserver/linux-low.c (create_inferior): Call strerror instead of | |
5219 | grubbing through sys_errlist. | |
5220 | ||
da6d8c04 DJ |
5221 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
5222 | ||
5223 | * gdbserver/linux-low.c: New file, copied exactly from low-linux.c. | |
5224 | ||
5b421780 PM |
5225 | 2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr> |
5226 | * win32-nat.c (handle_exception): Handle Ctrl-Break exception. | |
5227 | ||
9f60d481 AC |
5228 | 2002-02-04 Andrew Cagney <ac131313@redhat.com> |
5229 | ||
5230 | * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions. | |
5231 | (do_sfunc, set_cmd_sfunc): New functions. | |
5232 | ||
5233 | * command.h (struct cmd_list_element): Add field func. | |
5234 | * cli/cli-decode.h (struct cmd_list_element): Ditto. | |
5235 | * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare. | |
5236 | * cli/cli-decode.h: Ditto. | |
5237 | ||
5238 | * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc. | |
5239 | (help_all, help_cmd_list): Ditto. | |
5240 | (find_cmd, complete_on_cmdlist): Ditto. | |
5241 | * top.c (execute_command): Ditto. | |
5242 | ||
5243 | * cli/cli-setshow.c (do_setshow_command): Call func instead of | |
5244 | function.sfunc. | |
5245 | ||
5246 | * infcmd.c (notice_args_read): Fix function signature. | |
5247 | ||
5248 | * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc. | |
5249 | * cli/cli-decode.c (add_set_cmd): Ditto. | |
5250 | * utils.c (initialize_utils): Ditto. | |
5251 | * maint.c (_initialize_maint_cmds): Ditto. | |
5252 | * infrun.c (_initialize_infrun): Ditto. | |
5253 | * demangle.c (_initialize_demangler): Ditto. | |
5254 | * remote.c (add_packet_config_cmd): Ditto. | |
5255 | * mips-tdep.c (_initialize_mips_tdep): Ditto. | |
5256 | * cris-tdep.c (_initialize_cris_tdep): Ditto. | |
5257 | * proc-api.c (_initialize_proc_api): Ditto. | |
5258 | * kod.c (_initialize_kod): Ditto. | |
5259 | * valprint.c (_initialize_valprint): Ditto. | |
5260 | * top.c (init_main): Ditto. | |
5261 | * infcmd.c (_initialize_infcmd): Ditto. | |
5262 | * corefile.c (_initialize_core): Ditto. | |
5263 | * arm-tdep.c (_initialize_arm_tdep): Ditto. | |
5264 | * arch-utils.c (initialize_current_architecture): Ditto. | |
5265 | (_initialize_gdbarch_utils): Ditto. | |
5266 | * alpha-tdep.c (_initialize_alpha_tdep): Ditto. | |
5267 | ||
5268 | * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc. | |
5269 | * wince.c (_initialize_inftarg): Ditto. | |
5270 | * symfile.c (_initialize_symfile): Ditto. | |
5271 | * mips-tdep.c (_initialize_mips_tdep): Ditto. | |
5272 | * language.c (_initialize_language): Ditto. | |
5273 | * arc-tdep.c (_initialize_arc_tdep): Ditto. | |
5274 | ||
f9ba0717 MS |
5275 | 2002-02-04 Michael Snyder <msnyder@redhat.com> |
5276 | ||
5277 | * memattr.c (_initialize_mem): Elaborate the help for 'mem' command. | |
5278 | ||
0c74b2a7 DJ |
5279 | 2002-02-04 Daniel Jacobowitz <drow@mvista.com> |
5280 | ||
5281 | * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS. | |
5282 | Add rules for building the register data files. | |
5283 | ||
c638789f DJ |
5284 | 2002-02-04 Daniel Jacobowitz <drow@mvista.com> |
5285 | ||
5286 | * regformats/regdat.sh: Add braces to the definition of | |
5287 | expedite_regs_${arch}. | |
5288 | ||
db253027 DJ |
5289 | 2002-02-04 Daniel Jacobowitz <drow@mvista.com> |
5290 | ||
5291 | * regformats/regdef.h (struct reg): Add comment describing the | |
5292 | requirements for offset and size fields. | |
5293 | ||
206be19c AS |
5294 | 2002-02-04 Andreas Schwab <schwab@suse.de> |
5295 | ||
5296 | * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX. | |
5297 | * config/ia64/linux.mt: Don't set GDBSERVER_LIBS. | |
5298 | ||
181c1381 RE |
5299 | 2002-02-04 Richard Earnshaw <rearnsha@arm.com> |
5300 | ||
5301 | * gdbarch.sh (copyright): Update years in generated header. | |
5302 | (SMASH_TEXT_ADDRESS): Add rule. | |
db253027 | 5303 | * gdbarch.h, gdbarch.c: Re-generate. |
181c1381 RE |
5304 | * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS. |
5305 | * dbxread.c: Likewise. | |
5306 | * dwarfread.c: Likewise. | |
5307 | * elfread.c: Likewise. | |
5308 | * somread.c: Likewise. | |
5309 | ||
5310 | * arm-tdep.c (arm_smash_text_address): New function. | |
5311 | * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above. | |
5312 | ||
fa4ba8da PM |
5313 | 2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr> |
5314 | ||
5315 | Add support for hardware watchpoints on win32 native. | |
aaa38bb5 | 5316 | * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of |
fa4ba8da | 5317 | CONTEXT_DEBUG_REGISTERS. |
aaa38bb5 | 5318 | (dr variable): New variable. Static array containing a local copy |
fa4ba8da PM |
5319 | of debug registers. |
5320 | (debug_registers_changed): New variable. Reflects when debug registers | |
5321 | are changed and need to be written to inferior. | |
aaa38bb5 | 5322 | (debug_registers_used): New variable. Reflects when any debug register |
fa4ba8da PM |
5323 | was set, used when new threads are created. |
5324 | (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by | |
5325 | i386-nat code. | |
5326 | (thread_rec): Set dr array if id is the thread of current_event . | |
5327 | (child_continue, child_resume): Change the debug registers for all | |
5328 | threads if debug_registers_changed. | |
5329 | (child_add_thread): Change the debug registers if debug_registers_used. | |
5330 | * config/i386/cygwin.mh: Add use of i386-nat.o file. | |
5331 | Link nm.h to new nm-cygwin.h file. | |
5332 | + config/i386/nm-cygwin.h: New file. Contains the macros used for use | |
5333 | of hardware registers. | |
5334 | ||
a73c86fb AC |
5335 | 2002-02-03 Andrew Cagney <ac131313@redhat.com> |
5336 | ||
5337 | * valprint.c (print_floating): Allow non TYPE_CODE_FLT types. | |
5338 | Restore behavour broken by 2002-01-20 Andrew Cagney | |
5339 | <ac131313@redhat.com> IEEE_FLOAT removal. | |
5340 | ||
acf5ed49 DJ |
5341 | 2002-02-03 Daniel Jacobowitz <drow@mvista.com> |
5342 | ||
5343 | * c-valprint.c (c_val_print): Pass a proper valaddr to | |
5344 | cp_print_class_method. | |
5345 | * valops.c (search_struct_method): If there is only one method | |
5346 | and args is NULL, return that method. | |
5347 | ||
493d28d5 DJ |
5348 | 2002-02-03 Daniel Jacobowitz <drow@mvista.com> |
5349 | ||
5350 | * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of | |
5351 | accessing tag_name directly. | |
5352 | ||
7495dfdb DJ |
5353 | 2002-02-03 Daniel Jacobowitz <drow@mvista.com> |
5354 | ||
5355 | * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead | |
5356 | of accessing tag_name directly. | |
5357 | ||
dd6bda65 DJ |
5358 | 2002-02-03 Daniel Jacobowitz <drow@mvista.com> |
5359 | ||
5360 | PR gdb/280 | |
5361 | * gdbtypes.c (replace_type): New function. | |
5362 | * gdbtypes.h (replace_type): Add prototype. | |
5363 | * stabsread.c (read_type): Use replace_type. | |
5364 | ||
88fe217c RE |
5365 | 2002-02-03 Richard Earnshaw <rearnsha@arm.com> |
5366 | ||
5367 | * Makefile.in (memattr.o): Add missing dependencies rule. | |
5368 | ||
e5d66720 PS |
5369 | 2002-02-03 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
5370 | ||
5371 | * breakpoint.c (break_at_finish_command): Really export. | |
5372 | (break_at_finish_at_depth_command): Ditto. | |
5373 | (tbreak_at_finish_command): Ditto. | |
5374 | * hppa-tdep.c: Include completer.h. | |
5375 | * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h). | |
5376 | (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o. | |
5377 | ||
fffee0be AC |
5378 | 2002-02-01 Andrew Cagney <ac131313@redhat.com> |
5379 | ||
5380 | * utils.c (do_write): New function. | |
5381 | (error_stream): Rewrite combining the code from error_begin and | |
5382 | verror. | |
5383 | (verror): Rewrite using error_stream. | |
5384 | (error_begin): Delete function. | |
5385 | ||
255e7dbf AC |
5386 | 2002-02-01 Andrew Cagney <ac131313@redhat.com> |
5387 | ||
5388 | * utils.c (error_begin): Make static. | |
5389 | * defs.h (error_begin): Delete declaration. | |
5390 | ||
5391 | * linespec.c (cplusplus_error): Replace cplusplus_hint. | |
5392 | (decode_line_1): Use cplusplus_error instead of error_begin, | |
5393 | cplusplus_hint and return_to_top_level. | |
5394 | * coffread.c (coff_symfile_read): Use error instead of error_begin | |
5395 | and return_to_top_level. | |
5396 | * infrun.c (default_skip_permanent_breakpoint): Ditto. | |
5397 | ||
ddfe3c15 AC |
5398 | 2002-02-01 Andrew Cagney <ac131313@redhat.com> |
5399 | ||
5400 | * language.h (type_error, range_error): Make string parameter | |
5401 | constant. | |
5402 | * language.c (warning_pre_print): Delete extern declaration. | |
5403 | * dwarfread.c (warning_pre_print): Ditto. | |
5404 | * language.c (type_error, range_error): Rewrite to use verror and | |
5405 | vwarning instead of warning_begin. | |
5406 | ||
03ac34d5 MS |
5407 | 2002-02-01 Michael Snyder <msnyder@redhat.com> |
5408 | ||
261c4ca2 MS |
5409 | * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code. |
5410 | (set_ignore_count): Move misplaced comment back where it belongs. | |
03ac34d5 | 5411 | |
e00d1dc8 AC |
5412 | 2002-02-01 Andrew Cagney <ac131313@redhat.com> |
5413 | ||
5414 | * command.h (NO_FUNCTION): Delete macro. | |
5415 | * cli/cli-decode.h (NO_FUNCTION): Ditto. | |
5416 | * top.c (execute_command): Replace NO_FUNCTION with NULL. | |
5417 | * tracepoint.c (_initialize_tracepoint): Ditto. | |
5418 | * cli/cli-decode.c (add_set_cmd): Ditto. | |
5419 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
aaa38bb5 | 5420 | |
76b79d6e DJ |
5421 | 2002-02-01 Daniel Jacobowitz <drow@mvista.com> |
5422 | ||
5423 | * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments. | |
5424 | Update ``this'' pointer when calling virtual functions. | |
5425 | ||
799f9e91 MS |
5426 | 2002-02-01 Michael Snyder <msnyder@redhat.com> |
5427 | ||
c7bd442c | 5428 | * breakpoint.c (create_temp_exception_breakpoint): Delete. |
799f9e91 MS |
5429 | * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands. |
5430 | ||
3cf384d4 DJ |
5431 | 2002-02-01 Daniel Jacobowitz <drow@mvista.com> |
5432 | ||
5433 | * regformats/reg-arm.dat: New file. | |
5434 | * regformats/reg-i386.dat: New file. | |
5435 | * regformats/reg-ia64.dat: New file. | |
5436 | * regformats/reg-m68k.dat: New file. | |
5437 | * regformats/reg-mips.dat: New file. | |
5438 | * regformats/reg-ppc.dat: New file. | |
5439 | * regformats/reg-sh.dat: New file. | |
5440 | * regformats/regdef.h: New file. | |
5441 | * regformats/regdat.sh: New file. | |
5442 | ||
0defa245 RE |
5443 | 2002-02-01 Richard Earnshaw <reanrsha@arm.com> |
5444 | ||
5445 | * arm-tdep.c (arm_frameless_function_invocation): Add some comments. | |
5446 | (arm_frame_args_address, arm_frame_locals_address): New functions. | |
5447 | (arm_frame_num_args): New function. | |
5448 | * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address. | |
5449 | (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address. | |
5450 | (FRMA_NUM_ARGS): Call arm_frame_num_args. | |
5451 | ||
405f26e6 MS |
5452 | 2002-01-31 Michael Snyder <msnyder@redhat.com> |
5453 | ||
502fd408 MS |
5454 | * breakpoint.c (break_at_finish_command): Export. |
5455 | (break_at_finish_at_depth_command): Export. | |
5456 | (tbreak_at_finish_command): Export. | |
5457 | (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands. | |
5458 | * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and | |
5459 | "tbreak" commands, which are HPPA specific. | |
5460 | ||
7d35e135 MS |
5461 | * printcmd.c (disassemble_command): Remove an ancient |
5462 | artifact of an old merge. | |
5463 | ||
aaa38bb5 | 5464 | * symfile.h (enum overlay_debugging_state): |
d874f1e2 MS |
5465 | Define enum constant values for overlay mode. |
5466 | * symfile.c (overlay_debugging): Use enums instead of literals. | |
aaa38bb5 AJ |
5467 | (overlay_is_mapped, overlay_auto_command, |
5468 | overlay_manual_command): Ditto. | |
d874f1e2 | 5469 | |
aaa38bb5 AJ |
5470 | * breakpoint.c (insert_breakpoints, remove_breakpoint, |
5471 | breakpoint_here_p, breakpoint_inserted_here_p, | |
5472 | breakpoint_thread_match, bpstat_stop_status, | |
9f04af04 MS |
5473 | describe_other_breakpoints, check_duplicates, clear_command): |
5474 | Coding standard fixes. | |
5475 | ||
8add0441 | 5476 | * target.c (target_xfer_memory): Add spaces, coding standard. |
9f04af04 | 5477 | (do_xfer_memory): Add missing line to trust-readonly |
405f26e6 MS |
5478 | code: check bfd SEC_READONLY flag for section. |
5479 | ||
e351066e AC |
5480 | 2002-01-31 Andrew Cagney <ac131313@redhat.com> |
5481 | ||
7d35e135 | 5482 | * PROBLEMS: Fix typo, 5.1->5.1.1. |
e351066e | 5483 | |
8a48e967 DJ |
5484 | 2002-01-30 Daniel Jacobowitz <drow@mvista.com> |
5485 | ||
5486 | * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for | |
5487 | data symbols, since we search based on textlow and texthigh. | |
5488 | (find_pc_sect_symtab): Likewise. | |
5489 | ||
f5a96129 AC |
5490 | 2002-01-30 Andrew Cagney <ac131313@redhat.com> |
5491 | ||
5492 | * defs.h (vwarning): Declare. | |
f5a96129 AC |
5493 | * utils.c (vwarning): New function. |
5494 | (warning): Call vwarning. | |
5495 | (warning_begin): Delete function. | |
5496 | ||
5497 | * rs6000-nat.c (vmap_ldinfo): Use the function warning to print | |
5498 | the warning message. | |
5499 | * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to | |
5500 | warning_begin. | |
5501 | ||
cefd4ef5 MS |
5502 | 2002-01-30 Michael Snyder <msnyder@redhat.com> |
5503 | ||
1a703748 MS |
5504 | * NEWS: Mention "set trust-readonly-sections" command. |
5505 | Mention generate-core-file command. | |
cefd4ef5 | 5506 | |
3a11626d MS |
5507 | 2002-01-15 Michael Snyder <msnyder@redhat.com> |
5508 | ||
5509 | * target.c: New command, "set trust-readonly-sections on". | |
5510 | (do_xfer_memory): Honor the suggestion to trust readonly sections | |
5511 | by reading them from the object file instead of from the target. | |
5512 | (initialize_targets): Register command "set trust-readonly-sections". | |
5513 | ||
d1c7e53b AC |
5514 | 2002-01-29 Andrew Cagney <ac131313@redhat.com> |
5515 | ||
5516 | * parse.c (target_map_name_to_register): Simplify, search regs and | |
5517 | pseudo-regs using a single loop. | |
5518 | ||
e2c9a72c AC |
5519 | 2002-01-30 Andrew Cagney <ac131313@redhat.com> |
5520 | ||
5521 | * PROBLEMS: Note that the i386 fix was missing from 5.1.1. | |
5522 | ||
69824b4e MK |
5523 | 2002-01-15 Rodney Brown <rbrown64@csc.com.au> |
5524 | ||
5525 | * config/i386/tm-i386v4.h: Define HAVE_I387_REGS. | |
5526 | * config/i386/i386v42mp.mh: Add i387-nat.o . | |
5527 | * i386v4-nat.c: Include i387-nat.h. | |
5528 | (supply_fpregset): Use i387_supply_fsave. | |
5529 | (fill_fpregset): Use i387_fill_fsave. | |
5530 | ||
6eb69eab RE |
5531 | 2002-01-30 Richard Earnshaw <rearnsha@arm.com> |
5532 | ||
5533 | * arm-tdep.c (arm_call_dummy_words): Define. | |
5534 | * arm-linux-tdep.c (arm_linux_call_dummy_words): Define. | |
5535 | * config/arm/tm-arm.h (CALL_DUMMY_P): Define. | |
5536 | (CALL_DUMMY_WORDS): Define. | |
5537 | (arm_call_dummy_words): Declare. | |
5538 | * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define. | |
5539 | (arm_linux_call_dummy_words): Declare. | |
5540 | ||
9852326a AS |
5541 | 2002-01-30 Andreas Schwab <schwab@suse.de> |
5542 | ||
5543 | * m68klinux-nat.c: Fix last change to use regcache_collect | |
5544 | instead of referencing registers[] directly. | |
5545 | ||
977a3030 AC |
5546 | 2002-01-29 Andrew Cagney <ac131313@redhat.com> |
5547 | ||
5548 | * parse.c (target_map_name_to_register): Delete code wrapped in | |
5549 | #ifdef REGISTER_NAME_ALIAS_HOOK. | |
5550 | ||
2076c72b MS |
5551 | 2002-01-28 Michael Snyder <msnyder@redhat.com> |
5552 | ||
5553 | * regcache.c (legacy_read_register_gen): Need to be able to | |
5554 | read pseudo-register as well as real register. | |
5555 | (legacy_write_register_gen): Ditto. | |
5556 | ||
8fcc723b AC |
5557 | 2002-01-28 Andrew Cagney <ac131313@redhat.com> |
5558 | ||
5559 | * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete. | |
5560 | * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete. | |
5561 | * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete. | |
5562 | * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete. | |
5563 | * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete. | |
5564 | * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete. | |
5565 | * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete. | |
5566 | * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete. | |
5567 | * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete. | |
5568 | * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete. | |
5569 | * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete. | |
5570 | * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete. | |
5571 | * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete. | |
5572 | * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete. | |
5573 | * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete. | |
5574 | * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete. | |
5575 | * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete. | |
5576 | * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete. | |
5577 | * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete. | |
5578 | * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete. | |
5579 | ||
afe64c1a AC |
5580 | 2002-01-28 Andrew Cagney <ac131313@redhat.com> |
5581 | ||
5582 | * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro. | |
5583 | (target_byte_order): Initialize to BFD_ENDIAN_BIG. | |
5584 | (initialize_current_architecture): Update target_byte_order using | |
5585 | information from BFD. | |
aaa38bb5 | 5586 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT): |
afe64c1a AC |
5587 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete. |
5588 | ||
75bc7ddf AC |
5589 | 2002-01-28 Andrew Cagney <ac131313@redhat.com> |
5590 | ||
5591 | * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here... | |
5592 | * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken. | |
5593 | ||
5594 | * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in | |
5595 | #ifdef INVALID_FLOAT. | |
5596 | * infcmd.c (do_registers_info): Ditto. | |
5597 | * values.c (unpack_double): Ditto. Add comment. | |
5598 | ||
5599 | * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was | |
5600 | already commented out. | |
5601 | ||
0280a90a AS |
5602 | 2002-01-26 Andreas Schwab <schwab@suse.de> |
5603 | ||
5604 | * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define. | |
5605 | * m68klinux-nat.c: Update ptrace interface for fetching/storing | |
5606 | registers and add support for PTRACE_GETREGS. | |
5607 | ||
7072a954 AC |
5608 | 2002-01-24 Andrew Cagney <ac131313@redhat.com> |
5609 | ||
5610 | GDB 5.1.1 released from 5.1 branch. | |
5611 | * NEWS: Add 5.1.1 news. | |
5612 | * README: Sync with 5.1 branch. | |
5613 | ||
86f902e0 FF |
5614 | 2002-01-23 Fred Fish <fnf@redhat.com> |
5615 | ||
5616 | * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to | |
5617 | stabstring on initial malloc. Reallocing will copy it for us, | |
5618 | if necessary. | |
5619 | ||
8af51c36 EZ |
5620 | 2002-01-23 Elena Zannoni <ezannoni@redhat.com> |
5621 | ||
aaa38bb5 | 5622 | * Makefile.in (hpread_h): Delete. |
8af51c36 EZ |
5623 | (HFILES_NO_SRCDIR): Remove hpread.h. |
5624 | (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c. | |
5625 | (hpread.o): Update dependencies. | |
5626 | (hp-psymtab-read.o, hp-symtab-read.o): Remove. | |
5627 | ||
5628 | * hp-psymtab-read.c: Remove file. | |
5629 | * hp-symtab-read.c: Remove file. | |
5630 | * hpread.h: Remove file. | |
5631 | ||
5632 | * hpread.c: Merge all contents of hp-psymtab-read.c, | |
5633 | hp-symtab-read.c and hpread.h into this file, as it was prior to | |
5634 | January 1999. | |
5635 | ||
5636 | * config/pa/hpux11w.mh, config/pa/hpux11.mh, | |
aaa38bb5 | 5637 | config/pa/hpux1020.mh, config/pa/hppaosf.mh, |
8af51c36 EZ |
5638 | config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES): |
5639 | Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o. | |
5640 | ||
dc5cfeb6 EZ |
5641 | 2002-01-23 Elena Zannoni <ezannoni@redhat.com> |
5642 | ||
5643 | * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset, | |
5644 | fill_gregset): Call gdbarch_tdep() just once, assign result to | |
5645 | variable and use that, instead of calling the function several | |
5646 | times. | |
5647 | ||
ea87b71b AO |
5648 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
5649 | ||
5650 | * configure.host: Accept sparcv9 as alias for sparc64. | |
5651 | * configure.tgt: Likewise. | |
5652 | ||
13fc0c2f KB |
5653 | 2002-01-22 Kevin Buettner <kevinb@redhat.com> |
5654 | ||
5655 | * solib-aix5.c (build_so_list_from_mapfile) | |
5656 | (aix5_relocate_main_executable): Fix xcalloc() calls so order of | |
5657 | arguments is not reversed. | |
5658 | * solib-sunos.c (sunos_relocate_main_executable): Likewise. | |
5659 | * solib-svr4.c (svr4_relocate_main_executable): Likewise. | |
aaa38bb5 | 5660 | |
7bd872fe EZ |
5661 | 2002-01-22 Elena Zannoni <ezannoni@redhat.com> |
5662 | ||
5663 | * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and | |
5664 | modified version of obsolete sh_fetch_pseudo_register. | |
5665 | (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read. | |
5666 | (sh4_register_read): New function. | |
5667 | (sh_pseudo_register_write): New function. Renamed and modified | |
5668 | version of obsolete sh_store_pseudo_register. | |
5669 | (sh_store_pseudo_register): Rename to sh_pseudo_register_write. | |
5670 | (sh4_register_write): New function. | |
5671 | (sh_gdbarch_init): Remove setting of gdbarch function | |
5672 | fetch_pseudo_register and store_pseudo_register. Remove setting of | |
5673 | register_convert_to_raw, register_convert_to_virtual, | |
5674 | register_convertible. | |
5675 | (sh_sh4_register_convertible): Delete. No longer needed. All is | |
5676 | taken care by architecture specific functions | |
5677 | register_read/register_write. | |
5678 | (sh_sh4_register_convert_to_virtual): Make static. | |
5679 | (sh_sh4_register_convert_to_raw): Ditto. | |
5680 | ||
069e84fd AC |
5681 | 2002-01-22 Andrew Cagney <ac131313@redhat.com> |
5682 | ||
5683 | * doublest.c (floatformat_is_negative): Assert FMT is non NULL. | |
5684 | (floatformat_is_nan, floatformat_mantissa): Ditto. | |
5685 | ||
5686 | * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT | |
5687 | for builtin_type_ieee_single_little, builtin_type_ieee_double_big, | |
5688 | builtin_type_ieee_double_little, | |
5689 | builtin_type_ieee_double_littlebyte_bigword, | |
5690 | builtin_type_m68881_ext, builtin_type_i960_ext, | |
5691 | builtin_type_m88110_ext, builtin_type_m88110_harris_ext, | |
5692 | builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword, | |
5693 | builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and | |
5694 | builtin_type_ia64_quad_big, builtin_type_ia64_quad_little. | |
5695 | ||
211a4f69 CV |
5696 | 2002-01-22 Corinna Vinschen <vinschen@redhat.com> |
5697 | ||
5698 | * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless | |
5699 | parameter. Set frameless flag if it exists and depended of | |
5700 | whether the scanned function is frameless or not. | |
5701 | (xstormy16_skip_prologue): If function is frameless, return | |
5702 | result of xstormy16_scan_prologue(). | |
5703 | (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue() | |
5704 | call. | |
5705 | ||
f81353e4 EZ |
5706 | 2002-01-21 Elena Zannoni <ezannoni@redhat.com> |
5707 | ||
5708 | * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments, | |
5709 | sh_generic_show_regs, sh3_show_regs, sh3e_show_regs, | |
5710 | sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs, | |
5711 | sh_sh4_register_byte, sh_sh4_register_raw_size, | |
5712 | sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type, | |
5713 | sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual, | |
5714 | sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register, | |
5715 | sh_store_pseudo_register, sh_do_pseudo_register): Call | |
5716 | gdbarch_tdep() just once, assign result to variable and use that, | |
5717 | instead of calling the function several times. | |
5718 | ||
63c73a17 MK |
5719 | 2002-01-20 Mark Kettenis <kettenis@gnu.org> |
5720 | ||
5721 | * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P | |
5722 | macros instead of LAST_FPU_CTRL_REGNUM. | |
5723 | (store_register): Likewise. | |
5724 | ||
39ad761d JB |
5725 | 2002-01-21 Jim Blandy <jimb@redhat.com> |
5726 | ||
5727 | * infcmd.c (run_command): Check that the `exec' target layer's BFD | |
5728 | is up-to-date before running the program, not just when a program | |
5729 | exits. | |
5730 | ||
3d74b771 FF |
5731 | 2002-01-21 Fred Fish <fnf@redhat.com> |
5732 | ||
5733 | * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue | |
5734 | when we have found all instructions we are looking for. | |
5735 | ||
966fbf70 RE |
5736 | 2002-01-21 Richard Earnshaw <rearnsha@arm.com> |
5737 | ||
5738 | * arm-tdep.c (arm_register_name): New function. | |
5739 | (arm_registers_names): Make static. | |
5740 | * config/arm/tm-arm.h (arm_register_names): Delete declaration. | |
5741 | (arm_register_name): Declare. | |
5742 | (REGISTER_NAME): Use it. | |
5743 | ||
c3b4394c RE |
5744 | 2002-01-21 Richard Earnshaw <rearnsha@arm.com> |
5745 | Kevin Buettner <kevinb@redhat.com> | |
5746 | ||
5747 | Convert arm targets to new FRAME interface. | |
5748 | * arm-tdep.c (struct frame_extra_info): Remove fsr. | |
5749 | (arm_frame_find_save_regs): Delete. | |
5750 | (arm_frame_init_saved_regs): New. | |
5751 | (arm_init_extra_frame_info): Alloacte saved_regs as required. | |
5752 | Allocate extra_info as required. Convert all uses of fsr.regs | |
5753 | to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields | |
5754 | to use extra_info. | |
5755 | (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg) | |
5756 | (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise. | |
5757 | (check_prologue_cache, save_prologue_cache): Likewise. | |
5758 | (_initialize_arm_tdep): Ensure prologue_cache is correctly set up. | |
5759 | * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete. | |
5760 | (FRAME_FIND_SAVED_REGS): Delete. | |
5761 | (arm_frame_find_saved_regs): Delete prototype. | |
5762 | (arm_frame_init_saved_regs): New prototype. | |
5763 | (FRAME_INIT_SAVED_REGS): Define. | |
5764 | ||
61d99182 AC |
5765 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
5766 | ||
5767 | * config/arc/tm-arc.h (IEEE_FLOAT): Delete. | |
5768 | ||
6aaea291 AC |
5769 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
5770 | ||
5771 | From Jeff Law <law@redhat.com>: | |
5772 | * infttrace.c: Include <sys/pstat.h>. | |
5773 | (child_pid_to_exec_file): Revamp. Use pstat call to get the | |
5774 | exec file if the ttrace equivalent fails. | |
5775 | ||
15f698d2 AC |
5776 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
5777 | ||
5778 | * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''. | |
5779 | (closeLogFile): Ditto. | |
5780 | ||
f86ddd7c MC |
5781 | 2002-01-20 Michael Chastain <mec@shout.net> |
5782 | ||
5783 | * top.c (print_gdb_version): Bump copyright year to 2002. | |
5784 | ||
904507ce AC |
5785 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
5786 | ||
5787 | * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena | |
5788 | Zannoni and Eli Zaretskii. | |
5789 | ||
d7f0b9ce DJ |
5790 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
5791 | ||
5792 | * buildsym.c: Update copyright years. | |
5793 | * c-typeprint.c: Likewise. | |
5794 | * dwarf2read.c: Likewise. | |
5795 | * f-typeprint.c: Likewise. | |
5796 | * gdbtypes.c: Likewise. | |
5797 | * gdbtypes.h: Likewise. | |
5798 | * hp-symtab-read.c: Likewise. | |
5799 | * hpread.c: Likewise. | |
5800 | * mdebugread.c: Likewise. | |
5801 | * p-typeprint.c: Likewise. | |
5802 | ||
3fd3d7d2 AC |
5803 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
5804 | ||
5805 | * remote-sim.c (gdbsim_open): Simplify code testing the macro | |
5806 | TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always | |
5807 | byte-order selectable. | |
5808 | * sparc-tdep.c (sparc_target_architecture_hook): Ditto. | |
5809 | * arch-utils.c: Ditto. | |
5810 | (set_endian): Ditto. | |
5811 | (set_endian_from_file): Ditto. | |
5812 | * gdbserver/low-sim.c (create_inferior): Ditto. | |
5813 | * gdbarch.sh: Ditto. | |
5814 | * gdbarch.h: Re-generate. | |
aaa38bb5 AJ |
5815 | * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P): |
5816 | * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE): | |
5817 | * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE): | |
5818 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
5819 | * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
5820 | * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
5821 | * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE): | |
3fd3d7d2 AC |
5822 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete |
5823 | macro definition. | |
5824 | * config/mips/tm-wince.h: Remove #undef of macro | |
5825 | TARGET_BYTE_ORDER_SELECTABLE. | |
5826 | * config/sh/tm-wince.h: Ditto. | |
5827 | ||
b02dede2 DJ |
5828 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
5829 | ||
5830 | * gdbtypes.h (struct cplus_struct_type): Add is_artificial to | |
5831 | member function fields. Add accessor macro | |
5832 | TYPE_FN_FIELD_ARTIFICIAL. | |
5833 | * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods. | |
5834 | * c-typeprint.c (c_type_print_base): Skip artificial member | |
5835 | functions. | |
5836 | ||
c3643761 DJ |
5837 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
5838 | ||
5839 | * f-typeprint.c: Delete unused function f_type_print_args. | |
5840 | * p-typeprint.c: Delete unused function pascal_type_print_args. | |
5841 | ||
8176bb6d DJ |
5842 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
5843 | ||
5844 | * gdbtypes.h (struct type): Fix whitespace. Remove obsolete | |
5845 | comment. Add ``artificial'' to ``union field_location''. | |
5846 | ||
5847 | * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL. | |
5848 | ||
5849 | * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0. | |
5850 | * mdebugread.c (parse_symbol): Likewise. | |
5851 | * stabsread.c (define_symbol): Likewise. | |
5852 | * hp-symtab-read.c (hpread_function_type): Likewise, instead of | |
5853 | initializing TYPE_FIELD_BITPOS to n (obsolete). | |
5854 | (hpread_doc_function_type): Likewise. | |
5855 | * hpread.c (hpread_function_type): Likewise. | |
5856 | ||
7fd60527 AC |
5857 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
5858 | ||
5859 | * configure.in (host_makefile_frag): Only require a host makefile | |
5860 | fragment when a native build. | |
5861 | * configure: Re-generate. | |
5862 | ||
c2f05ac9 AC |
5863 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
5864 | ||
5865 | * doublest.h (floatformat_from_type): Declare. | |
5866 | * doublest.c (floatformat_from_type): New function. | |
5867 | (convert_typed_floating): Use. | |
5868 | ||
5869 | * valprint.c (print_floating): Replace checks for IEEE_FLOAT with | |
5870 | call to function floatformat_from_type. | |
5871 | ||
5872 | * gdbarch.sh (IEEE_FLOAT): Delete. | |
5873 | * gdbarch.h, gdbarch.c: Re-generate. | |
5874 | * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro. | |
5875 | * config/i386/tm-i386.h (IEEE_FLOAT): Ditto. | |
5876 | * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto. | |
5877 | * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto. | |
5878 | * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto. | |
5879 | * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto. | |
5880 | * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto. | |
5881 | * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto. | |
5882 | * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto. | |
5883 | * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto. | |
5884 | * config/arm/tm-arm.h (IEEE_FLOAT): Ditto. | |
c2f05ac9 AC |
5885 | * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto. |
5886 | ||
5887 | * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float. | |
5888 | * x86-64-tdep.c (i386_gdbarch_init): Ditto. | |
5889 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
5890 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
5891 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
5892 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
5893 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
5894 | ||
abf22e64 AJ |
5895 | 2002-01-20 Jiri Smid <smid@suse.cz> |
5896 | ||
5897 | * configure.host, configure.tgt: Support x86-64. | |
5898 | * NEWS: Note new target x86-64. | |
5899 | ||
b7c4cbf8 AJ |
5900 | * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed. |
5901 | * x86-64-linux-nat.c (x86_64_register_u_addr): New function. | |
5902 | * config/i386/nm-x86-64.h (ATTACH_LWP): Removed. | |
5903 | * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o, | |
5904 | x86-64-linux-nat.o): Fix dependencies. | |
5905 | ||
82600034 AC |
5906 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
5907 | ||
5908 | * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE. | |
5909 | * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro .... | |
5910 | * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here. | |
5911 | * config/sparc/xm-sun4os4.h: Delete file. | |
5912 | * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable. | |
abf22e64 | 5913 | |
bbe5c628 AC |
5914 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
5915 | ||
5916 | * config/sparc/sparclynx.mh (XM_FILE): Delete. | |
5917 | * config/rs6000/rs6000lynx.mh (XM_FILE): Delete. | |
5918 | * config/m68k/m68klynx.mh (XM_FILE): Delete. | |
5919 | * config/i386/i386lynx.mh (XM_FILE): Delete. | |
5920 | * config/rs6000/xm-rs6000ly.h: Delete file. | |
5921 | * config/sparc/xm-sparclynx.h: Delete file. | |
5922 | * config/m68k/xm-m68klynx.h: Delete file. | |
5923 | * config/i386/xm-i386lynx.h: Delete file. | |
5924 | * config/xm-lynx.h: Delete file. | |
5925 | * config/djgpp/fnchange.lst: Update. | |
5926 | ||
f8453e34 JT |
5927 | 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com> |
5928 | ||
5929 | * alpha-tdep.c (alpha_register_byte): New function. | |
5930 | (alpha_register_raw_size): Ditto. | |
5931 | (alpha_register_virtual_size): Ditto. | |
5932 | (alpha_skip_prologue_internal): Renamed from | |
5933 | alpha_skip_prologue. | |
5934 | (alpha_skip_prologue): New version that calls | |
5935 | alpha_skip_prologue_internal. | |
5936 | (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal. | |
5937 | * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove | |
5938 | second argument from alpha_skip_prologue. | |
5939 | (REGISTER_BYTE): Use alpha_register_byte. | |
5940 | (REGISTER_RAW_SIZE): Use alpha_register_raw_size. | |
5941 | (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size. | |
5942 | (FRAMELESS_FUNCTION_INVOCATION): Use | |
5943 | generic_frameless_function_invocation_not. | |
5944 | (FRAME_NUM_ARGS): Use frame_num_args_unknown. | |
5945 | (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double. | |
5946 | ||
52d9e613 AC |
5947 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
5948 | ||
5949 | * config/mips/xm-news-mips.h: Delete file. | |
5950 | * config/mips/news-mips.mh (XM_FILE): Delete makefile variable. | |
5951 | ||
5952 | * config/m88k/xm-m88k.h: Delete file. | |
5953 | * config/m88k/xm-dgux.h: Do not include xm-m88k.h. | |
5954 | * config/m88k/xm-delta88v4.h: Ditto. | |
5955 | * config/m88k/xm-delta88.h: Ditto. | |
5956 | ||
5957 | * config/alpha/xm-fbsd.h: Delete file. | |
5958 | * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable. | |
5959 | ||
5960 | * config/sparc/xm-sparc.h: Delete file. | |
5961 | * Makefile.in (xm-sun4os4.h): Delete dependency. | |
5962 | * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h. | |
5963 | * config/sparc/xm-sun4os4.h: Ditto. | |
5964 | * config/sparc/xm-linux.h: Ditto. | |
5965 | ||
5966 | * config/i386/xm-windows.h: Delete file. | |
5967 | ||
2d1b2124 AC |
5968 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
5969 | ||
5970 | * utils.c: Include <sys/param.h> for MAXPATHLEN. | |
5971 | (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined. | |
5972 | ||
ee1f65f0 JT |
5973 | 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com> |
5974 | ||
5975 | * alpha-tdep.c (alpha_call_dummy_words): New. | |
5976 | * config/alpha/tm-alpha.h (CALL_DUMMY): Remove. | |
5977 | (CALL_DUMMY_P): Define. | |
5978 | (CALL_DUMMY_WORDS): Define. | |
5979 | (SIZEOF_CALL_DUMMY_WORDS): Define. | |
5980 | ||
98081e55 PB |
5981 | 2002-01-19 Per Bothner <per@bothner.com> |
5982 | ||
5983 | * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name | |
5984 | isn't NULL, which can happen with some gcj-3.x-produced code. | |
5985 | ||
0d056799 JT |
5986 | 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com> |
5987 | ||
5988 | * alpha-tdep.c (alpha_register_virtual_type): New function. | |
5989 | (alpha_init_frame_pc_first): Ditto. | |
5990 | (alpha_fix_call_dummy): Ditto. | |
5991 | (alpha_store_struct_return): Ditto. | |
5992 | (alpha_extract_struct_value_address): Ditto. | |
5993 | * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use | |
5994 | alpha_register_virtual_type. | |
5995 | (STORE_STRUCT_RETURN): Use alpha_store_struct_return. | |
5996 | (EXTRACT_STRUCT_VALUE_ADDRESS): Use | |
5997 | alpha_extract_struct_value_address. | |
5998 | (FIX_CALL_DUMMY): Use alpha_fix_call_dummy. | |
5999 | (INIT_FRAME_PC): Use init_frame_pc_noop. | |
6000 | (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first. | |
6001 | ||
4604bcad MK |
6002 | 2002-01-19 Mark Kettenis <kettenis@gnu.org> |
6003 | ||
6004 | * i386gnu-nat.c: Include "i386-tdep.h". | |
6005 | (fetch_fpregs): Simplify code dealing with uninitialized floating | |
6006 | point states such that it doesn't require FP7_REGNUM. | |
6007 | ||
140f9984 JT |
6008 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
6009 | ||
abf22e64 AJ |
6010 | * alpha-tdep.c (frame_extra_info): New. |
6011 | (alpha_find_saved_regs): Make static. Use | |
140f9984 JT |
6012 | frame->extra_info. |
6013 | (alpha_frame_init_saved_regs): New function. | |
abf22e64 AJ |
6014 | (alpha_frame_saved_pc): Use frame->extra_info. |
6015 | (temp_saved_regs): Don't declare as struct frame_saved_regs. | |
6016 | (heuristic_proc_desc): Adjust for temp_saved_regs changes. | |
140f9984 JT |
6017 | (init_extra_frame_info): Rename to... |
6018 | (alpha_init_extra_frame_info): ...this. Use frame->extra_info. | |
abf22e64 | 6019 | (alpha_print_extra_frame_info): New function. |
140f9984 JT |
6020 | (alpha_frame_locals_address): Ditto. |
6021 | (alpha_frame_args_address): Ditto. | |
abf22e64 | 6022 | (alpha_pop_frame): Use frame->extra_info. |
140f9984 JT |
6023 | * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use |
6024 | alpha_frame_args_address. | |
abf22e64 | 6025 | (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address. |
140f9984 | 6026 | (alpha_find_saved_regs): Remove prototype. |
abf22e64 AJ |
6027 | (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs. |
6028 | (EXTRA_FRAME_INFO): Remove. | |
140f9984 JT |
6029 | (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info. |
6030 | (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info. | |
6031 | ||
d734c450 JT |
6032 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
6033 | ||
6034 | * alpha-tdep.c (alpha_osf_in_sigtramp): New function. | |
6035 | (alpha_cannot_fetch_register): Ditto. | |
6036 | (alpha_cannot_store_register): Ditto. | |
6037 | (alpha_register_convertible): Ditto. | |
6038 | (alpha_use_struct_convention): Ditto. | |
6039 | * config/alpha/tm-alpha.h: Update copyright years. | |
6040 | (IN_SIGTRAMP): Use alpha_osf_in_sigtramp. | |
6041 | (INNER_THAN): Use core_addr_lessthan. | |
6042 | (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register. | |
6043 | (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register. | |
6044 | (REGISTER_CONVERTIBLE): Use alpha_register_convertible. | |
6045 | (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention. | |
6046 | (FRAME_CHAIN): Remove unnecessary cast. | |
6047 | ||
b4ceaee6 AC |
6048 | 2002-01-18 Andrew Cagney <ac131313@redhat.com> |
6049 | ||
6050 | * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is | |
6051 | obsolete. | |
6052 | ||
0a65a603 AC |
6053 | 2002-01-18 Andrew Cagney <ac131313@redhat.com> |
6054 | ||
6055 | * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright. | |
6056 | * monitor.c, remote-array.c, remote-bug.c: Ditto. | |
6057 | * remote-e7000.c, remote-es.c, remote-mips.c: Ditto. | |
6058 | * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto. | |
6059 | * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto. | |
6060 | * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto. | |
6061 | * x86-64-linux-nat.c: Ditto. | |
6062 | ||
636a6dfc JT |
6063 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
6064 | ||
abf22e64 | 6065 | * alpha-tdep.c (alpha_register_name): New function. |
636a6dfc JT |
6066 | * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove. |
6067 | (REGISTER_NAME): Define. | |
6068 | ||
acceddb6 JT |
6069 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
6070 | ||
6071 | * config/nm-nbsd.h (KERNEL_U_ADDR): Remove. | |
6072 | ||
ec32e4be JT |
6073 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
6074 | ||
6075 | * alpha-tdep.c: Update copyright years. | |
6076 | (alpha_next_pc): New function. | |
6077 | (alpha_software_single_step): Ditto. | |
6078 | * config/alpha/tm-alpha.h: Add prototype for | |
6079 | alpha_software_single_step. | |
6080 | ||
e771a871 JT |
6081 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
6082 | ||
6083 | * alphabsd-nat.c: Update copyright years. | |
6084 | (fill_gregset): Use regcache_collect. | |
6085 | (fill_fpregset): Likewise. | |
6086 | (fetch_inferior_registers): Only fetch integer registers | |
6087 | if requested to do so. | |
6088 | (store_inferior_registers): Only store integer registers | |
6089 | if requested to do so. | |
6090 | ||
7708fa01 AC |
6091 | 2002-01-17 Andrew Cagney <ac131313@redhat.com> |
6092 | ||
6093 | * config/alpha/alpha-osf3.mh (XDEPFILES): Delete. | |
6094 | * config/alpha/alpha-osf2.mh (XDEPFILES): Delete. | |
6095 | * config/alpha/alpha-osf1.mh (XDEPFILES): Delete. | |
6096 | * config/alpha/alpha-linux.mh (XDEPFILES): Delete. | |
6097 | * config/alpha/fbsd.mh (XDEPFILES): Delete. | |
6098 | * config/arm/linux.mh (XDEPFILES): Delete. | |
6099 | * config/arm/nbsd.mh (XDEPFILES): Delete. | |
6100 | * config/i386/i386dgux.mh (XDEPFILES): Delete. | |
6101 | * config/i386/i386sol2.mh (XDEPFILES): Delete. | |
6102 | * config/i386/i386m3.mh (XDEPFILES): Delete. | |
6103 | (NATDEPFILES): Move i387-tdep.o and core-aout.o to here. | |
6104 | * config/i386/i386gnu.mh (XDEPFILES): Delete. | |
6105 | * config/i386/fbsd.mh (XDEPFILES): Delete. | |
6106 | * config/i386/i386bsd.mh (XDEPFILES): Delete. | |
6107 | * config/i386/i386sco5.mh (XDEPFILES): Delete. | |
6108 | * config/i386/i386v4.mh (XDEPFILES): Delete. | |
6109 | * config/i386/i386v42mp.mh (XDEPFILES): Delete. | |
6110 | * config/i386/i386sco4.mh (XDEPFILES): Delete. | |
6111 | * config/i386/i386aix.mh (XDEPFILES): Delete. | |
6112 | * config/i386/go32.mh (XDEPFILES): Delete. | |
6113 | * config/i386/cygwin.mh (XDEPFILES): Delete. | |
6114 | * config/i386/i386lynx.mh (XDEPFILES): Delete. | |
6115 | * config/i386/i386mach.mh (XDEPFILES): Delete. | |
6116 | * config/i386/i386v32.mh (XDEPFILES): Delete. | |
6117 | * config/i386/linux.mh (XDEPFILES): Delete. | |
6118 | * config/i386/nbsdelf.mh (XDEPFILES): Delete. | |
6119 | * config/i386/ncr3000.mh (XDEPFILES): Delete. | |
6120 | * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES. | |
6121 | * config/i386/i386sco.mh (XDEPFILES): Delete. | |
6122 | * config/i386/i386v.mh (XDEPFILES): Delete. | |
6123 | * config/i386/nbsd.mh (XDEPFILES): Delete. | |
6124 | * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES. | |
6125 | * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES. | |
6126 | * config/i386/symmetry.mh (XDEPFILES): Delete. | |
6127 | * config/i386/obsd.mh (XDEPFILES): Delete. | |
6128 | * config/i386/x86-64linux.mh (XDEPFILES): Delete. | |
6129 | * config/ia64/linux.mh (XDEPFILES): Delete. | |
6130 | * config/ia64/aix.mh (XDEPFILES): Delete. | |
6131 | * config/m68k/apollo68b.mh (XDEPFILES): Delete. | |
6132 | * config/m68k/dpx2.mh (XDEPFILES): Delete. | |
6133 | * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES. | |
6134 | * config/m68k/apollo68v.mh (XDEPFILES): Delete. | |
6135 | * config/m68k/hp300bsd.mh (XDEPFILES): Delete. | |
6136 | * config/m68k/linux.mh (XDEPFILES): Delete. | |
6137 | * config/m68k/m68klynx.mh (XDEPFILES): Delete. | |
6138 | * config/m68k/m68kv4.mh (XDEPFILES): Delete. | |
6139 | * config/m68k/nbsd.mh (XDEPFILES): Delete. | |
6140 | * config/m68k/sun2os3.mh (XDEPFILES): Delete. | |
6141 | * config/m68k/sun2os4.mh (XDEPFILES): Delete. | |
6142 | * config/m68k/sun3os3.mh (XDEPFILES): Delete. | |
6143 | * config/m68k/sun3os4.mh (XDEPFILES): Delete. | |
6144 | * config/m88k/delta88.mh (XDEPFILES): Delete. | |
6145 | * config/m88k/delta88v4.mh (XDEPFILES): Delete. | |
6146 | * config/m88k/m88k.mh (XDEPFILES): Delete. | |
6147 | * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES. | |
6148 | * config/mips/linux.mh (XDEPFILES): Delete. | |
6149 | * config/mips/irix6.mh (XDEPFILES): Delete. | |
6150 | * config/mips/irix5.mh (XDEPFILES): Delete. | |
6151 | * config/mips/irix4.mh (XDEPFILES): Delete. | |
6152 | * config/mips/irix3.mh (XDEPFILES): Delete. | |
6153 | * config/mips/decstation.mh (XDEPFILES): Delete. | |
6154 | * config/mips/mipsm3.mh (XDEPFILES): Delete. | |
6155 | (NATDEPFILES): Move core-aout.o to here. | |
6156 | * config/ns32k/nbsd.mh (XDEPFILES): Delete. | |
6157 | * config/pa/hpux1020.mh (XDEPFILES): Delete. | |
6158 | * config/pa/hppabsd.mh (XDEPFILES): Delete. | |
6159 | * config/pa/hppahpux.mh (XDEPFILES): Delete. | |
6160 | * config/pa/hpux11w.mh (XDEPFILES): Delete. | |
6161 | * config/pa/hppaosf.mh (XDEPFILES): Delete. | |
6162 | * config/pa/hpux11.mh (XDEPFILES): Delete. | |
6163 | * config/powerpc/aix.mh (XDEPFILES): Delete. | |
6164 | * config/powerpc/nbsd.mh (XDEPFILES): Delete. | |
6165 | * config/powerpc/linux.mh (XDEPFILES): Delete. | |
6166 | * config/romp/rtbsd.mh: Rename XDEPFILES. | |
6167 | * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete. | |
6168 | * config/rs6000/aix4.mh (XDEPFILES): Delete. | |
6169 | * config/rs6000/rs6000.mh (XDEPFILES): Delete. | |
6170 | * config/s390/s390.mh (XDEPFILES): Delete. | |
6171 | * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES. | |
6172 | * config/sparc/sun4sol2.mh (XDEPFILES): Delete. | |
6173 | * config/sparc/sun4os4.mh (XDEPFILES): Delete. | |
6174 | * config/sparc/sparclynx.mh (XDEPFILES): Delete. | |
6175 | * config/sparc/nbsdelf.mh (XDEPFILES): Delete. | |
6176 | * config/sparc/nbsd.mh (XDEPFILES): Delete. | |
6177 | * config/sparc/linux.mh (XDEPFILES): Delete. | |
6178 | * config/vax/vaxult.mh (XDEPFILES): Delete. | |
6179 | * config/vax/vaxult2.mh (XDEPFILES): Delete. | |
6180 | * Makefile.in (DEPFILES): Remove XDEPFILES. | |
6181 | ||
375fc983 AC |
6182 | 2002-01-17 Andrew Cagney <ac131313@redhat.com> |
6183 | ||
6184 | * utils.c (internal_verror): Fix comments, default is yes not no. | |
6185 | Update queries to match. Default to quit and dump core. | |
6186 | ||
8926118c AC |
6187 | 2002-01-17 Andrew Cagney <ac131313@redhat.com> |
6188 | ||
6189 | * breakpoint.c: Update assuming #if UI_OUT is always true. Update | |
6190 | copyright. | |
6191 | * defs.h, event-top.c, gdbcmd.h: Ditto. | |
6192 | * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto. | |
6193 | * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto. | |
6194 | * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto. | |
6195 | * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto. | |
6196 | * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto. | |
6197 | * mi/mi-main.c:Ditto. | |
6198 | ||
6199 | * stack.c, symfile.c: Update copyright. | |
6200 | ||
45b7b345 DJ |
6201 | 2002-01-17 Daniel Jacobowitz <drow@mvista.com> |
6202 | ||
db728ff7 DJ |
6203 | * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c, |
6204 | gdbserver/low-nbsd.c, gdbserver/low-sim.c, | |
6205 | gdbserver/low-sparc.c, gdbserver/low-sun3.c, | |
6206 | gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices. | |
45b7b345 | 6207 | |
db728ff7 DJ |
6208 | 2002-01-17 Daniel Jacobowitz <drow@mvista.com> |
6209 | ||
6210 | * gdbserver/low-hppabsd.c (myattach): New function, returning -1. | |
6211 | * gdbserver/low-lynx.c (myattach): Likewise. | |
6212 | * gdbserver/low-nbsd.c (myattach): Likewise. | |
6213 | * gdbserver/low-sim.c (myattach): Likewise. | |
6214 | * gdbserver/low-sparc.c (myattach): Likewise. | |
6215 | * gdbserver/low-sun3.c (myattach): Likewise. | |
6216 | ||
6217 | * gdbserver/low-linux.c (myattach): New function. | |
45b7b345 | 6218 | |
db728ff7 | 6219 | * gdbserver/server.c (attach_inferior): New function. |
45b7b345 DJ |
6220 | (main): Handle "--attach". |
6221 | ||
8de3c354 AC |
6222 | 2002-01-16 Andrew Cagney <ac131313@redhat.com> |
6223 | ||
6224 | * MAINTAINERS (language support): Daniel Jacobwitz is C++ | |
6225 | maintainer. | |
6226 | ||
b0129042 DJ |
6227 | 2002-01-15 Daniel Jacobowitz <drow@mvista.com> |
6228 | ||
6229 | * c-typeprint.c (is_type_conversion_operator): Add additional | |
6230 | check for non-conversion operators. | |
6231 | ||
ba8679fb | 6232 | 2002-01-15 Michael Snyder <msnyder@redhat.com> |
2bf543a6 MS |
6233 | |
6234 | * linux-proc.c: Add "info proc" command, a la procfs.c. | |
6235 | (read_mapping): New function, abstract and re-use code. | |
6236 | (linux_find_memory_regions): Use new func read_mapping. | |
6237 | (linux_info_proc_cmd): New function, implement "info proc". | |
6238 | (_initialize_linux_proc): Add new command "info proc". | |
6239 | ||
e4f9b4d5 MS |
6240 | 2002-01-15 Michael Snyder <msnyder@redhat.com> |
6241 | ||
6242 | * symfile.c (generic_load): Use bfd_map_over_sections method | |
6243 | instead of manipulating bfd structure members directly. | |
6244 | (add_section_size_callback): New function, bfd sections callback | |
6245 | used by generic_load. | |
6246 | (load_sections_callback): New function, bfd sections callback | |
6247 | used by generic_load. | |
6248 | ||
08cf96df EZ |
6249 | 2002-01-15 Elena Zannoni <ezannoni@redhat.com> |
6250 | ||
abf22e64 | 6251 | [Based on work by Jim Blandy] |
08cf96df EZ |
6252 | * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export. |
6253 | (builtin_type_vec128): Export. | |
6254 | * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD | |
6255 | types. | |
6256 | (builtin_type_vec128): New builtin type for 128 bit vector | |
6257 | registers. | |
6258 | (build_gdbtypes): Initialize builtin_type_v16qi and | |
6259 | builtin_type_v8hi. Create the vec128 register builtin type | |
6260 | structure. | |
6261 | (build_builtin_type_vec128): New function. | |
abf22e64 | 6262 | (_initialize_gdbtypes): Register builtin_type_v16qi and |
08cf96df EZ |
6263 | builtin_type_v8hi with gdbarch. Same for builtin_type_vec128. |
6264 | * rs6000-tdep.c (rs6000_register_virtual_type): Change type of | |
6265 | AltiVec register to new builtin type. | |
6266 | ||
d7242108 DJ |
6267 | 2001-01-15 Daniel Jacobowitz <drow@mvista.com> |
6268 | ||
6269 | * stabsread.c (read_type): Pass dbx_lookup_type (typenums) | |
6270 | to make_cv_type. | |
6271 | ||
4ee3352d AC |
6272 | 2002-01-14 Andrew Cagney <ac131313@redhat.com> |
6273 | ||
6274 | * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename | |
6275 | CLEAN_UP_REGISTER_VALUE. | |
6276 | * regcache.c (supply_register): Update only call. | |
6277 | ||
f015b2e7 AC |
6278 | 2002-01-14 Andrew Cagney <ac131313@redhat.com> |
6279 | ||
6280 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
6281 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
6282 | a29k-*-vxworks* targets as obsolete. | |
6283 | ||
356ae49d MS |
6284 | 2002-01-14 Michael Snyder <msnyder@redhat.com> |
6285 | ||
6286 | * linux-proc.c (linux_do_thread_registers): Ignore fpxregs | |
6287 | until we can resolve portability issues. | |
6288 | * gregset.h: Remove references to fpxregs. | |
6289 | * gcore.c (gcore_command): Initialize note_sec to NULL. | |
6290 | ||
ade8f45e AC |
6291 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
6292 | ||
6293 | * signals.c (target_signal_to_name): Rewrite. Only use | |
6294 | signals[].name when in bounds and non-NULL. | |
abf22e64 | 6295 | |
89c49e7a AC |
6296 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
6297 | ||
6298 | From Petr Ledvina <ledvinap@kae.zcu.cz>: | |
6299 | * signals.c (target_signal_to_name): Verify that SIG is within the | |
6300 | bounds of the signals array. | |
6301 | ||
4daa9f9f AC |
6302 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
6303 | ||
6304 | * MAINTAINERS: Remove arm-coff and arm-pe from target list. | |
6305 | ||
ba4bbdcb KS |
6306 | 2002-01-13 Keith Seitz <keiths@redhat.com> |
6307 | ||
6308 | * stack.c (print_frame_info_base): Print the frame's pc | |
6309 | only if when print_frame_info_listing_hook is not defined. | |
6310 | ||
575bbeb6 KS |
6311 | 2002-01-13 Keith Seitz <keiths@redhat.com> |
6312 | ||
6313 | * varobj.c (varobj_set_value): Make sure that there were no | |
6314 | errors evaluating the object before attempting to set its | |
6315 | value. | |
6316 | value_cast now properly adjusts VALUE_ADDRESS for baseclasses, | |
6317 | so this offset adjustment is no longer necessary. | |
6318 | (create_child): Don't set the error flag if the child is | |
6319 | a CPLUS_FAKE_CHILD. | |
6320 | (value_of_child): If value_fetch_lazy fails, return NULL | |
6321 | so that callers will be notified that an error occurred. | |
6322 | (c_value_of_variable): Delay check of variable's validity | |
6323 | until later. We actually want all structs and unions to have | |
6324 | the value "{...}". | |
6325 | Do not return "???" for variables which could not be evaluated. | |
6326 | This error condition must be returned to the caller so that it | |
6327 | can get the error condition from gdb. | |
6328 | (cplus_name_of_child): Adjust index for vptr before figuring | |
6329 | out the name of the child. | |
6330 | (cplus_value_of_child): If a child's (real) parent is not valid, | |
6331 | don't even bother trying to give a value for it. Just return | |
6332 | an error. Change all instances in this function. | |
6333 | (cplus_type_of_child): If our parent is one of the "fake" | |
6334 | parents, we need to get at the type of the real parent, and | |
6335 | derive the child's true type using this information. | |
6336 | ||
b76898ab AC |
6337 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
6338 | ||
6339 | From 2002-01-09 John Marshall <johnm@falch.net>: | |
6340 | * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to | |
6341 | sources.redhat.com, and tweak some related URLs which had | |
6342 | suffered from linkrot. | |
6343 | ||
b6649e88 AC |
6344 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
6345 | ||
6346 | From Jeff law: | |
6347 | * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte | |
6348 | structures passed in registers. | |
6349 | ||
82cc5033 EZ |
6350 | 2002-01-13 Eli Zaretskii <eliz@is.elta.co.il> |
6351 | ||
6352 | * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous | |
6353 | white space which prevented compilation. Reported by DSK | |
6354 | <dsk@student.unsw.edu.au>. | |
6355 | ||
ba5f2f8a MS |
6356 | 2002-01-11 Michael Snyder <msnyder@redhat.com> |
6357 | ||
fbd35540 MS |
6358 | * symfile.c (build_section_addr_info_from_section_tab): |
6359 | Use bfd access method instead of manipulating bfd directly. | |
6360 | (syms_from_objfile): Ditto. | |
6361 | (simple_overlay_update_1): Ditto. | |
6362 | (simple_overlay_update): Ditto. | |
6363 | (generic_load): Ditto. | |
6364 | (overlay_unmapped_address): FIXME comment, bfd access methods. | |
6365 | (sections_overlap): FIXME comment, bfd access methods. | |
6366 | (pc_in_mapped_range): FIXME comment, bfd access methods. | |
6367 | (pc_in_unmapped_range): FIXME comment, bfd access methods. | |
6368 | (section_is_mapped): FIXME comment, bfd access methods. | |
6369 | (section_is_overlay): FIXME comment, bfd access methods. | |
6370 | ||
ba5f2f8a MS |
6371 | * symfile.c (generic_load): Whitespace and long line cleanups. |
6372 | Remove duplicate variable, change several local variables to | |
6373 | more appropriate data types. | |
6374 | (print_transfer_performance): Use %lu instead of %ld for ulongs. | |
6375 | ||
17df2af6 AC |
6376 | 2002-01-12 Andrew Cagney <ac131313@redhat.com> |
6377 | ||
6378 | From Peter Schauer: | |
6379 | * language.c (longest_local_hex_string_custom): Use phex_nz to | |
6380 | convert NUM to a hex string. | |
6381 | ||
ec920329 EZ |
6382 | 2002-01-12 Elena Zannoni <ezannoni@redhat.com> |
6383 | ||
6384 | * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in | |
6385 | the function. | |
538a76d6 | 6386 | Update Copyright year. |
ec920329 | 6387 | |
3abd2e01 AC |
6388 | 2002-01-12 Andrew Cagney <ac131313@redhat.com> |
6389 | ||
6390 | * language.c (longest_raw_hex_string): Delete unused function. | |
6391 | ||
b21b22e0 PS |
6392 | 2002-01-11 Petr Sorfa <petrs@caldera.com> |
6393 | ||
6394 | * MAINTAINERS (write-after-approval): Add myself. | |
6395 | * dwarf2read.c (read_tag_string_type): Handling of | |
6396 | DW_AT_byte_size. | |
6397 | (read_tag_string_type): FORTRAN fix to prevent propagation of | |
6398 | first string size. | |
6399 | (set_cu_language): Handling of DW_LANG_Fortran95 | |
6400 | ||
747fe712 RE |
6401 | 2002-01-11 Richard Earnshaw <rearnsha@arm.com> |
6402 | ||
6403 | * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid -> | |
6404 | GETPID(inferior_ptid). | |
6405 | (store_inferior_registers): Likewise. | |
6406 | ||
f1bea926 JM |
6407 | 2002-01-10 Jason Merrill <jason@redhat.com> |
6408 | ||
6409 | * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup. | |
6410 | Fix DW_OP_minus. | |
6411 | ||
ae940673 AC |
6412 | 2002-01-10 Andrew Cagney <ac131313@redhat.com> |
6413 | ||
6414 | * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001 | |
6415 | and bfd/elf32-sh-nbsd.c. | |
6416 | ||
00546b04 MS |
6417 | 2002-01-10 Michael Snyder <msnyder@redhat.com> |
6418 | ||
352ed7b4 MS |
6419 | * NEWS: Mention --pid and corefile/proc-id behavior change. |
6420 | ||
c18be923 MS |
6421 | * Makefile.in: Add rules for gcore.o and linux-proc.o. |
6422 | * gcore.c: Include cli/cli-decode.h instead of command.h. | |
6423 | ||
00546b04 MS |
6424 | * main.c (captured_main): Add new command line option "--pid". |
6425 | If the second command line argument (following the symbol-file) | |
6426 | begins with a digit, try to attach to it before trying to open | |
6427 | it as a corefile. | |
6428 | (print_gdb_help): Document the "--pid" argument. | |
6429 | ||
db60ec62 EZ |
6430 | 2002-01-10 Eli Zaretskii <eliz@is.elta.co.il> |
6431 | ||
6432 | * completer.c (command_completer): New function. | |
6433 | ||
6434 | * completer.h <command_completer>: Add prototype. | |
6435 | ||
6436 | * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the | |
6437 | completer for the "help" command. | |
6438 | ||
39c22d1a JM |
6439 | 2002-01-09 Jason Merrill <jason@redhat.com> |
6440 | ||
6441 | * c-typeprint.c (is_type_conversion_operator): Fix thinko. | |
6442 | ||
c564377f MS |
6443 | 2002-01-09 Michael Snyder <msnyder@redhat.com> |
6444 | ||
975aec09 MS |
6445 | * i386-linux-nat.c (fill_fpxregset): Make global. |
6446 | (store_fpxregset): Ditto. | |
6447 | ||
db4a10fa MS |
6448 | * gregset.h (gdb_fpxregset_t): Define. |
6449 | (supply_fpxregset): Prototype. | |
6450 | (fill_fpxregset): Prototype. | |
6451 | ||
c564377f MS |
6452 | * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo. |
6453 | ||
c3d45d70 RE |
6454 | 2002-01-09 Richard Earnshaw <rearnsha@arm.com> |
6455 | ||
6456 | * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS. | |
6457 | * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise. | |
6458 | * config/arm/tm-nbsd.h (get_longjmp_target): Likewise. | |
6459 | ||
fcc87af1 AC |
6460 | 2002-01-09 Andrew Cagney <ac131313@redhat.com> |
6461 | ||
6462 | * MAINTAINERS: Update target maintainer rules so that any | |
6463 | Maintainer can approve a tested patch for a maintenance-only | |
6464 | target. | |
6465 | ||
dd96c05b RE |
6466 | 2002-01-09 Richard Earnshaw <rearnsha@arm.com> |
6467 | ||
d4297db9 | 6468 | * MAINTAINERS (write-after-approval): Add myself. |
dd96c05b | 6469 | |
d4297db9 | 6470 | * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to |
dd96c05b RE |
6471 | IN_SIGTRAMP. |
6472 | ||
145fdc6e MS |
6473 | 2002-01-08 Michael Snyder <msnyder@redhat.com> |
6474 | ||
6475 | * linux-proc.c (child_pid_to_exec_file): Use readlink to get the | |
6476 | real name of the executable, rather than the /proc name. | |
6477 | ||
be4d1333 MS |
6478 | 2002-01-03 Michael Snyder <msnyder@redhat.com> |
6479 | ||
6480 | Implement a "generate-core-file" command in gdb, save target state. | |
6481 | * gcore.c: New file. Implement new command 'generate-core-file'. | |
6482 | Save a corefile image of the current state of the inferior. | |
6483 | * linux-proc.c: Add linux-specific code for saving corefiles. | |
6484 | * target.h (struct target_ops): Add new target vectors for saving | |
6485 | corefiles; to_find_memory_regions and to_make_corefile_notes. | |
6486 | (target_find_memory_regions): New macro. | |
6487 | (target_make_corefile_notes): New macro. | |
6488 | * target.c (update_current_target): Inherit new target methods. | |
6489 | (dummy_find_memory_regions): New place-holder method. | |
6490 | (dummy_make_corefile_notes): New place-holder method. | |
6491 | (init_dummy_target): Initialize new dummy target vectors. | |
6492 | * exec.c (exec_set_find_memory_regions): New function. | |
6493 | Allow the exec_ops vector for memory regions to be taken over. | |
6494 | (exec_make_note_section): New function, target vector method. | |
6495 | * defs.h (exec_set_find_memory_regions): Export prototype. | |
6496 | * procfs.c (proc_find_memory_regions): New function, corefile method. | |
6497 | (procfs_make_note_section): New function, corefile method. | |
6498 | (init_procfs_ops): Set new target vector pointers. | |
6499 | (find_memory_regions_callback): New function. | |
6500 | (procfs_do_thread_registers): New function. | |
6501 | (procfs_corefile_thread_callback): New function. | |
6502 | * sol-thread.c (sol_find_memory_regions): New function. | |
6503 | (sol_make_note_section): New function. | |
6504 | (init_sol_thread_ops): Initialize new target vectors. | |
6505 | * inftarg.c (inftarg_set_find_memory_regions): New function. | |
6506 | Allow to_find_memory_regions vector to be taken over. | |
6507 | (inftarg_set_make_corefile_notes): New function. | |
6508 | Allow to_make_corefile_notes vector to be taken over. | |
6509 | * thread-db.c (thread_db_new_objfile): Don't activate thread-db | |
6510 | interface layer if not target_has_execution (may be a corefile). | |
6511 | * config/i386/linux.mh: Add gcore.o to NATDEPFILES. | |
6512 | * config/sparc/sun4sol2.mh: Ditto. | |
6513 | * config/alpha/alpha-linux.mh: Ditto. | |
6514 | * config/arm/linux.mh: Ditto. | |
6515 | * config/i386/x86-64linux.mh: Ditto. | |
6516 | * config/ia64/linux.mh: Ditto. | |
6517 | * config/m68k/linux.mh: Ditto. | |
6518 | * config/mips/linux.mh: Ditto. | |
6519 | * config/powerpc/linux.mh: Ditto. | |
6520 | * config/sparc/linux.mh: Ditto. | |
6521 | ||
c6b92abd MS |
6522 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
6523 | ||
6524 | * arm-linux-nat.c: Remove references to regcache.c internal data | |
6525 | (registers[] and register_valid[]). | |
6526 | ||
4b09dc8c MS |
6527 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
6528 | ||
abf22e64 AJ |
6529 | * linux-proc.c: New file. Implement child_pid_to_exec_file, |
6530 | so that attaching to a pid will automatically read the process's | |
4b09dc8c MS |
6531 | symbol file and shlibs. |
6532 | * Makefile.in: Add rule for linux-proc.o. | |
6533 | * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE. | |
6534 | * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES. | |
6535 | * config/arm/linux.mh: Ditto. | |
6536 | * config/i386/linux.mh: Ditto. | |
6537 | * config/i386/x86-64linux.mh: Ditto. | |
6538 | * config/ia64/linux.mh: Ditto. | |
6539 | * config/m68k/linux.mh: Ditto. | |
6540 | * config/mips/linux.mh: Ditto. | |
6541 | * config/powerpc/linux.mh: Ditto. | |
6542 | * config/sparc/linux.mh: Ditto. | |
6543 | ||
c25b74ac PM |
6544 | 2002-01-06 Pierre Muller <muller@ics.u-strasbg.fr> |
6545 | ||
6546 | * win32-nat.c: Add i386-tdep.h dependency. | |
6547 | ||
94cd915f MS |
6548 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
6549 | ||
c7cccb76 MS |
6550 | * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT |
6551 | instead of bfd_get_arch_size. Don't bail out just because | |
6552 | there's no exec_bfd. | |
abf22e64 | 6553 | |
34c0bd93 MS |
6554 | * cp-valprint.c (cp_print_value): FIXME comment, alloca size. |
6555 | * p-valprint.c (pascal_object_print_value): Ditto. | |
6556 | * somread.c (som_symtab_read): Ditto. | |
6557 | * symfile.c (simple_free_overlay_region_table): Ditto. | |
6558 | * valops.c (value_assign): Ditto. | |
6559 | ||
21c1c920 MS |
6560 | * tracepoint.c (tracepoint_save_command): From Klee Dienes -- |
6561 | use tilde_expand and strerror for opening save-tracepoints file. | |
6562 | ||
5bbd998e MS |
6563 | * thread-db.c (thread_db_new_objfile): Indendation fix. |
6564 | ||
94cd915f MS |
6565 | * infptrace.c (GDB_MAX_ALLOCA): New define. |
6566 | (child_xfer_memory): Use xmalloc/xfree instead of alloca if the | |
abf22e64 | 6567 | size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte, |
94cd915f MS |
6568 | can be overridden with whatever value is appropriate to the host). |
6569 | * infttrace.c (child_xfer_memory): Add FIXME warning about use of | |
6570 | alloca to allocate potentially large buffer. | |
6571 | * rs6000-nat.c (child_xfer_memory): Ditto. | |
6572 | * symm-nat.c (child_xfer_memory): Ditto. | |
6573 | * x86-64-linux-nat.c (child_xfer_memory): Ditto. | |
6574 | ||
494e8a93 JSC |
6575 | 2002-01-07 Jackie Smith Cashion <jsmith@redhat.com> |
6576 | ||
6577 | From Nick Clifton <nickc@redhat.com> | |
6578 | * d10v-tdep.c: Set STACK_START to 0x200bffe. | |
6579 | ||
d0e1d48e MS |
6580 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
6581 | ||
abf22e64 | 6582 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): |
d0e1d48e MS |
6583 | Don't use exec_bfd if it's NULL. |
6584 | ||
290b2c7a MK |
6585 | 2002-01-06 Mark Kettenis <kettenis@gnu.org> |
6586 | ||
abf22e64 | 6587 | * valops.c (value_arg_coerce): Fix formatting. |
290b2c7a | 6588 | |
aef21287 AC |
6589 | 2002-01-06 Andrew Cagney <ac131313@redhat.com> |
6590 | ||
6591 | * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>. | |
6592 | * gnu-nat.c: Ditto. | |
6593 | ||
30efa627 AC |
6594 | 2002-01-06 Andrew Cagney <ac131313@redhat.com> |
6595 | ||
6596 | * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff, | |
6597 | arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms, | |
6598 | i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf, | |
6599 | ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and | |
6600 | z8k-coff have not been multi-arched. Update z8k-coff build | |
6601 | status. | |
6602 | ||
9b4ff276 AC |
6603 | 2002-01-06 Andrew Cagney <ac131313@redhat.com> |
6604 | ||
6605 | * MAINTAINERS: Mark a29k target as obsolete. | |
6606 | * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o) | |
6607 | (remote-mm.o, remote-udi.o): Obsolete. Remove references in | |
6608 | comments. | |
6609 | * NEWS: Note that a29k targets are obsolete. | |
6610 | * a29k-tdep.c: Mark as obsolete. | |
6611 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
6612 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
6613 | a29k-*-vxworks* targets as obsolete. | |
6614 | * remote-adapt.c: Obsolete. | |
6615 | * remote-eb.c: Obsolete. | |
6616 | * remote-mm.c: Obsolete. | |
6617 | * remote-udi.c: Obsolete. | |
6618 | * config/a29k/a29k-udi.mt: Obsolete. | |
6619 | * config/a29k/a29k.mt: Obsolete. | |
6620 | * config/a29k/tm-a29k.h: Obsolete. | |
6621 | * config/a29k/tm-vx29k.h: Obsolete. | |
6622 | * config/a29k/vx29k.mt: Obsolete. | |
6623 | ||
a9011d31 AC |
6624 | 2002-01-05 Andrew Cagney <ac131313@redhat.com> |
6625 | ||
6626 | * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN | |
6627 | with BFD_ENDIAN_BIG. | |
6628 | ||
9299404e AC |
6629 | 2002-01-05 Andrew Cagney <ac131313@redhat.com> |
6630 | ||
6631 | * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>. | |
6632 | * configure, config.in: Re-generate. | |
6633 | * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>. | |
6634 | * defs.h: Do not include <endian.h>. | |
6635 | ||
7e89e357 JT |
6636 | 2002-01-05 Jason Thorpe <thorpej@wasabisystems.com> |
6637 | ||
6638 | * acconfig.h (HAVE_PT_GETXMMREGS): New. | |
6639 | * config.in: Regenerate. | |
6640 | * configure.in: Update copyright years. | |
6641 | Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>. | |
6642 | * configure: Regenerate. | |
6643 | * i386bsd-nat.c: Update copyright years. | |
6644 | (fill_gregset): Use regcache_collect. | |
6645 | (fetch_inferior_registers): Only fetch integer registers | |
6646 | if requested to do so. Add support for XMM registers | |
6647 | using PT_GETXMMREGS. | |
6648 | (store_inferior_registers): Only store integer registers | |
6649 | if requested to do so. Add support for XMM registers | |
6650 | using PT_SETXMMREGS. | |
6651 | * i386nbsd-nat.c (fetch_inferior_registers): Remove. | |
6652 | (store_inferior_registers): Remove. | |
6653 | (fetch_core_registers): Use supply_gregset and i387_supply_fsave. | |
6654 | (fetch_elfcore_registers): New function. | |
6655 | (i386nbsd_elfcore_fns): New. | |
6656 | (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns. | |
6657 | * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and | |
6658 | i386bsd-nat.o. | |
6659 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
6660 | * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o. | |
6661 | * config/i386/nbsdelf.mt (TDEPFILES): Likewise. | |
6662 | * config/i386/tm-nbsd.h: Update copyright years. | |
6663 | (HAVE_SSE_REGS): Define. | |
6664 | (IN_SIGTRAMP): Define as i386bsd_in_sigtramp. | |
6665 | (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start. | |
6666 | (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end. | |
6667 | (SIGCONTEXT_PC_OFFSET): Remove. | |
6668 | (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc. | |
6669 | ||
a752853e AC |
6670 | 2002-01-05 Andrew Cagney <ac131313@redhat.com> |
6671 | ||
6672 | * configure.tgt: Remove powerpc-*-macos* target. | |
6673 | * config/m68k/xm-mpw.h: Delete file. | |
6674 | * config/xm-mpw.h: Delete file. | |
6675 | * ser-mac.c: Delete file. | |
6676 | * mpw-make.sed: Delete file. | |
6677 | * mpw-config.in: Delete file. | |
6678 | * mac-xdep.c: Delete file. | |
6679 | * mac-gdb.r: Delete file. | |
6680 | * mac-defs.h: Delete file. | |
6681 | * mac-nat.c: Delete file. | |
6682 | * config/powerpc/macos.mh: Delete file. | |
6683 | * config/powerpc/macos.mt: Delete file. | |
6684 | * config/powerpc/nm-macos.h: Delete file. | |
6685 | * config/powerpc/tm-macos.h: Delete file. | |
6686 | * source.c (openp, open_source_file): Remove obsolete code. | |
6687 | * top.c (gdb_readline): Ditto. | |
6688 | * utils.c (query): Ditto. | |
6689 | * event-top.c (display_gdb_prompt): Ditto. | |
6690 | * Makefile.in (ser-mac.o): Delete obsolete target. | |
6691 | * NEWS: Update. | |
6692 | ||
d7449b42 AC |
6693 | 2002-01-04 Andrew Cagney <ac131313@redhat.com> |
6694 | ||
6695 | * defs.h (BIG_ENDIAN): Delete macro definition. | |
6696 | * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c, | |
6697 | coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h, | |
6698 | findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c, | |
6699 | printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c, | |
6700 | remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c, | |
6701 | stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h, | |
6702 | config/a29k/tm-vx29k.h, config/arm/tm-arm.h, | |
6703 | config/d30v/tm-d30v.h, config/fr30/tm-fr30.h, | |
6704 | config/h8300/tm-h8300.h, config/h8500/tm-h8500.h, | |
6705 | config/m32r/tm-m32r.h, config/m68k/tm-m68k.h, | |
6706 | config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h, | |
6707 | config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c, | |
6708 | mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
6709 | * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
6710 | * gdbarch.c: Re-generate. | |
6711 | ||
356374e8 DJ |
6712 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
6713 | ||
6714 | * thread-db.c (thread_db_new_objfile): Do not enable thread_db | |
6715 | for core files. | |
6716 | ||
a2b8f8f8 JT |
6717 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
6718 | ||
6719 | * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o. | |
6720 | ||
12466af9 AC |
6721 | 2002-01-04 Andrew Cagney <ac131313@redhat.com> |
6722 | ||
6723 | * value.h (value_ptr): Delete typedef. | |
6724 | ||
3549ab40 JT |
6725 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
6726 | ||
6727 | * i386nbsd-nat.c: Update copyright years. | |
6728 | Include i386-tdep.h. | |
6729 | ||
fedbd091 EZ |
6730 | 2002-01-04 Elena Zannoni <ezannoni@redhat.com> |
6731 | ||
6732 | * stabsread.c: Update copyright years. | |
6733 | ||
6734 | From Debashis Mahata <debashis.mahata@wipro.com>: | |
6735 | (read_struct_fields): Deal with Sun C compiler erroneous stab | |
6736 | output for structs and unions. | |
fec8b34f | 6737 | Fix PR gdb/269. |
fedbd091 | 6738 | |
eb43544b DJ |
6739 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
6740 | ||
6741 | * p-valprint.c: Include "cp-abi.h" for baseclass_offset | |
6742 | prototype. | |
6743 | ||
1514d34e DJ |
6744 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
6745 | ||
6746 | * cp-abi.c: Fix whitespace. | |
6747 | (baseclass_offset): New wrapper function. | |
6748 | * cp-abi.h (baseclass_offset): Add prototype. | |
6749 | (struct cp_abi_ops): Add baseclass_offset pointer. | |
6750 | ||
6751 | * valops.c (vb_match): Move to... | |
6752 | * gnu-v2-abi.c (vb_match): here. | |
6753 | * valops.c (baseclass_offset): Move to... | |
6754 | * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename. | |
6755 | ||
6756 | * gnu-v3-abi.c (gnuv3_baseclass_offset): New function. | |
6757 | ||
6758 | * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset. | |
6759 | * gnu-v3-abi.c (init_gnuv3_ops): Likewise. | |
6760 | * hpacc-abi.c (init_hpacc_ops): Likewise. | |
6761 | ||
7f8c9282 DJ |
6762 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
6763 | ||
6764 | * valops.c (find_overload_match): Accept obj as a | |
6765 | reference parameter. Update it before returning. | |
6766 | * value.h (find_overload_match): Update prototype. | |
6767 | * eval.c (evaluate_subexp_standard): Pass object to | |
6768 | find_overload_match by reference. | |
6769 | ||
f23631e4 AC |
6770 | 2002-01-03 Andrew Cagney <ac131313@redhat.com> |
6771 | ||
6772 | * valarith.c: Replace value_ptr with struct value pointer. Remove | |
6773 | register attribute from value declarations. | |
6774 | * valops.c: Ditto. | |
6775 | * value.h: Ditto. | |
6776 | * scm-lang.c (scm_lookup_name): Ditto. | |
6777 | ||
79e10fab | 6778 | 2002-01-03 Michael Snyder <msnyder@redhat.com> |
abf22e64 | 6779 | |
79e10fab AC |
6780 | Abstract the functionality of iterating over mapped memory |
6781 | regions into a general purpose iterator function. | |
abf22e64 | 6782 | * procfs.c (iterate_over_mappings): New function, general purpose |
79e10fab AC |
6783 | iterator for memory sections. |
6784 | (proc_iterate_over_mappings): Reimplement using iterate_over_mappings. | |
6785 | (solib_mappings_callback): New function, callback for above. | |
6786 | (info_proc_mappings): Reimpliment using iterate_over_mappings. | |
6787 | (info_mappings_callback): New function, callback for above. | |
6788 | ||
6789 | * procfs.c (proc_set_watchpoint): Add cast to suppress warning. | |
6790 | ||
c5ad026a MK |
6791 | 2002-01-01 Mark Kettenis <kettenis@gnu.org> |
6792 | ||
d2a7c97a MK |
6793 | * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member. |
6794 | * i386-tdep.c: Include "elf-bfd.h". | |
6795 | (process_note_abi_tag_sections): New function. | |
6796 | (i386_gdbarch_init): Add code to recognize various OS/ABI | |
6797 | combinations. | |
6798 | ||
c5ad026a MK |
6799 | * maint.c (_initialize_maint_cmds): Add missing \ in |
6800 | string-literal. | |
6801 | ||
a1a5b71e | 6802 | For older changes see ChangeLog-2001 |
c906108c SS |
6803 | \f |
6804 | Local Variables: | |
6805 | mode: change-log | |
6806 | left-margin: 8 | |
6807 | fill-column: 74 | |
6808 | version-control: never | |
6809 | End: |