* dbx behaves funny on -migrate programs
@ 1995-07-27 4:00 Andy Wild
1995-07-31 4:00 ` Tim Lucia
1995-08-01 4:00 ` Performance effect of -xtaso Jeffrey Mogul
0 siblings, 2 replies; 3+ messages in thread
From: Andy Wild @ 1995-07-27 4:00 UTC (permalink / raw)
Hi,
has anybody seen this or can someone offer a fix/explanation. We have a large
app that we are porting to the alpha. We build with -taso and -migrate.
When we run under dbx to debug problems, we see crazy values for argc
in main() even though they not true.. example
in dbx : where gives
> 0 hdecode_args(argc = 301987472, argv = 0x11fff85f, opts = 0x140000c0 = "sht:m:n:u:r:c") ["kixcontrol.c":357, 0x1200c1c0]
1 main(argc = 301987472, argv = 0x11fff85f) ["kixcontrol.c":207, 0x1200bd24]
argc is of course bull and the only way to find out problems is to put
printf's in ...
Secondly what is the performance effect of running with -taso rather than
true 64-bit.
--
--------------------------------------------------------------
| Andy Wild [e] | a.wild@unikix.com |
| UniKix Technologies. | Tel: (0101) 602 862 4304 |
| 13400 N BLACK CANYON HWY |---------- __o __o |
| Bldg B Suite 100 | -------- _`\<,_ _`\<, |
| Phoenix AZ 85029 | ------- (*)/ (*) (*)/ (*) |
| |~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
--------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: dbx behaves funny on -migrate programs
1995-07-27 4:00 dbx behaves funny on -migrate programs Andy Wild
@ 1995-07-31 4:00 ` Tim Lucia
1995-08-01 4:00 ` Performance effect of -xtaso Jeffrey Mogul
1 sibling, 0 replies; 3+ messages in thread
From: Tim Lucia @ 1995-07-31 4:00 UTC (permalink / raw)
In article <1995Jul27.222628.16709@catfish.az05.bull.com>, andyw@sickbay.az05.bull.com (Andy Wild ) writes:
|>Hi,
|> has anybody seen this or can someone offer a fix/explanation. We have a large
|>app that we are porting to the alpha. We build with -taso and -migrate.
|>When we run under dbx to debug problems, we see crazy values for argc
|>in main() even though they not true.. example
|>in dbx : where gives
|>
|>> 0 hdecode_args(argc = 301987472, argv = 0x11fff85f, opts = 0x140000c0 = "sht:m:n:u:r:c") ["kixcontrol.c":357, 0x1200c1c0]
|> 1 main(argc = 301987472, argv = 0x11fff85f) ["kixcontrol.c":207, 0x1200bd24]
|>
|>argc is of course bull and the only way to find out problems is to put
|>printf's in ...
Have you tried DECladebug? I suggest you try it (see decladebug(1)). It is
very largely compatibile with dbx. You don't offer the version of Digital
Unix that you are running, but 3.0 and later (DECladebug version V3.0-9
or later) supplies DECladebug with -taso support.
Please let me know how it works.
Regards,
Tim
--
Timothy J. Lucia - DECladebug Email: mailto:lucia@zko.dec.com
Digital Equipment Corporation Phone: 603.881.2615
110 Spitbrook Road ZKO2-3/K06 Fax: 603.881.0120
Nashua, NH USA 03062-2698 I'd rather be bicycling.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Performance effect of -xtaso
1995-07-27 4:00 dbx behaves funny on -migrate programs Andy Wild
1995-07-31 4:00 ` Tim Lucia
@ 1995-08-01 4:00 ` Jeffrey Mogul
1 sibling, 0 replies; 3+ messages in thread
From: Jeffrey Mogul @ 1995-08-01 4:00 UTC (permalink / raw)
In article <1995Jul27.222628.16709@catfish.az05.bull.com> andyw@sickbay.az05.bull.com (Andy Wild ) writes:
>Secondly what is the performance effect of running with -taso rather than
>true 64-bit.
I do not believe that using -taso will significantly affect performance,
since it simply changes the base address of the program. However,
I've never measured this.
The -xtaso switch, on the other hand, when used in conjunction with
the appropriate #pragma constructs, causes pointers to be kept in
32 bit fields instead of 64 bit fields. (For this reason, -xtaso
programs MUST be linked with -taso.)
This can affect performance, but it's impossible to give you a
single number. We wrote a paper on this, which appeared in
Proc. 1995 USENIX Conference (January, 1995), titled "Performance
Implications of Multiple Pointer Sizes." You can get a copy
via the Web at
http://www.research.digital.com/wrl/techreports/abstracts/94.7.html
Please read this before asking more questions!
-Jeff
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1995-08-01 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-07-27 4:00 dbx behaves funny on -migrate programs Andy Wild
1995-07-31 4:00 ` Tim Lucia
1995-08-01 4:00 ` Performance effect of -xtaso Jeffrey Mogul
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox