Call function in gdb

H.J. Lu hjl@lucon.org
Fri Nov 12 14:22:00 GMT 1999


> 
> >>>>> "hjl" == H J Lu <hjl@lucon.org> writes:
> hjl> Hi, With old gdb, I can do
> hjl>
> hjl> (gdb) call foo (1)
> hjl>
> hjl> Now with gdb in CVS, I got "segmentation fault". Any ideas, BTW,
> hjl> I am using Linux/i386.
> 
> You don't offer much to go on.  For what it's worth, calling inferior
> functions with a freshly built-from-the-last-snapshot NetBSD/i386 gdb
> with the following test code:
> 

I can see Linux/i386 is screwed up again. I will try to get it to
work for me. That is one reason why my tree is so different from
the CVS.



H.J.


More information about the Gdb mailing list