This is the mail archive of the gdb-patches@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]
Other format: [Raw text]

Re: [RFA] new test for separate debug info


eza> What happens is that gdb_load errors out and calls perror, then
eza> returns 1.  All I have done is wrap gdb_load in a check for a 1 return
eza> value.

Here's the part that's confusing me.  Your gdb_load wrapper
says "if [gdb_load ...] { unsupported ...}", but your gdb.sum
file says "# of unresolved test cases: 1".  The call to "unsupported"
doesn't fit the result of "unresolved"!

eza> The alternative is to alter the gdb_load (or whatever gets
eza> caled from it) to recognize that error and do something specific, but
eza> I thought that was too ad hoc a behavior for a generic procedure.

Ah, okay.

Michael C


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