projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gdbserver: Support read-only regsets in linux-low.c
[deliverable/binutils-gdb.git]
/
gdb
/
gdbserver
/
linux-low.c
diff --git
a/gdb/gdbserver/linux-low.c
b/gdb/gdbserver/linux-low.c
index c1b53ff42d1e7c1347b47139bb5921d47e9e6a58..5f6201072213ca7fcd14a49fc0676f0f976349ed 100644
(file)
--- a/
gdb/gdbserver/linux-low.c
+++ b/
gdb/gdbserver/linux-low.c
@@
-4293,7
+4293,8
@@
regsets_store_inferior_registers (struct regsets_info *regsets_info,
void *buf, *data;
int nt_type, res;
- if (regset->size == 0 || regset_disabled (regsets_info, regset))
+ if (regset->size == 0 || regset_disabled (regsets_info, regset)
+ || regset->fill_function == NULL)
continue;
buf = xmalloc (regset->size);
This page took
0.037332 seconds
and
4
git commands to generate.