This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Porting help (passing arguments to a function).
- From: "Inderpreet Singh Baweja" <Inderpreet dot Baweja at noida dot hcltech dot com>
- To: <gdb at sources dot redhat dot com>
- Date: Mon, 3 Jan 2005 22:16:07 +0530
- Subject: Porting help (passing arguments to a function).
Hi all,
I am porting some arch. To GDB and I have a question.
My arch when passing arguments to a function uses the register
If the argument is less that 4 bytes in length and for rest of the
Purposes it uses the stack to pass the arguments.
I have already done the unwind part.
But when displaying the frame arguments it always tries
To get then from the stack.
How an I tell GDB to get the arguments from the registers first and
Then the stack?
Thanks in advance.
Inder