aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1998-04-03 02:51:47 +0000
committerIan Lance Taylor <ian@airs.com>1998-04-03 02:51:47 +0000
commit335c5c6c9d8365101b2d2d47a2aa0f64d1bfff23 (patch)
treeb43c59dbf916bdca07feda6a7914ea497097c648
parentb443327946539db2ba83564df2e1f3deda9c6cd9 (diff)
downloadgdb-335c5c6c9d8365101b2d2d47a2aa0f64d1bfff23.zip
gdb-335c5c6c9d8365101b2d2d47a2aa0f64d1bfff23.tar.gz
gdb-335c5c6c9d8365101b2d2d47a2aa0f64d1bfff23.tar.bz2
* gasp.c (main): Set next field of new include_path structure to
NULL. From Avery Pennarun <averyp@gdc.ca>.
-rw-r--r--gas/ChangeLog8
-rw-r--r--gas/gasp.c1
2 files changed, 9 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index d0e92e2..8c85893 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,11 @@
+Thu Apr 2 16:36:47 1998 Ian Lance Taylor <ian@cygnus.com>
+
+ * gasp.c (main): Set next field of new include_path structure to
+ NULL. From Avery Pennarun <averyp@gdc.ca>.
+
+ * read.c (s_mri_sect): Call as_bad rather than abort for an
+ unsupported MRI target.
+
Wed Apr 1 11:08:27 1998 Nick Clifton <nickc@cygnus.com>
* config/tc-arm.c (arm_validate_fix): New function. Determine if
diff --git a/gas/gasp.c b/gas/gasp.c
index 4ddfe44..d64c242 100644
--- a/gas/gasp.c
+++ b/gas/gasp.c
@@ -3630,6 +3630,7 @@ main (argc, argv)
case 'I':
{
include_path *p = (include_path *) xmalloc (sizeof (include_path));
+ p->next = NULL;
sb_new (&p->path);
sb_add_string (&p->path, optarg);
if (paths_tail)