aboutsummaryrefslogtreecommitdiff
path: root/gdb/ser-tcp.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2013-03-26 20:19:31 +0000
committerPedro Alves <palves@redhat.com>2013-03-26 20:19:31 +0000
commit1b493192488ccb9886ffe709864e5f5c0588b004 (patch)
tree9f03b9b3c8fa786dd43fc2637c2b10214d22cba7 /gdb/ser-tcp.c
parent7ee70bf5188928a40508628887cfc1ac47d67285 (diff)
downloadgdb-1b493192488ccb9886ffe709864e5f5c0588b004.zip
gdb-1b493192488ccb9886ffe709864e5f5c0588b004.tar.gz
gdb-1b493192488ccb9886ffe709864e5f5c0588b004.tar.bz2
Make "set/show remoteaddresssize" a zuinteger command instead of uinteger.
It makes no sense to talk about an "unlimited" address size in this context. (gdb) show remoteaddresssize The maximum size of the address (in bits) in a memory packet is 0. (gdb) set remoteaddresssize 0 (gdb) show remoteaddresssize The maximum size of the address (in bits) in a memory packet is unlimited. "set remoteaddresssize 0" mapping to UINT_MAX means you can't force gdb through this path twice in the same GDB run: static CORE_ADDR remote_address_masked (CORE_ADDR addr) { unsigned int address_size = remote_address_size; /* If "remoteaddresssize" was not set, default to target address size. */ if (!address_size) address_size = gdbarch_addr_bit (target_gdbarch ()); gdb/ 2013-03-26 Pedro Alves <palves@redhat.com> * remote.c (_initialize_remote): Make "set remoteaddresssize" a zuinteger command instead of uinteger.
Diffstat (limited to 'gdb/ser-tcp.c')
0 files changed, 0 insertions, 0 deletions