binutils-gdb/gdb/testsuite/gdb.base
Sergio Durigan Junior 458c8db89f Partial fix for PR breakpoints/10737: Make syscall info be per-arch instead of global
This patch intends to partially fix PR breakpoints/10737, which is
about making the syscall information (for the "catch syscall" command)
be per-arch, instead of global.  This is not a full fix because of the
other issues pointed by Pedro here:

  <https://sourceware.org/bugzilla/show_bug.cgi?id=10737#c5>

However, I consider it a good step towards the real fix.  It will also
help me fix <https://sourceware.org/bugzilla/show_bug.cgi?id=17402>.

What this patch does, basically, is move the "syscalls_info"
struct to gdbarch.  Currently, the syscall information is stored in a
global variable inside gdb/xml-syscall.c, which means that there is no
easy way to correlate this info with the current target or
architecture being used, for example.  This causes strange behaviors,
because the syscall info is not re-read when the arch changes.  For
example, if you put a syscall catchpoint in syscall 5 on i386 (syscall
open), and then load a x86_64 program on GDB and put the same syscall
5 there (fstat on x86_64), you will still see that GDB tells you that
it is catching "open", even though it is not.  With this patch, GDB
correctly says that it will be catching fstat syscalls.

  (gdb) set architecture i386
  The target architecture is assumed to be i386
  (gdb) catch syscall 5
  Catchpoint 1 (syscall 'open' [5])
  (gdb) set architecture i386:x86-64
  The target architecture is assumed to be i386:x86-64
  (gdb) catch syscall 5
  Catchpoint 2 (syscall 'open' [5])

But with the patch:

  (gdb) set architecture i386
  The target architecture is assumed to be i386
  (gdb) catch syscall 5
  Catchpoint 1 (syscall 'open' [5])
  (gdb) set architecture i386:x86-64
  The target architecture is assumed to be i386:x86-64
  (gdb) catch syscall 5
  Catchpoint 2 (syscall 'fstat' [5])

As I said, there are still some problems on the "catch syscall"
mechanism, because (for example) the user should be able to "catch
syscall open" on i386, and then expect "open" to be caught also on
x86_64.  Currently, it doesn't work.  I intend to work on this later.

gdb/
2014-11-20  Sergio Durigan Junior  <sergiodj@redhat.com>

	PR breakpoints/10737
	* amd64-linux-tdep.c (amd64_linux_init_abi_common): Adjust call to
	set_xml_syscall_file_name to provide gdbarch.
	* arm-linux-tdep.c (arm_linux_init_abi): Likewise.
	* bfin-linux-tdep.c (bfin_linux_init_abi): Likewise.
	* breakpoint.c (print_it_catch_syscall): Adjust call to
	get_syscall_by_number to provide gdbarch.
	(print_one_catch_syscall): Likewise.
	(print_mention_catch_syscall): Likewise.
	(print_recreate_catch_syscall): Likewise.
	(catch_syscall_split_args): Adjust calls to get_syscall_by_number
	and get_syscall_by_name to provide gdbarch.
	(catch_syscall_completer): Adjust call to get_syscall_names to
	provide gdbarch.
	* gdbarch.c: Regenerate.
	* gdbarch.h: Likewise.
	* gdbarch.sh: Forward declare "struct syscalls_info".
	(xml_syscall_file): New variable.
	(syscalls_info): Likewise.
	* i386-linux-tdep.c (i386_linux_init_abi): Adjust call to
	set_xml_syscall_file_name to provide gdbarch.
	* mips-linux-tdep.c (mips_linux_init_abi): Likewise.
	* ppc-linux-tdep.c (ppc_linux_init_abi): Likewise.
	* s390-linux-tdep.c (s390_gdbarch_init): Likewise.
	* sparc-linux-tdep.c (sparc32_linux_init_abi): Likewise.
	* sparc64-linux-tdep.c (sparc64_linux_init_abi): Likewise.
	* xml-syscall.c: Include gdbarch.h.
	(set_xml_syscall_file_name): Accept gdbarch parameter.
	(get_syscall_by_number): Likewise.
	(get_syscall_by_name): Likewise.
	(get_syscall_names): Likewise.
	(my_gdb_datadir): Delete global variable.
	(struct syscalls_info) <my_gdb_datadir>: New variable.
	(struct syscalls_info) <sysinfo>: Rename variable to
	"syscalls_info".
	(sysinfo): Delete global variable.
	(have_initialized_sysinfo): Likewise.
	(xml_syscall_file): Likewise.
	(sysinfo_free_syscalls_desc): Rename to...
	(syscalls_info_free_syscalls_desc): ... this.
	(free_syscalls_info): Rename "sysinfo" to "syscalls_info".  Adjust
	code to the new layout of "struct syscalls_info".
	(make_cleanup_free_syscalls_info): Rename parameter "sysinfo" to
	"syscalls_info".
	(syscall_create_syscall_desc): Likewise.
	(syscall_start_syscall): Likewise.
	(syscall_parse_xml): Likewise.
	(xml_init_syscalls_info): Likewise.  Drop "const" from return value.
	(init_sysinfo): Rename to...
	(init_syscalls_info): ...this.  Add gdbarch as a parameter.
	Adjust function to deal with gdbarch.
	(xml_get_syscall_number): Delete parameter sysinfo.  Accept
	gdbarch as a parameter.  Adjust code.
	(xml_get_syscall_name): Likewise.
	(xml_list_of_syscalls): Likewise.
	(set_xml_syscall_file_name): Accept gdbarch as parameter.
	(get_syscall_by_number): Likewise.
	(get_syscall_by_name): Likewise.
	(get_syscall_names): Likewise.
	* xml-syscall.h (set_xml_syscall_file_name): Likewise.
	(get_syscall_by_number): Likewise.
	(get_syscall_by_name): Likewise.
	(get_syscall_names): Likewise.

gdb/testsuite/
2014-11-20  Sergio Durigan Junior  <sergiodj@redhat.com>

	PR breakpoints/10737
	* gdb.base/catch-syscall.exp (do_syscall_tests): Call
	test_catch_syscall_multi_arch.
	(test_catch_syscall_multi_arch): New function.
2014-11-20 12:28:18 -05:00
..
comp-dir/subdir
a2-run.exp Remove support for testing against dead "target vxworks" 2014-09-16 12:37:03 +01:00
advance.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
advance.exp
alias.exp
all-bin.exp
all-types.c
annota1.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
annota1.exp
annota3.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
annota3.exp
annota-input-while-running.c PR gdb/17472: With annotations, input while executing in the foreground crashes readline/GDB 2014-10-17 13:32:26 +01:00
annota-input-while-running.exp PR gdb/17472: With annotations, input while executing in the foreground crashes readline/GDB 2014-10-17 13:32:26 +01:00
anon.c
anon.exp
args.c
args.exp
argv0-symlink.c
argv0-symlink.exp Skip testing argv[0] on target argv[0] isn't available 2014-10-18 20:58:06 +08:00
arithmet.exp
arrayidx.c
arrayidx.exp
assign.exp
async-shell.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
async-shell.exp
async.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
async.exp
attach2.c
attach-pie-misread.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
attach-pie-misread.exp
attach-pie-noexec.c
attach-pie-noexec.exp
attach-twice.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
attach-twice.exp
attach-wait-input.c
attach-wait-input.exp
attach.c testsuite: Fix runaway attach processes 2014-09-12 13:39:04 +02:00
attach.exp testsuite: Fix runaway attach processes 2014-09-12 13:39:04 +02:00
auto-connect-native-target.c
auto-connect-native-target.exp
auto-load-script
auto-load.c
auto-load.exp
auxv.c
auxv.exp
average.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
bang.exp
bar.c
baz.c
bfp-test.c
bfp-test.exp
bg-execution-repeat.c PR gdb/17471: Repeating a background command makes it foreground 2014-10-17 13:34:16 +01:00
bg-execution-repeat.exp PR gdb/17471: Repeating a background command makes it foreground 2014-10-17 13:34:16 +01:00
bigcore.c
bigcore.exp Delete IRIX support 2014-10-10 18:18:52 +01:00
bitfields2.c
bitfields2.exp
bitfields.c
bitfields.exp
bitops.exp
bp-permanent.c Use 2-byte instead of 4-byte NOP on S390 in 'bp-permanent' test case 2014-11-19 10:03:32 +01:00
bp-permanent.exp fix skipping permanent breakpoints 2014-11-12 10:39:00 +00:00
branches.c
break1.c Drop non-prototype C function header variants: 'break' test case 2014-11-13 10:20:42 +01:00
break-always.c
break-always.exp
break-caller-line.c
break-caller-line.exp
break-entry.exp
break-idempotent.c
break-idempotent.exp
break-inline.c
break-inline.exp
break-interp-lib.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
break-interp-main.c
break-interp.exp
break-main-file-remove-fail.c
break-main-file-remove-fail.exp
break-on-linker-gcd-function.cc
break-on-linker-gcd-function.exp Check function is GC'ed 2014-09-19 16:53:27 +08:00
break-probes-solib.c
break-probes.c
break-probes.exp Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
break-unload-file.c
break-unload-file.exp
break.c Drop non-prototype C function header variants: 'break' test case 2014-11-13 10:20:42 +01:00
break.exp Drop non-prototype C function header variants: 'break' test case 2014-11-13 10:20:42 +01:00
breakpoint-in-ro-region.c Put single-step breakpoints on the bp_location chain 2014-10-15 20:18:31 +01:00
breakpoint-in-ro-region.exp Put single-step breakpoints on the bp_location chain 2014-10-15 20:18:31 +01:00
breakpoint-shadow.c
breakpoint-shadow.exp
call-ar-st.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
call-ar-st.exp Eliminate literal line numbers in call-ar-st.exp 2014-11-13 10:14:30 +01:00
call-rt-st.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
call-rt-st.exp Eliminate literal line numbers in call-rt-st.exp 2014-11-13 10:14:30 +01:00
call-sc.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
call-sc.exp
call-signal-resume.exp
call-signals.c
call-strs.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
call-strs.exp
callexit.c
callexit.exp
callfuncs.c 'callfuncs' test case: Fixes in conditionally compiled code 2014-11-13 10:20:40 +01:00
callfuncs.exp callfuncs.exp: Indent perform_all_tests() 2014-11-13 10:20:41 +01:00
catch-load-so.c
catch-load.c
catch-load.exp
catch-signal-fork.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
catch-signal-fork.exp
catch-signal.c
catch-signal.exp Fix "save breakpoints" for "catch" command 2014-10-13 13:39:48 +02:00
catch-syscall.c
catch-syscall.exp Partial fix for PR breakpoints/10737: Make syscall info be per-arch instead of global 2014-11-20 12:28:18 -05:00
charset-malloc.c
charset.c
charset.exp after gdb_run_cmd, gdb_expect -> gdb_test_multiple/gdb_test 2014-09-12 22:16:31 +01:00
checkpoint.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
checkpoint.exp Don't remove files copied to host 2014-10-20 13:34:28 +08:00
chng-syms.c
chng-syms.exp after gdb_run_cmd, gdb_expect -> gdb_test_multiple/gdb_test 2014-09-12 22:16:31 +01:00
code_elim1.c
code_elim2.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
code_elim.exp
code-expr.exp
commands.exp Don't check target_info exists noargs in commands.exp 2014-10-17 13:04:34 +08:00
compare-sections.c
compare-sections.exp
completion.exp
complex.c
complex.exp
comprdebug.exp
cond-eval-mode.c
cond-eval-mode.exp
cond-expr.exp
condbreak-call-false.c
condbreak-call-false.exp
condbreak.exp Drop remaining references to removed source lines in break1.c and ur1.c 2014-11-17 10:26:30 +01:00
consecutive-step-over.c
consecutive-step-over.exp
consecutive.c
consecutive.exp
constvars.c
constvars.exp
continue-all-already-running.c PR gdb/17300: Input after "c -a" crashes readline/GDB 2014-10-17 13:33:30 +01:00
continue-all-already-running.exp PR gdb/17300: Input after "c -a" crashes readline/GDB 2014-10-17 13:33:30 +01:00
corefile.exp Remove Vax Ultrix and VAX BSD support 2014-10-24 17:56:56 +01:00
coremaker2.c
coremaker.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
ctxobj-f.c
ctxobj-m.c
ctxobj-v.c
ctxobj.exp
cursal.c
cursal.exp
cvexpr.c
cvexpr.exp
d10v.ld
d10vovly.c
dbx.exp Eliminate literal line numbers in dbx.exp 2014-11-13 10:14:29 +01:00
dcache-line-read-error.c
dcache-line-read-error.exp
debug-expr.c
debug-expr.exp
default.exp Remove support for testing against dead "target vxworks" 2014-09-16 12:37:03 +01:00
define.exp
del.c
del.exp
detach.exp
dfp-exprs.exp
dfp-test.c
dfp-test.exp
disabled-location.c
disabled-location.exp
disasm-end-cu-1.c
disasm-end-cu-2.c
disasm-end-cu.exp
disp-step-fork.c
disp-step-syscall.exp
disp-step-vfork.c
display.c
display.exp Remove duplicated code on checking address 0x0 is accessiable 2014-08-09 08:46:32 +08:00
dmsym_main.c
dmsym.c
dmsym.exp
double-prompt-target-event-error.c
double-prompt-target-event-error.exp
dprintf-bp-same-addr.c
dprintf-bp-same-addr.exp
dprintf-next.c
dprintf-next.exp
dprintf-non-stop.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
dprintf-non-stop.exp
dprintf-pending.c
dprintf-pending.exp
dprintf-pendshr.c
dprintf.c
dprintf.exp
dump.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
dump.exp
dup-sect.exp
dup-sect.S
duplicate-bp.c
duplicate-bp.exp
echo.exp
empty_exe.exp
ena-dis-br.exp Drop remaining references to removed source lines in break1.c and ur1.c 2014-11-17 10:26:30 +01:00
ending-run.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
ending-run.exp Eliminate literal line numbers in ending-run.exp 2014-11-13 10:20:37 +01:00
enum_cond.c
enum_cond.exp
enumval.c
enumval.exp
environ.exp
eu-strip-infcall.c
eu-strip-infcall.exp
eval-avoid-side-effects.exp
eval-skip.exp
eval.exp
exe-lock.exp
execd-prog.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
execl-update-breakpoints.c PR17431: following execs with "breakpoint always-inserted on" 2014-10-02 10:05:46 +01:00
execl-update-breakpoints.exp PR17431: following execs with "breakpoint always-inserted on" 2014-10-02 10:05:46 +01:00
execution-termios.c
execution-termios.exp
exitsignal.exp
expand-psymtabs.c
expand-psymtabs.exp
exprs.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
exprs.exp
fileio.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
fileio.exp Prepare directory in case test_system fails 2014-10-29 21:43:05 +08:00
filesym.c
filesym.exp
find-unmapped.c
find-unmapped.exp
find.c
find.exp after gdb_run_cmd, gdb_expect -> gdb_test_multiple/gdb_test 2014-09-12 22:16:31 +01:00
finish.exp
fixsection.c
fixsection.exp
fixsectshr.c
float.c
float.exp
foll-exec.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
foll-exec.exp Eliminate literal line numbers in foll-exec.exp 2014-11-13 10:20:38 +01:00
foll-fork.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
foll-fork.exp Follow-fork message printing improvements 2014-10-24 11:36:06 -07:00
foll-vfork-exit.c
foll-vfork.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
foll-vfork.exp Follow-fork message printing improvements 2014-10-24 11:36:06 -07:00
foo.c
fortran-sym-case.c
fortran-sym-case.exp
frame-args.c
frame-args.exp
freebpcmd.c
freebpcmd.exp
fullname.c
fullname.exp
fullpath-expand-func.c
fullpath-expand.c
fullpath-expand.exp Skip tests that use cd for remote hosts 2014-10-30 09:48:10 -02:00
func-ptr.c
func-ptr.exp
funcargs.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
funcargs.exp Delete IRIX support 2014-10-10 18:18:52 +01:00
gcore-buffer-overflow.c
gcore-buffer-overflow.exp Remove useless gcore command detection 2014-08-21 11:36:59 +01:00
gcore-relro-lib.c
gcore-relro-main.c
gcore-relro-pie.c
gcore-relro-pie.exp Remove useless gcore command detection 2014-08-21 11:36:59 +01:00
gcore-relro.exp Remove useless gcore command detection 2014-08-21 11:36:59 +01:00
gcore.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
gcore.exp Remove useless gcore command detection 2014-08-21 11:36:59 +01:00
gdb1056.exp
gdb1090.c
gdb1090.exp
gdb1250.c
gdb1250.exp
gdb1555-main.c
gdb1555.c
gdb1555.exp
gdb1821.c
gdb1821.exp
gdb11530.c
gdb11530.exp
gdb11531.c
gdb11531.exp
gdb_history
gdb-sigterm.c
gdb-sigterm.exp
gdbindex-stabs-dwarf.c
gdbindex-stabs.c
gdbindex-stabs.exp
gdbvars.c
gdbvars.exp
global-var-nested-by-dso-solib1.c Add test for global variable that is nested by another DSO 2014-09-16 22:57:06 -04:00
global-var-nested-by-dso-solib2.c Add test for global variable that is nested by another DSO 2014-09-16 22:57:06 -04:00
global-var-nested-by-dso.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
global-var-nested-by-dso.exp Add test for global variable that is nested by another DSO 2014-09-16 22:57:06 -04:00
gnu_vector.c
gnu_vector.exp
gnu-debugdata.c
gnu-debugdata.exp
gnu-ifunc-lib.c
gnu-ifunc.c
gnu-ifunc.exp
grbx.c
hashline1.exp
hashline2.exp
hashline3.exp
hbreak2.exp Drop remaining references to removed source lines in break1.c and ur1.c 2014-11-17 10:26:30 +01:00
hbreak-in-shr-unsupported-shr.c
hbreak-in-shr-unsupported.c
hbreak-in-shr-unsupported.exp
hbreak-unmapped.c
hbreak-unmapped.exp Remove duplicated code on checking address 0x0 is accessiable 2014-08-09 08:46:32 +08:00
hbreak.c
hbreak.exp
help.exp
hook-stop-continue.c
hook-stop-continue.exp
hook-stop-frame.c
hook-stop-frame.exp
huge.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
huge.exp
ifelse.exp
included.c
included.exp
included.h
inferior-died.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
inferior-died.exp
infnan.c
infnan.exp
info-fun-solib.c
info-fun.c
info-fun.exp
info-macros.c
info-macros.exp
info-os.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
info-os.exp
info-proc.exp
info-shared-solib1.c
info-shared-solib2.c
info-shared.c
info-shared.exp
info-target.exp
infoline.c
infoline.exp
int-type.c
interact.exp
interp.c
interp.exp
interrupt-noterm.c
interrupt-noterm.exp
interrupt.c
interrupt.exp Remove Vax Ultrix and VAX BSD support 2014-10-24 17:56:56 +01:00
jit-dlmain.c
jit-main.c
jit-simple.c
jit-simple.exp after gdb_run_cmd, gdb_expect -> gdb_test_multiple/gdb_test 2014-09-12 22:16:31 +01:00
jit-so.exp
jit-solib.c
jit.exp
jump.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
jump.exp Eliminate literal line numbers in jump.exp 2014-11-13 10:20:38 +01:00
kill-after-signal.c
kill-after-signal.exp
label.c
label.exp
langs0.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
langs1.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
langs1.f
langs2.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
langs2.cxx
langs.exp
ldbl_e308.c
ldbl_e308.exp
line-symtabs.c PR symtab/17559 2014-11-15 10:08:34 -08:00
line-symtabs.exp PR symtab/17559 2014-11-15 10:08:34 -08:00
line-symtabs.h PR symtab/17559 2014-11-15 10:08:34 -08:00
lineinc1.h
lineinc2.h
lineinc3.h
lineinc.c
lineinc.exp
linespecs.exp
list0.c
list0.h Drop non-prototype C function header variants: 'list' test case 2014-11-13 10:20:43 +01:00
list1.c Drop non-prototype C function header variants: 'list' test case 2014-11-13 10:20:43 +01:00
list.exp
logical.exp
long_long.c
long_long.exp
longest-types.c
longest-types.exp
longjmp.c
longjmp.exp
m32r.ld
m32rovly.c
macscp1.c
macscp2.h
macscp3.h
macscp4.h
macscp.exp
maint.exp Split struct symtab into two: struct symtab and compunit_symtab. 2014-11-20 07:47:44 -08:00
Makefile.in
memattr.c
memattr.exp
mips_pro.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
mips_pro.exp Delete IRIX support 2014-10-10 18:18:52 +01:00
miscexprs.c
miscexprs.exp
morestack.c
morestack.exp
moribund-step.exp
multi-forks.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
multi-forks.exp
multi-line-starts-subshell.exp PR python/17372 - Python hangs when displaying help() 2014-10-29 17:29:26 +00:00
nextoverexit.c
nextoverexit.exp
nodebug.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
nodebug.exp Delete IRIX support 2014-10-10 18:18:52 +01:00
nofield.c
nofield.exp
normal.c
nostdlib.c
nostdlib.exp
opaque0.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
opaque1.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
opaque.exp Delete IRIX support 2014-10-10 18:18:52 +01:00
overlays.c
overlays.exp
ovlymgr.c
ovlymgr.h
page.exp
paginate-after-ctrl-c-running.c
paginate-after-ctrl-c-running.exp
paginate-bg-execution.c
paginate-bg-execution.exp
paginate-execution-startup.c
paginate-execution-startup.exp
paginate-inferior-exit.c
paginate-inferior-exit.exp
pc-fp.c
pc-fp.exp
pending.c
pending.exp
pendshr.c
permissions.exp
pi.txt
pie-execl.c
pie-execl.exp
pointers.c
pointers.exp
pr10179-a.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
pr10179-b.c
pr10179.exp
pr11022.c
pr11022.exp
prelink-lib.c
prelink.c
prelink.exp
print-file-var-lib1.c
print-file-var-lib2.c
print-file-var-main.c
print-file-var.exp
print-symbol-loading-lib.c
print-symbol-loading-main.c
print-symbol-loading.exp Remove useless gcore command detection 2014-08-21 11:36:59 +01:00
printcmds.c
printcmds.exp
prologue-include.c
prologue-include.exp
prologue-include.h
prologue.c
prologue.exp
psymtab1.c
psymtab2.c
psymtab.exp
ptr-typedef.c
ptr-typedef.exp
ptype1.c
ptype.c
ptype.exp
radix.exp
random-signal.c
random-signal.exp
randomize.c
randomize.exp
range-stepping.c
range-stepping.exp
readline-ask.c
readline-ask.exp
readline-ask.inputrc
readline.exp
realname-expand-real.c
realname-expand.c
realname-expand.exp Skip tests that use cd for remote hosts 2014-10-30 09:48:10 -02:00
recpar.c
recpar.exp
recurse.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
recurse.exp
relational.exp
relativedebug.c
relativedebug.exp
relocate.c
relocate.exp
remote.c
remote.exp
remotetimeout.exp Don't check noargs in remotetimeout.exp 2014-10-16 12:55:01 +08:00
reread1.c
reread2.c
reread.exp after gdb_run_cmd, gdb_expect -> gdb_test_multiple/gdb_test 2014-09-12 22:16:31 +01:00
restore.c
restore.exp
return2.c
return2.exp
return-nodebug1.c
return-nodebug.c
return-nodebug.exp
return.c
return.exp
run.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
save-bp.c Fix "save breakpoints" for "disable $bpnum" command. 2014-10-12 21:52:39 +02:00
save-bp.exp Fix "save breakpoints" for "disable $bpnum" command. 2014-10-12 21:52:39 +02:00
savedregs.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
savedregs.exp
scope0.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
scope1.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
scope.exp Remove support for testing against dead "target vxworks" 2014-09-16 12:37:03 +01:00
sect-cmd.exp
segv.c
sep-proc.c
sep.c
sep.exp
sepdebug2.c
sepdebug.c Drop non-prototype C function header variants: 'sepdebug' test case 2014-11-13 10:20:43 +01:00
sepdebug.exp Drop non-prototype C function header variants: 'sepdebug' test case 2014-11-13 10:20:43 +01:00
sepsymtab.c
sepsymtab.exp
set-lang-auto.exp
set-noassign.exp
setshow.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
setshow.exp
setvar.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
setvar.exp Delete IRIX support 2014-10-10 18:18:52 +01:00
shell.exp
shlib-call.exp Eliminate literal line numbers in shlib-call.exp 2014-11-13 10:20:39 +01:00
shmain.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
shr1.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
shr2.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
shreloc1.c
shreloc2.c
shreloc.c
shreloc.exp
sigall.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
sigall.exp Delete Tru64 support 2014-10-17 11:18:59 +01:00
sigaltstack.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
sigaltstack.exp update bug numbers (GNATS -> Bugzilla) in a few signal related tests 2014-10-28 15:31:55 +00:00
sigbpt.c
sigbpt.exp update bug numbers (GNATS -> Bugzilla) in a few signal related tests 2014-10-28 15:31:55 +00:00
sigchld.c
sigchld.exp
siginfo-addr.c
siginfo-addr.exp
siginfo-infcall.c
siginfo-infcall.exp
siginfo-obj.c
siginfo-obj.exp
siginfo-thread.c
siginfo-thread.exp
siginfo.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
siginfo.exp update bug numbers (GNATS -> Bugzilla) in a few signal related tests 2014-10-28 15:31:55 +00:00
signals.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
signals.exp
signest.c
signest.exp Remove duplicated code on checking address 0x0 is accessiable 2014-08-09 08:46:32 +08:00
signull.c
signull.exp Remove duplicated code on checking address 0x0 is accessiable 2014-08-09 08:46:32 +08:00
sigrepeat.c
sigrepeat.exp
sigstep.c PR gdb/12623: non-stop crashes inferior, PC adjustment and 1-byte insns 2014-10-28 16:00:06 +00:00
sigstep.exp gdb.base/sigstep.exp: xfail gdb/17511 on i?86 Linux 2014-11-07 15:20:47 +00:00
sizeof.c
sizeof.exp
skip1.c
skip-solib-lib.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
skip-solib-main.c
skip-solib.exp
skip.c
skip.exp
so-disc-shr.c
so-impl-ld.c
so-impl-ld.exp Eliminate literal line numbers in so-impl-ld.exp 2014-11-13 10:14:29 +01:00
so-indr-cl.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
so-indr-cl.exp
solib1.c Drop non-prototype C function header variants: solib1.c 2014-11-13 10:20:42 +01:00
solib2.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
solib-corrupted.exp
solib-disc.c
solib-disc.exp
solib-display-lib.c
solib-display-main.c
solib-display.exp
solib-nodir.exp
solib-overlap-lib.c
solib-overlap-main.c
solib-overlap.exp testsuite: refactor spawn and wait for attach 2014-09-11 13:04:14 +01:00
solib-search-lib1.c
solib-search-lib2.c
solib-search.c
solib-search.exp
solib-search.h
solib-symbol-lib.c
solib-symbol-main.c
solib-symbol.exp
solib-weak.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
solib-weak.exp
solib.c
solib.exp
source-dir.exp
source-error.gdb
source-execution.c
source-execution.exp
source-execution.gdb
source-nofile.gdb
source-test.gdb
source.exp
spu.ld
ss.h
sss-bp-on-user-bp-2.c
sss-bp-on-user-bp-2.exp
sss-bp-on-user-bp.c
sss-bp-on-user-bp.exp
stack-checking.c
stack-checking.exp
stale-infcall.c
stale-infcall.exp
stap-probe.c
stap-probe.exp
start.c
start.exp
statistics.exp
step-break.c
step-break.exp
step-bt.c
step-bt.exp after gdb_run_cmd, gdb_expect -> gdb_test_multiple/gdb_test 2014-09-12 22:16:31 +01:00
step-line.c
step-line.exp Don't remove files copied to host 2014-10-20 13:34:28 +08:00
step-line.inp
step-resume-infcall.c
step-resume-infcall.exp
step-sw-breakpoint-adjust-pc.c PR gdb/12623: non-stop crashes inferior, PC adjustment and 1-byte insns 2014-10-28 16:00:06 +00:00
step-sw-breakpoint-adjust-pc.exp PR gdb/12623: non-stop crashes inferior, PC adjustment and 1-byte insns 2014-10-28 16:00:06 +00:00
step-symless.c
step-symless.exp
step-test.c
step-test.exp
store.c
store.exp
structs2.c
structs2.exp
structs3.c
structs3.exp
structs.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
structs.exp
subst.exp
sum.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
sym-file-lib.c
sym-file-loader.c
sym-file-loader.h
sym-file-main.c
sym-file.exp
symbol-without-target_section.c
symbol-without-target_section.exp
symtab-search-order-1.c Add copyright headers. 2014-11-15 10:20:21 -08:00
symtab-search-order-shlib-1.c Add copyright headers. 2014-11-15 10:20:21 -08:00
symtab-search-order.c Add copyright headers. 2014-11-15 10:20:21 -08:00
symtab-search-order.exp PR 17564: Fix objfile search order for static symbols. 2014-11-10 15:48:49 -08:00
term.c
term.exp
testenv.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
testenv.exp
trace-commands.exp
tui-layout.exp
twice.c
twice.exp
type-opaque-lib.c
type-opaque-main.c
type-opaque.exp
ui-redirect.exp
unload.c
unload.exp
unloadshr2.c
unloadshr.c
until-nodebug.exp
until.exp
unwindonsignal.c
unwindonsignal.exp
valgrind-db-attach.c
valgrind-db-attach.exp
valgrind-infcall.c
valgrind-infcall.exp
value-double-free.c
value-double-free.exp
varargs.c
varargs.exp
vdso-warning.c PR symtab/14466: Work around PR libc/13097 "linux-vdso.so.1" 2014-10-10 16:30:59 +01:00
vdso-warning.exp PR symtab/14466: Work around PR libc/13097 "linux-vdso.so.1" 2014-10-10 16:30:59 +01:00
vforked-prog.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
vla-datatypes.c
vla-datatypes.exp
vla-ptr.c
vla-ptr.exp
vla-sideeffect.c
vla-sideeffect.exp
volatile.exp
watch_thread_num.c
watch_thread_num.exp
watch-bitfields.c Fix PR12526: -location watchpoints for bitfield arguments 2014-09-16 17:40:06 +01:00
watch-bitfields.exp gdb.base/watch-bitfields.exp: Improve test 2014-09-16 17:55:21 +01:00
watch-cond-infcall.c
watch-cond-infcall.exp
watch-cond.c
watch-cond.exp
watch-non-mem.c
watch-non-mem.exp
watch-read.c
watch-read.exp
watch-vfork.c
watch-vfork.exp
watchpoint-cond-gone-stripped.c
watchpoint-cond-gone.c
watchpoint-cond-gone.exp
watchpoint-delete.c
watchpoint-delete.exp
watchpoint-hw-hit-once.c Remove stale comment 2014-08-19 18:18:31 +01:00
watchpoint-hw-hit-once.exp Set breakpoint on the right line 2014-08-19 21:31:36 +08:00
watchpoint-hw.c
watchpoint-hw.exp
watchpoint-reuse-slot.c
watchpoint-reuse-slot.exp
watchpoint-solib-shr.c
watchpoint-solib.c
watchpoint-solib.exp GDB/testsuite: Correct gdb.base/watchpoint-solib.exp timeout tweak 2014-09-09 17:39:17 +01:00
watchpoint-stops-at-right-insn.c Add test to make sure GDB knows which "kind" of watchpoint the target has 2014-09-16 14:05:06 +01:00
watchpoint-stops-at-right-insn.exp Fix watchpoint-stops-at-right-insn.exp 2014-09-16 14:27:57 +01:00
watchpoint.c GDB testsuite: drop non-prototype C function header variants 2014-11-13 10:20:44 +01:00
watchpoint.exp
watchpoints.c
watchpoints.exp
wchar.c
wchar.exp
weaklib1.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
weaklib2.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
whatis-exp.exp
whatis.c
whatis.exp Remove Vax Ultrix and VAX BSD support 2014-10-24 17:56:56 +01:00