]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/ChangeLog
MAINTAINERS (write-after-approval): Add myself.
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
dd96c05b
RE
12002-01-09 Richard Earnshaw <rearnsha@arm.com>
2
3 MAINTAINERS (write-after-approval): Add myself.
4
5 arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to
6 IN_SIGTRAMP.
7
145fdc6e
MS
82002-01-08 Michael Snyder <msnyder@redhat.com>
9
10 * linux-proc.c (child_pid_to_exec_file): Use readlink to get the
11 real name of the executable, rather than the /proc name.
12
be4d1333
MS
132002-01-03 Michael Snyder <msnyder@redhat.com>
14
15 Implement a "generate-core-file" command in gdb, save target state.
16 * gcore.c: New file. Implement new command 'generate-core-file'.
17 Save a corefile image of the current state of the inferior.
18 * linux-proc.c: Add linux-specific code for saving corefiles.
19 * target.h (struct target_ops): Add new target vectors for saving
20 corefiles; to_find_memory_regions and to_make_corefile_notes.
21 (target_find_memory_regions): New macro.
22 (target_make_corefile_notes): New macro.
23 * target.c (update_current_target): Inherit new target methods.
24 (dummy_find_memory_regions): New place-holder method.
25 (dummy_make_corefile_notes): New place-holder method.
26 (init_dummy_target): Initialize new dummy target vectors.
27 * exec.c (exec_set_find_memory_regions): New function.
28 Allow the exec_ops vector for memory regions to be taken over.
29 (exec_make_note_section): New function, target vector method.
30 * defs.h (exec_set_find_memory_regions): Export prototype.
31 * procfs.c (proc_find_memory_regions): New function, corefile method.
32 (procfs_make_note_section): New function, corefile method.
33 (init_procfs_ops): Set new target vector pointers.
34 (find_memory_regions_callback): New function.
35 (procfs_do_thread_registers): New function.
36 (procfs_corefile_thread_callback): New function.
37 * sol-thread.c (sol_find_memory_regions): New function.
38 (sol_make_note_section): New function.
39 (init_sol_thread_ops): Initialize new target vectors.
40 * inftarg.c (inftarg_set_find_memory_regions): New function.
41 Allow to_find_memory_regions vector to be taken over.
42 (inftarg_set_make_corefile_notes): New function.
43 Allow to_make_corefile_notes vector to be taken over.
44 * thread-db.c (thread_db_new_objfile): Don't activate thread-db
45 interface layer if not target_has_execution (may be a corefile).
46 * config/i386/linux.mh: Add gcore.o to NATDEPFILES.
47 * config/sparc/sun4sol2.mh: Ditto.
48 * config/alpha/alpha-linux.mh: Ditto.
49 * config/arm/linux.mh: Ditto.
50 * config/i386/x86-64linux.mh: Ditto.
51 * config/ia64/linux.mh: Ditto.
52 * config/m68k/linux.mh: Ditto.
53 * config/mips/linux.mh: Ditto.
54 * config/powerpc/linux.mh: Ditto.
55 * config/sparc/linux.mh: Ditto.
56
c6b92abd
MS
572002-01-07 Michael Snyder <msnyder@redhat.com>
58
59 * arm-linux-nat.c: Remove references to regcache.c internal data
60 (registers[] and register_valid[]).
61
4b09dc8c
MS
622002-01-07 Michael Snyder <msnyder@redhat.com>
63
64 * linux-proc.c: New file. Implement child_pid_to_exec_file,
65 so that attaching to a pid will automatically read the process's
66 symbol file and shlibs.
67 * Makefile.in: Add rule for linux-proc.o.
68 * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE.
69 * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES.
70 * config/arm/linux.mh: Ditto.
71 * config/i386/linux.mh: Ditto.
72 * config/i386/x86-64linux.mh: Ditto.
73 * config/ia64/linux.mh: Ditto.
74 * config/m68k/linux.mh: Ditto.
75 * config/mips/linux.mh: Ditto.
76 * config/powerpc/linux.mh: Ditto.
77 * config/sparc/linux.mh: Ditto.
78
c25b74ac
PM
792002-01-06 Pierre Muller <muller@ics.u-strasbg.fr>
80
81 * win32-nat.c: Add i386-tdep.h dependency.
82
94cd915f
MS
832002-01-07 Michael Snyder <msnyder@redhat.com>
84
c7cccb76
MS
85 * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT
86 instead of bfd_get_arch_size. Don't bail out just because
87 there's no exec_bfd.
88
34c0bd93
MS
89 * cp-valprint.c (cp_print_value): FIXME comment, alloca size.
90 * p-valprint.c (pascal_object_print_value): Ditto.
91 * somread.c (som_symtab_read): Ditto.
92 * symfile.c (simple_free_overlay_region_table): Ditto.
93 * valops.c (value_assign): Ditto.
94
21c1c920
MS
95 * tracepoint.c (tracepoint_save_command): From Klee Dienes --
96 use tilde_expand and strerror for opening save-tracepoints file.
97
5bbd998e
MS
98 * thread-db.c (thread_db_new_objfile): Indendation fix.
99
94cd915f
MS
100 * infptrace.c (GDB_MAX_ALLOCA): New define.
101 (child_xfer_memory): Use xmalloc/xfree instead of alloca if the
102 size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
103 can be overridden with whatever value is appropriate to the host).
104 * infttrace.c (child_xfer_memory): Add FIXME warning about use of
105 alloca to allocate potentially large buffer.
106 * rs6000-nat.c (child_xfer_memory): Ditto.
107 * symm-nat.c (child_xfer_memory): Ditto.
108 * x86-64-linux-nat.c (child_xfer_memory): Ditto.
109
494e8a93
JSC
1102002-01-07 Jackie Smith Cashion <jsmith@redhat.com>
111
112 From Nick Clifton <nickc@redhat.com>
113 * d10v-tdep.c: Set STACK_START to 0x200bffe.
114
d0e1d48e
MS
1152002-01-07 Michael Snyder <msnyder@redhat.com>
116
117 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
118 Don't use exec_bfd if it's NULL.
119
290b2c7a
MK
1202002-01-06 Mark Kettenis <kettenis@gnu.org>
121
122 * valops.c (value_arg_coerce): Fix formatting.
123
aef21287
AC
1242002-01-06 Andrew Cagney <ac131313@redhat.com>
125
126 * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>.
127 * gnu-nat.c: Ditto.
128
30efa627
AC
1292002-01-06 Andrew Cagney <ac131313@redhat.com>
130
131 * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff,
132 arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms,
133 i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf,
134 ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and
135 z8k-coff have not been multi-arched. Update z8k-coff build
136 status.
137
9b4ff276
AC
1382002-01-06 Andrew Cagney <ac131313@redhat.com>
139
140 * MAINTAINERS: Mark a29k target as obsolete.
141 * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o)
142 (remote-mm.o, remote-udi.o): Obsolete. Remove references in
143 comments.
144 * NEWS: Note that a29k targets are obsolete.
145 * a29k-tdep.c: Mark as obsolete.
146 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
147 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
148 a29k-*-vxworks* targets as obsolete.
149 * remote-adapt.c: Obsolete.
150 * remote-eb.c: Obsolete.
151 * remote-mm.c: Obsolete.
152 * remote-udi.c: Obsolete.
153 * config/a29k/a29k-udi.mt: Obsolete.
154 * config/a29k/a29k.mt: Obsolete.
155 * config/a29k/tm-a29k.h: Obsolete.
156 * config/a29k/tm-vx29k.h: Obsolete.
157 * config/a29k/vx29k.mt: Obsolete.
158
a9011d31
AC
1592002-01-05 Andrew Cagney <ac131313@redhat.com>
160
161 * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN
162 with BFD_ENDIAN_BIG.
163
9299404e
AC
1642002-01-05 Andrew Cagney <ac131313@redhat.com>
165
166 * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>.
167 * configure, config.in: Re-generate.
168 * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>.
169 * defs.h: Do not include <endian.h>.
170
7e89e357
JT
1712002-01-05 Jason Thorpe <thorpej@wasabisystems.com>
172
173 * acconfig.h (HAVE_PT_GETXMMREGS): New.
174 * config.in: Regenerate.
175 * configure.in: Update copyright years.
176 Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>.
177 * configure: Regenerate.
178 * i386bsd-nat.c: Update copyright years.
179 (fill_gregset): Use regcache_collect.
180 (fetch_inferior_registers): Only fetch integer registers
181 if requested to do so. Add support for XMM registers
182 using PT_GETXMMREGS.
183 (store_inferior_registers): Only store integer registers
184 if requested to do so. Add support for XMM registers
185 using PT_SETXMMREGS.
186 * i386nbsd-nat.c (fetch_inferior_registers): Remove.
187 (store_inferior_registers): Remove.
188 (fetch_core_registers): Use supply_gregset and i387_supply_fsave.
189 (fetch_elfcore_registers): New function.
190 (i386nbsd_elfcore_fns): New.
191 (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns.
192 * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and
193 i386bsd-nat.o.
194 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
195 * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o.
196 * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
197 * config/i386/tm-nbsd.h: Update copyright years.
198 (HAVE_SSE_REGS): Define.
199 (IN_SIGTRAMP): Define as i386bsd_in_sigtramp.
200 (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start.
201 (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end.
202 (SIGCONTEXT_PC_OFFSET): Remove.
203 (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
204
a752853e
AC
2052002-01-05 Andrew Cagney <ac131313@redhat.com>
206
207 * configure.tgt: Remove powerpc-*-macos* target.
208 * config/m68k/xm-mpw.h: Delete file.
209 * config/xm-mpw.h: Delete file.
210 * ser-mac.c: Delete file.
211 * mpw-make.sed: Delete file.
212 * mpw-config.in: Delete file.
213 * mac-xdep.c: Delete file.
214 * mac-gdb.r: Delete file.
215 * mac-defs.h: Delete file.
216 * mac-nat.c: Delete file.
217 * config/powerpc/macos.mh: Delete file.
218 * config/powerpc/macos.mt: Delete file.
219 * config/powerpc/nm-macos.h: Delete file.
220 * config/powerpc/tm-macos.h: Delete file.
221 * source.c (openp, open_source_file): Remove obsolete code.
222 * top.c (gdb_readline): Ditto.
223 * utils.c (query): Ditto.
224 * event-top.c (display_gdb_prompt): Ditto.
225 * Makefile.in (ser-mac.o): Delete obsolete target.
226 * NEWS: Update.
227
d7449b42
AC
2282002-01-04 Andrew Cagney <ac131313@redhat.com>
229
230 * defs.h (BIG_ENDIAN): Delete macro definition.
231 * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c,
232 coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h,
233 findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c,
234 printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
235 remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c,
236 stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h,
237 config/a29k/tm-vx29k.h, config/arm/tm-arm.h,
238 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
239 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
240 config/m32r/tm-m32r.h, config/m68k/tm-m68k.h,
241 config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h,
242 config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c,
243 mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
244 * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
245 * gdbarch.c: Re-generate.
246
356374e8
DJ
2472002-01-04 Daniel Jacobowitz <drow@mvista.com>
248
249 * thread-db.c (thread_db_new_objfile): Do not enable thread_db
250 for core files.
251
a2b8f8f8
JT
2522002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
253
254 * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.
255
12466af9
AC
2562002-01-04 Andrew Cagney <ac131313@redhat.com>
257
258 * value.h (value_ptr): Delete typedef.
259
3549ab40
JT
2602002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
261
262 * i386nbsd-nat.c: Update copyright years.
263 Include i386-tdep.h.
264
fedbd091
EZ
2652002-01-04 Elena Zannoni <ezannoni@redhat.com>
266
267 * stabsread.c: Update copyright years.
268
269 From Debashis Mahata <debashis.mahata@wipro.com>:
270 (read_struct_fields): Deal with Sun C compiler erroneous stab
271 output for structs and unions.
fec8b34f 272 Fix PR gdb/269.
fedbd091 273
eb43544b
DJ
2742002-01-04 Daniel Jacobowitz <drow@mvista.com>
275
276 * p-valprint.c: Include "cp-abi.h" for baseclass_offset
277 prototype.
278
1514d34e
DJ
2792002-01-04 Daniel Jacobowitz <drow@mvista.com>
280
281 * cp-abi.c: Fix whitespace.
282 (baseclass_offset): New wrapper function.
283 * cp-abi.h (baseclass_offset): Add prototype.
284 (struct cp_abi_ops): Add baseclass_offset pointer.
285
286 * valops.c (vb_match): Move to...
287 * gnu-v2-abi.c (vb_match): here.
288 * valops.c (baseclass_offset): Move to...
289 * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename.
290
291 * gnu-v3-abi.c (gnuv3_baseclass_offset): New function.
292
293 * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset.
294 * gnu-v3-abi.c (init_gnuv3_ops): Likewise.
295 * hpacc-abi.c (init_hpacc_ops): Likewise.
296
7f8c9282
DJ
2972002-01-04 Daniel Jacobowitz <drow@mvista.com>
298
299 * valops.c (find_overload_match): Accept obj as a
300 reference parameter. Update it before returning.
301 * value.h (find_overload_match): Update prototype.
302 * eval.c (evaluate_subexp_standard): Pass object to
303 find_overload_match by reference.
304
f23631e4
AC
3052002-01-03 Andrew Cagney <ac131313@redhat.com>
306
307 * valarith.c: Replace value_ptr with struct value pointer. Remove
308 register attribute from value declarations.
309 * valops.c: Ditto.
310 * value.h: Ditto.
311 * scm-lang.c (scm_lookup_name): Ditto.
312
79e10fab
AC
3132002-01-03 Michael Snyder <msnyder@redhat.com>
314
315 Abstract the functionality of iterating over mapped memory
316 regions into a general purpose iterator function.
317 * procfs.c (iterate_over_mappings): New function, general purpose
318 iterator for memory sections.
319 (proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
320 (solib_mappings_callback): New function, callback for above.
321 (info_proc_mappings): Reimpliment using iterate_over_mappings.
322 (info_mappings_callback): New function, callback for above.
323
324 * procfs.c (proc_set_watchpoint): Add cast to suppress warning.
325
c5ad026a
MK
3262002-01-01 Mark Kettenis <kettenis@gnu.org>
327
d2a7c97a
MK
328 * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
329 * i386-tdep.c: Include "elf-bfd.h".
330 (process_note_abi_tag_sections): New function.
331 (i386_gdbarch_init): Add code to recognize various OS/ABI
332 combinations.
333
c5ad026a
MK
334 * maint.c (_initialize_maint_cmds): Add missing \ in
335 string-literal.
336
a1a5b71e 337For older changes see ChangeLog-2001
c906108c
SS
338\f
339Local Variables:
340mode: change-log
341left-margin: 8
342fill-column: 74
343version-control: never
344End: