aboutsummaryrefslogtreecommitdiff
path: root/gdb/source.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-02-08 06:03:54 +0000
committerAndrew Cagney <cagney@redhat.com>2001-02-08 06:03:54 +0000
commit8e65ff28b0780a52bdbe067b6297a66f9ec4e16e (patch)
tree1cf3436ec5c6d3e4f4dedb4ee2ccfa2c107dc33b /gdb/source.c
parent8ca8f343f993cbe9937ef15e8cbbee95613c2016 (diff)
downloadfsf-binutils-gdb-8e65ff28b0780a52bdbe067b6297a66f9ec4e16e.zip
fsf-binutils-gdb-8e65ff28b0780a52bdbe067b6297a66f9ec4e16e.tar.gz
fsf-binutils-gdb-8e65ff28b0780a52bdbe067b6297a66f9ec4e16e.tar.bz2
Add __FILE__ and __LINE__ parameter to internal_error() /
internal_verror().
Diffstat (limited to 'gdb/source.c')
-rw-r--r--gdb/source.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/source.c b/gdb/source.c
index 8313aee..4a64c55 100644
--- a/gdb/source.c
+++ b/gdb/source.c
@@ -200,7 +200,9 @@ select_source_symtab (register struct symtab *s)
{
if (cs_pst->readin)
{
- internal_error ("select_source_symtab: readin pst found and no symtabs.");
+ internal_error (__FILE__, __LINE__,
+ "select_source_symtab: "
+ "readin pst found and no symtabs.");
}
else
{