diff options
Diffstat (limited to 'gdb/gdbserver/tdesc.c')
-rw-r--r-- | gdb/gdbserver/tdesc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/gdbserver/tdesc.c b/gdb/gdbserver/tdesc.c index 9710128..0c56f5c 100644 --- a/gdb/gdbserver/tdesc.c +++ b/gdb/gdbserver/tdesc.c @@ -35,8 +35,7 @@ init_target_desc (struct target_desc *tdesc) /* Make sure PBUFSIZ is large enough to hold a full register packet. */ - if (2 * tdesc->registers_size + 32 > PBUFSIZ) - fatal ("Register packet size exceeds PBUFSIZ."); + gdb_assert (2 * tdesc->registers_size + 32 <= PBUFSIZ); } #ifndef IN_PROCESS_AGENT |