This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 0/3] catch syscall -- try 5 -- Introduction
- From: Hui Zhu <teawater at gmail dot com>
- To: Sérgio Durigan Júnior <sergiodj at linux dot vnet dot ibm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 23 Apr 2009 19:49:22 +0800
- Subject: Re: [PATCH 0/3] catch syscall -- try 5 -- Introduction
- References: <1240446781.2000.82.camel@miki>
I got:
gcc -g -O2 \
-o gdb gdb.o libgdb.a \
../readline/libreadline.a ../opcodes/libopcodes.a ../bfd/libbfd.a
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -lncurses
-lm -lpython2.5 ../libiberty/libiberty.a gnulib/libgnu.a -ldl
-rdynamic
libgdb.a(i386-linux-tdep.o): In function `i386_linux_init_abi':
/home/teawater/gdb/bgdb/gdb/../../src/gdb/i386-linux-tdep.c:499:
undefined reference to `set_xml_syscall_file_name'
libgdb.a(breakpoint.o): In function `catch_syscall_completer':
/home/teawater/gdb/bgdb/gdb/../../src/gdb/breakpoint.c:8664: undefined
reference to `get_syscall_names'
libgdb.a(breakpoint.o): In function `print_it_catch_syscall':
/home/teawater/gdb/bgdb/gdb/../../src/gdb/breakpoint.c:4940: undefined
reference to `get_syscall_by_number'
libgdb.a(breakpoint.o): In function `print_mention_catch_syscall':
/home/teawater/gdb/bgdb/gdb/../../src/gdb/breakpoint.c:5025: undefined
reference to `get_syscall_by_number'
libgdb.a(breakpoint.o): In function `print_one_catch_syscall':
/home/teawater/gdb/bgdb/gdb/../../src/gdb/breakpoint.c:4989: undefined
reference to `get_syscall_by_number'
libgdb.a(breakpoint.o): In function `catch_syscall_command_1':
/home/teawater/gdb/bgdb/gdb/../../src/gdb/breakpoint.c:7219: undefined
reference to `get_syscall_by_number'
libgdb.a(breakpoint.o): In function `catch_syscall_split_args':
/home/teawater/gdb/bgdb/gdb/../../src/gdb/breakpoint.c:7166: undefined
reference to `get_syscall_by_number'
/home/teawater/gdb/bgdb/gdb/../../src/gdb/breakpoint.c:7180: undefined
reference to `get_syscall_by_name'
collect2: ld returned 1 exit status
make[2]: *** [gdb] Error 1
I386-linux ubuntu.
Thanks,
Hui
2009/4/23 Sérgio Durigan Júnior <sergiodj@linux.vnet.ibm.com>:
> Hello GDB hackers,
>
> Here goes my fifth attempt to get this patch accepted :-). I believe
> that everything will be fine this time, and the catch syscall feature
> will finally appear in GDB 7!
>
> Things that have changed since the last attempt:
>
> - In the documentation part:
>
> http://sourceware.org/ml/gdb-patches/2009-01/msg00492.html (from Eli)
>
> http://sourceware.org/ml/gdb-patches/2009-02/msg00013.html (from Daniel)
>
> - As for the XML support:
>
> http://sourceware.org/ml/gdb-patches/2009-01/msg00495.html (from Pierre)
>
> http://sourceware.org/ml/gdb-patches/2009-02/msg00012.html (from Daniel)
>
> - Regarding the source-code:
>
> http://sourceware.org/ml/gdb-patches/2009-01/msg00489.html (from Pedro)
>
> http://sourceware.org/ml/gdb-patches/2009-02/msg00010.html (from Daniel)
>
>
> There are other small comments that I have addressed while doing this,
> and other replies to the comments above that I didn't paste. Please, let
> me know if something is wrong/missing.
>
> There's one thing worth mentioning: this patch implements the command
> "maint set data-directory", which is already implemented by one of
> Tromey's pretty-printing patches. If Tromey's patches are accepted
> first, then I can (need) modify my patch in order to use his version of
> the command
>
> Regards,
>
> --
> Sérgio Durigan Júnior
> Linux on Power Toolchain - Software Engineer
> Linux Technology Center - LTC
> IBM Brazil
>
>