This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
gdb/2351: gdbarch_dump core dumps.
- From: chrisj at rtems dot org
- To: gdb-gnats at sources dot redhat dot com
- Date: 30 Oct 2007 07:29:21 -0000
- Subject: gdb/2351: gdbarch_dump core dumps.
- Reply-to: chrisj at rtems dot org
>Number: 2351
>Category: gdb
>Synopsis: gdbarch_dump core dumps.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Oct 30 07:38:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: Chris Johns
>Release: 6.7
>Organization:
>Environment:
--target=m68k-rtems4.8
>Description:
gdbarch_dump uses paddr_nz and this function needs the global current_gdbarch set. The call gdbarch_dump can be made when creating a new arch and so current_gdbarch is NULL. This results in a core dump.
>How-To-Repeat:
Have a remote target create a new target with 'set debug arch 1'.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: