diff options
author | roland <roland> | 2005-10-26 20:18:13 +0000 |
---|---|---|
committer | roland <roland> | 2005-10-26 20:18:13 +0000 |
commit | 6e74fbb93ded44150098b70ff129aee1f3c4c259 (patch) | |
tree | b0aac8460d1dde771ede05f659585f985043ec43 /loc2c.c | |
parent | 52c8dd37544c24ab5fa7ec79040595d3f5f41454 (diff) | |
download | systemtap-steved-6e74fbb93ded44150098b70ff129aee1f3c4c259.tar.gz systemtap-steved-6e74fbb93ded44150098b70ff129aee1f3c4c259.tar.xz systemtap-steved-6e74fbb93ded44150098b70ff129aee1f3c4c259.zip |
2005-10-26 Roland McGrath <roland@redhat.com>
* loc2c.c (max_fetch_size): Default to host pointer size,
while still waiting for new libdw entrypoint.
Diffstat (limited to 'loc2c.c')
-rw-r--r-- | loc2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1312,7 +1312,7 @@ max_fetch_size (struct location *loc, Dwarf_Die *die) { Dwarf_Die cu_mem; uint8_t address_size; -#define dwarf_diecu(d,m,a,n) (*m = *d, *a = 4, m) /* XXX */ +#define dwarf_diecu(d,m,a,n) (*m = *d, *a = sizeof (void *), m) /* XXX */ Dwarf_Die *cu = dwarf_diecu (die, &cu_mem, &address_size, NULL); if (cu == NULL) FAIL (loc, N_("cannot determine CU address size from %s: %s"), |