aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/progspace.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c35cbd7..8a971e5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2015-07-08 Simon Marchi <simon.marchi@ericsson.com>
+ * progspace.c (delete_program_space): Add missing spaces.
+
+2015-07-08 Simon Marchi <simon.marchi@ericsson.com>
+
* inferior.c (delete_inferior_1): Rename to ...
(delete_inferior): ..., remove 'silent' parameter, delete
program space when unused and remove call to prune_program_spaces.
diff --git a/gdb/progspace.c b/gdb/progspace.c
index a8f5ea0..ea2f8ec 100644
--- a/gdb/progspace.c
+++ b/gdb/progspace.c
@@ -251,8 +251,8 @@ void
delete_program_space (struct program_space *pspace)
{
struct program_space *ss, **ss_link;
- gdb_assert(pspace != NULL);
- gdb_assert(pspace != current_program_space);
+ gdb_assert (pspace != NULL);
+ gdb_assert (pspace != current_program_space);
ss = program_spaces;
ss_link = &program_spaces;