aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python')
-rw-r--r--gdb/python/py-unwind.c2
-rw-r--r--gdb/python/python-internal.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/gdb/python/py-unwind.c b/gdb/python/py-unwind.c
index c016f5b1aa0..9198e666d59 100644
--- a/gdb/python/py-unwind.c
+++ b/gdb/python/py-unwind.c
@@ -495,7 +495,7 @@ pending_framepy_read_register (PyObject *self, PyObject *args, PyObject *kw)
get_frame_register_value() was used here, which did not
handle the user register case. */
value *val = value_of_register
- (regnum, get_next_frame_sentinel_okay (pending_frame->frame_info));
+ (regnum, get_next_frame_sentinel_okay (pending_frame->frame_info));
if (val == NULL)
PyErr_Format (PyExc_ValueError,
"Cannot read register %d from frame.",
diff --git a/gdb/python/python-internal.h b/gdb/python/python-internal.h
index bcaebec791d..502f66c5682 100644
--- a/gdb/python/python-internal.h
+++ b/gdb/python/python-internal.h
@@ -1227,8 +1227,8 @@ struct gdbpy_default_invalidator
/* A "storage" implementation suitable for temporary (on-demand) objects. */
template <typename P,
- typename V,
- V* P::*val_slot,
+ typename V,
+ V* P::*val_slot,
typename Invalidator = gdbpy_default_invalidator<P, V, val_slot>>
class gdbpy_tracking_registry_storage
{
@@ -1272,8 +1272,8 @@ protected:
from storage.
*/
template <typename P,
- typename V,
- V* P::*val_slot,
+ typename V,
+ V* P::*val_slot,
typename Invalidator = gdbpy_default_invalidator<P, V, val_slot>>
class gdbpy_memoizing_registry_storage
{