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