This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] examine for TYPE_CODE_REF (PR 11349)


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]