projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a38cd00
)
gdb: revert one erroneous bool-ification change
author
Simon Marchi
<simon.marchi@efficios.com>
Mon, 20 Feb 2023 16:52:40 +0000
(11:52 -0500)
committer
Simon Marchi
<simon.marchi@efficios.com>
Mon, 20 Feb 2023 16:53:34 +0000
(11:53 -0500)
Commit
42c13555ff88
("Change value::m_stack to bool") erroneously
changed a `0` to `false` in this call to read_value_memory. This
parameter is `LONGEST bit_offset`, it should stay `0`.
Change-Id: I128df6834cf8055ec6a7051e237e379978d3d651
gdb/value.c
patch
|
blob
|
history
diff --git
a/gdb/value.c
b/gdb/value.c
index e52d1d77b48ffc9cf1fa884831a6066b79c0a63f..d2c2a2d7859b680583c241aa2d99cb47cad62676 100644
(file)
--- a/
gdb/value.c
+++ b/
gdb/value.c
@@
-3749,7
+3749,7
@@
value::fetch_lazy_memory ()
gdb_assert (len >= 0);
if (len > 0)
- read_value_memory (this,
false
, stack (), addr,
+ read_value_memory (this,
0
, stack (), addr,
contents_all_raw ().data (), len);
}