This is the mail archive of the gdb@sources.redhat.com 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]

FAIL: gdb.base/finish.exp: finish from char_func


Hi Michael,

Running the testsuite on i586-pc-linux-gnu gives me the following failure:

   FAIL: gdb.base/finish.exp: finish from char_func

From the .log file I see that the output is:

   Value returned is $1 = 49 '1'^M

which looks OK to me.  But in finish.exp there is the following
regular expression:

   ".*Value returned is .* = 1 '.001'\r\n$gdb_prompt $"

which I don't understand at all.  I would expect something like:

   ".*Value returned is .* = \[0123456789\]* '1'\r\n$gdb_prompt $"

(since you wouldn't want to assume that the character set in use is
ASCII).

What's up?

Mark

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