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