This is the mail archive of the gdb@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]

Re: GDB 6.3 assumes that DW_AT_frame_base exists


On Thu, Dec 30, 2004 at 11:56:42AM -0800, H. J. Lu wrote:
> DW_AT_frame_base may be needed for location lists of local variables.
> But in case of tls_symbolic_operand, there is no local variable.
> Location lists are used for function parameters.

Then why is GDB calling get_frame_base?  It is only called for
DW_OP_fbreg.  If we don't have a frame base, we don't know what
DW_OP_fbreg refers to.

GDB should issue an error instead of crashing, but that's as far as we
can go.

-- 
Daniel Jacobowitz


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