public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* RE: [off-list] Regressions introduced by MPX bound table patch
       [not found] <558AF059.3000809@redhat.com>
@ 2015-06-25  7:40 ` Tedeschi, Walfred
  0 siblings, 0 replies; only message in thread
From: Tedeschi, Walfred @ 2015-06-25  7:40 UTC (permalink / raw)
  To: Keith Seitz; +Cc: gdb-patches

Keith,

I will investigate that by today and tomorrow. Those days we had other issues here, I couldn't follow up on the list.

Thanks for the heads up! 

Best regards,
-Fred

-----Original Message-----
From: Keith Seitz [mailto:keiths@redhat.com] 
Sent: Wednesday, June 24, 2015 8:01 PM
To: Tedeschi, Walfred
Subject: [off-list] Regressions introduced by MPX bound table patch

Hi,

I don't know if you've followed gdb-patches in the last day or so, but with 7.10 branching soon, people are starting to investigate regressions.

The following commit introduced a regression:

  commit 29c1c24429a099eca297080dba56a8c090e3136a
  Author: Walfred Tedeschi <walfred.tedeschi@intel.com>
  Date:   Tue Jun 9 15:27:02 2015 +0200

      Add support for bound table in the Intel MPX context.
  [snip]

The problem is that when this feature is not supported, i386_mpx_info_bounds calls error(). This has the unfortunate side effect of aborting the call to "info set" tested in default.exp:

(gdb) info set
[snip]
mipsfpu:  The MIPS floating-point coprocessor is unknown because the current architecture is not MIPS.
monitor-prompt:  The prompt that GDB expects from the monitor is "".
monitor-warnings:  Printing of monitor warnings is 0.
mpx bound:  Intel(R) Memory Protection Extensions not supported on this target.
(gdb)

As you can see, "mpx bound" truncated the output, which should end:
[snip]
user:  verbose:  Verbosity is off.
watchdog:  Watchdog timer is 0.
width:  Number of characters gdb thinks are in a line is 80.
write:  Writing into executable and core files is off.
(gdb)

There is further discussion/proposals in the thread:
https://sourceware.org/ml/gdb-patches/2015-06/msg00495.html

Keith
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Christian Lamprechter, Hannes Schwaderer, Douglas Lusk
Registergericht: Muenchen HRB 47456
Ust.-IdNr./VAT Registration No.: DE129385895
Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-06-25  7:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <558AF059.3000809@redhat.com>
2015-06-25  7:40 ` [off-list] Regressions introduced by MPX bound table patch Tedeschi, Walfred

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).