diff mbox

libgo patch committed: Update for libbacktrace change

Message ID mcrob5gh1tn.fsf@iant-glaptop.roam.corp.google.com
State New
Headers show

Commit Message

Ian Lance Taylor Nov. 19, 2013, 3:02 p.m. UTC
This patch to libgo updates the use of the libbacktrace library for the
recent addition of a size argument to the syminfo callback.
Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu.
Committed to mainline.

Ian
diff mbox

Patch

diff -r 923fd178d72b libgo/runtime/go-caller.c
--- a/libgo/runtime/go-caller.c	Tue Nov 19 06:58:17 2013 -0800
+++ b/libgo/runtime/go-caller.c	Tue Nov 19 07:00:09 2013 -0800
@@ -135,7 +135,7 @@ 
 static void
 syminfo_callback (void *data, uintptr_t pc __attribute__ ((unused)),
 		  const char *symname __attribute__ ((unused)),
-		  uintptr_t address)
+		  uintptr_t address, uintptr_t size __attribute__ ((unused)))
 {
   uintptr_t *pval = (uintptr_t *) data;