aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-11-20 06:47:25 +0000
committerYao Qi <yao@codesourcery.com>2012-11-20 06:47:25 +0000
commitbd0cfc4d46e8ad3ddaebc2dd3d8c7f93b1da751d (patch)
treecce857e85d952a6623951f70a6c7af49d8905244
parentd2cf1c6cfceee86f869cf2a3e7fd32b47350a38c (diff)
downloadgdb-bd0cfc4d46e8ad3ddaebc2dd3d8c7f93b1da751d.zip
gdb-bd0cfc4d46e8ad3ddaebc2dd3d8c7f93b1da751d.tar.gz
gdb-bd0cfc4d46e8ad3ddaebc2dd3d8c7f93b1da751d.tar.bz2
gdb/
2012-11-20 Yao Qi <yao@codesourcery.com> * objfiles.c (init_entry_point_info): Remove trailing spaces.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/objfiles.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5d3760c..9be4fea 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2012-11-20 Yao Qi <yao@codesourcery.com>
+ * objfiles.c (init_entry_point_info): Remove trailing spaces.
+
+2012-11-20 Yao Qi <yao@codesourcery.com>
+
* infrun.c (handle_inferior_event): Pass 'saved_singlestep_ptid'
to deprecated_context_hook.
diff --git a/gdb/objfiles.c b/gdb/objfiles.c
index a1db8c6..4cc2fea 100644
--- a/gdb/objfiles.c
+++ b/gdb/objfiles.c
@@ -345,7 +345,7 @@ init_entry_point_info (struct objfile *objfile)
/* Some shared libraries may have entry points set and be
runnable. There's no clear way to indicate this, so just check
for values other than zero. */
- objfile->ei.entry_point = bfd_get_start_address (objfile->obfd);
+ objfile->ei.entry_point = bfd_get_start_address (objfile->obfd);
objfile->ei.entry_point_p = 1;
}
else