Go to file
Tom de Vries 276e7f5c88 [gdb/testsuite] Fix typo in gdb.base/catch-syscall.exp
On aarch64-linux with a gdb build without libexpat, I run into:
...
(gdb) PASS: gdb.base/catch-syscall.exp: determine pipe syscall: \
  catch syscall 59
continue
Continuing.

Catchpoint 5 (call to syscall 59), 0x0000fffff7e04578 in pipe () from \
  /lib64/libc.so.6
(gdb) FAIL: gdb.base/catch-syscall.exp: determine pipe syscall: continue
...

In the test-case, this pattern handles either the syscall name or number for
the pipe syscall:
...
  -re -wrap "Catchpoint $decimal \\(call to syscall (pipe|$SYS_pipe)\\).*" {
...
but the pattern for the pipe2 syscall mistakenly uses SYS_pipe instead of
SYS_pipe2:
...
  -re -wrap "Catchpoint $decimal \\(call to syscall (pipe2|$SYS_pipe)\\).*" {
...
and consequently doesn't handle the pipe2 syscall number.

Fix the typo by using SYS_pipe2 instead.

Tested on aarch64-linux.
2023-12-31 09:39:45 +01:00
bfd Automatic date update in version.in 2023-12-31 00:00:10 +00:00
binutils MAINTAINERS: Update my email address 2023-12-30 00:32:00 +00:00
config
contrib
cpu cpu: cris: drop some unused vars 2023-12-19 05:45:01 -05:00
elfcpp Gold: Handle R_X86_64_CODE_4_GOTPC32_TLSDESC/R_X86_64_CODE_4_GOTTPOFF 2023-12-28 08:47:17 -08:00
etc
gas x86: Append "#pass" to APX tests 2023-12-29 15:46:59 -08:00
gdb [gdb/testsuite] Fix typo in gdb.base/catch-syscall.exp 2023-12-31 09:39:45 +01:00
gdbserver gdb: change regcache interface to use array_view 2023-12-14 16:04:49 +00:00
gdbsupport Fix build with clang 16 2023-12-22 09:35:11 -07:00
gnulib
gold Gold: Handle R_X86_64_CODE_4_GOTPC32_TLSDESC/R_X86_64_CODE_4_GOTTPOFF 2023-12-28 08:47:17 -08:00
gprof
gprofng gprofng: fix build problems on linux-musl 2023-12-22 21:10:36 -08:00
include LoongArch: include: Add support for tls le relax. 2023-12-29 15:11:00 +08:00
ld LoongArch: ld: Add support for tls le relax. 2023-12-29 15:11:01 +08:00
libbacktrace
libctf
libdecnumber
libiberty libiberty: Fix build with GCC < 7 2023-12-05 23:34:01 +01:00
libsframe
opcodes LoongArch: Commas inside double quotes 2023-12-30 12:59:23 +10:30
readline
sim sim: pru: Fix emulation of carry bit 2023-12-28 09:09:13 +02:00
texinfo
zlib
.cvsignore
.editorconfig
.gitattributes
.gitignore
ar-lib
ChangeLog
compile
config-ml.in
config.guess
config.rpath
config.sub
configure
configure.ac
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.LIBGLOSS
COPYING.NEWLIB
depcomp
djunpack.bat
install-sh
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS
Makefile.def gettext: disable install, docs targets, libasprintf, threads 2023-12-18 09:39:17 -07:00
Makefile.in gettext: disable install, docs targets, libasprintf, threads 2023-12-18 09:39:17 -07:00
Makefile.tpl
makefile.vms
missing
mkdep
mkinstalldirs
move-if-change
multilib.am
README
README-maintainer-mode
SECURITY.txt
setup.com
src-release.sh
symlink-tree
test-driver
ylwrap

		   README for GNU development tools

This directory contains various GNU compilers, assemblers, linkers, 
debuggers, etc., plus their support routines, definitions, and documentation.

If you are receiving this as part of a GDB release, see the file gdb/README.
If with a binutils release, see binutils/README;  if with a libg++ release,
see libg++/README, etc.  That'll give you info about this
package -- supported targets, how to use it, how to report bugs, etc.

It is now possible to automatically configure and build a variety of
tools with one command.  To build all of the tools contained herein,
run the ``configure'' script here, e.g.:

	./configure 
	make

To install them (by default in /usr/local/bin, /usr/local/lib, etc),
then do:
	make install

(If the configure script can't determine your type of computer, give it
the name as an argument, for instance ``./configure sun4''.  You can
use the script ``config.sub'' to test whether a name is recognized; if
it is, config.sub translates it to a triplet specifying CPU, vendor,
and OS.)

If you have more than one compiler on your system, it is often best to
explicitly set CC in the environment before running configure, and to
also set CC when running make.  For example (assuming sh/bash/ksh):

	CC=gcc ./configure
	make

A similar example using csh:

	setenv CC gcc
	./configure
	make

Much of the code and documentation enclosed is copyright by
the Free Software Foundation, Inc.  See the file COPYING or
COPYING.LIB in the various directories, for a description of the
GNU General Public License terms under which you can copy the files.

REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info
on where and how to report problems.