Remove trademark acknowledgements throughout
The GNU Coding Standards say: "Please do not include any trademark acknowledgements in GNU software packages or documentation." gdb/ChangeLog: 2016-01-12 Pedro Alves <palves@redhat.com> Remove use of the registered trademark symbol throughout. gdb/gdbserver/ChangeLog: 2016-01-12 Pedro Alves <palves@redhat.com> Remove use of the registered trademark symbol throughout. gdb/doc/ChangeLog: 2016-01-12 Pedro Alves <palves@redhat.com> Remove use of the registered trademark symbol throughout.
This commit is contained in:
parent
cde67b27d6
commit
bc504a3117
18 changed files with 79 additions and 66 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2016-01-12 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
|
Remove use of the registered trademark symbol throughout.
|
||||||
|
|
||||||
2016-01-12 Thomas Schwinge <thomas@codesourcery.com>
|
2016-01-12 Thomas Schwinge <thomas@codesourcery.com>
|
||||||
|
|
||||||
* reply_mig_hack.awk: Rewrite one regular expression.
|
* reply_mig_hack.awk: Rewrite one regular expression.
|
||||||
|
|
|
@ -548,7 +548,7 @@
|
||||||
|
|
||||||
2013-12-03 Walfred Tedeschi <walfred.tedeschi@intel.com>
|
2013-12-03 Walfred Tedeschi <walfred.tedeschi@intel.com>
|
||||||
|
|
||||||
* NEWS: Add section for Intel(R) Architecture Instructions
|
* NEWS: Add section for Intel Architecture Instructions
|
||||||
Extesions mentioning MPX.
|
Extesions mentioning MPX.
|
||||||
|
|
||||||
2013-12-03 Joel Brobecker <brobecker@adacore.com>
|
2013-12-03 Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
20
gdb/NEWS
20
gdb/NEWS
|
@ -8,7 +8,7 @@
|
||||||
* Support for tracepoints on aarch64-linux was added in GDBserver.
|
* Support for tracepoints on aarch64-linux was added in GDBserver.
|
||||||
|
|
||||||
* The 'record instruction-history' command now indicates speculative execution
|
* The 'record instruction-history' command now indicates speculative execution
|
||||||
when using the Intel(R) Processor Trace recording format.
|
when using the Intel Processor Trace recording format.
|
||||||
|
|
||||||
* GDB now allows users to specify explicit locations, bypassing
|
* GDB now allows users to specify explicit locations, bypassing
|
||||||
the linespec parser. This feature is also available to GDB/MI
|
the linespec parser. This feature is also available to GDB/MI
|
||||||
|
@ -257,11 +257,11 @@ tui disable
|
||||||
|
|
||||||
show mpx bound
|
show mpx bound
|
||||||
set mpx bound on i386 and amd64
|
set mpx bound on i386 and amd64
|
||||||
Support for bound table investigation on Intel(R) MPX enabled applications.
|
Support for bound table investigation on Intel MPX enabled applications.
|
||||||
|
|
||||||
record btrace pt
|
record btrace pt
|
||||||
record pt
|
record pt
|
||||||
Start branch trace recording using Intel(R) Processor Trace format.
|
Start branch trace recording using Intel Processor Trace format.
|
||||||
|
|
||||||
maint info btrace
|
maint info btrace
|
||||||
Print information about branch tracing internals.
|
Print information about branch tracing internals.
|
||||||
|
@ -329,7 +329,7 @@ show debug linux-namespaces
|
||||||
|
|
||||||
set|show record btrace pt buffer-size
|
set|show record btrace pt buffer-size
|
||||||
Set and show the size of the ring buffer used for branch tracing in
|
Set and show the size of the ring buffer used for branch tracing in
|
||||||
Intel(R) Processor Trace format.
|
Intel Processor Trace format.
|
||||||
The obtained size may differ from the requested size. Use "info
|
The obtained size may differ from the requested size. Use "info
|
||||||
record" to see the obtained buffer size.
|
record" to see the obtained buffer size.
|
||||||
|
|
||||||
|
@ -354,12 +354,12 @@ Qbtrace-conf:bts:size
|
||||||
Set the requested ring buffer size for branch tracing in BTS format.
|
Set the requested ring buffer size for branch tracing in BTS format.
|
||||||
|
|
||||||
Qbtrace:pt
|
Qbtrace:pt
|
||||||
Enable Intel(R) Procesor Trace-based branch tracing for the current
|
Enable Intel Procesor Trace-based branch tracing for the current
|
||||||
process. The remote stub reports support for this packet to GDB's
|
process. The remote stub reports support for this packet to GDB's
|
||||||
qSupported query.
|
qSupported query.
|
||||||
|
|
||||||
Qbtrace-conf:pt:size
|
Qbtrace-conf:pt:size
|
||||||
Set the requested ring buffer size for branch tracing in Intel(R) Processor
|
Set the requested ring buffer size for branch tracing in Intel Processor
|
||||||
Trace format.
|
Trace format.
|
||||||
|
|
||||||
swbreak stop reason
|
swbreak stop reason
|
||||||
|
@ -433,7 +433,7 @@ Itanium running HP-UX ia64-*-hpux*
|
||||||
|
|
||||||
--with-intel-pt
|
--with-intel-pt
|
||||||
This configure option allows the user to build GDB with support for
|
This configure option allows the user to build GDB with support for
|
||||||
Intel(R) Processor Trace (default: auto). This requires libipt.
|
Intel Processor Trace (default: auto). This requires libipt.
|
||||||
|
|
||||||
--with-libipt-prefix=PATH
|
--with-libipt-prefix=PATH
|
||||||
Specify the path to the version of libipt that GDB should use.
|
Specify the path to the version of libipt that GDB should use.
|
||||||
|
@ -705,10 +705,10 @@ show mi-async
|
||||||
can be used to launch native programs even when "set
|
can be used to launch native programs even when "set
|
||||||
auto-connect-native-target" is set to off.
|
auto-connect-native-target" is set to off.
|
||||||
|
|
||||||
* GDB now supports access to Intel(R) MPX registers on GNU/Linux.
|
* GDB now supports access to Intel MPX registers on GNU/Linux.
|
||||||
|
|
||||||
* Support for Intel(R) AVX-512 registers on GNU/Linux.
|
* Support for Intel AVX-512 registers on GNU/Linux.
|
||||||
Support displaying and modifying Intel(R) AVX-512 registers
|
Support displaying and modifying Intel AVX-512 registers
|
||||||
$zmm0 - $zmm31 and $k0 - $k7 on GNU/Linux.
|
$zmm0 - $zmm31 and $k0 - $k7 on GNU/Linux.
|
||||||
|
|
||||||
* New remote packets
|
* New remote packets
|
||||||
|
|
27
gdb/btrace.c
27
gdb/btrace.c
|
@ -763,7 +763,7 @@ ftrace_add_pt (struct pt_insn_decoder *decoder,
|
||||||
if (errcode < 0)
|
if (errcode < 0)
|
||||||
{
|
{
|
||||||
if (errcode != -pte_eos)
|
if (errcode != -pte_eos)
|
||||||
warning (_("Failed to synchronize onto the Intel(R) Processor "
|
warning (_("Failed to synchronize onto the Intel Processor "
|
||||||
"Trace stream: %s."), pt_errstr (pt_errcode (errcode)));
|
"Trace stream: %s."), pt_errstr (pt_errcode (errcode)));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -821,7 +821,7 @@ ftrace_add_pt (struct pt_insn_decoder *decoder,
|
||||||
|
|
||||||
pt_insn_get_offset (decoder, &offset);
|
pt_insn_get_offset (decoder, &offset);
|
||||||
|
|
||||||
warning (_("Failed to decode Intel(R) Processor Trace near trace "
|
warning (_("Failed to decode Intel Processor Trace near trace "
|
||||||
"offset 0x%" PRIx64 " near recorded PC 0x%" PRIx64 ": %s."),
|
"offset 0x%" PRIx64 " near recorded PC 0x%" PRIx64 ": %s."),
|
||||||
offset, insn.ip, pt_errstr (pt_errcode (errcode)));
|
offset, insn.ip, pt_errstr (pt_errcode (errcode)));
|
||||||
|
|
||||||
|
@ -894,7 +894,8 @@ static void btrace_finalize_ftrace_pt (struct pt_insn_decoder *decoder,
|
||||||
btrace_add_pc (tp);
|
btrace_add_pc (tp);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Compute the function branch trace from Intel(R) Processor Trace. */
|
/* Compute the function branch trace from Intel Processor Trace
|
||||||
|
format. */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
btrace_compute_ftrace_pt (struct thread_info *tp,
|
btrace_compute_ftrace_pt (struct thread_info *tp,
|
||||||
|
@ -922,12 +923,12 @@ btrace_compute_ftrace_pt (struct thread_info *tp,
|
||||||
|
|
||||||
errcode = pt_cpu_errata (&config.errata, &config.cpu);
|
errcode = pt_cpu_errata (&config.errata, &config.cpu);
|
||||||
if (errcode < 0)
|
if (errcode < 0)
|
||||||
error (_("Failed to configure the Intel(R) Processor Trace decoder: %s."),
|
error (_("Failed to configure the Intel Processor Trace decoder: %s."),
|
||||||
pt_errstr (pt_errcode (errcode)));
|
pt_errstr (pt_errcode (errcode)));
|
||||||
|
|
||||||
decoder = pt_insn_alloc_decoder (&config);
|
decoder = pt_insn_alloc_decoder (&config);
|
||||||
if (decoder == NULL)
|
if (decoder == NULL)
|
||||||
error (_("Failed to allocate the Intel(R) Processor Trace decoder."));
|
error (_("Failed to allocate the Intel Processor Trace decoder."));
|
||||||
|
|
||||||
TRY
|
TRY
|
||||||
{
|
{
|
||||||
|
@ -935,11 +936,11 @@ btrace_compute_ftrace_pt (struct thread_info *tp,
|
||||||
|
|
||||||
image = pt_insn_get_image(decoder);
|
image = pt_insn_get_image(decoder);
|
||||||
if (image == NULL)
|
if (image == NULL)
|
||||||
error (_("Failed to configure the Intel(R) Processor Trace decoder."));
|
error (_("Failed to configure the Intel Processor Trace decoder."));
|
||||||
|
|
||||||
errcode = pt_image_set_callback(image, btrace_pt_readmem_callback, NULL);
|
errcode = pt_image_set_callback(image, btrace_pt_readmem_callback, NULL);
|
||||||
if (errcode < 0)
|
if (errcode < 0)
|
||||||
error (_("Failed to configure the Intel(R) Processor Trace decoder: "
|
error (_("Failed to configure the Intel Processor Trace decoder: "
|
||||||
"%s."), pt_errstr (pt_errcode (errcode)));
|
"%s."), pt_errstr (pt_errcode (errcode)));
|
||||||
|
|
||||||
ftrace_add_pt (decoder, &btinfo->begin, &btinfo->end, &level,
|
ftrace_add_pt (decoder, &btinfo->begin, &btinfo->end, &level,
|
||||||
|
@ -1038,7 +1039,7 @@ btrace_enable (struct thread_info *tp, const struct btrace_config *conf)
|
||||||
|
|
||||||
#if !defined (HAVE_LIBIPT)
|
#if !defined (HAVE_LIBIPT)
|
||||||
if (conf->format == BTRACE_FORMAT_PT)
|
if (conf->format == BTRACE_FORMAT_PT)
|
||||||
error (_("GDB does not support Intel(R) Processor Trace."));
|
error (_("GDB does not support Intel Processor Trace."));
|
||||||
#endif /* !defined (HAVE_LIBIPT) */
|
#endif /* !defined (HAVE_LIBIPT) */
|
||||||
|
|
||||||
if (!target_supports_btrace (conf->format))
|
if (!target_supports_btrace (conf->format))
|
||||||
|
@ -2443,7 +2444,7 @@ btrace_maint_decode_pt (struct btrace_maint_info *maint,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (errcode != -pte_eos)
|
if (errcode != -pte_eos)
|
||||||
warning (_("Failed to synchronize onto the Intel(R) Processor Trace "
|
warning (_("Failed to synchronize onto the Intel Processor Trace "
|
||||||
"stream: %s."), pt_errstr (pt_errcode (errcode)));
|
"stream: %s."), pt_errstr (pt_errcode (errcode)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2477,12 +2478,12 @@ btrace_maint_update_pt_packets (struct btrace_thread_info *btinfo)
|
||||||
|
|
||||||
errcode = pt_cpu_errata (&config.errata, &config.cpu);
|
errcode = pt_cpu_errata (&config.errata, &config.cpu);
|
||||||
if (errcode < 0)
|
if (errcode < 0)
|
||||||
error (_("Failed to configure the Intel(R) Processor Trace decoder: %s."),
|
error (_("Failed to configure the Intel Processor Trace decoder: %s."),
|
||||||
pt_errstr (pt_errcode (errcode)));
|
pt_errstr (pt_errcode (errcode)));
|
||||||
|
|
||||||
decoder = pt_pkt_alloc_decoder (&config);
|
decoder = pt_pkt_alloc_decoder (&config);
|
||||||
if (decoder == NULL)
|
if (decoder == NULL)
|
||||||
error (_("Failed to allocate the Intel(R) Processor Trace decoder."));
|
error (_("Failed to allocate the Intel Processor Trace decoder."));
|
||||||
|
|
||||||
TRY
|
TRY
|
||||||
{
|
{
|
||||||
|
@ -2933,7 +2934,7 @@ Set branch tracing specific variables."),
|
||||||
0, &maintenance_set_cmdlist);
|
0, &maintenance_set_cmdlist);
|
||||||
|
|
||||||
add_prefix_cmd ("pt", class_maintenance, maint_btrace_pt_set_cmd, _("\
|
add_prefix_cmd ("pt", class_maintenance, maint_btrace_pt_set_cmd, _("\
|
||||||
Set Intel(R) Processor Trace specific variables."),
|
Set Intel Processor Trace specific variables."),
|
||||||
&maint_btrace_pt_set_cmdlist, "maintenance set btrace pt ",
|
&maint_btrace_pt_set_cmdlist, "maintenance set btrace pt ",
|
||||||
0, &maint_btrace_set_cmdlist);
|
0, &maint_btrace_set_cmdlist);
|
||||||
|
|
||||||
|
@ -2943,7 +2944,7 @@ Show branch tracing specific variables."),
|
||||||
0, &maintenance_show_cmdlist);
|
0, &maintenance_show_cmdlist);
|
||||||
|
|
||||||
add_prefix_cmd ("pt", class_maintenance, maint_btrace_pt_show_cmd, _("\
|
add_prefix_cmd ("pt", class_maintenance, maint_btrace_pt_show_cmd, _("\
|
||||||
Show Intel(R) Processor Trace specific variables."),
|
Show Intel Processor Trace specific variables."),
|
||||||
&maint_btrace_pt_show_cmdlist, "maintenance show btrace pt ",
|
&maint_btrace_pt_show_cmdlist, "maintenance show btrace pt ",
|
||||||
0, &maint_btrace_show_cmdlist);
|
0, &maint_btrace_show_cmdlist);
|
||||||
|
|
||||||
|
|
|
@ -114,7 +114,7 @@ enum btrace_bts_error
|
||||||
BDE_BTS_INSN_SIZE
|
BDE_BTS_INSN_SIZE
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Decode errors for the Intel(R) Processor Trace recording format. */
|
/* Decode errors for the Intel Processor Trace recording format. */
|
||||||
enum btrace_pt_error
|
enum btrace_pt_error
|
||||||
{
|
{
|
||||||
/* The user cancelled trace processing. */
|
/* The user cancelled trace processing. */
|
||||||
|
|
|
@ -35,7 +35,7 @@ btrace_format_string (enum btrace_format format)
|
||||||
return _("Branch Trace Store");
|
return _("Branch Trace Store");
|
||||||
|
|
||||||
case BTRACE_FORMAT_PT:
|
case BTRACE_FORMAT_PT:
|
||||||
return _("Intel(R) Processor Trace");
|
return _("Intel Processor Trace");
|
||||||
}
|
}
|
||||||
|
|
||||||
internal_error (__FILE__, __LINE__, _("Unknown branch trace format"));
|
internal_error (__FILE__, __LINE__, _("Unknown branch trace format"));
|
||||||
|
|
|
@ -60,7 +60,7 @@ enum btrace_format
|
||||||
Actually, the format is a sequence of blocks derived from BTS. */
|
Actually, the format is a sequence of blocks derived from BTS. */
|
||||||
BTRACE_FORMAT_BTS,
|
BTRACE_FORMAT_BTS,
|
||||||
|
|
||||||
/* Branch trace is in Intel(R) Processor Trace format. */
|
/* Branch trace is in Intel Processor Trace format. */
|
||||||
BTRACE_FORMAT_PT
|
BTRACE_FORMAT_PT
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -103,7 +103,7 @@ struct btrace_config_bts
|
||||||
unsigned int size;
|
unsigned int size;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* An Intel(R) Processor Trace configuration. */
|
/* An Intel Processor Trace configuration. */
|
||||||
|
|
||||||
struct btrace_config_pt
|
struct btrace_config_pt
|
||||||
{
|
{
|
||||||
|
@ -129,7 +129,7 @@ struct btrace_config
|
||||||
/* The BTS format configuration. */
|
/* The BTS format configuration. */
|
||||||
struct btrace_config_bts bts;
|
struct btrace_config_bts bts;
|
||||||
|
|
||||||
/* The Intel(R) Processor Trace format configuration. */
|
/* The Intel Processor Trace format configuration. */
|
||||||
struct btrace_config_pt pt;
|
struct btrace_config_pt pt;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -148,7 +148,7 @@ struct btrace_data_pt_config
|
||||||
struct btrace_cpu cpu;
|
struct btrace_cpu cpu;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Branch trace in Intel(R) Processor Trace format. */
|
/* Branch trace in Intel Processor Trace format. */
|
||||||
struct btrace_data_pt
|
struct btrace_data_pt
|
||||||
{
|
{
|
||||||
/* Some configuration information to go with the data. */
|
/* Some configuration information to go with the data. */
|
||||||
|
|
7
gdb/configure
vendored
7
gdb/configure
vendored
|
@ -1560,8 +1560,7 @@ Optional Packages:
|
||||||
(auto/yes/no/<python-program>)
|
(auto/yes/no/<python-program>)
|
||||||
--with-guile[=GUILE] include guile support
|
--with-guile[=GUILE] include guile support
|
||||||
(auto/yes/no/<guile-version>/<pkg-config-program>)
|
(auto/yes/no/<guile-version>/<pkg-config-program>)
|
||||||
--with-intel-pt include Intel(R) Processor Trace support
|
--with-intel-pt include Intel Processor Trace support (auto/yes/no)
|
||||||
(auto/yes/no)
|
|
||||||
--with-libipt-prefix[=DIR] search for libipt in DIR/include and DIR/lib
|
--with-libipt-prefix[=DIR] search for libipt in DIR/include and DIR/lib
|
||||||
--without-libipt-prefix don't search for libipt in includedir and libdir
|
--without-libipt-prefix don't search for libipt in includedir and libdir
|
||||||
--without-included-regex
|
--without-included-regex
|
||||||
|
@ -10111,8 +10110,8 @@ $as_echo_n "checking whether to use intel pt... " >&6; }
|
||||||
$as_echo "$with_intel_pt" >&6; }
|
$as_echo "$with_intel_pt" >&6; }
|
||||||
|
|
||||||
if test "${with_intel_pt}" = no; then
|
if test "${with_intel_pt}" = no; then
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Intel(R) Processor Trace support disabled; some features may be unavailable." >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Intel Processor Trace support disabled; some features may be unavailable." >&5
|
||||||
$as_echo "$as_me: WARNING: Intel(R) Processor Trace support disabled; some features may be unavailable." >&2;}
|
$as_echo "$as_me: WARNING: Intel Processor Trace support disabled; some features may be unavailable." >&2;}
|
||||||
HAVE_LIBIPT=no
|
HAVE_LIBIPT=no
|
||||||
else
|
else
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
|
|
|
@ -1243,13 +1243,13 @@ if test "$ENABLE_LIBMCHECK" = "yes" \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_ARG_WITH(intel_pt,
|
AC_ARG_WITH(intel_pt,
|
||||||
AS_HELP_STRING([--with-intel-pt], [include Intel(R) Processor Trace support (auto/yes/no)]),
|
AS_HELP_STRING([--with-intel-pt], [include Intel Processor Trace support (auto/yes/no)]),
|
||||||
[], [with_intel_pt=auto])
|
[], [with_intel_pt=auto])
|
||||||
AC_MSG_CHECKING([whether to use intel pt])
|
AC_MSG_CHECKING([whether to use intel pt])
|
||||||
AC_MSG_RESULT([$with_intel_pt])
|
AC_MSG_RESULT([$with_intel_pt])
|
||||||
|
|
||||||
if test "${with_intel_pt}" = no; then
|
if test "${with_intel_pt}" = no; then
|
||||||
AC_MSG_WARN([Intel(R) Processor Trace support disabled; some features may be unavailable.])
|
AC_MSG_WARN([Intel Processor Trace support disabled; some features may be unavailable.])
|
||||||
HAVE_LIBIPT=no
|
HAVE_LIBIPT=no
|
||||||
else
|
else
|
||||||
AC_PREPROC_IFELSE(AC_LANG_SOURCE([[
|
AC_PREPROC_IFELSE(AC_LANG_SOURCE([[
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
2016-01-12 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
|
Remove use of the registered trademark symbol throughout.
|
||||||
|
|
||||||
2016-01-12 Yao Qi <yao.qi@linaro.org>
|
2016-01-12 Yao Qi <yao.qi@linaro.org>
|
||||||
|
|
||||||
* gdb.texinfo (Interrupts): Update the document on handling
|
* gdb.texinfo (Interrupts): Update the document on handling
|
||||||
|
|
|
@ -6444,8 +6444,8 @@ this format, the processor stores a from/to record for each executed
|
||||||
branch in the btrace ring buffer.
|
branch in the btrace ring buffer.
|
||||||
|
|
||||||
@item pt
|
@item pt
|
||||||
@cindex Intel(R) Processor Trace
|
@cindex Intel Processor Trace
|
||||||
Use the @dfn{Intel(R) Processor Trace} recording format. In this
|
Use the @dfn{Intel Processor Trace} recording format. In this
|
||||||
format, the processor stores the execution trace in a compressed form
|
format, the processor stores the execution trace in a compressed form
|
||||||
that is afterwards decoded by @value{GDBN}.
|
that is afterwards decoded by @value{GDBN}.
|
||||||
|
|
||||||
|
@ -6635,12 +6635,12 @@ tracing in @acronym{BTS} format.
|
||||||
@kindex set record btrace pt
|
@kindex set record btrace pt
|
||||||
@item set record btrace pt buffer-size @var{size}
|
@item set record btrace pt buffer-size @var{size}
|
||||||
@itemx set record btrace pt buffer-size unlimited
|
@itemx set record btrace pt buffer-size unlimited
|
||||||
Set the requested ring buffer size for branch tracing in Intel(R)
|
Set the requested ring buffer size for branch tracing in Intel
|
||||||
Processor Trace format. Default is 16KB.
|
Processor Trace format. Default is 16KB.
|
||||||
|
|
||||||
If @var{size} is a positive number, then @value{GDBN} will try to
|
If @var{size} is a positive number, then @value{GDBN} will try to
|
||||||
allocate a buffer of at least @var{size} bytes for each new thread
|
allocate a buffer of at least @var{size} bytes for each new thread
|
||||||
that uses the btrace recording method and the Intel(R) Processor Trace
|
that uses the btrace recording method and the Intel Processor Trace
|
||||||
format. The actually obtained buffer size may differ from the
|
format. The actually obtained buffer size may differ from the
|
||||||
requested @var{size}. Use the @code{info record} command to see the
|
requested @var{size}. Use the @code{info record} command to see the
|
||||||
actual buffer size for each thread.
|
actual buffer size for each thread.
|
||||||
|
@ -6653,7 +6653,7 @@ also need longer to process the branch trace data before it can be used.
|
||||||
|
|
||||||
@item show record btrace pt buffer-size @var{size}
|
@item show record btrace pt buffer-size @var{size}
|
||||||
Show the current setting of the requested ring buffer size for branch
|
Show the current setting of the requested ring buffer size for branch
|
||||||
tracing in Intel(R) Processor Trace format.
|
tracing in Intel Processor Trace format.
|
||||||
|
|
||||||
@kindex info record
|
@kindex info record
|
||||||
@item info record
|
@item info record
|
||||||
|
@ -22129,8 +22129,8 @@ from functions.
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
|
|
||||||
@subsubsection Intel(R) @dfn{Memory Protection Extensions} (MPX).
|
@subsubsection Intel @dfn{Memory Protection Extensions} (MPX).
|
||||||
@cindex Intel(R) Memory Protection Extensions (MPX).
|
@cindex Intel Memory Protection Extensions (MPX).
|
||||||
|
|
||||||
Memory Protection Extension (MPX) adds the bound registers @samp{BND0}
|
Memory Protection Extension (MPX) adds the bound registers @samp{BND0}
|
||||||
@footnote{The register named with capital letters represent the architecture
|
@footnote{The register named with capital letters represent the architecture
|
||||||
|
@ -33978,8 +33978,8 @@ Newer blocks have higher numbers. The oldest block has number zero.
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
@item pt
|
@item pt
|
||||||
For the Intel(R) Processor Trace recording format, print a list of
|
For the Intel Processor Trace recording format, print a list of
|
||||||
Intel(R) Processor Trace packets. For each packet, the following
|
Intel Processor Trace packets. For each packet, the following
|
||||||
information is printed:
|
information is printed:
|
||||||
|
|
||||||
@table @asis
|
@table @asis
|
||||||
|
@ -37291,7 +37291,7 @@ A badly formed request or an error was encountered.
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
@item Qbtrace:pt
|
@item Qbtrace:pt
|
||||||
Enable branch tracing for the current thread using Intel(R) Processor Trace.
|
Enable branch tracing for the current thread using Intel Processor Trace.
|
||||||
|
|
||||||
Reply:
|
Reply:
|
||||||
@table @samp
|
@table @samp
|
||||||
|
@ -39937,11 +39937,11 @@ This thread uses the @dfn{Branch Trace Store} (@acronym{BTS}) format.
|
||||||
The size of the @acronym{BTS} ring buffer in bytes.
|
The size of the @acronym{BTS} ring buffer in bytes.
|
||||||
@end table
|
@end table
|
||||||
@item pt
|
@item pt
|
||||||
This thread uses the @dfn{Intel(R) Processor Trace} (@acronym{Intel(R)
|
This thread uses the @dfn{Intel Processor Trace} (@acronym{Intel
|
||||||
PT}) format.
|
PT}) format.
|
||||||
@table @code
|
@table @code
|
||||||
@item size
|
@item size
|
||||||
The size of the @acronym{Intel(R) PT} ring buffer in bytes.
|
The size of the @acronym{Intel PT} ring buffer in bytes.
|
||||||
@end table
|
@end table
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
|
@ -40525,7 +40525,7 @@ describe the upper 128 bits of @sc{ymm} registers:
|
||||||
@samp{ymm0h} through @samp{ymm15h} for amd64
|
@samp{ymm0h} through @samp{ymm15h} for amd64
|
||||||
@end itemize
|
@end itemize
|
||||||
|
|
||||||
The @samp{org.gnu.gdb.i386.mpx} is an optional feature representing Intel(R)
|
The @samp{org.gnu.gdb.i386.mpx} is an optional feature representing Intel
|
||||||
Memory Protection Extension (MPX). It should describe the following registers:
|
Memory Protection Extension (MPX). It should describe the following registers:
|
||||||
|
|
||||||
@itemize @minus
|
@itemize @minus
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
2016-01-12 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
|
Remove use of the registered trademark symbol throughout.
|
||||||
|
|
||||||
2016-01-08 Yao Qi <yao.qi@linaro.org>
|
2016-01-08 Yao Qi <yao.qi@linaro.org>
|
||||||
|
|
||||||
* remote-utils.c (getpkt): If c is '\003', call target hook
|
* remote-utils.c (getpkt): If c is '\003', call target hook
|
||||||
|
|
|
@ -6913,7 +6913,7 @@ linux_low_disable_btrace (struct btrace_target_info *tinfo)
|
||||||
return (err == BTRACE_ERR_NONE ? 0 : -1);
|
return (err == BTRACE_ERR_NONE ? 0 : -1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Encode an Intel(R) Processor Trace configuration. */
|
/* Encode an Intel Processor Trace configuration. */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
linux_low_encode_pt_config (struct buffer *buffer,
|
linux_low_encode_pt_config (struct buffer *buffer,
|
||||||
|
|
|
@ -420,7 +420,7 @@ handle_btrace_enable_bts (struct thread_info *thread)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Handle btrace enabling in Intel(R) Processor Trace format. */
|
/* Handle btrace enabling in Intel Processor Trace format. */
|
||||||
|
|
||||||
static const char *
|
static const char *
|
||||||
handle_btrace_enable_pt (struct thread_info *thread)
|
handle_btrace_enable_pt (struct thread_info *thread)
|
||||||
|
|
|
@ -8787,7 +8787,7 @@ i386_mpx_info_bounds (char *args, int from_tty)
|
||||||
|
|
||||||
if (!i386_mpx_enabled ())
|
if (!i386_mpx_enabled ())
|
||||||
{
|
{
|
||||||
printf_unfiltered (_("Intel(R) Memory Protection Extensions not "
|
printf_unfiltered (_("Intel Memory Protection Extensions not "
|
||||||
"supported on this target.\n"));
|
"supported on this target.\n"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -8829,7 +8829,7 @@ i386_mpx_set_bounds (char *args, int from_tty)
|
||||||
struct type *data_ptr_type = builtin_type (gdbarch)->builtin_data_ptr;
|
struct type *data_ptr_type = builtin_type (gdbarch)->builtin_data_ptr;
|
||||||
|
|
||||||
if (!i386_mpx_enabled ())
|
if (!i386_mpx_enabled ())
|
||||||
error (_("Intel(R) Memory Protection Extensions not supported\
|
error (_("Intel Memory Protection Extensions not supported\
|
||||||
on this target."));
|
on this target."));
|
||||||
|
|
||||||
if (args == NULL)
|
if (args == NULL)
|
||||||
|
@ -8916,14 +8916,14 @@ is \"default\"."),
|
||||||
/* Add "mpx" prefix for the set commands. */
|
/* Add "mpx" prefix for the set commands. */
|
||||||
|
|
||||||
add_prefix_cmd ("mpx", class_support, set_mpx_cmd, _("\
|
add_prefix_cmd ("mpx", class_support, set_mpx_cmd, _("\
|
||||||
Set Intel(R) Memory Protection Extensions specific variables."),
|
Set Intel Memory Protection Extensions specific variables."),
|
||||||
&mpx_set_cmdlist, "set mpx ",
|
&mpx_set_cmdlist, "set mpx ",
|
||||||
0 /* allow-unknown */, &setlist);
|
0 /* allow-unknown */, &setlist);
|
||||||
|
|
||||||
/* Add "mpx" prefix for the show commands. */
|
/* Add "mpx" prefix for the show commands. */
|
||||||
|
|
||||||
add_prefix_cmd ("mpx", class_support, show_mpx_cmd, _("\
|
add_prefix_cmd ("mpx", class_support, show_mpx_cmd, _("\
|
||||||
Show Intel(R) Memory Protection Extensions specific variables."),
|
Show Intel Memory Protection Extensions specific variables."),
|
||||||
&mpx_show_cmdlist, "show mpx ",
|
&mpx_show_cmdlist, "show mpx ",
|
||||||
0 /* allow-unknown */, &showlist);
|
0 /* allow-unknown */, &showlist);
|
||||||
|
|
||||||
|
|
|
@ -461,7 +461,7 @@ kernel_supports_bts (void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Check whether the kernel supports Intel(R) Processor Trace. */
|
/* Check whether the kernel supports Intel Processor Trace. */
|
||||||
|
|
||||||
static int
|
static int
|
||||||
kernel_supports_pt (void)
|
kernel_supports_pt (void)
|
||||||
|
@ -618,7 +618,7 @@ linux_supports_bts (void)
|
||||||
return cached > 0;
|
return cached > 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Check whether the linux target supports Intel(R) Processor Trace. */
|
/* Check whether the linux target supports Intel Processor Trace. */
|
||||||
|
|
||||||
static int
|
static int
|
||||||
linux_supports_pt (void)
|
linux_supports_pt (void)
|
||||||
|
@ -779,7 +779,7 @@ linux_enable_bts (ptid_t ptid, const struct btrace_config_bts *conf)
|
||||||
|
|
||||||
#if defined (PERF_ATTR_SIZE_VER5)
|
#if defined (PERF_ATTR_SIZE_VER5)
|
||||||
|
|
||||||
/* Enable branch tracing in Intel(R) Processor Trace format. */
|
/* Enable branch tracing in Intel Processor Trace format. */
|
||||||
|
|
||||||
static struct btrace_target_info *
|
static struct btrace_target_info *
|
||||||
linux_enable_pt (ptid_t ptid, const struct btrace_config_pt *conf)
|
linux_enable_pt (ptid_t ptid, const struct btrace_config_pt *conf)
|
||||||
|
@ -938,7 +938,7 @@ linux_disable_bts (struct btrace_tinfo_bts *tinfo)
|
||||||
return BTRACE_ERR_NONE;
|
return BTRACE_ERR_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Disable Intel(R) Processor Trace tracing. */
|
/* Disable Intel Processor Trace tracing. */
|
||||||
|
|
||||||
static enum btrace_error
|
static enum btrace_error
|
||||||
linux_disable_pt (struct btrace_tinfo_pt *tinfo)
|
linux_disable_pt (struct btrace_tinfo_pt *tinfo)
|
||||||
|
@ -1073,7 +1073,7 @@ linux_read_bts (struct btrace_data_bts *btrace,
|
||||||
return BTRACE_ERR_NONE;
|
return BTRACE_ERR_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Fill in the Intel(R) Processor Trace configuration information. */
|
/* Fill in the Intel Processor Trace configuration information. */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
linux_fill_btrace_pt_config (struct btrace_data_pt_config *conf)
|
linux_fill_btrace_pt_config (struct btrace_data_pt_config *conf)
|
||||||
|
@ -1081,7 +1081,7 @@ linux_fill_btrace_pt_config (struct btrace_data_pt_config *conf)
|
||||||
conf->cpu = btrace_this_cpu ();
|
conf->cpu = btrace_this_cpu ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Read branch trace data in Intel(R) Processor Trace format for the thread
|
/* Read branch trace data in Intel Processor Trace format for the thread
|
||||||
given by TINFO into BTRACE using the TYPE reading method. */
|
given by TINFO into BTRACE using the TYPE reading method. */
|
||||||
|
|
||||||
static enum btrace_error
|
static enum btrace_error
|
||||||
|
@ -1135,7 +1135,7 @@ linux_read_btrace (struct btrace_data *btrace,
|
||||||
return linux_read_bts (&btrace->variant.bts, tinfo, type);
|
return linux_read_bts (&btrace->variant.bts, tinfo, type);
|
||||||
|
|
||||||
case BTRACE_FORMAT_PT:
|
case BTRACE_FORMAT_PT:
|
||||||
/* We read btrace in Intel(R) Processor Trace format. */
|
/* We read btrace in Intel Processor Trace format. */
|
||||||
btrace->format = BTRACE_FORMAT_PT;
|
btrace->format = BTRACE_FORMAT_PT;
|
||||||
btrace->variant.pt.data = NULL;
|
btrace->variant.pt.data = NULL;
|
||||||
btrace->variant.pt.size = 0;
|
btrace->variant.pt.size = 0;
|
||||||
|
|
|
@ -63,7 +63,8 @@ struct btrace_tinfo_bts
|
||||||
struct perf_event_buffer bts;
|
struct perf_event_buffer bts;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Branch trace target information for Intel(R) Processor Trace. */
|
/* Branch trace target information for Intel Processor Trace
|
||||||
|
tracing. */
|
||||||
struct btrace_tinfo_pt
|
struct btrace_tinfo_pt
|
||||||
{
|
{
|
||||||
/* The Linux perf_event configuration for collecting the branch trace. */
|
/* The Linux perf_event configuration for collecting the branch trace. */
|
||||||
|
|
|
@ -332,7 +332,7 @@ record_btrace_print_bts_conf (const struct btrace_config_bts *conf)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Print an Intel(R) Processor Trace configuration. */
|
/* Print an Intel Processor Trace configuration. */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
record_btrace_print_pt_conf (const struct btrace_config_pt *conf)
|
record_btrace_print_pt_conf (const struct btrace_config_pt *conf)
|
||||||
|
@ -2886,7 +2886,7 @@ cmd_record_btrace_bts_start (char *args, int from_tty)
|
||||||
END_CATCH
|
END_CATCH
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Start recording Intel(R) Processor Trace. */
|
/* Start recording in Intel Processor Trace format. */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
cmd_record_btrace_pt_start (char *args, int from_tty)
|
cmd_record_btrace_pt_start (char *args, int from_tty)
|
||||||
|
@ -3048,7 +3048,7 @@ This format may not be available on all processors."),
|
||||||
|
|
||||||
add_cmd ("pt", class_obscure, cmd_record_btrace_pt_start,
|
add_cmd ("pt", class_obscure, cmd_record_btrace_pt_start,
|
||||||
_("\
|
_("\
|
||||||
Start branch trace recording in Intel(R) Processor Trace format.\n\n\
|
Start branch trace recording in Intel Processor Trace format.\n\n\
|
||||||
This format may not be available on all processors."),
|
This format may not be available on all processors."),
|
||||||
&record_btrace_cmdlist);
|
&record_btrace_cmdlist);
|
||||||
add_alias_cmd ("pt", "btrace pt", class_obscure, 1, &record_cmdlist);
|
add_alias_cmd ("pt", "btrace pt", class_obscure, 1, &record_cmdlist);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue