2018-10-16 17:41 AEDT

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000045mercuryBugpublic2008-02-20 14:03
Reportermaclarty 
Assigned Tozs 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0000045: mdb not using format params from .mdbrc
DescriptionCompile the attached mdb.m in a debug grade.

Put the attached .mdbrc file in the same directory as the executable.

Run:

mdb ./mdb
Melbourne Mercury Debugger, mdb version rotd-2008-01-16.
Copyright 1998-2008 The University of Melbourne, Australia.
mdb is free software, covered by the GNU General Public License.
There is absolutely no warranty for mdb.
       1: 1 1 CALL pred mdb.main/2-0 (det) mdb.m:13
mdb> step
       2: 2 2 CALL func list.../2-0 (det) list.m:2561 (mdb.m:14)
mdb> finish
     817: 2 2 EXIT func list.../2-0 (det) list.m:2561 (mdb.m:14)
mdb> p 3
       List (arg 3)
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, ...]
mdb> source .mdbrc
mdb> p 3
       List (arg 3)
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59,
 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,
 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97,
 98, 99, 100]
mdb>

The source command should not be necessary for the format_param commands in .mdbrc to take effect.
TagsNo tags attached.
Attached Files
  • ? file icon .mdbrc (50 bytes) 2008-02-19 15:26
  • ? file icon mdb.m (190 bytes) 2008-02-19 15:26

-Relationships
+Relationships

-Notes

~0000077

zs (developer)

fix committed feb 20
+Notes

-Issue History
Date Modified Username Field Change
2008-02-19 15:26 maclarty New Issue
2008-02-19 15:26 maclarty File Added: .mdbrc
2008-02-19 15:26 maclarty File Added: mdb.m
2008-02-19 20:24 zs Status new => assigned
2008-02-19 20:24 zs Assigned To => zs
2008-02-20 14:03 zs Status assigned => resolved
2008-02-20 14:03 zs Resolution open => fixed
2008-02-20 14:03 zs Note Added: 0000077
+Issue History