projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Adjust byte order variable display/change if DW_AT_endianity is present.
[deliverable/binutils-gdb.git]
/
gdb
/
c-lang.c
diff --git
a/gdb/c-lang.c
b/gdb/c-lang.c
index 74e3f7311996755386b4a0f0db514bebb0be15bd..1de44f7efb5b3f178d5a047890da91dea2aa868d 100644
(file)
--- a/
gdb/c-lang.c
+++ b/
gdb/c-lang.c
@@
-245,7
+245,7
@@
c_get_string (struct value *value, gdb::unique_xmalloc_ptr<gdb_byte> *buffer,
struct type *element_type = TYPE_TARGET_TYPE (type);
int req_length = *length;
enum bfd_endian byte_order
- =
gdbarch_byte_order (get_type_arch (type)
);
+ =
type_byte_order (type
);
if (element_type == NULL)
goto error;
This page took
0.02393 seconds
and
4
git commands to generate.