[Bug gdb/24178] Endless loop in block_static_block

bernd.edlinger at hotmail dot de sourceware-bugzilla@sourceware.org
Wed Feb 6 07:59:00 GMT 2019


https://sourceware.org/bugzilla/show_bug.cgi?id=24178

--- Comment #3 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
681                 read_frame_arg (sym, frame, &arg, &entryarg);
1: b = (const block *) 0x56bf30
(gdb) p &b
Address requested for identifier "b" which is in register $s16
(gdb) 

Hmm. well s16-s31 appears to be call-saved, according to ARM ABI,
but this function does not seem to conform to the ABI, after stepping
over s16 is clobbered.

BTW: gcc is configured this way:

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/home/ed/gnu/arm-linux-gnueabihf/libexec/gcc/armv7l-unknown-linux-gnueabihf/9.0.1/lto-wrapper
Target: armv7l-unknown-linux-gnueabihf
Configured with: ../gcc-9-20190127-0/configure
--prefix=/home/ed/gnu/arm-linux-gnueabihf --enable-languages=all
--with-arch=armv7-a --with-tune=cortex-a9 --with-fpu=vfpv3-d16
--with-float=hard
Thread model: posix
gcc version 9.0.1 20190127 (experimental) (GCC)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list