Deleted Added
full compact
stabs.c (33965) stabs.c (38889)
1/* stabs.c -- Parse stabs debugging information
1/* stabs.c -- Parse stabs debugging information
2 Copyright (C) 1995, 1996 Free Software Foundation, Inc.
2 Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
3 Written by Ian Lance Taylor <ian@cygnus.com>.
4
5 This file is part of GNU Binutils.
6
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.

--- 2928 unchanged lines hidden (view full) ---

2939 strcat (physname, buf);
2940 if (tagname != NULL)
2941 strcat (physname, tagname);
2942 strcat (physname, argtypes);
2943
2944 *pphysname = physname;
2945 }
2946
3 Written by Ian Lance Taylor <ian@cygnus.com>.
4
5 This file is part of GNU Binutils.
6
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.

--- 2928 unchanged lines hidden (view full) ---

2939 strcat (physname, buf);
2940 if (tagname != NULL)
2941 strcat (physname, tagname);
2942 strcat (physname, argtypes);
2943
2944 *pphysname = physname;
2945 }
2946
2947 if (*argtypes == '\0')
2947 if (*argtypes == '\0' || is_destructor)
2948 {
2949 args = (debug_type *) xmalloc (sizeof *args);
2950 *args = NULL;
2951 return debug_make_method_type (dhandle, return_type, class_type, args,
2952 false);
2953 }
2954
2955 args = stab_demangle_argtypes (dhandle, info, *pphysname, &varargs);

--- 2127 unchanged lines hidden ---
2948 {
2949 args = (debug_type *) xmalloc (sizeof *args);
2950 *args = NULL;
2951 return debug_make_method_type (dhandle, return_type, class_type, args,
2952 false);
2953 }
2954
2955 args = stab_demangle_argtypes (dhandle, info, *pphysname, &varargs);

--- 2127 unchanged lines hidden ---