aboutsummaryrefslogtreecommitdiff
path: root/gdb/auxv.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/auxv.c')
-rw-r--r--gdb/auxv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/auxv.c b/gdb/auxv.c
index 6507df1..2bcf9f4 100644
--- a/gdb/auxv.c
+++ b/gdb/auxv.c
@@ -600,7 +600,7 @@ _initialize_auxv ()
This is information provided by the operating system at program startup."));
/* Observers used to invalidate the auxv cache when needed. */
- gdb::observers::inferior_exit.attach (invalidate_auxv_cache_inf);
- gdb::observers::inferior_appeared.attach (invalidate_auxv_cache_inf);
- gdb::observers::executable_changed.attach (invalidate_auxv_cache);
+ gdb::observers::inferior_exit.attach (invalidate_auxv_cache_inf, "auxv");
+ gdb::observers::inferior_appeared.attach (invalidate_auxv_cache_inf, "auxv");
+ gdb::observers::executable_changed.attach (invalidate_auxv_cache, "auxv");
}