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