aboutsummaryrefslogtreecommitdiff
path: root/gprof/gprof.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2005-09-30 16:37:32 +0000
committerMark Mitchell <mark@codesourcery.com>2005-09-30 16:37:32 +0000
commit869b9d07bbfd935cc39b6bccb3da0506e467b6a7 (patch)
tree42d3ddf72ff4cf1163eb14e0c790fa9876901220 /gprof/gprof.c
parent58654fd86881e7321ff008ba2977e175a5b141b7 (diff)
downloadgdb-869b9d07bbfd935cc39b6bccb3da0506e467b6a7.zip
gdb-869b9d07bbfd935cc39b6bccb3da0506e467b6a7.tar.gz
gdb-869b9d07bbfd935cc39b6bccb3da0506e467b6a7.tar.bz2
* addr2line.c (main): Likewise.
* ar.c (main): Likewise. * coffdump.c (main): Likewise. * cxxfilt.c (main): Likewise. * dlltool.c (main): Likewise. * dllwrap.c (main): Likewise. * nlmconv.c (main): Likewise. * nm.c (main): Likewise. * objcopy.c (main): Likewise. * objdump.c (main): Likewise. * readelf.c (main): Likewise. * size.c (main): Likeiwse. * srcconv.c (main): Likewise. * strings.c (main): Likewise. * sysdump.c (main): Likewise. * sysinfo.c (main): Likewise. * windres.c (main): Likewise. * ldmain.c (main): Use expandargv. * gprof.c (main): Use expandargv. * as.c (main): Use expandargv.
Diffstat (limited to 'gprof/gprof.c')
-rw-r--r--gprof/gprof.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gprof/gprof.c b/gprof/gprof.c
index 0430df7..2ac4340 100644
--- a/gprof/gprof.c
+++ b/gprof/gprof.c
@@ -197,6 +197,8 @@ main (int argc, char **argv)
whoami = argv[0];
xmalloc_set_program_name (whoami);
+ expandargv (&argc, &argv);
+
while ((ch = getopt_long (argc, argv,
"aA::bBcCd::De:E:f:F:hiI:J::k:lLm:n::N::O:p::P::q::Q::st:Tvw:xyzZ::",
long_options, 0))