hansi@hplaptop3:~$ sudo gdb ./s3switch
GNU gdb (GDB) 7.2-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/hansi/s3switch...done.
(gdb) run pal
Starting program: /home/hansi/s3switch pal
Program received signal SIGSEGV, Segmentation fault.
0x0804a073 in em_outbl (literal=237 '\355') at lrmi.c:585
585 asm volatile ("outb %b0, %w1"
(gdb) bt
#0 0x0804a073 in em_outbl (literal=237 '\355') at lrmi.c:585
#1 0x0804a3fc in emulate () at lrmi.c:702
#2 0x0804a5af in run_vm86 () at lrmi.c:840
#3 0x0804a7a9 in LRMI_int (i=16, r=0xbff32f28) at lrmi.c:1063
#4 0x08048d5f in set_tv_state (state=8) at s3switch.c:289
#5 0x08049129 in set_new_tvstate (tvstate=8) at s3switch.c:407
#6 0x080493d3 in main (argc=2, argv=0xbff3306c) at s3switch.c:473
(gdb)
hansi@hplaptop3:~$ sudo gdb ./s3switch gnu.org/ licenses/ gpl.html> www.gnu. org/software/ gdb/bugs/>... s3switch. ..done. s3switch pal
GNU gdb (GDB) 7.2-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://
Reading symbols from /home/hansi/
(gdb) run pal
Starting program: /home/hansi/
Program received signal SIGSEGV, Segmentation fault.
0x0804a073 in em_outbl (literal=237 '\355') at lrmi.c:585
585 asm volatile ("outb %b0, %w1"
(gdb) bt
#0 0x0804a073 in em_outbl (literal=237 '\355') at lrmi.c:585
#1 0x0804a3fc in emulate () at lrmi.c:702
#2 0x0804a5af in run_vm86 () at lrmi.c:840
#3 0x0804a7a9 in LRMI_int (i=16, r=0xbff32f28) at lrmi.c:1063
#4 0x08048d5f in set_tv_state (state=8) at s3switch.c:289
#5 0x08049129 in set_new_tvstate (tvstate=8) at s3switch.c:407
#6 0x080493d3 in main (argc=2, argv=0xbff3306c) at s3switch.c:473
(gdb)