This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] examine for TYPE_CODE_REF (PR 11349)
- From: Tom Tromey <tromey at redhat dot com>
- To: "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>
- Cc: <gdb-patches at sourceware dot org>
- Date: Mon, 03 May 2010 11:40:05 -0600
- Subject: Re: [RFA] examine for TYPE_CODE_REF (PR 11349)
- References: <17731.9300863475$1272644394@news.gmane.org> <m3y6g4zxkr.fsf@fleche.redhat.com> <000c01caea4b$4ef18ba0$ecd4a2e0$@muller@ics-cnrs.unistra.fr>
- Reply-to: Tom Tromey <tromey at redhat dot com>
>>>>> "Pierre" == Pierre Muller <pierre.muller@ics-cnrs.unistra.fr> writes:
Pierre> +send_gdb "x /hd rps\n"
Pierre> +gdb_expect {
Pierre> + -re ".* -1.*$gdb_prompt $" {
Pierre> + pass "examine value at rps"
Pierre> + }
Pierre> + -re ".*$gdb_prompt $" { fail "examine value at rps" }
Pierre> + timeout { fail "(timeout) examine value at rps" }
Pierre> + }
Pierre> +
These days we're trying to use gdb_test rather than send_gdb.
The patch is ok with that change.
Tom