]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/ChangeLog
2002-01-17 Daniel Jacobowitz <drow@mvista.com>
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
45b7b345
DJ
12002-01-17 Daniel Jacobowitz <drow@mvista.com>
2
db728ff7
DJ
3 * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c,
4 gdbserver/low-nbsd.c, gdbserver/low-sim.c,
5 gdbserver/low-sparc.c, gdbserver/low-sun3.c,
6 gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices.
45b7b345 7
db728ff7
DJ
82002-01-17 Daniel Jacobowitz <drow@mvista.com>
9
10 * gdbserver/low-hppabsd.c (myattach): New function, returning -1.
11 * gdbserver/low-lynx.c (myattach): Likewise.
12 * gdbserver/low-nbsd.c (myattach): Likewise.
13 * gdbserver/low-sim.c (myattach): Likewise.
14 * gdbserver/low-sparc.c (myattach): Likewise.
15 * gdbserver/low-sun3.c (myattach): Likewise.
16
17 * gdbserver/low-linux.c (myattach): New function.
45b7b345 18
db728ff7 19 * gdbserver/server.c (attach_inferior): New function.
45b7b345
DJ
20 (main): Handle "--attach".
21
8de3c354
AC
222002-01-16 Andrew Cagney <ac131313@redhat.com>
23
24 * MAINTAINERS (language support): Daniel Jacobwitz is C++
25 maintainer.
26
b0129042
DJ
272002-01-15 Daniel Jacobowitz <drow@mvista.com>
28
29 * c-typeprint.c (is_type_conversion_operator): Add additional
30 check for non-conversion operators.
31
ba8679fb 322002-01-15 Michael Snyder <msnyder@redhat.com>
2bf543a6
MS
33
34 * linux-proc.c: Add "info proc" command, a la procfs.c.
35 (read_mapping): New function, abstract and re-use code.
36 (linux_find_memory_regions): Use new func read_mapping.
37 (linux_info_proc_cmd): New function, implement "info proc".
38 (_initialize_linux_proc): Add new command "info proc".
39
e4f9b4d5
MS
402002-01-15 Michael Snyder <msnyder@redhat.com>
41
42 * symfile.c (generic_load): Use bfd_map_over_sections method
43 instead of manipulating bfd structure members directly.
44 (add_section_size_callback): New function, bfd sections callback
45 used by generic_load.
46 (load_sections_callback): New function, bfd sections callback
47 used by generic_load.
48
08cf96df
EZ
492002-01-15 Elena Zannoni <ezannoni@redhat.com>
50
51 [Based on work by Jim Blandy]
52 * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export.
53 (builtin_type_vec128): Export.
54 * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD
55 types.
56 (builtin_type_vec128): New builtin type for 128 bit vector
57 registers.
58 (build_gdbtypes): Initialize builtin_type_v16qi and
59 builtin_type_v8hi. Create the vec128 register builtin type
60 structure.
61 (build_builtin_type_vec128): New function.
62 (_initialize_gdbtypes): Register builtin_type_v16qi and
63 builtin_type_v8hi with gdbarch. Same for builtin_type_vec128.
64 * rs6000-tdep.c (rs6000_register_virtual_type): Change type of
65 AltiVec register to new builtin type.
66
d7242108
DJ
672001-01-15 Daniel Jacobowitz <drow@mvista.com>
68
69 * stabsread.c (read_type): Pass dbx_lookup_type (typenums)
70 to make_cv_type.
71
4ee3352d
AC
722002-01-14 Andrew Cagney <ac131313@redhat.com>
73
74 * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename
75 CLEAN_UP_REGISTER_VALUE.
76 * regcache.c (supply_register): Update only call.
77
f015b2e7
AC
782002-01-14 Andrew Cagney <ac131313@redhat.com>
79
80 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
81 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
82 a29k-*-vxworks* targets as obsolete.
83
356ae49d
MS
842002-01-14 Michael Snyder <msnyder@redhat.com>
85
86 * linux-proc.c (linux_do_thread_registers): Ignore fpxregs
87 until we can resolve portability issues.
88 * gregset.h: Remove references to fpxregs.
89 * gcore.c (gcore_command): Initialize note_sec to NULL.
90
ade8f45e
AC
912002-01-13 Andrew Cagney <ac131313@redhat.com>
92
93 * signals.c (target_signal_to_name): Rewrite. Only use
94 signals[].name when in bounds and non-NULL.
95
89c49e7a
AC
962002-01-13 Andrew Cagney <ac131313@redhat.com>
97
98 From Petr Ledvina <ledvinap@kae.zcu.cz>:
99 * signals.c (target_signal_to_name): Verify that SIG is within the
100 bounds of the signals array.
101
4daa9f9f
AC
1022002-01-13 Andrew Cagney <ac131313@redhat.com>
103
104 * MAINTAINERS: Remove arm-coff and arm-pe from target list.
105
ba4bbdcb
KS
1062002-01-13 Keith Seitz <keiths@redhat.com>
107
108 * stack.c (print_frame_info_base): Print the frame's pc
109 only if when print_frame_info_listing_hook is not defined.
110
575bbeb6
KS
1112002-01-13 Keith Seitz <keiths@redhat.com>
112
113 * varobj.c (varobj_set_value): Make sure that there were no
114 errors evaluating the object before attempting to set its
115 value.
116 value_cast now properly adjusts VALUE_ADDRESS for baseclasses,
117 so this offset adjustment is no longer necessary.
118 (create_child): Don't set the error flag if the child is
119 a CPLUS_FAKE_CHILD.
120 (value_of_child): If value_fetch_lazy fails, return NULL
121 so that callers will be notified that an error occurred.
122 (c_value_of_variable): Delay check of variable's validity
123 until later. We actually want all structs and unions to have
124 the value "{...}".
125 Do not return "???" for variables which could not be evaluated.
126 This error condition must be returned to the caller so that it
127 can get the error condition from gdb.
128 (cplus_name_of_child): Adjust index for vptr before figuring
129 out the name of the child.
130 (cplus_value_of_child): If a child's (real) parent is not valid,
131 don't even bother trying to give a value for it. Just return
132 an error. Change all instances in this function.
133 (cplus_type_of_child): If our parent is one of the "fake"
134 parents, we need to get at the type of the real parent, and
135 derive the child's true type using this information.
136
b76898ab
AC
1372002-01-13 Andrew Cagney <ac131313@redhat.com>
138
139 From 2002-01-09 John Marshall <johnm@falch.net>:
140 * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to
141 sources.redhat.com, and tweak some related URLs which had
142 suffered from linkrot.
143
b6649e88
AC
1442002-01-13 Andrew Cagney <ac131313@redhat.com>
145
146 From Jeff law:
147 * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte
148 structures passed in registers.
149
82cc5033
EZ
1502002-01-13 Eli Zaretskii <eliz@is.elta.co.il>
151
152 * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous
153 white space which prevented compilation. Reported by DSK
154 <dsk@student.unsw.edu.au>.
155
ba5f2f8a
MS
1562002-01-11 Michael Snyder <msnyder@redhat.com>
157
fbd35540
MS
158 * symfile.c (build_section_addr_info_from_section_tab):
159 Use bfd access method instead of manipulating bfd directly.
160 (syms_from_objfile): Ditto.
161 (simple_overlay_update_1): Ditto.
162 (simple_overlay_update): Ditto.
163 (generic_load): Ditto.
164 (overlay_unmapped_address): FIXME comment, bfd access methods.
165 (sections_overlap): FIXME comment, bfd access methods.
166 (pc_in_mapped_range): FIXME comment, bfd access methods.
167 (pc_in_unmapped_range): FIXME comment, bfd access methods.
168 (section_is_mapped): FIXME comment, bfd access methods.
169 (section_is_overlay): FIXME comment, bfd access methods.
170
ba5f2f8a
MS
171 * symfile.c (generic_load): Whitespace and long line cleanups.
172 Remove duplicate variable, change several local variables to
173 more appropriate data types.
174 (print_transfer_performance): Use %lu instead of %ld for ulongs.
175
17df2af6
AC
1762002-01-12 Andrew Cagney <ac131313@redhat.com>
177
178 From Peter Schauer:
179 * language.c (longest_local_hex_string_custom): Use phex_nz to
180 convert NUM to a hex string.
181
ec920329
EZ
1822002-01-12 Elena Zannoni <ezannoni@redhat.com>
183
184 * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in
185 the function.
538a76d6 186 Update Copyright year.
ec920329 187
3abd2e01
AC
1882002-01-12 Andrew Cagney <ac131313@redhat.com>
189
190 * language.c (longest_raw_hex_string): Delete unused function.
191
b21b22e0
PS
1922002-01-11 Petr Sorfa <petrs@caldera.com>
193
194 * MAINTAINERS (write-after-approval): Add myself.
195 * dwarf2read.c (read_tag_string_type): Handling of
196 DW_AT_byte_size.
197 (read_tag_string_type): FORTRAN fix to prevent propagation of
198 first string size.
199 (set_cu_language): Handling of DW_LANG_Fortran95
200
747fe712
RE
2012002-01-11 Richard Earnshaw <rearnsha@arm.com>
202
203 * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
204 GETPID(inferior_ptid).
205 (store_inferior_registers): Likewise.
206
f1bea926
JM
2072002-01-10 Jason Merrill <jason@redhat.com>
208
209 * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
210 Fix DW_OP_minus.
211
ae940673
AC
2122002-01-10 Andrew Cagney <ac131313@redhat.com>
213
214 * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
215 and bfd/elf32-sh-nbsd.c.
216
00546b04
MS
2172002-01-10 Michael Snyder <msnyder@redhat.com>
218
352ed7b4
MS
219 * NEWS: Mention --pid and corefile/proc-id behavior change.
220
c18be923
MS
221 * Makefile.in: Add rules for gcore.o and linux-proc.o.
222 * gcore.c: Include cli/cli-decode.h instead of command.h.
223
00546b04
MS
224 * main.c (captured_main): Add new command line option "--pid".
225 If the second command line argument (following the symbol-file)
226 begins with a digit, try to attach to it before trying to open
227 it as a corefile.
228 (print_gdb_help): Document the "--pid" argument.
229
db60ec62
EZ
2302002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
231
232 * completer.c (command_completer): New function.
233
234 * completer.h <command_completer>: Add prototype.
235
236 * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the
237 completer for the "help" command.
238
39c22d1a
JM
2392002-01-09 Jason Merrill <jason@redhat.com>
240
241 * c-typeprint.c (is_type_conversion_operator): Fix thinko.
242
c564377f
MS
2432002-01-09 Michael Snyder <msnyder@redhat.com>
244
975aec09
MS
245 * i386-linux-nat.c (fill_fpxregset): Make global.
246 (store_fpxregset): Ditto.
247
db4a10fa
MS
248 * gregset.h (gdb_fpxregset_t): Define.
249 (supply_fpxregset): Prototype.
250 (fill_fpxregset): Prototype.
251
c564377f
MS
252 * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.
253
c3d45d70
RE
2542002-01-09 Richard Earnshaw <rearnsha@arm.com>
255
256 * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
257 * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise.
258 * config/arm/tm-nbsd.h (get_longjmp_target): Likewise.
259
fcc87af1
AC
2602002-01-09 Andrew Cagney <ac131313@redhat.com>
261
262 * MAINTAINERS: Update target maintainer rules so that any
263 Maintainer can approve a tested patch for a maintenance-only
264 target.
265
dd96c05b
RE
2662002-01-09 Richard Earnshaw <rearnsha@arm.com>
267
d4297db9 268 * MAINTAINERS (write-after-approval): Add myself.
dd96c05b 269
d4297db9 270 * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to
dd96c05b
RE
271 IN_SIGTRAMP.
272
145fdc6e
MS
2732002-01-08 Michael Snyder <msnyder@redhat.com>
274
275 * linux-proc.c (child_pid_to_exec_file): Use readlink to get the
276 real name of the executable, rather than the /proc name.
277
be4d1333
MS
2782002-01-03 Michael Snyder <msnyder@redhat.com>
279
280 Implement a "generate-core-file" command in gdb, save target state.
281 * gcore.c: New file. Implement new command 'generate-core-file'.
282 Save a corefile image of the current state of the inferior.
283 * linux-proc.c: Add linux-specific code for saving corefiles.
284 * target.h (struct target_ops): Add new target vectors for saving
285 corefiles; to_find_memory_regions and to_make_corefile_notes.
286 (target_find_memory_regions): New macro.
287 (target_make_corefile_notes): New macro.
288 * target.c (update_current_target): Inherit new target methods.
289 (dummy_find_memory_regions): New place-holder method.
290 (dummy_make_corefile_notes): New place-holder method.
291 (init_dummy_target): Initialize new dummy target vectors.
292 * exec.c (exec_set_find_memory_regions): New function.
293 Allow the exec_ops vector for memory regions to be taken over.
294 (exec_make_note_section): New function, target vector method.
295 * defs.h (exec_set_find_memory_regions): Export prototype.
296 * procfs.c (proc_find_memory_regions): New function, corefile method.
297 (procfs_make_note_section): New function, corefile method.
298 (init_procfs_ops): Set new target vector pointers.
299 (find_memory_regions_callback): New function.
300 (procfs_do_thread_registers): New function.
301 (procfs_corefile_thread_callback): New function.
302 * sol-thread.c (sol_find_memory_regions): New function.
303 (sol_make_note_section): New function.
304 (init_sol_thread_ops): Initialize new target vectors.
305 * inftarg.c (inftarg_set_find_memory_regions): New function.
306 Allow to_find_memory_regions vector to be taken over.
307 (inftarg_set_make_corefile_notes): New function.
308 Allow to_make_corefile_notes vector to be taken over.
309 * thread-db.c (thread_db_new_objfile): Don't activate thread-db
310 interface layer if not target_has_execution (may be a corefile).
311 * config/i386/linux.mh: Add gcore.o to NATDEPFILES.
312 * config/sparc/sun4sol2.mh: Ditto.
313 * config/alpha/alpha-linux.mh: Ditto.
314 * config/arm/linux.mh: Ditto.
315 * config/i386/x86-64linux.mh: Ditto.
316 * config/ia64/linux.mh: Ditto.
317 * config/m68k/linux.mh: Ditto.
318 * config/mips/linux.mh: Ditto.
319 * config/powerpc/linux.mh: Ditto.
320 * config/sparc/linux.mh: Ditto.
321
c6b92abd
MS
3222002-01-07 Michael Snyder <msnyder@redhat.com>
323
324 * arm-linux-nat.c: Remove references to regcache.c internal data
325 (registers[] and register_valid[]).
326
4b09dc8c
MS
3272002-01-07 Michael Snyder <msnyder@redhat.com>
328
329 * linux-proc.c: New file. Implement child_pid_to_exec_file,
330 so that attaching to a pid will automatically read the process's
331 symbol file and shlibs.
332 * Makefile.in: Add rule for linux-proc.o.
333 * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE.
334 * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES.
335 * config/arm/linux.mh: Ditto.
336 * config/i386/linux.mh: Ditto.
337 * config/i386/x86-64linux.mh: Ditto.
338 * config/ia64/linux.mh: Ditto.
339 * config/m68k/linux.mh: Ditto.
340 * config/mips/linux.mh: Ditto.
341 * config/powerpc/linux.mh: Ditto.
342 * config/sparc/linux.mh: Ditto.
343
c25b74ac
PM
3442002-01-06 Pierre Muller <muller@ics.u-strasbg.fr>
345
346 * win32-nat.c: Add i386-tdep.h dependency.
347
94cd915f
MS
3482002-01-07 Michael Snyder <msnyder@redhat.com>
349
c7cccb76
MS
350 * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT
351 instead of bfd_get_arch_size. Don't bail out just because
352 there's no exec_bfd.
353
34c0bd93
MS
354 * cp-valprint.c (cp_print_value): FIXME comment, alloca size.
355 * p-valprint.c (pascal_object_print_value): Ditto.
356 * somread.c (som_symtab_read): Ditto.
357 * symfile.c (simple_free_overlay_region_table): Ditto.
358 * valops.c (value_assign): Ditto.
359
21c1c920
MS
360 * tracepoint.c (tracepoint_save_command): From Klee Dienes --
361 use tilde_expand and strerror for opening save-tracepoints file.
362
5bbd998e
MS
363 * thread-db.c (thread_db_new_objfile): Indendation fix.
364
94cd915f
MS
365 * infptrace.c (GDB_MAX_ALLOCA): New define.
366 (child_xfer_memory): Use xmalloc/xfree instead of alloca if the
367 size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
368 can be overridden with whatever value is appropriate to the host).
369 * infttrace.c (child_xfer_memory): Add FIXME warning about use of
370 alloca to allocate potentially large buffer.
371 * rs6000-nat.c (child_xfer_memory): Ditto.
372 * symm-nat.c (child_xfer_memory): Ditto.
373 * x86-64-linux-nat.c (child_xfer_memory): Ditto.
374
494e8a93
JSC
3752002-01-07 Jackie Smith Cashion <jsmith@redhat.com>
376
377 From Nick Clifton <nickc@redhat.com>
378 * d10v-tdep.c: Set STACK_START to 0x200bffe.
379
d0e1d48e
MS
3802002-01-07 Michael Snyder <msnyder@redhat.com>
381
382 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
383 Don't use exec_bfd if it's NULL.
384
290b2c7a
MK
3852002-01-06 Mark Kettenis <kettenis@gnu.org>
386
387 * valops.c (value_arg_coerce): Fix formatting.
388
aef21287
AC
3892002-01-06 Andrew Cagney <ac131313@redhat.com>
390
391 * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>.
392 * gnu-nat.c: Ditto.
393
30efa627
AC
3942002-01-06 Andrew Cagney <ac131313@redhat.com>
395
396 * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff,
397 arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms,
398 i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf,
399 ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and
400 z8k-coff have not been multi-arched. Update z8k-coff build
401 status.
402
9b4ff276
AC
4032002-01-06 Andrew Cagney <ac131313@redhat.com>
404
405 * MAINTAINERS: Mark a29k target as obsolete.
406 * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o)
407 (remote-mm.o, remote-udi.o): Obsolete. Remove references in
408 comments.
409 * NEWS: Note that a29k targets are obsolete.
410 * a29k-tdep.c: Mark as obsolete.
411 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
412 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
413 a29k-*-vxworks* targets as obsolete.
414 * remote-adapt.c: Obsolete.
415 * remote-eb.c: Obsolete.
416 * remote-mm.c: Obsolete.
417 * remote-udi.c: Obsolete.
418 * config/a29k/a29k-udi.mt: Obsolete.
419 * config/a29k/a29k.mt: Obsolete.
420 * config/a29k/tm-a29k.h: Obsolete.
421 * config/a29k/tm-vx29k.h: Obsolete.
422 * config/a29k/vx29k.mt: Obsolete.
423
a9011d31
AC
4242002-01-05 Andrew Cagney <ac131313@redhat.com>
425
426 * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN
427 with BFD_ENDIAN_BIG.
428
9299404e
AC
4292002-01-05 Andrew Cagney <ac131313@redhat.com>
430
431 * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>.
432 * configure, config.in: Re-generate.
433 * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>.
434 * defs.h: Do not include <endian.h>.
435
7e89e357
JT
4362002-01-05 Jason Thorpe <thorpej@wasabisystems.com>
437
438 * acconfig.h (HAVE_PT_GETXMMREGS): New.
439 * config.in: Regenerate.
440 * configure.in: Update copyright years.
441 Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>.
442 * configure: Regenerate.
443 * i386bsd-nat.c: Update copyright years.
444 (fill_gregset): Use regcache_collect.
445 (fetch_inferior_registers): Only fetch integer registers
446 if requested to do so. Add support for XMM registers
447 using PT_GETXMMREGS.
448 (store_inferior_registers): Only store integer registers
449 if requested to do so. Add support for XMM registers
450 using PT_SETXMMREGS.
451 * i386nbsd-nat.c (fetch_inferior_registers): Remove.
452 (store_inferior_registers): Remove.
453 (fetch_core_registers): Use supply_gregset and i387_supply_fsave.
454 (fetch_elfcore_registers): New function.
455 (i386nbsd_elfcore_fns): New.
456 (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns.
457 * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and
458 i386bsd-nat.o.
459 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
460 * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o.
461 * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
462 * config/i386/tm-nbsd.h: Update copyright years.
463 (HAVE_SSE_REGS): Define.
464 (IN_SIGTRAMP): Define as i386bsd_in_sigtramp.
465 (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start.
466 (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end.
467 (SIGCONTEXT_PC_OFFSET): Remove.
468 (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
469
a752853e
AC
4702002-01-05 Andrew Cagney <ac131313@redhat.com>
471
472 * configure.tgt: Remove powerpc-*-macos* target.
473 * config/m68k/xm-mpw.h: Delete file.
474 * config/xm-mpw.h: Delete file.
475 * ser-mac.c: Delete file.
476 * mpw-make.sed: Delete file.
477 * mpw-config.in: Delete file.
478 * mac-xdep.c: Delete file.
479 * mac-gdb.r: Delete file.
480 * mac-defs.h: Delete file.
481 * mac-nat.c: Delete file.
482 * config/powerpc/macos.mh: Delete file.
483 * config/powerpc/macos.mt: Delete file.
484 * config/powerpc/nm-macos.h: Delete file.
485 * config/powerpc/tm-macos.h: Delete file.
486 * source.c (openp, open_source_file): Remove obsolete code.
487 * top.c (gdb_readline): Ditto.
488 * utils.c (query): Ditto.
489 * event-top.c (display_gdb_prompt): Ditto.
490 * Makefile.in (ser-mac.o): Delete obsolete target.
491 * NEWS: Update.
492
d7449b42
AC
4932002-01-04 Andrew Cagney <ac131313@redhat.com>
494
495 * defs.h (BIG_ENDIAN): Delete macro definition.
496 * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c,
497 coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h,
498 findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c,
499 printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
500 remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c,
501 stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h,
502 config/a29k/tm-vx29k.h, config/arm/tm-arm.h,
503 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
504 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
505 config/m32r/tm-m32r.h, config/m68k/tm-m68k.h,
506 config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h,
507 config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c,
508 mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
509 * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
510 * gdbarch.c: Re-generate.
511
356374e8
DJ
5122002-01-04 Daniel Jacobowitz <drow@mvista.com>
513
514 * thread-db.c (thread_db_new_objfile): Do not enable thread_db
515 for core files.
516
a2b8f8f8
JT
5172002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
518
519 * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.
520
12466af9
AC
5212002-01-04 Andrew Cagney <ac131313@redhat.com>
522
523 * value.h (value_ptr): Delete typedef.
524
3549ab40
JT
5252002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
526
527 * i386nbsd-nat.c: Update copyright years.
528 Include i386-tdep.h.
529
fedbd091
EZ
5302002-01-04 Elena Zannoni <ezannoni@redhat.com>
531
532 * stabsread.c: Update copyright years.
533
534 From Debashis Mahata <debashis.mahata@wipro.com>:
535 (read_struct_fields): Deal with Sun C compiler erroneous stab
536 output for structs and unions.
fec8b34f 537 Fix PR gdb/269.
fedbd091 538
eb43544b
DJ
5392002-01-04 Daniel Jacobowitz <drow@mvista.com>
540
541 * p-valprint.c: Include "cp-abi.h" for baseclass_offset
542 prototype.
543
1514d34e
DJ
5442002-01-04 Daniel Jacobowitz <drow@mvista.com>
545
546 * cp-abi.c: Fix whitespace.
547 (baseclass_offset): New wrapper function.
548 * cp-abi.h (baseclass_offset): Add prototype.
549 (struct cp_abi_ops): Add baseclass_offset pointer.
550
551 * valops.c (vb_match): Move to...
552 * gnu-v2-abi.c (vb_match): here.
553 * valops.c (baseclass_offset): Move to...
554 * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename.
555
556 * gnu-v3-abi.c (gnuv3_baseclass_offset): New function.
557
558 * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset.
559 * gnu-v3-abi.c (init_gnuv3_ops): Likewise.
560 * hpacc-abi.c (init_hpacc_ops): Likewise.
561
7f8c9282
DJ
5622002-01-04 Daniel Jacobowitz <drow@mvista.com>
563
564 * valops.c (find_overload_match): Accept obj as a
565 reference parameter. Update it before returning.
566 * value.h (find_overload_match): Update prototype.
567 * eval.c (evaluate_subexp_standard): Pass object to
568 find_overload_match by reference.
569
f23631e4
AC
5702002-01-03 Andrew Cagney <ac131313@redhat.com>
571
572 * valarith.c: Replace value_ptr with struct value pointer. Remove
573 register attribute from value declarations.
574 * valops.c: Ditto.
575 * value.h: Ditto.
576 * scm-lang.c (scm_lookup_name): Ditto.
577
79e10fab
AC
5782002-01-03 Michael Snyder <msnyder@redhat.com>
579
580 Abstract the functionality of iterating over mapped memory
581 regions into a general purpose iterator function.
582 * procfs.c (iterate_over_mappings): New function, general purpose
583 iterator for memory sections.
584 (proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
585 (solib_mappings_callback): New function, callback for above.
586 (info_proc_mappings): Reimpliment using iterate_over_mappings.
587 (info_mappings_callback): New function, callback for above.
588
589 * procfs.c (proc_set_watchpoint): Add cast to suppress warning.
590
c5ad026a
MK
5912002-01-01 Mark Kettenis <kettenis@gnu.org>
592
d2a7c97a
MK
593 * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
594 * i386-tdep.c: Include "elf-bfd.h".
595 (process_note_abi_tag_sections): New function.
596 (i386_gdbarch_init): Add code to recognize various OS/ABI
597 combinations.
598
c5ad026a
MK
599 * maint.c (_initialize_maint_cmds): Add missing \ in
600 string-literal.
601
a1a5b71e 602For older changes see ChangeLog-2001
c906108c
SS
603\f
604Local Variables:
605mode: change-log
606left-margin: 8
607fill-column: 74
608version-control: never
609End: