This is the mail archive of the gdb-prs@sources.redhat.com 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/497: -var-create needs both frame and func



>Number:         497
>Category:       gdb
>Synopsis:       -var-create needs both frame and func
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 17 08:18:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     ac131313@redhat.com
>Release:        2002-04-17
>Organization:
>Environment:

>Description:
(Given GDB currently isn't very good at debugging optomized code, the probably of seeing this is very low - you need a frameless non-leaf function.)

To correctly identify a frame both the ``frame addr'' and the ``frame func'' are needed.  The ``frame func'' is used to break the case where two frames have the same ``frame addr''.

The command -var-create only takes a frame.  This means that it currently can't always correctly identify the current frame.

The command should be extended (option?) to also take the function (of course this requires the corresponding print frame code to print a addr/func pair when displaying frames.
>How-To-Repeat:

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