diff options
author | monty@hundin.mysql.fi <> | 2001-12-06 14:10:51 +0200 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2001-12-06 14:10:51 +0200 |
commit | b658662ae4da6a9cfc83ed52d1cb9b84fcfa98ae (patch) | |
tree | 5892a4c0af05e8a0354e957498fe09243b13eebc /pstack | |
parent | b4da2fb0ab60caad614ed5ba3705367d7004ab22 (diff) | |
download | mariadb-git-b658662ae4da6a9cfc83ed52d1cb9b84fcfa98ae.tar.gz |
Update copyright
Fixed memory leak on shutdown (Affects the embedded version & MyODBC)
Diffstat (limited to 'pstack')
-rw-r--r-- | pstack/debug.c | 4 | ||||
-rw-r--r-- | pstack/debug.h | 2 | ||||
-rw-r--r-- | pstack/demangle.h | 2 | ||||
-rw-r--r-- | pstack/ieee.c | 6 | ||||
-rw-r--r-- | pstack/ieee.h | 5 | ||||
-rw-r--r-- | pstack/pstack.c | 5 |
6 files changed, 11 insertions, 13 deletions
diff --git a/pstack/debug.c b/pstack/debug.c index ee62bb17062..73412ae3f03 100644 --- a/pstack/debug.c +++ b/pstack/debug.c @@ -1774,7 +1774,7 @@ debug_make_baseclass (handle, type, bitpos, virtual, visibility) bfd_vma bitpos; boolean virtual; enum debug_visibility visibility; -{ +{ struct debug_baseclass *b; b = (struct debug_baseclass *) xmalloc (sizeof *b); @@ -3264,7 +3264,7 @@ debug_type_samep (info, t1, t2) case DEBUG_KIND_POINTER: ret = debug_type_samep (info, t1->u.kpointer, t2->u.kpointer); break; - + case DEBUG_KIND_FUNCTION: if (t1->u.kfunction->varargs != t2->u.kfunction->varargs || ! debug_type_samep (info, t1->u.kfunction->return_type, diff --git a/pstack/debug.h b/pstack/debug.h index 1b890b234f1..a4d3d8306cd 100644 --- a/pstack/debug.h +++ b/pstack/debug.h @@ -310,7 +310,7 @@ struct debug_write_fns visibility. The type must be popped off the type stack. */ boolean (*class_static_member) PARAMS ((PTR, const char *, const char *, enum debug_visibility)); - + /* Add a baseclass to the class currently being built. The type of the baseclass must be popped off the type stack. The arguments are the bit position, whether the class is virtual, and the diff --git a/pstack/demangle.h b/pstack/demangle.h index 00f6a0c3bc0..a961436ca77 100644 --- a/pstack/demangle.h +++ b/pstack/demangle.h @@ -1,6 +1,6 @@ /* Defs for interface to demanglers. Copyright 1992, 1995, 1996 Free Software Foundation, Inc. - + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) diff --git a/pstack/ieee.c b/pstack/ieee.c index 4b6ce69ebc6..8084656a5ef 100644 --- a/pstack/ieee.c +++ b/pstack/ieee.c @@ -562,7 +562,7 @@ ieee_read_expression (info, pp, pv) ieee_error (info, start, "unknown section"); return false; } - + if (esp - expr_stack >= EXPR_STACK_SIZE) { ieee_error (info, start, "expression stack overflow"); @@ -4486,7 +4486,7 @@ ieee_start_range (info, low) r->next = info->pending_ranges; info->pending_ranges = r; return true; -} +} /* Finish a range started by ieee_start_range. */ @@ -5822,7 +5822,7 @@ ieee_offset_type (p) which seems pretty important. I'm going to punt this for now. */ return ieee_int_type (p, 4, true); -} +} /* Make a method type. */ diff --git a/pstack/ieee.h b/pstack/ieee.h index 5ade39d33e3..56634b2819a 100644 --- a/pstack/ieee.h +++ b/pstack/ieee.h @@ -38,7 +38,7 @@ typedef union ieee_w_variable { typedef enum ieee_record -{ +{ ieee_number_start_enum = 0x00, ieee_number_end_enum=0x7f, ieee_number_repeat_start_enum = 0x80, @@ -123,7 +123,7 @@ typedef enum ieee_record ieee_bb_record_enum = 0xf8, ieee_be_record_enum = 0xf9 } ieee_record_enum_type; - + typedef struct ieee_section { unsigned int section_index; @@ -136,4 +136,3 @@ typedef struct ieee_section { #define IEEE_REFERENCE_BASE 11 #define IEEE_PUBLIC_BASE 32 #define IEEE_SECTION_NUMBER_BASE 1 - diff --git a/pstack/pstack.c b/pstack/pstack.c index 1132dcd83f7..48280d4aedb 100644 --- a/pstack/pstack.c +++ b/pstack/pstack.c @@ -10,12 +10,12 @@ it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - + You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. @@ -2743,4 +2743,3 @@ pstack_install_segv_action( const char* path_format_) /*********************************************************************/ /*********************************************************************/ /*********************************************************************/ - |