diff options
author | Kevin Buettner <kevinb@redhat.com> | 2001-07-07 22:02:51 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2001-07-07 22:02:51 +0000 |
commit | 775cbfc24551f7d6d7617ebba579a51b861b87cc (patch) | |
tree | 44044e25e97eaa9a7ea939b2820c2cdeb4efce06 /gdb/procfs.c | |
parent | 4d26c9bb2b76b8da4b320de9718feaa72c69e27e (diff) | |
download | gdb-775cbfc24551f7d6d7617ebba579a51b861b87cc.tar.gz |
Allocate/free space associated with saved_entryset and saved_exitset.
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r-- | gdb/procfs.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c index 990130c680f..76333ef04f6 100644 --- a/gdb/procfs.c +++ b/gdb/procfs.c @@ -674,6 +674,9 @@ create_procinfo (int pid, int tid) load_syscalls (pi); #endif + pi->saved_entryset = sysset_t_alloc (pi); + pi->saved_exitset = sysset_t_alloc (pi); + /* Chain into list. */ if (tid == 0) { @@ -743,6 +746,8 @@ destroy_one_procinfo (procinfo **list, procinfo *pi) #ifdef DYNAMIC_SYSCALLS free_syscalls (pi); #endif + xfree (pi->saved_entryset); + xfree (pi->saved_exitset); xfree (pi); } |