This is a good suggestion, it solved my problem. I was so focused on
this error that I didn't think about this simple solution ^^
Thanks David!
David Francisco Rodriguez Perez a écrit :
> Antoine
>
> I had same issue before. using gdb 6.3 under x86_64 it was working
> okay. Then I jumped to g
Antoine
I had same issue before. using gdb 6.3 under x86_64 it was working okay.
Then I jumped to gdb 6.5 under i686 and it worked fine only if I ran as user
root. Now with gdb 6.8 I can not do that. It looks the gdb people has closed
the door to debug setuid programs. So the suggestion is to allo
Hi all,
I'm using a recent kernel (2.6.29.2, compiled by myself) for debugging
purposes. When I launch the guest inside gdb, all is going well until
network configuration. At the moment uml_net is called, I see a
"Permission denied" error inside GDB, which does not appear when I
launch the gue
Hi
I have read and used the gdb on UML tutorials to debug kernel drivers. It
works just fine. But I have not found anything to debug user space programs
inside UML. I am wondering if I want to debug a user space program can i
use gdb inside UML and maybe use mounted directories of the source cod
Hi!,
Where can I find gdb rpm for UML instance. I am using Fedora Core 5 UML and
filesystem from http://user-mode-linux.sourceforge.net. The filesystem does not
have gdb installed.
Thanks in advance.
Rahul
-
T
On Mon, Oct 29, 2007 at 12:18:02PM -0600, Jon Rafkind wrote:
> Actually scratch that. I'm not sure what I was doing wrong before but
> now I can make gdb attach to uml in a seperate xterm. Its probably the
> extra 'debug' argument.
There is an up-to-date description of gdb-ing UML at
http://user-m
Jon Rafkind wrote:
> Jeff Dike wrote:
>
>> On Tue, Sep 18, 2007 at 01:48:09PM -0600, Jon Rafkind wrote:
>>
>>
>>> How can I use gdb to debug uml? I get a segfault because I have been
>>> hacking on the ext3 code but I can't seem to use gdb to set breakpoints
>>> in uml
>>>
>>> gdb) break
Jeff Dike wrote:
> On Tue, Sep 18, 2007 at 01:48:09PM -0600, Jon Rafkind wrote:
>
>> How can I use gdb to debug uml? I get a segfault because I have been
>> hacking on the ext3 code but I can't seem to use gdb to set breakpoints
>> in uml
>>
>> gdb) break ext3_fill_super
>> gdb) run
>>
>
>
On Tue, Sep 18, 2007 at 01:48:09PM -0600, Jon Rafkind wrote:
> How can I use gdb to debug uml? I get a segfault because I have been
> hacking on the ext3 code but I can't seem to use gdb to set breakpoints
> in uml
>
> gdb) break ext3_fill_super
> gdb) run
Can you bring UML up and attach gdb to i
How can I use gdb to debug uml? I get a segfault because I have been
hacking on the ext3 code but I can't seem to use gdb to set breakpoints
in uml
gdb) break ext3_fill_super
gdb) run
...
Program received signal SIGSEGV, Segmentation fault.
0x080d9e97 in ext3_count_free_blocks (sb=0x87e38c0) at fs
On Thursday 23 March 2006 15:50, Serge Goodenko wrote:
> > In my experience, it stops on some breakpoints and not on others (for
> > instance it doesn't break on panic). You may see if attaching to an
> > already running UML rather than starting it under GDB makes a difference
> > ("gdb kernelBinar
> In my experience, it stops on some breakpoints and not on others (for
> instance
> it doesn't break on panic). You may see if attaching to an already running
> UML rather than starting it under GDB makes a difference ("gdb kernelBinary"
> and "attach ", where PID is the lowest one between th
On Thursday 16 March 2006 15:37, Serge Goodenko wrote:
> Hello!
>
> I debug UML kernel 2.6.13-4 using gdb 6.3 with
> SIGSEGV pass nostop noprint
> SIGUSR1 pass nostop noprint
>
> and with breakpoint set on function that is definetely called during my UML
> session (particulary tcp_sendmsg() when I
Hello!
I debug UML kernel 2.6.13-4 using gdb 6.3 with
SIGSEGV pass nostop noprint
SIGUSR1 pass nostop noprint
and with breakpoint set on function that is definetely called during my UML
session (particulary tcp_sendmsg() when I send message using Inet sockets)
and gdb doesn't stop on it!
I sup
On Sunday 20 November 2005 17:00, Blaisorblade wrote:
> On Saturday 19 November 2005 14:48, Franz Lenhardt wrote:
> > Hello,
> >
> > I have a problem debugging the uml kernel using gdb in SKAS mode.
> > What happens is that right after running the kernel in gdb, it
> > immediately hits a breakpoint
On Saturday 19 November 2005 14:48, Franz Lenhardt wrote:
> Hello,
>
> I have a problem debugging the uml kernel using gdb in SKAS mode.
> What happens is that right after running the kernel in gdb, it immediately
> hits a breakpoint in proc_fs.h. Once I continue, it keeps hitting that
> breakpoint
Hello,
I have a problem debugging the uml kernel using gdb in SKAS mode.
What happens is that right after running the kernel in gdb, it immediately
hits a breakpoint in proc_fs.h. Once I continue, it keeps hitting that
breakpoint a few times, then moves on to break in swab.h etc. Also it's not
Hi,
I'm running a guest Linux 2.6.11 w/uml-2.6.11-bb2 (compiled on 32bit
platform) on an AMD 64bit SMP host (2.6.9 unmodified -- no SKAS
support) running RedHat FC3. I'm using a 32bit compiled gdb and have
the following problem.
I'm having trouble stepping through code after a breakpoint. I hit
On Wednesday 20 April 2005 04:57, Yu Dong-W4760C wrote:
> when i use kill -USR1 after UML launch, a gdb xterm is prompt
> up and pirnt message as: GNU gdb Red Hat Linux (6.1post-1.20040607.52rh)
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Publ
Title: Message
when i
use kill -USR1 after UML launch, a gdb xterm is prompt
up and pirnt message as:
GNU
gdb Red Hat Linux (6.1post-1.20040607.52rh)Copyright 2004 Free Software
Foundation, Inc.GDB is free software, covered by the GNU General Public
License, and you arewelcome to
20 matches
Mail list logo