projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix build error in gdb/rocm-tdep.c
[deliverable/binutils-gdb.git]
/
gdb
/
reggroups.h
diff --git
a/gdb/reggroups.h
b/gdb/reggroups.h
index 18fc1bf294de47c9c57722deb105efedff863df1..fd9426377e91bffb05f6f065a16e2dba6d0673d1 100644
(file)
--- a/
gdb/reggroups.h
+++ b/
gdb/reggroups.h
@@
-1,6
+1,6
@@
/* Register groupings for GDB, the GNU debugger.
/* Register groupings for GDB, the GNU debugger.
- Copyright (C) 2002-20
17
Free Software Foundation, Inc.
+ Copyright (C) 2002-20
20
Free Software Foundation, Inc.
Contributed by Red Hat.
Contributed by Red Hat.
@@
-41,6
+41,10
@@
extern struct reggroup *const restore_reggroup;
/* Create a new local register group. */
extern struct reggroup *reggroup_new (const char *name,
enum reggroup_type type);
/* Create a new local register group. */
extern struct reggroup *reggroup_new (const char *name,
enum reggroup_type type);
+/* Create a new register group allocated onto the gdbarch obstack. */
+extern struct reggroup *reggroup_gdbarch_new (struct gdbarch *gdbarch,
+ const char *name,
+ enum reggroup_type type);
/* Add a register group (with attribute values) to the pre-defined list. */
extern void reggroup_add (struct gdbarch *gdbarch, struct reggroup *group);
/* Add a register group (with attribute values) to the pre-defined list. */
extern void reggroup_add (struct gdbarch *gdbarch, struct reggroup *group);
@@
-57,6
+61,8
@@
extern struct reggroup *reggroup_next (struct gdbarch *gdbarch,
struct reggroup *last);
extern struct reggroup *reggroup_prev (struct gdbarch *gdbarch,
struct reggroup *curr);
struct reggroup *last);
extern struct reggroup *reggroup_prev (struct gdbarch *gdbarch,
struct reggroup *curr);
+/* Find a reggroup by name. */
+extern reggroup *reggroup_find (struct gdbarch *gdbarch, const char *name);
/* Is REGNUM a member of REGGROUP? */
extern int default_register_reggroup_p (struct gdbarch *gdbarch, int regnum,
/* Is REGNUM a member of REGGROUP? */
extern int default_register_reggroup_p (struct gdbarch *gdbarch, int regnum,
This page took
0.026009 seconds
and
4
git commands to generate.