NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: toolchain/54233 (32bit compat gdb works poorly)
Synopsis: 32bit compat gdb works poorly
State-Changed-From-To: open->closed
State-Changed-By: riastradh%NetBSD.org@localhost
State-Changed-When: Thu, 17 Apr 2025 21:36:33 +0000
State-Changed-Why:
This seems to have been fixed a hwile ago. From netbsd-9:
Reading symbols from ./test8...
(No debugging symbols found in ./test8)
(gdb) b main
Breakpoint 1 at 0x804887a
(gdb) r
Starting program: /tmp/riastradh/test8
Breakpoint 1, 0x0804887a in main ()
(gdb) disas
Dump of assembler code for function main:
0x08048877 <+0>: push %ebp
0x08048878 <+1>: mov %esp,%ebp
=> 0x0804887a <+3>: and $0xfffffff0,%esp
0x0804887d <+6>: sub $0x10,%esp
0x08048880 <+9>: movl $0x80488be,(%esp)
0x08048887 <+16>: call 0x8048430 <puts@plt>
0x0804888c <+21>: mov $0x0,%eax
0x08048891 <+26>: leave
0x08048892 <+27>: ret
End of assembler dump.
(gdb) x/i $pc
=> 0x804887a <main+3>: and $0xfffffff0,%esp
(gdb) si
0x0804887d in main ()
(gdb) x/i $pc
=> 0x804887d <main+6>: sub $0x10,%esp
Home |
Main Index |
Thread Index |
Old Index