Remove some unused declarations
This removes a couple of unused cleanup-related declarations. gdb/ChangeLog 2017-09-29 Tom Tromey <tom@tromey.com> * main.c (captured_main_1): Remove unused declaration. * spu-multiarch.c (parse_spufs_run): Remove unused declaration.
This commit is contained in:
parent
99ef965c6e
commit
9754d8c4c4
3 changed files with 5 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2017-09-29 Tom Tromey <tom@tromey.com>
|
||||||
|
|
||||||
|
* main.c (captured_main_1): Remove unused declaration.
|
||||||
|
* spu-multiarch.c (parse_spufs_run): Remove unused declaration.
|
||||||
|
|
||||||
2017-09-29 Tom Tromey <tom@tromey.com>
|
2017-09-29 Tom Tromey <tom@tromey.com>
|
||||||
|
|
||||||
* symtab.c (search_symbols): Remove unused outer cleanup.
|
* symtab.c (search_symbols): Remove unused outer cleanup.
|
||||||
|
|
|
@ -498,8 +498,6 @@ captured_main_1 (struct captured_main_args *context)
|
||||||
int save_auto_load;
|
int save_auto_load;
|
||||||
struct objfile *objfile;
|
struct objfile *objfile;
|
||||||
|
|
||||||
struct cleanup *chain;
|
|
||||||
|
|
||||||
#ifdef HAVE_SBRK
|
#ifdef HAVE_SBRK
|
||||||
/* Set this before constructing scoped_command_stats. */
|
/* Set this before constructing scoped_command_stats. */
|
||||||
lim_at_start = (char *) sbrk (0);
|
lim_at_start = (char *) sbrk (0);
|
||||||
|
|
|
@ -56,7 +56,6 @@ static int
|
||||||
parse_spufs_run (ptid_t ptid, int *fd, CORE_ADDR *addr)
|
parse_spufs_run (ptid_t ptid, int *fd, CORE_ADDR *addr)
|
||||||
{
|
{
|
||||||
enum bfd_endian byte_order = gdbarch_byte_order (target_gdbarch ());
|
enum bfd_endian byte_order = gdbarch_byte_order (target_gdbarch ());
|
||||||
struct cleanup *old_chain;
|
|
||||||
struct gdbarch_tdep *tdep;
|
struct gdbarch_tdep *tdep;
|
||||||
struct regcache *regcache;
|
struct regcache *regcache;
|
||||||
gdb_byte buf[4];
|
gdb_byte buf[4];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue