summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorFernando Nasser <fnasser@redhat.com>2001-01-17 23:45:06 +0000
committerFernando Nasser <fnasser@redhat.com>2001-01-17 23:45:06 +0000
commit0c3221f03434182e2d04858a5ac485814dcc6908 (patch)
tree0fe004bfc3c92942000f7e97fd28770c4a70fdad /gdb
parentafa9e75bb4fdebb7cc788d003420b5431419c991 (diff)
downloadgdb-0c3221f03434182e2d04858a5ac485814dcc6908.tar.gz
2001-01-17 Fernando Nasser <fnasser@redhat.com>
* library/srctextwin.itb (_highlightAsmLine): Add missing FILENAME parameter. (FillAssembly, FillMixed): Pass the FILENAME parameter that is needed by the above method. * library/srctextwin.ith (_highlightAsmLine): Add FILENAME parameter to method definition.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/gdbtk/ChangeLog9
-rw-r--r--gdb/gdbtk/library/srctextwin.itb6
-rw-r--r--gdb/gdbtk/library/srctextwin.ith2
3 files changed, 13 insertions, 4 deletions
diff --git a/gdb/gdbtk/ChangeLog b/gdb/gdbtk/ChangeLog
index 0737b437282..7c51b83ce98 100644
--- a/gdb/gdbtk/ChangeLog
+++ b/gdb/gdbtk/ChangeLog
@@ -1,3 +1,12 @@
+2001-01-17 Fernando Nasser <fnasser@redhat.com>
+
+ * library/srctextwin.itb (_highlightAsmLine): Add missing FILENAME
+ parameter.
+ (FillAssembly, FillMixed): Pass the FILENAME parameter that is
+ needed by the above method.
+ * library/srctextwin.ith (_highlightAsmLine): Add FILENAME parameter
+ to method definition.
+
2001-01-15 Fernando Nasser <fnasser@redhat.com>
* srcwin.itb (clear_file): Pass the appropriate value to the GO
diff --git a/gdb/gdbtk/library/srctextwin.itb b/gdb/gdbtk/library/srctextwin.itb
index 44961afd17d..fbe5ab05bfd 100644
--- a/gdb/gdbtk/library/srctextwin.itb
+++ b/gdb/gdbtk/library/srctextwin.itb
@@ -1060,7 +1060,7 @@ body SrcTextWin::FillAssembly {w tagname filename funcname line addr pc_addr lib
}
# highlight proper line number
- _highlightAsmLine $win $addr $pc_addr $tagname
+ _highlightAsmLine $win $addr $pc_addr $tagname $filename
display_line $win $current(asm_line)
}
@@ -1119,7 +1119,7 @@ body SrcTextWin::FillMixed {w tagname filename funcname line addr pc_addr lib} {
}
# highlight proper line number
- _highlightAsmLine $win $addr $pc_addr $tagname
+ _highlightAsmLine $win $addr $pc_addr $tagname $filename
display_line $win $current(asm_line)
}
@@ -1127,7 +1127,7 @@ body SrcTextWin::FillMixed {w tagname filename funcname line addr pc_addr lib} {
# METHOD: _highlightAsmLine - highlight the current execution line
# in one of the assembly modes
# ------------------------------------------------------------------
-body SrcTextWin::_highlightAsmLine {win addr pc_addr tagname} {
+body SrcTextWin::_highlightAsmLine {win addr pc_addr tagname filename} {
global gdb_running
# Some architectures allow multiple instructions in each asm source
diff --git a/gdb/gdbtk/library/srctextwin.ith b/gdb/gdbtk/library/srctextwin.ith
index e045f1e008d..a0c6e7f69d8 100644
--- a/gdb/gdbtk/library/srctextwin.ith
+++ b/gdb/gdbtk/library/srctextwin.ith
@@ -131,7 +131,7 @@ class SrcTextWin {
method _mtime_changed {filename}
method _initialize_srctextwin {}
method _clear_cache {}
- method _highlightAsmLine {win addr pc_addr tagname} {}
+ method _highlightAsmLine {win addr pc_addr tagname filename} {}
proc makeBreakDot {size colorList {image {}}}
}