OSDN Git Service

2002-02-13 Michael Snyder <msnyder@redhat.com>
authorMichael Snyder <msnyder@specifix.com>
Thu, 14 Feb 2002 01:57:36 +0000 (01:57 +0000)
committerMichael Snyder <msnyder@specifix.com>
Thu, 14 Feb 2002 01:57:36 +0000 (01:57 +0000)
commitc54f1bd03148f396f472f9a54efa7b2f9cc56110
treefac92557c87ceaba2dcdda05b647e9e34d9ce6b9
parent7dd14c0251f729f1215a6ddb7effb691cb583db7
2002-02-13  Michael Snyder  <msnyder@redhat.com>

* gcore.c (gcore_command): Use gcore_default_target instead of NULL.
(default_gcore_mach): Just return 0, work around a problem in bfd.
(default_gcore_target): OK to return NULL if exec_bfd is null.
(make_mem_sec): Use a cast, avoid a warning.

* procfs.c (find_memory_regions_callback): Use a cast instead of
calling host_pointer_to_address (which complains if
sizeof (host pointer) != sizeof (target pointer)).
(procfs_make_note_section): Avoid overflow in psargs string.
gdb/ChangeLog
gdb/gcore.c
gdb/procfs.c