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