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
the breakpoint, and if I type 'next' I usually end up in sig_handler. 
If I step through it, gdb and the system hangs at the end of the
handler.  For example:

(gdb) break nfs4_proc_get_root
Breakpoint 4 at 0xa013c719: file fs/nfs/nfs4proc.c, line 1161.
...
Breakpoint 4, nfs4_proc_get_root (server=0xafae4200, fhandle=0xafae4264, 
    info=0xaf093964) at fs/nfs/nfs4proc.c:1161
(gdb) next
sig_handler (sig=-1347534336) at arch/um/os-Linux/signal.c:12
12      {
(gdb) 
16              CHOOSE_MODE_PROC(sig_handler_common_tt,
sig_handler_common_skas,
(gdb) 
15              ARCH_GET_SIGCONTEXT(sc, sig);
(gdb) 
16              CHOOSE_MODE_PROC(sig_handler_common_tt, sig_handler_common_skas,
(gdb) 
18      }
(gdb) 
HANG!!!

Any help?
Thanks,
-Garth

#
# UML-specific options
#
CONFIG_MODE_TT=y
CONFIG_MODE_SKAS=y
# CONFIG_64_BIT is not set
CONFIG_TOP_ADDR=0xc0000000
# CONFIG_3_LEVEL_PGTABLES is not set
CONFIG_ARCH_HAS_SC_SIGNALS=y
CONFIG_ARCH_REUSE_HOST_VSYSCALL_AREA=y
CONFIG_LD_SCRIPT_STATIC=y
CONFIG_NET=y
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_MISC is not set
CONFIG_HOSTFS=y
CONFIG_MCONSOLE=y
# CONFIG_MCONSOLE_EXEC is not set
CONFIG_MAGIC_SYSRQ=y
# CONFIG_HOST_2G_2G is not set
# CONFIG_SMP is not set
CONFIG_NEST_LEVEL=0
CONFIG_KERNEL_HALF_GIGS=1
# CONFIG_HIGHMEM is not set
CONFIG_KERNEL_STACK_ORDER=2
CONFIG_UML_REAL_TIME_CLOCK=y


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r 
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to