Drop 'regset_from_core_section' gdbarch method
Now that all instances of the regset_from_core_section gdbarch method have been replaced by the new iterator method, delete the obsolete method from the gdbarch interface. Adjust all invocations and references to it. gdb/ChangeLog: * gdbarch.sh (regset_from_core_section): Remove gdbarch method. * gdbarch.c: Regenerate. * gdbarch.h: Likewise. * corelow.c (sniff_core_bfd): Drop presence check for deleted gdbarch method 'regset_from_core_section'. (get_core_register_section): Remove handling for the case that regset == NULL and regset_from_core_section is defined. (get_core_registers): Drop check for deleted method. * procfs.c (procfs_do_thread_registers): Adjust comment.
This commit is contained in:
parent
f968fe80b0
commit
29082443fc
6 changed files with 15 additions and 66 deletions
|
@ -651,10 +651,6 @@ m:int:register_reggroup_p:int regnum, struct reggroup *reggroup:regnum, reggroup
|
|||
# Fetch the pointer to the ith function argument.
|
||||
F:CORE_ADDR:fetch_pointer_argument:struct frame_info *frame, int argi, struct type *type:frame, argi, type
|
||||
|
||||
# Return the appropriate register set for a core file section with
|
||||
# name SECT_NAME and size SECT_SIZE.
|
||||
M:const struct regset *:regset_from_core_section:const char *sect_name, size_t sect_size:sect_name, sect_size
|
||||
|
||||
# Iterate over all supported register notes in a core file. For each
|
||||
# supported register note section, the iterator must call CB and pass
|
||||
# CB_DATA unchanged. If REGCACHE is not NULL, the iterator can limit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue