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