This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb/2351: gdbarch_dump core dumps.


>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]