Re: Get build error
Keith Seitz <[email protected]>
| Newsgroups | gmane.comp.debugging.insight |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> * generic/gdbtk-hooks.c (gdbtk_annotate_signal): Update to reflect recnet thread_info changes.
stop_signal-update.patch
(text/plain, 1.1 KB)
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 <[email protected]> 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);