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]

Re: [RFA] Fix for gdb-gnats bug #14


Hi John,

As I understand it, HP and Cygnus did a lot of gdb development on a branch
and then contributed big blocks of it back to the FSF code base.  I wasn't
around at the time, so maybe somebody who was can comment on the history.

This looks like someone was merging an HP chunk and saw that it was
different from the baseline.  So they took the HP version and wrapped
it in a test for 'istarget "hppa*-hp-hpux*"' test.

But the hpux version is right (for all platforms) and the non-hpux
version is wrong (for all platforms).

> (and besides, I didn't have an hpux to try it out on).

I don't have access to an hpux at the moment either.  :(  But I do have
recent log files from a Red Hat project.  Here are excerpts:

  # hppa1.1-hp-hpux10.20 native
  (gdb) PASS: gdb.base/commands.exp: commands in infrun_breakpoint_command_test #2
  continue^M
  Continuing.^M
  ^M
  Breakpoint 7, factorial (value=5) at ***/run.c:77^M
  77          if (value > 1) {^M
  78              value *= factorial (value - 1);^M
  (gdb) PASS: gdb.base/commands.exp: continue in infrun_breakpoint_command_test

  # solaris 2.6 native
  (gdb) PASS: gdb.base/commands.exp: commands in infrun_breakpoint_command_test #2
  continue^M
  Continuing.^M
  ^M
  Breakpoint 7, factorial (value=5) at ***/run.c:77^M
  77          if (value > 1) {^M
  78              value *= factorial (value - 1);^M
  (gdb) FAIL: gdb.base/commands.exp: continue in infrun_breakpoint_command_test

> I see no big deal (do more work) to eliminate the hpux exception.

That would be great.  If my archeological theory is right, you would be
resolving a merge item that never got completely merged.

Michael


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