diff options
author | Tom Tromey <tromey@redhat.com> | 2001-08-24 00:11:06 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2001-08-24 00:11:06 +0000 |
commit | d1d964585e2df746fd346777e7815e47e4ba77fd (patch) | |
tree | 3f16c58bb285b94a3180597f0aaaacff9ff499ee /gdb/gdbtk | |
parent | fcef2412a29507626c20e301ce794660d1d5aeb6 (diff) | |
download | gdb-d1d964585e2df746fd346777e7815e47e4ba77fd.tar.gz |
* library/srcwin.itb (SrcWin::fillFuncCB): Sort function names.
Diffstat (limited to 'gdb/gdbtk')
-rw-r--r-- | gdb/gdbtk/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/gdbtk/library/srcwin.itb | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/gdbtk/ChangeLog b/gdb/gdbtk/ChangeLog index 7ac6913018b..f0310ccc349 100644 --- a/gdb/gdbtk/ChangeLog +++ b/gdb/gdbtk/ChangeLog @@ -1,3 +1,7 @@ +2001-08-23 Tom Tromey <tromey@redhat.com> + + * library/srcwin.itb (SrcWin::fillFuncCB): Sort function names. + 2001-08-23 Martin M. Hunt <hunt@redhat.com> * library/targetselection.itb: Added PMON and DDB targets. diff --git a/gdb/gdbtk/library/srcwin.itb b/gdb/gdbtk/library/srcwin.itb index 7a2bb3db5a9..f54c5a47b35 100644 --- a/gdb/gdbtk/library/srcwin.itb +++ b/gdb/gdbtk/library/srcwin.itb @@ -386,7 +386,7 @@ body SrcWin::fillFuncCB {name} { _set_name "" return } - foreach f $listfuncs { + foreach f [lsort -increasing $listfuncs] { lassign $f func mang set _mangled_func($func) $mang $_statbar.func list insert end $func |