Fix some infrastructure to be able to cope with host and target
authorJohn Gilmore <gnu@cygnus>
Fri, 6 Sep 1991 07:13:38 +0000 (07:13 +0000)
committerJohn Gilmore <gnu@cygnus>
Fri, 6 Sep 1991 07:13:38 +0000 (07:13 +0000)
commit96b2f51cdce670745f5d159680892945b33c7ac6
tree56ccf3af5bce2ae50a5043ed392bf4e9f3e1cb53
parent06b6c733aedcaeaa7b54a7152e9d5e5dfdc6266f
Fix some infrastructure to be able to cope with host and target
machines with different sized basic types (ints, ptrs, etc).
(Idea from pierre@la.tce.com (Pierre Willard).)

* values.c (value_from_longest):  Rename from value_from_long.
Handle pointer types as well as integers, so that targets with
different pointer sizes from the host can be accomodated.
* breakpoint.c, convex-tdep.c, eval.c, expprint.c, printcmd.c,
valarith.c, valops.c, valprint.c, value.h, values.c:  Rename
uses of value_from_long to value_from_longest.
gdb/values.c