]>
Commit | Line | Data |
---|---|---|
904507ce AC |
1 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
2 | ||
3 | * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena | |
4 | Zannoni and Eli Zaretskii. | |
5 | ||
d7f0b9ce DJ |
6 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
7 | ||
8 | * buildsym.c: Update copyright years. | |
9 | * c-typeprint.c: Likewise. | |
10 | * dwarf2read.c: Likewise. | |
11 | * f-typeprint.c: Likewise. | |
12 | * gdbtypes.c: Likewise. | |
13 | * gdbtypes.h: Likewise. | |
14 | * hp-symtab-read.c: Likewise. | |
15 | * hpread.c: Likewise. | |
16 | * mdebugread.c: Likewise. | |
17 | * p-typeprint.c: Likewise. | |
18 | ||
3fd3d7d2 AC |
19 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
20 | ||
21 | * remote-sim.c (gdbsim_open): Simplify code testing the macro | |
22 | TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always | |
23 | byte-order selectable. | |
24 | * sparc-tdep.c (sparc_target_architecture_hook): Ditto. | |
25 | * arch-utils.c: Ditto. | |
26 | (set_endian): Ditto. | |
27 | (set_endian_from_file): Ditto. | |
28 | * gdbserver/low-sim.c (create_inferior): Ditto. | |
29 | * gdbarch.sh: Ditto. | |
30 | * gdbarch.h: Re-generate. | |
31 | * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
32 | * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE): | |
33 | * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE): | |
34 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
35 | * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
36 | * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
37 | * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE): | |
38 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete | |
39 | macro definition. | |
40 | * config/mips/tm-wince.h: Remove #undef of macro | |
41 | TARGET_BYTE_ORDER_SELECTABLE. | |
42 | * config/sh/tm-wince.h: Ditto. | |
43 | ||
b02dede2 DJ |
44 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
45 | ||
46 | * gdbtypes.h (struct cplus_struct_type): Add is_artificial to | |
47 | member function fields. Add accessor macro | |
48 | TYPE_FN_FIELD_ARTIFICIAL. | |
49 | * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods. | |
50 | * c-typeprint.c (c_type_print_base): Skip artificial member | |
51 | functions. | |
52 | ||
c3643761 DJ |
53 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
54 | ||
55 | * f-typeprint.c: Delete unused function f_type_print_args. | |
56 | * p-typeprint.c: Delete unused function pascal_type_print_args. | |
57 | ||
8176bb6d DJ |
58 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
59 | ||
60 | * gdbtypes.h (struct type): Fix whitespace. Remove obsolete | |
61 | comment. Add ``artificial'' to ``union field_location''. | |
62 | ||
63 | * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL. | |
64 | ||
65 | * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0. | |
66 | * mdebugread.c (parse_symbol): Likewise. | |
67 | * stabsread.c (define_symbol): Likewise. | |
68 | * hp-symtab-read.c (hpread_function_type): Likewise, instead of | |
69 | initializing TYPE_FIELD_BITPOS to n (obsolete). | |
70 | (hpread_doc_function_type): Likewise. | |
71 | * hpread.c (hpread_function_type): Likewise. | |
72 | ||
7fd60527 AC |
73 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
74 | ||
75 | * configure.in (host_makefile_frag): Only require a host makefile | |
76 | fragment when a native build. | |
77 | * configure: Re-generate. | |
78 | ||
c2f05ac9 AC |
79 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
80 | ||
81 | * doublest.h (floatformat_from_type): Declare. | |
82 | * doublest.c (floatformat_from_type): New function. | |
83 | (convert_typed_floating): Use. | |
84 | ||
85 | * valprint.c (print_floating): Replace checks for IEEE_FLOAT with | |
86 | call to function floatformat_from_type. | |
87 | ||
88 | * gdbarch.sh (IEEE_FLOAT): Delete. | |
89 | * gdbarch.h, gdbarch.c: Re-generate. | |
90 | * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro. | |
91 | * config/i386/tm-i386.h (IEEE_FLOAT): Ditto. | |
92 | * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto. | |
93 | * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto. | |
94 | * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto. | |
95 | * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto. | |
96 | * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto. | |
97 | * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto. | |
98 | * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto. | |
99 | * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto. | |
100 | * config/arm/tm-arm.h (IEEE_FLOAT): Ditto. | |
101 | * config/arc/tm-arc.h (IEEE_FLOAT): Ditto. | |
102 | * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto. | |
103 | ||
104 | * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float. | |
105 | * x86-64-tdep.c (i386_gdbarch_init): Ditto. | |
106 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
107 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
108 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
109 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
110 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
111 | ||
abf22e64 AJ |
112 | 2002-01-20 Jiri Smid <smid@suse.cz> |
113 | ||
114 | * configure.host, configure.tgt: Support x86-64. | |
115 | * NEWS: Note new target x86-64. | |
116 | ||
b7c4cbf8 AJ |
117 | * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed. |
118 | * x86-64-linux-nat.c (x86_64_register_u_addr): New function. | |
119 | * config/i386/nm-x86-64.h (ATTACH_LWP): Removed. | |
120 | * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o, | |
121 | x86-64-linux-nat.o): Fix dependencies. | |
122 | ||
82600034 AC |
123 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
124 | ||
125 | * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE. | |
126 | * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro .... | |
127 | * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here. | |
128 | * config/sparc/xm-sun4os4.h: Delete file. | |
129 | * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable. | |
abf22e64 | 130 | |
bbe5c628 AC |
131 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
132 | ||
133 | * config/sparc/sparclynx.mh (XM_FILE): Delete. | |
134 | * config/rs6000/rs6000lynx.mh (XM_FILE): Delete. | |
135 | * config/m68k/m68klynx.mh (XM_FILE): Delete. | |
136 | * config/i386/i386lynx.mh (XM_FILE): Delete. | |
137 | * config/rs6000/xm-rs6000ly.h: Delete file. | |
138 | * config/sparc/xm-sparclynx.h: Delete file. | |
139 | * config/m68k/xm-m68klynx.h: Delete file. | |
140 | * config/i386/xm-i386lynx.h: Delete file. | |
141 | * config/xm-lynx.h: Delete file. | |
142 | * config/djgpp/fnchange.lst: Update. | |
143 | ||
f8453e34 JT |
144 | 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com> |
145 | ||
146 | * alpha-tdep.c (alpha_register_byte): New function. | |
147 | (alpha_register_raw_size): Ditto. | |
148 | (alpha_register_virtual_size): Ditto. | |
149 | (alpha_skip_prologue_internal): Renamed from | |
150 | alpha_skip_prologue. | |
151 | (alpha_skip_prologue): New version that calls | |
152 | alpha_skip_prologue_internal. | |
153 | (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal. | |
154 | * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove | |
155 | second argument from alpha_skip_prologue. | |
156 | (REGISTER_BYTE): Use alpha_register_byte. | |
157 | (REGISTER_RAW_SIZE): Use alpha_register_raw_size. | |
158 | (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size. | |
159 | (FRAMELESS_FUNCTION_INVOCATION): Use | |
160 | generic_frameless_function_invocation_not. | |
161 | (FRAME_NUM_ARGS): Use frame_num_args_unknown. | |
162 | (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double. | |
163 | ||
52d9e613 AC |
164 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
165 | ||
166 | * config/mips/xm-news-mips.h: Delete file. | |
167 | * config/mips/news-mips.mh (XM_FILE): Delete makefile variable. | |
168 | ||
169 | * config/m88k/xm-m88k.h: Delete file. | |
170 | * config/m88k/xm-dgux.h: Do not include xm-m88k.h. | |
171 | * config/m88k/xm-delta88v4.h: Ditto. | |
172 | * config/m88k/xm-delta88.h: Ditto. | |
173 | ||
174 | * config/alpha/xm-fbsd.h: Delete file. | |
175 | * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable. | |
176 | ||
177 | * config/sparc/xm-sparc.h: Delete file. | |
178 | * Makefile.in (xm-sun4os4.h): Delete dependency. | |
179 | * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h. | |
180 | * config/sparc/xm-sun4os4.h: Ditto. | |
181 | * config/sparc/xm-linux.h: Ditto. | |
182 | ||
183 | * config/i386/xm-windows.h: Delete file. | |
184 | ||
2d1b2124 AC |
185 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
186 | ||
187 | * utils.c: Include <sys/param.h> for MAXPATHLEN. | |
188 | (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined. | |
189 | ||
ee1f65f0 JT |
190 | 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com> |
191 | ||
192 | * alpha-tdep.c (alpha_call_dummy_words): New. | |
193 | * config/alpha/tm-alpha.h (CALL_DUMMY): Remove. | |
194 | (CALL_DUMMY_P): Define. | |
195 | (CALL_DUMMY_WORDS): Define. | |
196 | (SIZEOF_CALL_DUMMY_WORDS): Define. | |
197 | ||
98081e55 PB |
198 | 2002-01-19 Per Bothner <per@bothner.com> |
199 | ||
200 | * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name | |
201 | isn't NULL, which can happen with some gcj-3.x-produced code. | |
202 | ||
0d056799 JT |
203 | 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com> |
204 | ||
205 | * alpha-tdep.c (alpha_register_virtual_type): New function. | |
206 | (alpha_init_frame_pc_first): Ditto. | |
207 | (alpha_fix_call_dummy): Ditto. | |
208 | (alpha_store_struct_return): Ditto. | |
209 | (alpha_extract_struct_value_address): Ditto. | |
210 | * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use | |
211 | alpha_register_virtual_type. | |
212 | (STORE_STRUCT_RETURN): Use alpha_store_struct_return. | |
213 | (EXTRACT_STRUCT_VALUE_ADDRESS): Use | |
214 | alpha_extract_struct_value_address. | |
215 | (FIX_CALL_DUMMY): Use alpha_fix_call_dummy. | |
216 | (INIT_FRAME_PC): Use init_frame_pc_noop. | |
217 | (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first. | |
218 | ||
4604bcad MK |
219 | 2002-01-19 Mark Kettenis <kettenis@gnu.org> |
220 | ||
221 | * i386gnu-nat.c: Include "i386-tdep.h". | |
222 | (fetch_fpregs): Simplify code dealing with uninitialized floating | |
223 | point states such that it doesn't require FP7_REGNUM. | |
224 | ||
140f9984 JT |
225 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
226 | ||
abf22e64 AJ |
227 | * alpha-tdep.c (frame_extra_info): New. |
228 | (alpha_find_saved_regs): Make static. Use | |
140f9984 JT |
229 | frame->extra_info. |
230 | (alpha_frame_init_saved_regs): New function. | |
abf22e64 AJ |
231 | (alpha_frame_saved_pc): Use frame->extra_info. |
232 | (temp_saved_regs): Don't declare as struct frame_saved_regs. | |
233 | (heuristic_proc_desc): Adjust for temp_saved_regs changes. | |
140f9984 JT |
234 | (init_extra_frame_info): Rename to... |
235 | (alpha_init_extra_frame_info): ...this. Use frame->extra_info. | |
abf22e64 | 236 | (alpha_print_extra_frame_info): New function. |
140f9984 JT |
237 | (alpha_frame_locals_address): Ditto. |
238 | (alpha_frame_args_address): Ditto. | |
abf22e64 | 239 | (alpha_pop_frame): Use frame->extra_info. |
140f9984 JT |
240 | * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use |
241 | alpha_frame_args_address. | |
abf22e64 | 242 | (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address. |
140f9984 | 243 | (alpha_find_saved_regs): Remove prototype. |
abf22e64 AJ |
244 | (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs. |
245 | (EXTRA_FRAME_INFO): Remove. | |
140f9984 JT |
246 | (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info. |
247 | (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info. | |
248 | ||
d734c450 JT |
249 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
250 | ||
251 | * alpha-tdep.c (alpha_osf_in_sigtramp): New function. | |
252 | (alpha_cannot_fetch_register): Ditto. | |
253 | (alpha_cannot_store_register): Ditto. | |
254 | (alpha_register_convertible): Ditto. | |
255 | (alpha_use_struct_convention): Ditto. | |
256 | * config/alpha/tm-alpha.h: Update copyright years. | |
257 | (IN_SIGTRAMP): Use alpha_osf_in_sigtramp. | |
258 | (INNER_THAN): Use core_addr_lessthan. | |
259 | (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register. | |
260 | (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register. | |
261 | (REGISTER_CONVERTIBLE): Use alpha_register_convertible. | |
262 | (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention. | |
263 | (FRAME_CHAIN): Remove unnecessary cast. | |
264 | ||
b4ceaee6 AC |
265 | 2002-01-18 Andrew Cagney <ac131313@redhat.com> |
266 | ||
267 | * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is | |
268 | obsolete. | |
269 | ||
0a65a603 AC |
270 | 2002-01-18 Andrew Cagney <ac131313@redhat.com> |
271 | ||
272 | * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright. | |
273 | * monitor.c, remote-array.c, remote-bug.c: Ditto. | |
274 | * remote-e7000.c, remote-es.c, remote-mips.c: Ditto. | |
275 | * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto. | |
276 | * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto. | |
277 | * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto. | |
278 | * x86-64-linux-nat.c: Ditto. | |
279 | ||
636a6dfc JT |
280 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
281 | ||
abf22e64 | 282 | * alpha-tdep.c (alpha_register_name): New function. |
636a6dfc JT |
283 | * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove. |
284 | (REGISTER_NAME): Define. | |
285 | ||
acceddb6 JT |
286 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
287 | ||
288 | * config/nm-nbsd.h (KERNEL_U_ADDR): Remove. | |
289 | ||
ec32e4be JT |
290 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
291 | ||
292 | * alpha-tdep.c: Update copyright years. | |
293 | (alpha_next_pc): New function. | |
294 | (alpha_software_single_step): Ditto. | |
295 | * config/alpha/tm-alpha.h: Add prototype for | |
296 | alpha_software_single_step. | |
297 | ||
e771a871 JT |
298 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
299 | ||
300 | * alphabsd-nat.c: Update copyright years. | |
301 | (fill_gregset): Use regcache_collect. | |
302 | (fill_fpregset): Likewise. | |
303 | (fetch_inferior_registers): Only fetch integer registers | |
304 | if requested to do so. | |
305 | (store_inferior_registers): Only store integer registers | |
306 | if requested to do so. | |
307 | ||
7708fa01 AC |
308 | 2002-01-17 Andrew Cagney <ac131313@redhat.com> |
309 | ||
310 | * config/alpha/alpha-osf3.mh (XDEPFILES): Delete. | |
311 | * config/alpha/alpha-osf2.mh (XDEPFILES): Delete. | |
312 | * config/alpha/alpha-osf1.mh (XDEPFILES): Delete. | |
313 | * config/alpha/alpha-linux.mh (XDEPFILES): Delete. | |
314 | * config/alpha/fbsd.mh (XDEPFILES): Delete. | |
315 | * config/arm/linux.mh (XDEPFILES): Delete. | |
316 | * config/arm/nbsd.mh (XDEPFILES): Delete. | |
317 | * config/i386/i386dgux.mh (XDEPFILES): Delete. | |
318 | * config/i386/i386sol2.mh (XDEPFILES): Delete. | |
319 | * config/i386/i386m3.mh (XDEPFILES): Delete. | |
320 | (NATDEPFILES): Move i387-tdep.o and core-aout.o to here. | |
321 | * config/i386/i386gnu.mh (XDEPFILES): Delete. | |
322 | * config/i386/fbsd.mh (XDEPFILES): Delete. | |
323 | * config/i386/i386bsd.mh (XDEPFILES): Delete. | |
324 | * config/i386/i386sco5.mh (XDEPFILES): Delete. | |
325 | * config/i386/i386v4.mh (XDEPFILES): Delete. | |
326 | * config/i386/i386v42mp.mh (XDEPFILES): Delete. | |
327 | * config/i386/i386sco4.mh (XDEPFILES): Delete. | |
328 | * config/i386/i386aix.mh (XDEPFILES): Delete. | |
329 | * config/i386/go32.mh (XDEPFILES): Delete. | |
330 | * config/i386/cygwin.mh (XDEPFILES): Delete. | |
331 | * config/i386/i386lynx.mh (XDEPFILES): Delete. | |
332 | * config/i386/i386mach.mh (XDEPFILES): Delete. | |
333 | * config/i386/i386v32.mh (XDEPFILES): Delete. | |
334 | * config/i386/linux.mh (XDEPFILES): Delete. | |
335 | * config/i386/nbsdelf.mh (XDEPFILES): Delete. | |
336 | * config/i386/ncr3000.mh (XDEPFILES): Delete. | |
337 | * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES. | |
338 | * config/i386/i386sco.mh (XDEPFILES): Delete. | |
339 | * config/i386/i386v.mh (XDEPFILES): Delete. | |
340 | * config/i386/nbsd.mh (XDEPFILES): Delete. | |
341 | * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES. | |
342 | * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES. | |
343 | * config/i386/symmetry.mh (XDEPFILES): Delete. | |
344 | * config/i386/obsd.mh (XDEPFILES): Delete. | |
345 | * config/i386/x86-64linux.mh (XDEPFILES): Delete. | |
346 | * config/ia64/linux.mh (XDEPFILES): Delete. | |
347 | * config/ia64/aix.mh (XDEPFILES): Delete. | |
348 | * config/m68k/apollo68b.mh (XDEPFILES): Delete. | |
349 | * config/m68k/dpx2.mh (XDEPFILES): Delete. | |
350 | * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES. | |
351 | * config/m68k/apollo68v.mh (XDEPFILES): Delete. | |
352 | * config/m68k/hp300bsd.mh (XDEPFILES): Delete. | |
353 | * config/m68k/linux.mh (XDEPFILES): Delete. | |
354 | * config/m68k/m68klynx.mh (XDEPFILES): Delete. | |
355 | * config/m68k/m68kv4.mh (XDEPFILES): Delete. | |
356 | * config/m68k/nbsd.mh (XDEPFILES): Delete. | |
357 | * config/m68k/sun2os3.mh (XDEPFILES): Delete. | |
358 | * config/m68k/sun2os4.mh (XDEPFILES): Delete. | |
359 | * config/m68k/sun3os3.mh (XDEPFILES): Delete. | |
360 | * config/m68k/sun3os4.mh (XDEPFILES): Delete. | |
361 | * config/m88k/delta88.mh (XDEPFILES): Delete. | |
362 | * config/m88k/delta88v4.mh (XDEPFILES): Delete. | |
363 | * config/m88k/m88k.mh (XDEPFILES): Delete. | |
364 | * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES. | |
365 | * config/mips/linux.mh (XDEPFILES): Delete. | |
366 | * config/mips/irix6.mh (XDEPFILES): Delete. | |
367 | * config/mips/irix5.mh (XDEPFILES): Delete. | |
368 | * config/mips/irix4.mh (XDEPFILES): Delete. | |
369 | * config/mips/irix3.mh (XDEPFILES): Delete. | |
370 | * config/mips/decstation.mh (XDEPFILES): Delete. | |
371 | * config/mips/mipsm3.mh (XDEPFILES): Delete. | |
372 | (NATDEPFILES): Move core-aout.o to here. | |
373 | * config/ns32k/nbsd.mh (XDEPFILES): Delete. | |
374 | * config/pa/hpux1020.mh (XDEPFILES): Delete. | |
375 | * config/pa/hppabsd.mh (XDEPFILES): Delete. | |
376 | * config/pa/hppahpux.mh (XDEPFILES): Delete. | |
377 | * config/pa/hpux11w.mh (XDEPFILES): Delete. | |
378 | * config/pa/hppaosf.mh (XDEPFILES): Delete. | |
379 | * config/pa/hpux11.mh (XDEPFILES): Delete. | |
380 | * config/powerpc/aix.mh (XDEPFILES): Delete. | |
381 | * config/powerpc/nbsd.mh (XDEPFILES): Delete. | |
382 | * config/powerpc/linux.mh (XDEPFILES): Delete. | |
383 | * config/romp/rtbsd.mh: Rename XDEPFILES. | |
384 | * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete. | |
385 | * config/rs6000/aix4.mh (XDEPFILES): Delete. | |
386 | * config/rs6000/rs6000.mh (XDEPFILES): Delete. | |
387 | * config/s390/s390.mh (XDEPFILES): Delete. | |
388 | * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES. | |
389 | * config/sparc/sun4sol2.mh (XDEPFILES): Delete. | |
390 | * config/sparc/sun4os4.mh (XDEPFILES): Delete. | |
391 | * config/sparc/sparclynx.mh (XDEPFILES): Delete. | |
392 | * config/sparc/nbsdelf.mh (XDEPFILES): Delete. | |
393 | * config/sparc/nbsd.mh (XDEPFILES): Delete. | |
394 | * config/sparc/linux.mh (XDEPFILES): Delete. | |
395 | * config/vax/vaxult.mh (XDEPFILES): Delete. | |
396 | * config/vax/vaxult2.mh (XDEPFILES): Delete. | |
397 | * Makefile.in (DEPFILES): Remove XDEPFILES. | |
398 | ||
375fc983 AC |
399 | 2002-01-17 Andrew Cagney <ac131313@redhat.com> |
400 | ||
401 | * utils.c (internal_verror): Fix comments, default is yes not no. | |
402 | Update queries to match. Default to quit and dump core. | |
403 | ||
8926118c AC |
404 | 2002-01-17 Andrew Cagney <ac131313@redhat.com> |
405 | ||
406 | * breakpoint.c: Update assuming #if UI_OUT is always true. Update | |
407 | copyright. | |
408 | * defs.h, event-top.c, gdbcmd.h: Ditto. | |
409 | * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto. | |
410 | * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto. | |
411 | * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto. | |
412 | * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto. | |
413 | * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto. | |
414 | * mi/mi-main.c:Ditto. | |
415 | ||
416 | * stack.c, symfile.c: Update copyright. | |
417 | ||
45b7b345 DJ |
418 | 2002-01-17 Daniel Jacobowitz <drow@mvista.com> |
419 | ||
db728ff7 DJ |
420 | * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c, |
421 | gdbserver/low-nbsd.c, gdbserver/low-sim.c, | |
422 | gdbserver/low-sparc.c, gdbserver/low-sun3.c, | |
423 | gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices. | |
45b7b345 | 424 | |
db728ff7 DJ |
425 | 2002-01-17 Daniel Jacobowitz <drow@mvista.com> |
426 | ||
427 | * gdbserver/low-hppabsd.c (myattach): New function, returning -1. | |
428 | * gdbserver/low-lynx.c (myattach): Likewise. | |
429 | * gdbserver/low-nbsd.c (myattach): Likewise. | |
430 | * gdbserver/low-sim.c (myattach): Likewise. | |
431 | * gdbserver/low-sparc.c (myattach): Likewise. | |
432 | * gdbserver/low-sun3.c (myattach): Likewise. | |
433 | ||
434 | * gdbserver/low-linux.c (myattach): New function. | |
45b7b345 | 435 | |
db728ff7 | 436 | * gdbserver/server.c (attach_inferior): New function. |
45b7b345 DJ |
437 | (main): Handle "--attach". |
438 | ||
8de3c354 AC |
439 | 2002-01-16 Andrew Cagney <ac131313@redhat.com> |
440 | ||
441 | * MAINTAINERS (language support): Daniel Jacobwitz is C++ | |
442 | maintainer. | |
443 | ||
b0129042 DJ |
444 | 2002-01-15 Daniel Jacobowitz <drow@mvista.com> |
445 | ||
446 | * c-typeprint.c (is_type_conversion_operator): Add additional | |
447 | check for non-conversion operators. | |
448 | ||
ba8679fb | 449 | 2002-01-15 Michael Snyder <msnyder@redhat.com> |
2bf543a6 MS |
450 | |
451 | * linux-proc.c: Add "info proc" command, a la procfs.c. | |
452 | (read_mapping): New function, abstract and re-use code. | |
453 | (linux_find_memory_regions): Use new func read_mapping. | |
454 | (linux_info_proc_cmd): New function, implement "info proc". | |
455 | (_initialize_linux_proc): Add new command "info proc". | |
456 | ||
e4f9b4d5 MS |
457 | 2002-01-15 Michael Snyder <msnyder@redhat.com> |
458 | ||
459 | * symfile.c (generic_load): Use bfd_map_over_sections method | |
460 | instead of manipulating bfd structure members directly. | |
461 | (add_section_size_callback): New function, bfd sections callback | |
462 | used by generic_load. | |
463 | (load_sections_callback): New function, bfd sections callback | |
464 | used by generic_load. | |
465 | ||
08cf96df EZ |
466 | 2002-01-15 Elena Zannoni <ezannoni@redhat.com> |
467 | ||
abf22e64 | 468 | [Based on work by Jim Blandy] |
08cf96df EZ |
469 | * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export. |
470 | (builtin_type_vec128): Export. | |
471 | * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD | |
472 | types. | |
473 | (builtin_type_vec128): New builtin type for 128 bit vector | |
474 | registers. | |
475 | (build_gdbtypes): Initialize builtin_type_v16qi and | |
476 | builtin_type_v8hi. Create the vec128 register builtin type | |
477 | structure. | |
478 | (build_builtin_type_vec128): New function. | |
abf22e64 | 479 | (_initialize_gdbtypes): Register builtin_type_v16qi and |
08cf96df EZ |
480 | builtin_type_v8hi with gdbarch. Same for builtin_type_vec128. |
481 | * rs6000-tdep.c (rs6000_register_virtual_type): Change type of | |
482 | AltiVec register to new builtin type. | |
483 | ||
d7242108 DJ |
484 | 2001-01-15 Daniel Jacobowitz <drow@mvista.com> |
485 | ||
486 | * stabsread.c (read_type): Pass dbx_lookup_type (typenums) | |
487 | to make_cv_type. | |
488 | ||
4ee3352d AC |
489 | 2002-01-14 Andrew Cagney <ac131313@redhat.com> |
490 | ||
491 | * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename | |
492 | CLEAN_UP_REGISTER_VALUE. | |
493 | * regcache.c (supply_register): Update only call. | |
494 | ||
f015b2e7 AC |
495 | 2002-01-14 Andrew Cagney <ac131313@redhat.com> |
496 | ||
497 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
498 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
499 | a29k-*-vxworks* targets as obsolete. | |
500 | ||
356ae49d MS |
501 | 2002-01-14 Michael Snyder <msnyder@redhat.com> |
502 | ||
503 | * linux-proc.c (linux_do_thread_registers): Ignore fpxregs | |
504 | until we can resolve portability issues. | |
505 | * gregset.h: Remove references to fpxregs. | |
506 | * gcore.c (gcore_command): Initialize note_sec to NULL. | |
507 | ||
ade8f45e AC |
508 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
509 | ||
510 | * signals.c (target_signal_to_name): Rewrite. Only use | |
511 | signals[].name when in bounds and non-NULL. | |
abf22e64 | 512 | |
89c49e7a AC |
513 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
514 | ||
515 | From Petr Ledvina <ledvinap@kae.zcu.cz>: | |
516 | * signals.c (target_signal_to_name): Verify that SIG is within the | |
517 | bounds of the signals array. | |
518 | ||
4daa9f9f AC |
519 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
520 | ||
521 | * MAINTAINERS: Remove arm-coff and arm-pe from target list. | |
522 | ||
ba4bbdcb KS |
523 | 2002-01-13 Keith Seitz <keiths@redhat.com> |
524 | ||
525 | * stack.c (print_frame_info_base): Print the frame's pc | |
526 | only if when print_frame_info_listing_hook is not defined. | |
527 | ||
575bbeb6 KS |
528 | 2002-01-13 Keith Seitz <keiths@redhat.com> |
529 | ||
530 | * varobj.c (varobj_set_value): Make sure that there were no | |
531 | errors evaluating the object before attempting to set its | |
532 | value. | |
533 | value_cast now properly adjusts VALUE_ADDRESS for baseclasses, | |
534 | so this offset adjustment is no longer necessary. | |
535 | (create_child): Don't set the error flag if the child is | |
536 | a CPLUS_FAKE_CHILD. | |
537 | (value_of_child): If value_fetch_lazy fails, return NULL | |
538 | so that callers will be notified that an error occurred. | |
539 | (c_value_of_variable): Delay check of variable's validity | |
540 | until later. We actually want all structs and unions to have | |
541 | the value "{...}". | |
542 | Do not return "???" for variables which could not be evaluated. | |
543 | This error condition must be returned to the caller so that it | |
544 | can get the error condition from gdb. | |
545 | (cplus_name_of_child): Adjust index for vptr before figuring | |
546 | out the name of the child. | |
547 | (cplus_value_of_child): If a child's (real) parent is not valid, | |
548 | don't even bother trying to give a value for it. Just return | |
549 | an error. Change all instances in this function. | |
550 | (cplus_type_of_child): If our parent is one of the "fake" | |
551 | parents, we need to get at the type of the real parent, and | |
552 | derive the child's true type using this information. | |
553 | ||
b76898ab AC |
554 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
555 | ||
556 | From 2002-01-09 John Marshall <johnm@falch.net>: | |
557 | * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to | |
558 | sources.redhat.com, and tweak some related URLs which had | |
559 | suffered from linkrot. | |
560 | ||
b6649e88 AC |
561 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
562 | ||
563 | From Jeff law: | |
564 | * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte | |
565 | structures passed in registers. | |
566 | ||
82cc5033 EZ |
567 | 2002-01-13 Eli Zaretskii <eliz@is.elta.co.il> |
568 | ||
569 | * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous | |
570 | white space which prevented compilation. Reported by DSK | |
571 | <dsk@student.unsw.edu.au>. | |
572 | ||
ba5f2f8a MS |
573 | 2002-01-11 Michael Snyder <msnyder@redhat.com> |
574 | ||
fbd35540 MS |
575 | * symfile.c (build_section_addr_info_from_section_tab): |
576 | Use bfd access method instead of manipulating bfd directly. | |
577 | (syms_from_objfile): Ditto. | |
578 | (simple_overlay_update_1): Ditto. | |
579 | (simple_overlay_update): Ditto. | |
580 | (generic_load): Ditto. | |
581 | (overlay_unmapped_address): FIXME comment, bfd access methods. | |
582 | (sections_overlap): FIXME comment, bfd access methods. | |
583 | (pc_in_mapped_range): FIXME comment, bfd access methods. | |
584 | (pc_in_unmapped_range): FIXME comment, bfd access methods. | |
585 | (section_is_mapped): FIXME comment, bfd access methods. | |
586 | (section_is_overlay): FIXME comment, bfd access methods. | |
587 | ||
ba5f2f8a MS |
588 | * symfile.c (generic_load): Whitespace and long line cleanups. |
589 | Remove duplicate variable, change several local variables to | |
590 | more appropriate data types. | |
591 | (print_transfer_performance): Use %lu instead of %ld for ulongs. | |
592 | ||
17df2af6 AC |
593 | 2002-01-12 Andrew Cagney <ac131313@redhat.com> |
594 | ||
595 | From Peter Schauer: | |
596 | * language.c (longest_local_hex_string_custom): Use phex_nz to | |
597 | convert NUM to a hex string. | |
598 | ||
ec920329 EZ |
599 | 2002-01-12 Elena Zannoni <ezannoni@redhat.com> |
600 | ||
601 | * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in | |
602 | the function. | |
538a76d6 | 603 | Update Copyright year. |
ec920329 | 604 | |
3abd2e01 AC |
605 | 2002-01-12 Andrew Cagney <ac131313@redhat.com> |
606 | ||
607 | * language.c (longest_raw_hex_string): Delete unused function. | |
608 | ||
b21b22e0 PS |
609 | 2002-01-11 Petr Sorfa <petrs@caldera.com> |
610 | ||
611 | * MAINTAINERS (write-after-approval): Add myself. | |
612 | * dwarf2read.c (read_tag_string_type): Handling of | |
613 | DW_AT_byte_size. | |
614 | (read_tag_string_type): FORTRAN fix to prevent propagation of | |
615 | first string size. | |
616 | (set_cu_language): Handling of DW_LANG_Fortran95 | |
617 | ||
747fe712 RE |
618 | 2002-01-11 Richard Earnshaw <rearnsha@arm.com> |
619 | ||
620 | * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid -> | |
621 | GETPID(inferior_ptid). | |
622 | (store_inferior_registers): Likewise. | |
623 | ||
f1bea926 JM |
624 | 2002-01-10 Jason Merrill <jason@redhat.com> |
625 | ||
626 | * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup. | |
627 | Fix DW_OP_minus. | |
628 | ||
ae940673 AC |
629 | 2002-01-10 Andrew Cagney <ac131313@redhat.com> |
630 | ||
631 | * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001 | |
632 | and bfd/elf32-sh-nbsd.c. | |
633 | ||
00546b04 MS |
634 | 2002-01-10 Michael Snyder <msnyder@redhat.com> |
635 | ||
352ed7b4 MS |
636 | * NEWS: Mention --pid and corefile/proc-id behavior change. |
637 | ||
c18be923 MS |
638 | * Makefile.in: Add rules for gcore.o and linux-proc.o. |
639 | * gcore.c: Include cli/cli-decode.h instead of command.h. | |
640 | ||
00546b04 MS |
641 | * main.c (captured_main): Add new command line option "--pid". |
642 | If the second command line argument (following the symbol-file) | |
643 | begins with a digit, try to attach to it before trying to open | |
644 | it as a corefile. | |
645 | (print_gdb_help): Document the "--pid" argument. | |
646 | ||
db60ec62 EZ |
647 | 2002-01-10 Eli Zaretskii <eliz@is.elta.co.il> |
648 | ||
649 | * completer.c (command_completer): New function. | |
650 | ||
651 | * completer.h <command_completer>: Add prototype. | |
652 | ||
653 | * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the | |
654 | completer for the "help" command. | |
655 | ||
39c22d1a JM |
656 | 2002-01-09 Jason Merrill <jason@redhat.com> |
657 | ||
658 | * c-typeprint.c (is_type_conversion_operator): Fix thinko. | |
659 | ||
c564377f MS |
660 | 2002-01-09 Michael Snyder <msnyder@redhat.com> |
661 | ||
975aec09 MS |
662 | * i386-linux-nat.c (fill_fpxregset): Make global. |
663 | (store_fpxregset): Ditto. | |
664 | ||
db4a10fa MS |
665 | * gregset.h (gdb_fpxregset_t): Define. |
666 | (supply_fpxregset): Prototype. | |
667 | (fill_fpxregset): Prototype. | |
668 | ||
c564377f MS |
669 | * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo. |
670 | ||
c3d45d70 RE |
671 | 2002-01-09 Richard Earnshaw <rearnsha@arm.com> |
672 | ||
673 | * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS. | |
674 | * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise. | |
675 | * config/arm/tm-nbsd.h (get_longjmp_target): Likewise. | |
676 | ||
fcc87af1 AC |
677 | 2002-01-09 Andrew Cagney <ac131313@redhat.com> |
678 | ||
679 | * MAINTAINERS: Update target maintainer rules so that any | |
680 | Maintainer can approve a tested patch for a maintenance-only | |
681 | target. | |
682 | ||
dd96c05b RE |
683 | 2002-01-09 Richard Earnshaw <rearnsha@arm.com> |
684 | ||
d4297db9 | 685 | * MAINTAINERS (write-after-approval): Add myself. |
dd96c05b | 686 | |
d4297db9 | 687 | * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to |
dd96c05b RE |
688 | IN_SIGTRAMP. |
689 | ||
145fdc6e MS |
690 | 2002-01-08 Michael Snyder <msnyder@redhat.com> |
691 | ||
692 | * linux-proc.c (child_pid_to_exec_file): Use readlink to get the | |
693 | real name of the executable, rather than the /proc name. | |
694 | ||
be4d1333 MS |
695 | 2002-01-03 Michael Snyder <msnyder@redhat.com> |
696 | ||
697 | Implement a "generate-core-file" command in gdb, save target state. | |
698 | * gcore.c: New file. Implement new command 'generate-core-file'. | |
699 | Save a corefile image of the current state of the inferior. | |
700 | * linux-proc.c: Add linux-specific code for saving corefiles. | |
701 | * target.h (struct target_ops): Add new target vectors for saving | |
702 | corefiles; to_find_memory_regions and to_make_corefile_notes. | |
703 | (target_find_memory_regions): New macro. | |
704 | (target_make_corefile_notes): New macro. | |
705 | * target.c (update_current_target): Inherit new target methods. | |
706 | (dummy_find_memory_regions): New place-holder method. | |
707 | (dummy_make_corefile_notes): New place-holder method. | |
708 | (init_dummy_target): Initialize new dummy target vectors. | |
709 | * exec.c (exec_set_find_memory_regions): New function. | |
710 | Allow the exec_ops vector for memory regions to be taken over. | |
711 | (exec_make_note_section): New function, target vector method. | |
712 | * defs.h (exec_set_find_memory_regions): Export prototype. | |
713 | * procfs.c (proc_find_memory_regions): New function, corefile method. | |
714 | (procfs_make_note_section): New function, corefile method. | |
715 | (init_procfs_ops): Set new target vector pointers. | |
716 | (find_memory_regions_callback): New function. | |
717 | (procfs_do_thread_registers): New function. | |
718 | (procfs_corefile_thread_callback): New function. | |
719 | * sol-thread.c (sol_find_memory_regions): New function. | |
720 | (sol_make_note_section): New function. | |
721 | (init_sol_thread_ops): Initialize new target vectors. | |
722 | * inftarg.c (inftarg_set_find_memory_regions): New function. | |
723 | Allow to_find_memory_regions vector to be taken over. | |
724 | (inftarg_set_make_corefile_notes): New function. | |
725 | Allow to_make_corefile_notes vector to be taken over. | |
726 | * thread-db.c (thread_db_new_objfile): Don't activate thread-db | |
727 | interface layer if not target_has_execution (may be a corefile). | |
728 | * config/i386/linux.mh: Add gcore.o to NATDEPFILES. | |
729 | * config/sparc/sun4sol2.mh: Ditto. | |
730 | * config/alpha/alpha-linux.mh: Ditto. | |
731 | * config/arm/linux.mh: Ditto. | |
732 | * config/i386/x86-64linux.mh: Ditto. | |
733 | * config/ia64/linux.mh: Ditto. | |
734 | * config/m68k/linux.mh: Ditto. | |
735 | * config/mips/linux.mh: Ditto. | |
736 | * config/powerpc/linux.mh: Ditto. | |
737 | * config/sparc/linux.mh: Ditto. | |
738 | ||
c6b92abd MS |
739 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
740 | ||
741 | * arm-linux-nat.c: Remove references to regcache.c internal data | |
742 | (registers[] and register_valid[]). | |
743 | ||
4b09dc8c MS |
744 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
745 | ||
abf22e64 AJ |
746 | * linux-proc.c: New file. Implement child_pid_to_exec_file, |
747 | so that attaching to a pid will automatically read the process's | |
4b09dc8c MS |
748 | symbol file and shlibs. |
749 | * Makefile.in: Add rule for linux-proc.o. | |
750 | * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE. | |
751 | * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES. | |
752 | * config/arm/linux.mh: Ditto. | |
753 | * config/i386/linux.mh: Ditto. | |
754 | * config/i386/x86-64linux.mh: Ditto. | |
755 | * config/ia64/linux.mh: Ditto. | |
756 | * config/m68k/linux.mh: Ditto. | |
757 | * config/mips/linux.mh: Ditto. | |
758 | * config/powerpc/linux.mh: Ditto. | |
759 | * config/sparc/linux.mh: Ditto. | |
760 | ||
c25b74ac PM |
761 | 2002-01-06 Pierre Muller <muller@ics.u-strasbg.fr> |
762 | ||
763 | * win32-nat.c: Add i386-tdep.h dependency. | |
764 | ||
94cd915f MS |
765 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
766 | ||
c7cccb76 MS |
767 | * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT |
768 | instead of bfd_get_arch_size. Don't bail out just because | |
769 | there's no exec_bfd. | |
abf22e64 | 770 | |
34c0bd93 MS |
771 | * cp-valprint.c (cp_print_value): FIXME comment, alloca size. |
772 | * p-valprint.c (pascal_object_print_value): Ditto. | |
773 | * somread.c (som_symtab_read): Ditto. | |
774 | * symfile.c (simple_free_overlay_region_table): Ditto. | |
775 | * valops.c (value_assign): Ditto. | |
776 | ||
21c1c920 MS |
777 | * tracepoint.c (tracepoint_save_command): From Klee Dienes -- |
778 | use tilde_expand and strerror for opening save-tracepoints file. | |
779 | ||
5bbd998e MS |
780 | * thread-db.c (thread_db_new_objfile): Indendation fix. |
781 | ||
94cd915f MS |
782 | * infptrace.c (GDB_MAX_ALLOCA): New define. |
783 | (child_xfer_memory): Use xmalloc/xfree instead of alloca if the | |
abf22e64 | 784 | size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte, |
94cd915f MS |
785 | can be overridden with whatever value is appropriate to the host). |
786 | * infttrace.c (child_xfer_memory): Add FIXME warning about use of | |
787 | alloca to allocate potentially large buffer. | |
788 | * rs6000-nat.c (child_xfer_memory): Ditto. | |
789 | * symm-nat.c (child_xfer_memory): Ditto. | |
790 | * x86-64-linux-nat.c (child_xfer_memory): Ditto. | |
791 | ||
494e8a93 JSC |
792 | 2002-01-07 Jackie Smith Cashion <jsmith@redhat.com> |
793 | ||
794 | From Nick Clifton <nickc@redhat.com> | |
795 | * d10v-tdep.c: Set STACK_START to 0x200bffe. | |
796 | ||
d0e1d48e MS |
797 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
798 | ||
abf22e64 | 799 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): |
d0e1d48e MS |
800 | Don't use exec_bfd if it's NULL. |
801 | ||
290b2c7a MK |
802 | 2002-01-06 Mark Kettenis <kettenis@gnu.org> |
803 | ||
abf22e64 | 804 | * valops.c (value_arg_coerce): Fix formatting. |
290b2c7a | 805 | |
aef21287 AC |
806 | 2002-01-06 Andrew Cagney <ac131313@redhat.com> |
807 | ||
808 | * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>. | |
809 | * gnu-nat.c: Ditto. | |
810 | ||
30efa627 AC |
811 | 2002-01-06 Andrew Cagney <ac131313@redhat.com> |
812 | ||
813 | * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff, | |
814 | arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms, | |
815 | i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf, | |
816 | ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and | |
817 | z8k-coff have not been multi-arched. Update z8k-coff build | |
818 | status. | |
819 | ||
9b4ff276 AC |
820 | 2002-01-06 Andrew Cagney <ac131313@redhat.com> |
821 | ||
822 | * MAINTAINERS: Mark a29k target as obsolete. | |
823 | * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o) | |
824 | (remote-mm.o, remote-udi.o): Obsolete. Remove references in | |
825 | comments. | |
826 | * NEWS: Note that a29k targets are obsolete. | |
827 | * a29k-tdep.c: Mark as obsolete. | |
828 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
829 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
830 | a29k-*-vxworks* targets as obsolete. | |
831 | * remote-adapt.c: Obsolete. | |
832 | * remote-eb.c: Obsolete. | |
833 | * remote-mm.c: Obsolete. | |
834 | * remote-udi.c: Obsolete. | |
835 | * config/a29k/a29k-udi.mt: Obsolete. | |
836 | * config/a29k/a29k.mt: Obsolete. | |
837 | * config/a29k/tm-a29k.h: Obsolete. | |
838 | * config/a29k/tm-vx29k.h: Obsolete. | |
839 | * config/a29k/vx29k.mt: Obsolete. | |
840 | ||
a9011d31 AC |
841 | 2002-01-05 Andrew Cagney <ac131313@redhat.com> |
842 | ||
843 | * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN | |
844 | with BFD_ENDIAN_BIG. | |
845 | ||
9299404e AC |
846 | 2002-01-05 Andrew Cagney <ac131313@redhat.com> |
847 | ||
848 | * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>. | |
849 | * configure, config.in: Re-generate. | |
850 | * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>. | |
851 | * defs.h: Do not include <endian.h>. | |
852 | ||
7e89e357 JT |
853 | 2002-01-05 Jason Thorpe <thorpej@wasabisystems.com> |
854 | ||
855 | * acconfig.h (HAVE_PT_GETXMMREGS): New. | |
856 | * config.in: Regenerate. | |
857 | * configure.in: Update copyright years. | |
858 | Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>. | |
859 | * configure: Regenerate. | |
860 | * i386bsd-nat.c: Update copyright years. | |
861 | (fill_gregset): Use regcache_collect. | |
862 | (fetch_inferior_registers): Only fetch integer registers | |
863 | if requested to do so. Add support for XMM registers | |
864 | using PT_GETXMMREGS. | |
865 | (store_inferior_registers): Only store integer registers | |
866 | if requested to do so. Add support for XMM registers | |
867 | using PT_SETXMMREGS. | |
868 | * i386nbsd-nat.c (fetch_inferior_registers): Remove. | |
869 | (store_inferior_registers): Remove. | |
870 | (fetch_core_registers): Use supply_gregset and i387_supply_fsave. | |
871 | (fetch_elfcore_registers): New function. | |
872 | (i386nbsd_elfcore_fns): New. | |
873 | (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns. | |
874 | * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and | |
875 | i386bsd-nat.o. | |
876 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
877 | * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o. | |
878 | * config/i386/nbsdelf.mt (TDEPFILES): Likewise. | |
879 | * config/i386/tm-nbsd.h: Update copyright years. | |
880 | (HAVE_SSE_REGS): Define. | |
881 | (IN_SIGTRAMP): Define as i386bsd_in_sigtramp. | |
882 | (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start. | |
883 | (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end. | |
884 | (SIGCONTEXT_PC_OFFSET): Remove. | |
885 | (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc. | |
886 | ||
a752853e AC |
887 | 2002-01-05 Andrew Cagney <ac131313@redhat.com> |
888 | ||
889 | * configure.tgt: Remove powerpc-*-macos* target. | |
890 | * config/m68k/xm-mpw.h: Delete file. | |
891 | * config/xm-mpw.h: Delete file. | |
892 | * ser-mac.c: Delete file. | |
893 | * mpw-make.sed: Delete file. | |
894 | * mpw-config.in: Delete file. | |
895 | * mac-xdep.c: Delete file. | |
896 | * mac-gdb.r: Delete file. | |
897 | * mac-defs.h: Delete file. | |
898 | * mac-nat.c: Delete file. | |
899 | * config/powerpc/macos.mh: Delete file. | |
900 | * config/powerpc/macos.mt: Delete file. | |
901 | * config/powerpc/nm-macos.h: Delete file. | |
902 | * config/powerpc/tm-macos.h: Delete file. | |
903 | * source.c (openp, open_source_file): Remove obsolete code. | |
904 | * top.c (gdb_readline): Ditto. | |
905 | * utils.c (query): Ditto. | |
906 | * event-top.c (display_gdb_prompt): Ditto. | |
907 | * Makefile.in (ser-mac.o): Delete obsolete target. | |
908 | * NEWS: Update. | |
909 | ||
d7449b42 AC |
910 | 2002-01-04 Andrew Cagney <ac131313@redhat.com> |
911 | ||
912 | * defs.h (BIG_ENDIAN): Delete macro definition. | |
913 | * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c, | |
914 | coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h, | |
915 | findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c, | |
916 | printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c, | |
917 | remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c, | |
918 | stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h, | |
919 | config/a29k/tm-vx29k.h, config/arm/tm-arm.h, | |
920 | config/d30v/tm-d30v.h, config/fr30/tm-fr30.h, | |
921 | config/h8300/tm-h8300.h, config/h8500/tm-h8500.h, | |
922 | config/m32r/tm-m32r.h, config/m68k/tm-m68k.h, | |
923 | config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h, | |
924 | config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c, | |
925 | mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
926 | * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
927 | * gdbarch.c: Re-generate. | |
928 | ||
356374e8 DJ |
929 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
930 | ||
931 | * thread-db.c (thread_db_new_objfile): Do not enable thread_db | |
932 | for core files. | |
933 | ||
a2b8f8f8 JT |
934 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
935 | ||
936 | * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o. | |
937 | ||
12466af9 AC |
938 | 2002-01-04 Andrew Cagney <ac131313@redhat.com> |
939 | ||
940 | * value.h (value_ptr): Delete typedef. | |
941 | ||
3549ab40 JT |
942 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
943 | ||
944 | * i386nbsd-nat.c: Update copyright years. | |
945 | Include i386-tdep.h. | |
946 | ||
fedbd091 EZ |
947 | 2002-01-04 Elena Zannoni <ezannoni@redhat.com> |
948 | ||
949 | * stabsread.c: Update copyright years. | |
950 | ||
951 | From Debashis Mahata <debashis.mahata@wipro.com>: | |
952 | (read_struct_fields): Deal with Sun C compiler erroneous stab | |
953 | output for structs and unions. | |
fec8b34f | 954 | Fix PR gdb/269. |
fedbd091 | 955 | |
eb43544b DJ |
956 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
957 | ||
958 | * p-valprint.c: Include "cp-abi.h" for baseclass_offset | |
959 | prototype. | |
960 | ||
1514d34e DJ |
961 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
962 | ||
963 | * cp-abi.c: Fix whitespace. | |
964 | (baseclass_offset): New wrapper function. | |
965 | * cp-abi.h (baseclass_offset): Add prototype. | |
966 | (struct cp_abi_ops): Add baseclass_offset pointer. | |
967 | ||
968 | * valops.c (vb_match): Move to... | |
969 | * gnu-v2-abi.c (vb_match): here. | |
970 | * valops.c (baseclass_offset): Move to... | |
971 | * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename. | |
972 | ||
973 | * gnu-v3-abi.c (gnuv3_baseclass_offset): New function. | |
974 | ||
975 | * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset. | |
976 | * gnu-v3-abi.c (init_gnuv3_ops): Likewise. | |
977 | * hpacc-abi.c (init_hpacc_ops): Likewise. | |
978 | ||
7f8c9282 DJ |
979 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
980 | ||
981 | * valops.c (find_overload_match): Accept obj as a | |
982 | reference parameter. Update it before returning. | |
983 | * value.h (find_overload_match): Update prototype. | |
984 | * eval.c (evaluate_subexp_standard): Pass object to | |
985 | find_overload_match by reference. | |
986 | ||
f23631e4 AC |
987 | 2002-01-03 Andrew Cagney <ac131313@redhat.com> |
988 | ||
989 | * valarith.c: Replace value_ptr with struct value pointer. Remove | |
990 | register attribute from value declarations. | |
991 | * valops.c: Ditto. | |
992 | * value.h: Ditto. | |
993 | * scm-lang.c (scm_lookup_name): Ditto. | |
994 | ||
79e10fab | 995 | 2002-01-03 Michael Snyder <msnyder@redhat.com> |
abf22e64 | 996 | |
79e10fab AC |
997 | Abstract the functionality of iterating over mapped memory |
998 | regions into a general purpose iterator function. | |
abf22e64 | 999 | * procfs.c (iterate_over_mappings): New function, general purpose |
79e10fab AC |
1000 | iterator for memory sections. |
1001 | (proc_iterate_over_mappings): Reimplement using iterate_over_mappings. | |
1002 | (solib_mappings_callback): New function, callback for above. | |
1003 | (info_proc_mappings): Reimpliment using iterate_over_mappings. | |
1004 | (info_mappings_callback): New function, callback for above. | |
1005 | ||
1006 | * procfs.c (proc_set_watchpoint): Add cast to suppress warning. | |
1007 | ||
c5ad026a MK |
1008 | 2002-01-01 Mark Kettenis <kettenis@gnu.org> |
1009 | ||
d2a7c97a MK |
1010 | * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member. |
1011 | * i386-tdep.c: Include "elf-bfd.h". | |
1012 | (process_note_abi_tag_sections): New function. | |
1013 | (i386_gdbarch_init): Add code to recognize various OS/ABI | |
1014 | combinations. | |
1015 | ||
c5ad026a MK |
1016 | * maint.c (_initialize_maint_cmds): Add missing \ in |
1017 | string-literal. | |
1018 | ||
a1a5b71e | 1019 | For older changes see ChangeLog-2001 |
c906108c SS |
1020 | \f |
1021 | Local Variables: | |
1022 | mode: change-log | |
1023 | left-margin: 8 | |
1024 | fill-column: 74 | |
1025 | version-control: never | |
1026 | End: |