This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Call function in gdb


> 
> >>>>> "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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]