diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-05-05 16:54:26 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-05-05 16:54:26 +0000 |
commit | faab992242207dfee20afc307aabb28e6e6bfe7f (patch) | |
tree | b57416e33008c176f719796d71ef22afb90db97b /gdb/infcmd.c | |
parent | 8733d1bff87f31293dccdd5eb8806dbb7f048140 (diff) | |
download | gdb-faab992242207dfee20afc307aabb28e6e6bfe7f.zip gdb-faab992242207dfee20afc307aabb28e6e6bfe7f.tar.gz gdb-faab992242207dfee20afc307aabb28e6e6bfe7f.tar.bz2 |
gdb/
* event-top.c (display_gdb_prompt): Call missing do_cleanups.
* infcmd.c (get_return_value) <!stop_regs>: Do not overwrite CLEANUP.
* symfile.c (symfile_bfd_open): New variable back_to. Do not leave
a stale cleanup. Fix double free of NAME.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r-- | gdb/infcmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c index af6a4db..11cdf62 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -1452,7 +1452,7 @@ get_return_value (struct value *function, struct type *value_type) if (!stop_regs) { stop_regs = regcache_dup (get_current_regcache ()); - cleanup = make_cleanup_regcache_xfree (stop_regs); + make_cleanup_regcache_xfree (stop_regs); } gdbarch = get_regcache_arch (stop_regs); |