Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: dje@google.com (Doug Evans)
To: gdb-patches@sourceware.org
Cc: karen.osmond@gmail.com
Subject: [RFA]: Update psymtab.exp for change in not found method handling
Date: Fri, 26 Jun 2009 05:31:00 -0000	[thread overview]
Message-ID: <20090626053123.103B7846C7@localhost> (raw)

Hi.

psymtab.exp is failing now (amd64-linux).

2009-06-25  Karen Osmond  <karen.osmond@gmail.com>

	* linespec.c (find_method): Add new not_found_ptr parameter to
	bring in line with symtab_from_filename, decode_variable.
	(decode_compound): Likewise.  Also propagate not_found_ptr to 
	find_method.
	(decode_line_1): Propagate not_found_ptr to decode_compound.
	(cplusplus_error): Now throws NOT_FOUND_ERROR.

gdb now prompts for whether to set pending method breakpoints
and psymtab.exp isn't expecting this.

ok to check in?

2009-06-25  Doug Evans  <dje@google.com>

	* gdb.base/psymtab.exp: Turn off pending breakpoints.

Index: psymtab.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/psymtab.exp,v
retrieving revision 1.7
diff -u -p -r1.7 psymtab.exp
--- psymtab.exp	3 Jan 2009 05:58:03 -0000	1.7
+++ psymtab.exp	26 Jun 2009 05:18:25 -0000
@@ -61,6 +61,11 @@ gdb_start
 gdb_reinitialize_dir $srcdir/$subdir
 gdb_load ${binfile}
 
+# Disable the prompt for whether to set pending breakpoints.
+# We don't want a breakpoint, we just want to verify the breakpoint
+# isn't found.
+gdb_test "set breakpoint pending off" "" "psymtab pending setup"
+
 # This test is looking for a bug that manifested itself when GDB was
 # looking for a partial symbol such that there wasn't such a partial
 # symbol in the psymtab, but such that the last psym in the psymtab


             reply	other threads:[~2009-06-26  5:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-26  5:31 Doug Evans [this message]
2009-06-26 14:55 ` Pedro Alves

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090626053123.103B7846C7@localhost \
    --to=dje@google.com \
    --cc=gdb-patches@sourceware.org \
    --cc=karen.osmond@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox