1 2002-01-17 Andrew Cagney <ac131313@redhat.com>
3 * utils.c (internal_verror): Fix comments, default is yes not no.
4 Update queries to match. Default to quit and dump core.
6 2002-01-17 Andrew Cagney <ac131313@redhat.com>
8 * breakpoint.c: Update assuming #if UI_OUT is always true. Update
10 * defs.h, event-top.c, gdbcmd.h: Ditto.
11 * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto.
12 * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto.
13 * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto.
14 * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto.
15 * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto.
18 * stack.c, symfile.c: Update copyright.
20 2002-01-17 Daniel Jacobowitz <drow@mvista.com>
22 * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c,
23 gdbserver/low-nbsd.c, gdbserver/low-sim.c,
24 gdbserver/low-sparc.c, gdbserver/low-sun3.c,
25 gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices.
27 2002-01-17 Daniel Jacobowitz <drow@mvista.com>
29 * gdbserver/low-hppabsd.c (myattach): New function, returning -1.
30 * gdbserver/low-lynx.c (myattach): Likewise.
31 * gdbserver/low-nbsd.c (myattach): Likewise.
32 * gdbserver/low-sim.c (myattach): Likewise.
33 * gdbserver/low-sparc.c (myattach): Likewise.
34 * gdbserver/low-sun3.c (myattach): Likewise.
36 * gdbserver/low-linux.c (myattach): New function.
38 * gdbserver/server.c (attach_inferior): New function.
39 (main): Handle "--attach".
41 2002-01-16 Andrew Cagney <ac131313@redhat.com>
43 * MAINTAINERS (language support): Daniel Jacobwitz is C++
46 2002-01-15 Daniel Jacobowitz <drow@mvista.com>
48 * c-typeprint.c (is_type_conversion_operator): Add additional
49 check for non-conversion operators.
51 2002-01-15 Michael Snyder <msnyder@redhat.com>
53 * linux-proc.c: Add "info proc" command, a la procfs.c.
54 (read_mapping): New function, abstract and re-use code.
55 (linux_find_memory_regions): Use new func read_mapping.
56 (linux_info_proc_cmd): New function, implement "info proc".
57 (_initialize_linux_proc): Add new command "info proc".
59 2002-01-15 Michael Snyder <msnyder@redhat.com>
61 * symfile.c (generic_load): Use bfd_map_over_sections method
62 instead of manipulating bfd structure members directly.
63 (add_section_size_callback): New function, bfd sections callback
65 (load_sections_callback): New function, bfd sections callback
68 2002-01-15 Elena Zannoni <ezannoni@redhat.com>
70 [Based on work by Jim Blandy]
71 * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export.
72 (builtin_type_vec128): Export.
73 * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD
75 (builtin_type_vec128): New builtin type for 128 bit vector
77 (build_gdbtypes): Initialize builtin_type_v16qi and
78 builtin_type_v8hi. Create the vec128 register builtin type
80 (build_builtin_type_vec128): New function.
81 (_initialize_gdbtypes): Register builtin_type_v16qi and
82 builtin_type_v8hi with gdbarch. Same for builtin_type_vec128.
83 * rs6000-tdep.c (rs6000_register_virtual_type): Change type of
84 AltiVec register to new builtin type.
86 2001-01-15 Daniel Jacobowitz <drow@mvista.com>
88 * stabsread.c (read_type): Pass dbx_lookup_type (typenums)
91 2002-01-14 Andrew Cagney <ac131313@redhat.com>
93 * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename
94 CLEAN_UP_REGISTER_VALUE.
95 * regcache.c (supply_register): Update only call.
97 2002-01-14 Andrew Cagney <ac131313@redhat.com>
99 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
100 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
101 a29k-*-vxworks* targets as obsolete.
103 2002-01-14 Michael Snyder <msnyder@redhat.com>
105 * linux-proc.c (linux_do_thread_registers): Ignore fpxregs
106 until we can resolve portability issues.
107 * gregset.h: Remove references to fpxregs.
108 * gcore.c (gcore_command): Initialize note_sec to NULL.
110 2002-01-13 Andrew Cagney <ac131313@redhat.com>
112 * signals.c (target_signal_to_name): Rewrite. Only use
113 signals[].name when in bounds and non-NULL.
115 2002-01-13 Andrew Cagney <ac131313@redhat.com>
117 From Petr Ledvina <ledvinap@kae.zcu.cz>:
118 * signals.c (target_signal_to_name): Verify that SIG is within the
119 bounds of the signals array.
121 2002-01-13 Andrew Cagney <ac131313@redhat.com>
123 * MAINTAINERS: Remove arm-coff and arm-pe from target list.
125 2002-01-13 Keith Seitz <keiths@redhat.com>
127 * stack.c (print_frame_info_base): Print the frame's pc
128 only if when print_frame_info_listing_hook is not defined.
130 2002-01-13 Keith Seitz <keiths@redhat.com>
132 * varobj.c (varobj_set_value): Make sure that there were no
133 errors evaluating the object before attempting to set its
135 value_cast now properly adjusts VALUE_ADDRESS for baseclasses,
136 so this offset adjustment is no longer necessary.
137 (create_child): Don't set the error flag if the child is
139 (value_of_child): If value_fetch_lazy fails, return NULL
140 so that callers will be notified that an error occurred.
141 (c_value_of_variable): Delay check of variable's validity
142 until later. We actually want all structs and unions to have
144 Do not return "???" for variables which could not be evaluated.
145 This error condition must be returned to the caller so that it
146 can get the error condition from gdb.
147 (cplus_name_of_child): Adjust index for vptr before figuring
148 out the name of the child.
149 (cplus_value_of_child): If a child's (real) parent is not valid,
150 don't even bother trying to give a value for it. Just return
151 an error. Change all instances in this function.
152 (cplus_type_of_child): If our parent is one of the "fake"
153 parents, we need to get at the type of the real parent, and
154 derive the child's true type using this information.
156 2002-01-13 Andrew Cagney <ac131313@redhat.com>
158 From 2002-01-09 John Marshall <johnm@falch.net>:
159 * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to
160 sources.redhat.com, and tweak some related URLs which had
161 suffered from linkrot.
163 2002-01-13 Andrew Cagney <ac131313@redhat.com>
166 * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte
167 structures passed in registers.
169 2002-01-13 Eli Zaretskii <eliz@is.elta.co.il>
171 * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous
172 white space which prevented compilation. Reported by DSK
173 <dsk@student.unsw.edu.au>.
175 2002-01-11 Michael Snyder <msnyder@redhat.com>
177 * symfile.c (build_section_addr_info_from_section_tab):
178 Use bfd access method instead of manipulating bfd directly.
179 (syms_from_objfile): Ditto.
180 (simple_overlay_update_1): Ditto.
181 (simple_overlay_update): Ditto.
182 (generic_load): Ditto.
183 (overlay_unmapped_address): FIXME comment, bfd access methods.
184 (sections_overlap): FIXME comment, bfd access methods.
185 (pc_in_mapped_range): FIXME comment, bfd access methods.
186 (pc_in_unmapped_range): FIXME comment, bfd access methods.
187 (section_is_mapped): FIXME comment, bfd access methods.
188 (section_is_overlay): FIXME comment, bfd access methods.
190 * symfile.c (generic_load): Whitespace and long line cleanups.
191 Remove duplicate variable, change several local variables to
192 more appropriate data types.
193 (print_transfer_performance): Use %lu instead of %ld for ulongs.
195 2002-01-12 Andrew Cagney <ac131313@redhat.com>
198 * language.c (longest_local_hex_string_custom): Use phex_nz to
199 convert NUM to a hex string.
201 2002-01-12 Elena Zannoni <ezannoni@redhat.com>
203 * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in
205 Update Copyright year.
207 2002-01-12 Andrew Cagney <ac131313@redhat.com>
209 * language.c (longest_raw_hex_string): Delete unused function.
211 2002-01-11 Petr Sorfa <petrs@caldera.com>
213 * MAINTAINERS (write-after-approval): Add myself.
214 * dwarf2read.c (read_tag_string_type): Handling of
216 (read_tag_string_type): FORTRAN fix to prevent propagation of
218 (set_cu_language): Handling of DW_LANG_Fortran95
220 2002-01-11 Richard Earnshaw <rearnsha@arm.com>
222 * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
223 GETPID(inferior_ptid).
224 (store_inferior_registers): Likewise.
226 2002-01-10 Jason Merrill <jason@redhat.com>
228 * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
231 2002-01-10 Andrew Cagney <ac131313@redhat.com>
233 * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
234 and bfd/elf32-sh-nbsd.c.
236 2002-01-10 Michael Snyder <msnyder@redhat.com>
238 * NEWS: Mention --pid and corefile/proc-id behavior change.
240 * Makefile.in: Add rules for gcore.o and linux-proc.o.
241 * gcore.c: Include cli/cli-decode.h instead of command.h.
243 * main.c (captured_main): Add new command line option "--pid".
244 If the second command line argument (following the symbol-file)
245 begins with a digit, try to attach to it before trying to open
247 (print_gdb_help): Document the "--pid" argument.
249 2002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
251 * completer.c (command_completer): New function.
253 * completer.h <command_completer>: Add prototype.
255 * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the
256 completer for the "help" command.
258 2002-01-09 Jason Merrill <jason@redhat.com>
260 * c-typeprint.c (is_type_conversion_operator): Fix thinko.
262 2002-01-09 Michael Snyder <msnyder@redhat.com>
264 * i386-linux-nat.c (fill_fpxregset): Make global.
265 (store_fpxregset): Ditto.
267 * gregset.h (gdb_fpxregset_t): Define.
268 (supply_fpxregset): Prototype.
269 (fill_fpxregset): Prototype.
271 * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.
273 2002-01-09 Richard Earnshaw <rearnsha@arm.com>
275 * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
276 * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise.
277 * config/arm/tm-nbsd.h (get_longjmp_target): Likewise.
279 2002-01-09 Andrew Cagney <ac131313@redhat.com>
281 * MAINTAINERS: Update target maintainer rules so that any
282 Maintainer can approve a tested patch for a maintenance-only
285 2002-01-09 Richard Earnshaw <rearnsha@arm.com>
287 * MAINTAINERS (write-after-approval): Add myself.
289 * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to
292 2002-01-08 Michael Snyder <msnyder@redhat.com>
294 * linux-proc.c (child_pid_to_exec_file): Use readlink to get the
295 real name of the executable, rather than the /proc name.
297 2002-01-03 Michael Snyder <msnyder@redhat.com>
299 Implement a "generate-core-file" command in gdb, save target state.
300 * gcore.c: New file. Implement new command 'generate-core-file'.
301 Save a corefile image of the current state of the inferior.
302 * linux-proc.c: Add linux-specific code for saving corefiles.
303 * target.h (struct target_ops): Add new target vectors for saving
304 corefiles; to_find_memory_regions and to_make_corefile_notes.
305 (target_find_memory_regions): New macro.
306 (target_make_corefile_notes): New macro.
307 * target.c (update_current_target): Inherit new target methods.
308 (dummy_find_memory_regions): New place-holder method.
309 (dummy_make_corefile_notes): New place-holder method.
310 (init_dummy_target): Initialize new dummy target vectors.
311 * exec.c (exec_set_find_memory_regions): New function.
312 Allow the exec_ops vector for memory regions to be taken over.
313 (exec_make_note_section): New function, target vector method.
314 * defs.h (exec_set_find_memory_regions): Export prototype.
315 * procfs.c (proc_find_memory_regions): New function, corefile method.
316 (procfs_make_note_section): New function, corefile method.
317 (init_procfs_ops): Set new target vector pointers.
318 (find_memory_regions_callback): New function.
319 (procfs_do_thread_registers): New function.
320 (procfs_corefile_thread_callback): New function.
321 * sol-thread.c (sol_find_memory_regions): New function.
322 (sol_make_note_section): New function.
323 (init_sol_thread_ops): Initialize new target vectors.
324 * inftarg.c (inftarg_set_find_memory_regions): New function.
325 Allow to_find_memory_regions vector to be taken over.
326 (inftarg_set_make_corefile_notes): New function.
327 Allow to_make_corefile_notes vector to be taken over.
328 * thread-db.c (thread_db_new_objfile): Don't activate thread-db
329 interface layer if not target_has_execution (may be a corefile).
330 * config/i386/linux.mh: Add gcore.o to NATDEPFILES.
331 * config/sparc/sun4sol2.mh: Ditto.
332 * config/alpha/alpha-linux.mh: Ditto.
333 * config/arm/linux.mh: Ditto.
334 * config/i386/x86-64linux.mh: Ditto.
335 * config/ia64/linux.mh: Ditto.
336 * config/m68k/linux.mh: Ditto.
337 * config/mips/linux.mh: Ditto.
338 * config/powerpc/linux.mh: Ditto.
339 * config/sparc/linux.mh: Ditto.
341 2002-01-07 Michael Snyder <msnyder@redhat.com>
343 * arm-linux-nat.c: Remove references to regcache.c internal data
344 (registers[] and register_valid[]).
346 2002-01-07 Michael Snyder <msnyder@redhat.com>
348 * linux-proc.c: New file. Implement child_pid_to_exec_file,
349 so that attaching to a pid will automatically read the process's
350 symbol file and shlibs.
351 * Makefile.in: Add rule for linux-proc.o.
352 * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE.
353 * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES.
354 * config/arm/linux.mh: Ditto.
355 * config/i386/linux.mh: Ditto.
356 * config/i386/x86-64linux.mh: Ditto.
357 * config/ia64/linux.mh: Ditto.
358 * config/m68k/linux.mh: Ditto.
359 * config/mips/linux.mh: Ditto.
360 * config/powerpc/linux.mh: Ditto.
361 * config/sparc/linux.mh: Ditto.
363 2002-01-06 Pierre Muller <muller@ics.u-strasbg.fr>
365 * win32-nat.c: Add i386-tdep.h dependency.
367 2002-01-07 Michael Snyder <msnyder@redhat.com>
369 * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT
370 instead of bfd_get_arch_size. Don't bail out just because
373 * cp-valprint.c (cp_print_value): FIXME comment, alloca size.
374 * p-valprint.c (pascal_object_print_value): Ditto.
375 * somread.c (som_symtab_read): Ditto.
376 * symfile.c (simple_free_overlay_region_table): Ditto.
377 * valops.c (value_assign): Ditto.
379 * tracepoint.c (tracepoint_save_command): From Klee Dienes --
380 use tilde_expand and strerror for opening save-tracepoints file.
382 * thread-db.c (thread_db_new_objfile): Indendation fix.
384 * infptrace.c (GDB_MAX_ALLOCA): New define.
385 (child_xfer_memory): Use xmalloc/xfree instead of alloca if the
386 size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
387 can be overridden with whatever value is appropriate to the host).
388 * infttrace.c (child_xfer_memory): Add FIXME warning about use of
389 alloca to allocate potentially large buffer.
390 * rs6000-nat.c (child_xfer_memory): Ditto.
391 * symm-nat.c (child_xfer_memory): Ditto.
392 * x86-64-linux-nat.c (child_xfer_memory): Ditto.
394 2002-01-07 Jackie Smith Cashion <jsmith@redhat.com>
396 From Nick Clifton <nickc@redhat.com>
397 * d10v-tdep.c: Set STACK_START to 0x200bffe.
399 2002-01-07 Michael Snyder <msnyder@redhat.com>
401 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
402 Don't use exec_bfd if it's NULL.
404 2002-01-06 Mark Kettenis <kettenis@gnu.org>
406 * valops.c (value_arg_coerce): Fix formatting.
408 2002-01-06 Andrew Cagney <ac131313@redhat.com>
410 * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>.
413 2002-01-06 Andrew Cagney <ac131313@redhat.com>
415 * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff,
416 arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms,
417 i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf,
418 ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and
419 z8k-coff have not been multi-arched. Update z8k-coff build
422 2002-01-06 Andrew Cagney <ac131313@redhat.com>
424 * MAINTAINERS: Mark a29k target as obsolete.
425 * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o)
426 (remote-mm.o, remote-udi.o): Obsolete. Remove references in
428 * NEWS: Note that a29k targets are obsolete.
429 * a29k-tdep.c: Mark as obsolete.
430 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
431 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
432 a29k-*-vxworks* targets as obsolete.
433 * remote-adapt.c: Obsolete.
434 * remote-eb.c: Obsolete.
435 * remote-mm.c: Obsolete.
436 * remote-udi.c: Obsolete.
437 * config/a29k/a29k-udi.mt: Obsolete.
438 * config/a29k/a29k.mt: Obsolete.
439 * config/a29k/tm-a29k.h: Obsolete.
440 * config/a29k/tm-vx29k.h: Obsolete.
441 * config/a29k/vx29k.mt: Obsolete.
443 2002-01-05 Andrew Cagney <ac131313@redhat.com>
445 * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN
448 2002-01-05 Andrew Cagney <ac131313@redhat.com>
450 * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>.
451 * configure, config.in: Re-generate.
452 * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>.
453 * defs.h: Do not include <endian.h>.
455 2002-01-05 Jason Thorpe <thorpej@wasabisystems.com>
457 * acconfig.h (HAVE_PT_GETXMMREGS): New.
458 * config.in: Regenerate.
459 * configure.in: Update copyright years.
460 Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>.
461 * configure: Regenerate.
462 * i386bsd-nat.c: Update copyright years.
463 (fill_gregset): Use regcache_collect.
464 (fetch_inferior_registers): Only fetch integer registers
465 if requested to do so. Add support for XMM registers
467 (store_inferior_registers): Only store integer registers
468 if requested to do so. Add support for XMM registers
470 * i386nbsd-nat.c (fetch_inferior_registers): Remove.
471 (store_inferior_registers): Remove.
472 (fetch_core_registers): Use supply_gregset and i387_supply_fsave.
473 (fetch_elfcore_registers): New function.
474 (i386nbsd_elfcore_fns): New.
475 (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns.
476 * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and
478 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
479 * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o.
480 * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
481 * config/i386/tm-nbsd.h: Update copyright years.
482 (HAVE_SSE_REGS): Define.
483 (IN_SIGTRAMP): Define as i386bsd_in_sigtramp.
484 (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start.
485 (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end.
486 (SIGCONTEXT_PC_OFFSET): Remove.
487 (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
489 2002-01-05 Andrew Cagney <ac131313@redhat.com>
491 * configure.tgt: Remove powerpc-*-macos* target.
492 * config/m68k/xm-mpw.h: Delete file.
493 * config/xm-mpw.h: Delete file.
494 * ser-mac.c: Delete file.
495 * mpw-make.sed: Delete file.
496 * mpw-config.in: Delete file.
497 * mac-xdep.c: Delete file.
498 * mac-gdb.r: Delete file.
499 * mac-defs.h: Delete file.
500 * mac-nat.c: Delete file.
501 * config/powerpc/macos.mh: Delete file.
502 * config/powerpc/macos.mt: Delete file.
503 * config/powerpc/nm-macos.h: Delete file.
504 * config/powerpc/tm-macos.h: Delete file.
505 * source.c (openp, open_source_file): Remove obsolete code.
506 * top.c (gdb_readline): Ditto.
507 * utils.c (query): Ditto.
508 * event-top.c (display_gdb_prompt): Ditto.
509 * Makefile.in (ser-mac.o): Delete obsolete target.
512 2002-01-04 Andrew Cagney <ac131313@redhat.com>
514 * defs.h (BIG_ENDIAN): Delete macro definition.
515 * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c,
516 coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h,
517 findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c,
518 printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
519 remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c,
520 stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h,
521 config/a29k/tm-vx29k.h, config/arm/tm-arm.h,
522 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
523 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
524 config/m32r/tm-m32r.h, config/m68k/tm-m68k.h,
525 config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h,
526 config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c,
527 mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
528 * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
529 * gdbarch.c: Re-generate.
531 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
533 * thread-db.c (thread_db_new_objfile): Do not enable thread_db
536 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
538 * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.
540 2002-01-04 Andrew Cagney <ac131313@redhat.com>
542 * value.h (value_ptr): Delete typedef.
544 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
546 * i386nbsd-nat.c: Update copyright years.
549 2002-01-04 Elena Zannoni <ezannoni@redhat.com>
551 * stabsread.c: Update copyright years.
553 From Debashis Mahata <debashis.mahata@wipro.com>:
554 (read_struct_fields): Deal with Sun C compiler erroneous stab
555 output for structs and unions.
558 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
560 * p-valprint.c: Include "cp-abi.h" for baseclass_offset
563 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
565 * cp-abi.c: Fix whitespace.
566 (baseclass_offset): New wrapper function.
567 * cp-abi.h (baseclass_offset): Add prototype.
568 (struct cp_abi_ops): Add baseclass_offset pointer.
570 * valops.c (vb_match): Move to...
571 * gnu-v2-abi.c (vb_match): here.
572 * valops.c (baseclass_offset): Move to...
573 * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename.
575 * gnu-v3-abi.c (gnuv3_baseclass_offset): New function.
577 * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset.
578 * gnu-v3-abi.c (init_gnuv3_ops): Likewise.
579 * hpacc-abi.c (init_hpacc_ops): Likewise.
581 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
583 * valops.c (find_overload_match): Accept obj as a
584 reference parameter. Update it before returning.
585 * value.h (find_overload_match): Update prototype.
586 * eval.c (evaluate_subexp_standard): Pass object to
587 find_overload_match by reference.
589 2002-01-03 Andrew Cagney <ac131313@redhat.com>
591 * valarith.c: Replace value_ptr with struct value pointer. Remove
592 register attribute from value declarations.
595 * scm-lang.c (scm_lookup_name): Ditto.
597 2002-01-03 Michael Snyder <msnyder@redhat.com>
599 Abstract the functionality of iterating over mapped memory
600 regions into a general purpose iterator function.
601 * procfs.c (iterate_over_mappings): New function, general purpose
602 iterator for memory sections.
603 (proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
604 (solib_mappings_callback): New function, callback for above.
605 (info_proc_mappings): Reimpliment using iterate_over_mappings.
606 (info_mappings_callback): New function, callback for above.
608 * procfs.c (proc_set_watchpoint): Add cast to suppress warning.
610 2002-01-01 Mark Kettenis <kettenis@gnu.org>
612 * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
613 * i386-tdep.c: Include "elf-bfd.h".
614 (process_note_abi_tag_sections): New function.
615 (i386_gdbarch_init): Add code to recognize various OS/ABI
618 * maint.c (_initialize_maint_cmds): Add missing \ in
621 For older changes see ChangeLog-2001
627 version-control: never