[Top] [All Lists]

gdb configuration

Subject: gdb configuration
From: Chris Rhodin <>
Date: Tue, 18 Nov 2008 01:56:53 -0800
Original-recipient: rfc822;
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511

I'm trying to debug 32-bit linux over a serial port with gdb. I'm able to connect to the target and everything looks good until I examine the registers. What's there is obviously wrong. I've examined the stack and found the register data structure. Each register in this structure is 32 bits. When I compare the structure to the registers that gdb displays I can see that gdb is expecting each register to occupy 64 bits. I've tried setting "abi", "saved-gpreg-size", and "stack-arg-size" to 32 bits without success. Can someone point out my obvious mistake?


Chris Rhodin

<Prev in Thread] Current Thread [Next in Thread>