Merge {i386,amd64}_linux_read_description
authorGary Benson <gbenson@redhat.com>
Fri, 27 Jun 2014 08:29:06 +0000 (09:29 +0100)
committerGary Benson <gbenson@redhat.com>
Fri, 11 Jul 2014 11:23:15 +0000 (12:23 +0100)
commitcb1da100b6291ad35ad886555a0f7114925ed29f
tree1d53a95f90baf21763e7a7542d870a3ad3f8be34
parent2acf3cd06577b80adb96df754f910da8b754c7dc
Merge {i386,amd64}_linux_read_description

This commit merges i386_ and amd64_linux_read_description, renaming
both to x86_linux_read_description.

gdb/
2014-07-11  Gary Benson  <gbenson@redhat.com>

* amd64-linux-nat.c (amd64_linux_read_description): Renamed to
x86_linux_read_description.  All uses updated.  amd64-specific
code conditionalized.  Conditionalized i386-specific code added.
Redundant cast removed.
* i386-linux-nat.c (i386_linux_read_description): Renamed to
x86_linux_read_description.  All uses updated.  i386-specific
code conditionalized.  Conditionalized amd64-specific code added.
One sizeof replaced with the actual type it is describing.
gdb/ChangeLog
gdb/amd64-linux-nat.c
gdb/i386-linux-nat.c