Re: GDB problem on Debian ia64

2013-03-08 Thread Émeric Maschino
Hi, Yes, I can confirm that GDB fails with kernel 3.2.32 and works with kernel 3.2.35. Emeric 2013/3/3 Stephan Schreiber : > I filed bug#691576 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691576) > last year. > GDB stops with sigtrap at 0 address on ia64 wheezy. > > The bug is no lon

GDB problem on Debian ia64

2013-03-03 Thread Stephan Schreiber
I filed bug#691576 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691576) last year. GDB stops with sigtrap at 0 address on ia64 wheezy. The bug is no longer reproducable on Wheezy after upgrading to the most recent kernel 3.2.35. Please could you confirm this? Regards, Stephan -- T

Re: GDB problem on Debian ia64

2012-10-31 Thread Stephan Schreiber
Émeric, Patrick, thanks for the valuable info. Stephan Quoting Émeric Maschino : Patrick / Stephan, I fear I was unclear. I don't think that the GDB problem is related to the missing accept4 syscall. It's only that I experienced this GDB problem back in February, in the same timeframe t

Re: GDB problem on Debian ia64

2012-10-30 Thread Patrick Baggett
No, I was just checking it out. I'm looking for possible places where I can start to debug this, considering strace is doing the equivalent of shrugging and walking away. :\ Patrick On Tue, Oct 30, 2012 at 5:45 PM, Émeric Maschino wrote: > Patrick, > > Do you mean that your compiled kernel 3.7.

Re: GDB problem on Debian ia64

2012-10-30 Thread Émeric Maschino
Patrick, I'm currently running stock Debian Testing kernel on my system. accept4 syscall has been reported upstream, at least in 3.0 and 3.2 branches [1]. Émeric [1] http://marc.info/?l=linux-ia64&m=133720558502738&w=2 2012/10/30 Patrick Baggett : > Also odd -- when I use strace on a "H

Re: GDB problem on Debian ia64

2012-10-30 Thread Émeric Maschino
Patrick, Do you mean that your compiled kernel 3.7.0-rc3 fails to pass test_accept4 [1]? Simply replace the __accept4 function call in the do_test function with the accept4 syscall. Émeric [1] http://marc.info/?l=linux-ia64&m=132110749405138&w=2 2012/10/30 Patrick Baggett : > Also, in ar

Re: GDB problem on Debian ia64

2012-10-30 Thread Émeric Maschino
Patrick / Stephan, I fear I was unclear. I don't think that the GDB problem is related to the missing accept4 syscall. It's only that I experienced this GDB problem back in February, in the same timeframe than the udev issue that was in the end caused by the missing accept4 syscall. Sorry for th

Re: GDB problem on Debian ia64

2012-10-30 Thread Patrick Baggett
And finally, I just built GDB 7.5 from source and I get the same issue: figgles@itanic:~/src/build-gdb/gdb$ ./gdb /usr/bin/man GNU gdb (GDB) 7.5 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: y

Re: GDB problem on Debian ia64

2012-10-30 Thread Patrick Baggett
Also odd -- when I use strace on a "Hello World" program, I get this: figgles@itanic:~$ strace ./test restart_syscall(<... resuming interrupted call ...>) = 0 restart_syscall(<... resuming interrupted call ...>) = 0 restart_syscall(<... resuming interrupted call ...>) = 0 restart_syscall(<... resu

Re: GDB problem on Debian ia64

2012-10-30 Thread Patrick Baggett
Also, in arch/ia64/kernel/entry.S, I see data8 sys_setns // 1330 data8 sys_sendmmsg data8 sys_process_vm_readv data8 sys_process_vm_writev data8 sys_accept4 So it appears that the accept4() system call is definitely present in upstre

Re: GDB problem on Debian ia64

2012-10-30 Thread Patrick Baggett
Stephan / Émeric, I compiled Linux 3.7.0-rc3 and installed GDB 7.4.1-3 (sid) -- doing "gdb man" hits a breakpoint at 0x just like he described. I'm not sure if it is a kernel thing -- I just compiled mine from Linus's git repository last night. I don't mind doing a little spelunkin

Re: GDB problem on Debian ia64

2012-10-29 Thread Émeric Maschino
Hi Stephan, This vaguely reminds me something... Yes, back in February, while I was still chasing what in the end was missing accept4 syscall, I experienced a similar issue (http://lists.debian.org/debian-ia64/2012/01/msg00016.html). From this post, this was with linux-image-3.1.0-1-mckinley_3.1.8

Re: GDB problem on Debian ia64

2012-10-29 Thread Patrick Baggett
Hi Stephan, I haven't tried using GDB on ia64. I'm running sid, so supposedly very recent kernels. If I understand your report correctly, you're saying it automatically fails on trivially working programs. I check it out tonight and see if it fails and get back to you. Patrick On Sat, Oct 27, 20

GDB problem on Debian ia64

2012-10-27 Thread Stephan Schreiber
Hello to all, I just issued the Debian bugreport 691576 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691576). Did you also experience the problem? Do you know more about that, for example, working or failing combinations of GDB versions/Debian Kernels on ia64? Thanks in advance. S