diff options
Diffstat (limited to 'gdb/nat/ppc-linux.c')
-rw-r--r-- | gdb/nat/ppc-linux.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/nat/ppc-linux.c b/gdb/nat/ppc-linux.c index 0957d1b..7454975 100644 --- a/gdb/nat/ppc-linux.c +++ b/gdb/nat/ppc-linux.c @@ -78,6 +78,8 @@ ppc64_64bit_inferior_p (long msr) int ppc_linux_target_wordsize (int tid) { + gdb_assert (tid != 0); + int wordsize = 4; /* Check for 64-bit inferior process. This is the case when the host is |