$ gdb felica_dump
GNU gdb 6.8-debian
Copyright (C) 2008 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 "i486-linux-gnu"...
"/home/foo/libpafe-0.0.7/tests/felica_dump": not in executable format: File format not recognized
(gdb) b mainr
No symbol table is loaded. Use the "file" command.
(gdb) r
Starting program:
No executable file specified.
Use the "file" or "exec-file" command.
- not in executable format: File format not recognized
$ libtool --mode=execute gdb felica_dump
./felica_dump: line 61: Xfelica_dump: command not found
GNU gdb 6.8-debian
Copyright (C) 2008 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 "i486-linux-gnu"...
(gdb) b main
Breakpoint 1 at 0x8048d89: file felica_dump.c, line 176.
(gdb) r
Starting program: /home/foo/libpafe-0.0.7/tests/.libs/lt-felica_dump
Breakpoint 1, main () at felica_dump.c:176
176 p = pasori_open();
- pasori_open()のusb_set_configuration()でこけてた。権限の問題か。