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