Can anyone reproduce this: I'm running SX:CE b129 amd64, bfu'ed to current ON bits; the same problem exists on OpenSolaris dev build b132.
I'm trying to debug a /usr/sbin/amd64/update_drv problem, using mdb. Problem is that the debug target somehow receives a :r quoted string argument slightly modified. Here's an example that reproduces the issue with a 64-bit "echo" test program: % cat x.c #include <stdio.h> int main(int argc, char **argv) { int i; for (i = 1; argv[i] != NULL; i++) printf("%s ", argv[i]); printf("\n"); return 0; } % cc -m64 -o x x.c % ./x -d -i '"pci1814,601"' rtls -d -i "pci1814,601" rtls Ok, test program works as expected. Now the same under mdb control: % mdb ./x > :r -d -i '"pci1814,601"' rtls -d -i "pci1144,601" rtls mdb: target has terminated Note how the "pci1814,601" string argument was modified when running under mdb. The problem does not happen with a 32-bit debug target. -- This message posted from opensolaris.org