From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,ec31844090b911ee X-Google-Attributes: gidfee84,public From: lucia@savvy.zko.dec.com (Tim Lucia) Subject: Re: dbx behaves funny on -migrate programs Date: 1995/07/31 Message-ID: <3vjhsv$ahh@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 107284848 distribution: world references: <1995Jul27.222628.16709@catfish.az05.bull.com> organization: Digital Equipment Corporation reply-to: lucia@zko.dec.com newsgroups: comp.unix.osf.osf1 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.