]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/user-regs.h
[PATCH] allow empty string as argument to -Map
[thirdparty/binutils-gdb.git] / gdb / user-regs.h
index f5fa12e73d1f723df967b5847b7b95bce0378e15..b8bf181a1a67cda37784ff048aba01843c10f57d 100644 (file)
@@ -1,7 +1,6 @@
 /* Per-frame user registers, for GDB, the GNU debugger.
 
-   Copyright (C) 2002, 2003, 2007, 2008, 2009, 2010
-   Free Software Foundation, Inc.
+   Copyright (C) 2002-2020 Free Software Foundation, Inc.
 
    Contributed by Red Hat.
 
@@ -37,7 +36,7 @@
 /* TODO: cagney/2003-06-27: Need to think more about how these
    registers are added, read, and modified.  At present they are kind
    of assumed to be read-only.  Should it, for instance, return a
-   register descriptor that contains all the relvent access methods.  */
+   register descriptor that contains all the relevant access methods.  */
 
 struct frame_info;
 struct gdbarch;
@@ -63,7 +62,8 @@ extern struct value *value_of_user_reg (int regnum, struct frame_info *frame);
 
 /* Add a builtin register (present in all architectures).  */
 extern void user_reg_add_builtin (const char *name,
-                                 user_reg_read_ftype *read, const void *baton);
+                                 user_reg_read_ftype *read,
+                                 const void *baton);
 
 /* Add a per-architecture frame register.  */
 extern void user_reg_add (struct gdbarch *gdbarch, const char *name,