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