* Get build error
@ 2010-11-30 13:05 Hui Zhu
2010-12-02 2:15 ` Hui Zhu
0 siblings, 1 reply; 4+ messages in thread
From: Hui Zhu @ 2010-11-30 13:05 UTC (permalink / raw)
To: insight
gcc -g -O2 -I. -I../../src/gdb -I../../src/gdb/common
-I../../src/gdb/config -DLOCALEDIR="\"/usr/local/share/locale\""
-DHAVE_CONFIG_H -I../../src/gdb/../include/opcode
-I../../src/gdb/../opcodes/.. -I../../src/gdb/../readline/.. -I../bfd
-I../../src/gdb/../bfd -I../../src/gdb/../include -I../libdecnumber
-I../../src/gdb/../libdecnumber -I../../src/gdb/gnulib -Ignulib
-DMI_OUT=1 -DTUI=1 -DGDBTK -Wall -Wdeclaration-after-statement
-Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused
-Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts
-Werror -c -o gdbtk-hooks.o -MT gdbtk-hooks.o -MMD -MP -MF
.deps/gdbtk-hooks.Tpo -I../../src/gdb/../libgui/src
-I/home/teawater/gdb/cvs/src/tcl/generic
-I/home/teawater/gdb/cvs/src/tk/generic
-DGDBTK_LIBRARY=\"/usr/local/share/insight1.0\"
-DSRC_DIR=\"/home/teawater/gdb/cvs/src/gdb\"
../../src/gdb/gdbtk/generic/gdbtk-hooks.c
../../src/gdb/gdbtk/generic/gdbtk-hooks.c: In function 'gdbtk_annotate_signal':
../../src/gdb/gdbtk/generic/gdbtk-hooks.c:811: error: 'struct
thread_info' has no member named 'stop_signal'
../../src/gdb/gdbtk/generic/gdbtk-hooks.c:812: error: 'struct
thread_info' has no member named 'stop_signal'
make[2]: *** [gdbtk-hooks.o] Error 1
make[2]: Leaving directory `/home/teawater/gdb/cvs/ba/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/home/teawater/gdb/cvs/ba'
make: *** [all] Error 2
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Get build error
2010-11-30 13:05 Get build error Hui Zhu
@ 2010-12-02 2:15 ` Hui Zhu
2010-12-02 2:33 ` Keith Seitz
0 siblings, 1 reply; 4+ messages in thread
From: Hui Zhu @ 2010-12-02 2:15 UTC (permalink / raw)
To: insight
Ping.
On Tue, Nov 30, 2010 at 21:04, Hui Zhu <teawater@gmail.com> wrote:
> gcc -g -O2 -I. -I../../src/gdb -I../../src/gdb/common
> -I../../src/gdb/config -DLOCALEDIR="\"/usr/local/share/locale\""
> -DHAVE_CONFIG_H -I../../src/gdb/../include/opcode
> -I../../src/gdb/../opcodes/.. -I../../src/gdb/../readline/.. -I../bfd
> -I../../src/gdb/../bfd -I../../src/gdb/../include -I../libdecnumber
> -I../../src/gdb/../libdecnumber -I../../src/gdb/gnulib -Ignulib
> -DMI_OUT=1 -DTUI=1 -DGDBTK -Wall -Wdeclaration-after-statement
> -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused
> -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts
> -Werror -c -o gdbtk-hooks.o -MT gdbtk-hooks.o -MMD -MP -MF
> .deps/gdbtk-hooks.Tpo -I../../src/gdb/../libgui/src
> -I/home/teawater/gdb/cvs/src/tcl/generic
> -I/home/teawater/gdb/cvs/src/tk/generic
> -DGDBTK_LIBRARY=\"/usr/local/share/insight1.0\"
> -DSRC_DIR=\"/home/teawater/gdb/cvs/src/gdb\"
> ../../src/gdb/gdbtk/generic/gdbtk-hooks.c
> ../../src/gdb/gdbtk/generic/gdbtk-hooks.c: In function 'gdbtk_annotate_signal':
> ../../src/gdb/gdbtk/generic/gdbtk-hooks.c:811: error: 'struct
> thread_info' has no member named 'stop_signal'
> ../../src/gdb/gdbtk/generic/gdbtk-hooks.c:812: error: 'struct
> thread_info' has no member named 'stop_signal'
> make[2]: *** [gdbtk-hooks.o] Error 1
> make[2]: Leaving directory `/home/teawater/gdb/cvs/ba/gdb'
> make[1]: *** [all-gdb] Error 2
> make[1]: Leaving directory `/home/teawater/gdb/cvs/ba'
> make: *** [all] Error 2
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Get build error
2010-12-02 2:15 ` Hui Zhu
@ 2010-12-02 2:33 ` Keith Seitz
2010-12-02 8:25 ` Hui Zhu
0 siblings, 1 reply; 4+ messages in thread
From: Keith Seitz @ 2010-12-02 2:33 UTC (permalink / raw)
To: Hui Zhu; +Cc: insight
[-- Attachment #1: Type: text/plain, Size: 301 bytes --]
On 12/01/2010 06:15 PM, Hui Zhu wrote:
> Ping.
Thank you for reminding me... I've committed the following patch to fix
this.
Keith
ChangeLog
2010-12-01 Keith Seitz <keiths@valrhona.uglyboxes.com>
* generic/gdbtk-hooks.c (gdbtk_annotate_signal): Update to reflect
recnet thread_info changes.
[-- Attachment #2: stop_signal-update.patch --]
[-- Type: text/plain, Size: 1130 bytes --]
Index: generic/gdbtk-hooks.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-hooks.c,v
retrieving revision 1.50
diff -u -p -r1.50 gdbtk-hooks.c
--- generic/gdbtk-hooks.c 2 Dec 2009 19:29:42 -0000 1.50
+++ generic/gdbtk-hooks.c 2 Dec 2010 02:33:04 -0000
@@ -1,7 +1,7 @@
/* Startup code for Insight.
- Copyright (C) 1994, 1995, 1996, 1997, 1998, 2000, 200, 2002, 2003, 2004, 2008
- Free Software Foundation, Inc.
+ Copyright (C) 1994, 1995, 1996, 1997, 1998, 2000, 200, 2002, 2003, 2004,
+ 2008, 2010 Free Software Foundation, Inc.
Written by Stu Grossman <grossman@cygnus.com> of Cygnus Support.
@@ -808,8 +808,8 @@ gdbtk_annotate_signal (void)
Tcl_Eval (gdbtk_interp, "gdbtk_stop_idle_callback");
buf = xstrprintf ("gdbtk_signal %s {%s}",
- target_signal_to_name (tp->stop_signal),
- target_signal_to_string (tp->stop_signal));
+ target_signal_to_name (tp->suspend.stop_signal),
+ target_signal_to_string (tp->suspend.stop_signal));
if (Tcl_Eval (gdbtk_interp, buf) != TCL_OK)
report_error ();
free(buf);
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Get build error
2010-12-02 2:33 ` Keith Seitz
@ 2010-12-02 8:25 ` Hui Zhu
0 siblings, 0 replies; 4+ messages in thread
From: Hui Zhu @ 2010-12-02 8:25 UTC (permalink / raw)
To: Keith Seitz; +Cc: insight
It's OK now. Thanks Keith.
Best,
Hui
On Thu, Dec 2, 2010 at 10:28, Keith Seitz <keiths@redhat.com> wrote:
> On 12/01/2010 06:15 PM, Hui Zhu wrote:
>>
>> Ping.
>
> Thank you for reminding me... I've committed the following patch to fix
> this.
>
> Keith
>
> ChangeLog
> 2010-12-01 Keith Seitz <keiths@valrhona.uglyboxes.com>
>
> * generic/gdbtk-hooks.c (gdbtk_annotate_signal): Update to reflect
> recnet thread_info changes.
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-12-02 8:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-30 13:05 Get build error Hui Zhu
2010-12-02 2:15 ` Hui Zhu
2010-12-02 2:33 ` Keith Seitz
2010-12-02 8:25 ` Hui Zhu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).