aboutsummaryrefslogtreecommitdiff
path: root/bfd/syms.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2023-05-03 15:53:29 +0930
committerAlan Modra <amodra@gmail.com>2023-05-03 15:53:29 +0930
commita07223191bdda5e85a500e3b8206ee8fe8bcdfed (patch)
tree0184018534c7fc1c58bcb3ddb223916123f55c56 /bfd/syms.c
parent717d4bd6d199fcf834f741489aaf3bd800f9769f (diff)
downloadgdb-a07223191bdda5e85a500e3b8206ee8fe8bcdfed.zip
gdb-a07223191bdda5e85a500e3b8206ee8fe8bcdfed.tar.gz
gdb-a07223191bdda5e85a500e3b8206ee8fe8bcdfed.tar.bz2
Remove unused args from bfd_make_debug_symbol
The ptr and size args are unused. Make the function look the same as bfd_make_empty_symbol.
Diffstat (limited to 'bfd/syms.c')
-rw-r--r--bfd/syms.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/bfd/syms.c b/bfd/syms.c
index 57ac52f..6979096 100644
--- a/bfd/syms.c
+++ b/bfd/syms.c
@@ -569,11 +569,10 @@ FUNCTION
DESCRIPTION
Create a new <<asymbol>> structure for the BFD @var{abfd},
- to be used as a debugging symbol. Further details of its use have
- yet to be worked out.
+ to be used as a debugging symbol.
-.#define bfd_make_debug_symbol(abfd,ptr,size) \
-. BFD_SEND (abfd, _bfd_make_debug_symbol, (abfd, ptr, size))
+.#define bfd_make_debug_symbol(abfd) \
+. BFD_SEND (abfd, _bfd_make_debug_symbol, (abfd))
.
*/
@@ -1577,9 +1576,7 @@ _bfd_nosymbols_find_inliner_info
}
asymbol *
-_bfd_nosymbols_bfd_make_debug_symbol (bfd *abfd,
- void *ptr ATTRIBUTE_UNUSED,
- unsigned long sz ATTRIBUTE_UNUSED)
+_bfd_nosymbols_bfd_make_debug_symbol (bfd *abfd)
{
return (asymbol *) _bfd_ptr_bfd_null_error (abfd);
}