diff options
author | roland <roland> | 2005-11-28 02:13:57 +0000 |
---|---|---|
committer | roland <roland> | 2005-11-28 02:13:57 +0000 |
commit | b5bd7775e67d53aedb4af08e8b8ef724fd1ab1ab (patch) | |
tree | 61ea15b5b41cbe03e2db8f656784d1c108e5199b /loc2c.c | |
parent | 0737023292d463f9c131c48f0961accba1b9dcaa (diff) | |
download | systemtap-steved-b5bd7775e67d53aedb4af08e8b8ef724fd1ab1ab.tar.gz systemtap-steved-b5bd7775e67d53aedb4af08e8b8ef724fd1ab1ab.tar.xz systemtap-steved-b5bd7775e67d53aedb4af08e8b8ef724fd1ab1ab.zip |
2005-11-27 Roland McGrath <roland@redhat.com>
* loc2c.c (location_from_address): Diagnose null FB_ATTR specially.
Diffstat (limited to 'loc2c.c')
-rw-r--r-- | loc2c.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -567,6 +567,9 @@ location_from_address (struct obstack *pool, /* The main expression uses DW_OP_fbreg, so we need to compute the DW_AT_frame_base attribute expression's value first. */ + if (fb_attr == NULL) + FAIL (loc, N_("required DW_AT_frame_base attribute not supplied")); + Dwarf_Op *fb_expr; size_t fb_len; switch (dwarf_getlocation_addr (fb_attr, address - dwbias, |