public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-jankratochvil-entryval: self verbose
@ 2011-07-08 12:58 jkratoch
  0 siblings, 0 replies; only message in thread
From: jkratoch @ 2011-07-08 12:58 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-entryval has been updated
       via  6fbcc79ad9b4076c93d4d9c660d654eb977da02f (commit)
      from  51724a0811f5f9d17ca70322c2cb3bd374684786 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 6fbcc79ad9b4076c93d4d9c660d654eb977da02f
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Jul 8 14:58:09 2011 +0200

    self verbose

-----------------------------------------------------------------------

Summary of changes:
 gdb/dwarf2loc.c                              |   15 ++++++++++-----
 gdb/testsuite/gdb.arch/amd64-entry-value.exp |    4 ++++
 2 files changed, 14 insertions(+), 5 deletions(-)

First 500 lines of diff:
diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c
index 112c5e5..ed42b5d 100644
--- a/gdb/dwarf2loc.c
+++ b/gdb/dwarf2loc.c
@@ -403,7 +403,7 @@ addr_to_func_specific (struct gdbarch *gdbarch, CORE_ADDR addr)
   if (! specific->tail_call_list_complete)
     throw_error (NOT_FOUND_ERROR,
 		 _("DW_TAG_GNU_call_site resolving has found "
-		   "function %s at %s which does not have complete list "
+		   "function \"%s\" at %s which does not have complete list "
 		   "of DW_AT_GNU_tail_call entries"),
 		 SYMBOL_PRINT_NAME (sym), paddress (gdbarch, addr));
 
@@ -468,9 +468,9 @@ func_verify_no_selftailcall (struct gdbarch *gdbarch, CORE_ADDR verify_addr)
 	      struct minimal_symbol *msym;
 	      
 	      msym = lookup_minimal_symbol_by_pc (verify_addr);
-	      throw_error (NOT_FOUND_ERROR,
-			   _("DW_OP_GNU_entry_value resolving has found "
-			     "function %s at %s can call itself via tail calls"),
+	      throw_error (NOT_FOUND_ERROR, _("DW_OP_GNU_entry_value resolving "
+					      "has found function \"%s\" at %s "
+					      "can call itself via tail calls"),
 			   ! msym ? "???" : SYMBOL_PRINT_NAME (msym),
 			   paddress (gdbarch, verify_addr));
 	    }
@@ -781,7 +781,12 @@ call_site_find_chain (struct gdbarch *gdbarch, CORE_ADDR caller_pc,
   if (e.reason < 0)
     {
       if (e.error == NOT_FOUND_ERROR)
-	return NULL;
+	{
+	  if (info_verbose)
+	    exception_print (gdb_stdout, e);
+
+	  return NULL;
+	}
       else
 	throw_exception (e);
     }
diff --git a/gdb/testsuite/gdb.arch/amd64-entry-value.exp b/gdb/testsuite/gdb.arch/amd64-entry-value.exp
index 22a6f04..8905acf 100644
--- a/gdb/testsuite/gdb.arch/amd64-entry-value.exp
+++ b/gdb/testsuite/gdb.arch/amd64-entry-value.exp
@@ -85,3 +85,7 @@ gdb_continue_to_breakpoint "self: breakhere"
 # #2  0x0000000000400406 in main () at gdb.arch/amd64-entry-value.c:124
 gdb_test "bt" "^bt\r\n#0 +d \\(i=<optimized out>\\)\[^\r\n\]*\r\n#1 +0x\[0-9a-f\]+ in self \\(i=<optimized out>\\)\[^\r\n\]*\r\n#2 +0x\[0-9a-f\]+ in main \\(\\)\[^\r\n\]*" \
 	 "self: bt"
+
+gdb_test_no_output "set verbose on"
+gdb_test "bt" "DW_OP_GNU_entry_value resolving has found function \"self\" at 0x\[0-9a-f\]+ can call itself via tail calls\r\n.*" \
+	 "self: bt verbose"


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-07-08 12:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-08 12:58 [SCM] archer-jankratochvil-entryval: self verbose jkratoch

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).