aboutsummaryrefslogtreecommitdiff
path: root/gdb/source.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/source.c')
-rw-r--r--gdb/source.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/source.c b/gdb/source.c
index 8c6fec1..aff0542 100644
--- a/gdb/source.c
+++ b/gdb/source.c
@@ -984,8 +984,7 @@ find_source_lines (struct symtab *s, int desc)
long mtime = 0;
int size;
- line_charpos = (int *) xmmalloc (s->objfile->md,
- lines_allocated * sizeof (int));
+ line_charpos = (int *) xmalloc (lines_allocated * sizeof (int));
if (fstat (desc, &st) < 0)
perror_with_name (s->filename);