* How to embed path info into assembler sources?
@ 2000-07-13 10:29 Serge Nikulin
2000-07-13 10:57 ` Cal Erickson
0 siblings, 1 reply; 5+ messages in thread
From: Serge Nikulin @ 2000-07-13 10:29 UTC (permalink / raw)
To: insight
Hi, All
Among other files my project has many M68K assembler sources in MRI format.
The problem: GDB can not find these files to show the sources.
Apparently these assembler files have to contain some path information
embedded into them.
Question: What is the right way to embed this info in my *.abs file?
--target=m68k-coff
host platform is NT4 + Cygwin
GDB is in TCP/IP remote mode.
Thank you
Serge
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to embed path info into assembler sources?
2000-07-13 10:29 How to embed path info into assembler sources? Serge Nikulin
@ 2000-07-13 10:57 ` Cal Erickson
2000-07-13 11:19 ` Serge Nikulin
0 siblings, 1 reply; 5+ messages in thread
From: Cal Erickson @ 2000-07-13 10:57 UTC (permalink / raw)
To: Serge Nikulin; +Cc: insight
Serge,
Actually what is wrong is that the object modules generated
do not have the path information in them for debug information.
If you can re-assemble these modules using the -g option you
should get teh debug information GDB needs. The default is
option is -ng.
Cal Erickson MontaVista Support
Serge Nikulin wrote:
> Hi, All
>
> Among other files my project has many M68K assembler sources in MRI format.
> The problem: GDB can not find these files to show the sources.
> Apparently these assembler files have to contain some path information
> embedded into them.
> Question: What is the right way to embed this info in my *.abs file?
> --target=m68k-coff
> host platform is NT4 + Cygwin
> GDB is in TCP/IP remote mode.
>
> Thank you
> Serge
--
===========================================================================
Cal Erickson MontaVista Software Inc.
Customer Support Engineer 490 Potrero Avenue
Phone (408) 328-0304 Sunnyvale CA 94085
Fax (408) 328-9204 e-mail cal_erickson@mvista.com
Pager 877-566-2012 support 1-800-759-8888 pin 202-7489
web http://www.mvista.com support e-mail: support@mvista.com
eCode: http://cal@work.com.ecode.com
===========================================================================
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to embed path info into assembler sources?
2000-07-13 10:57 ` Cal Erickson
@ 2000-07-13 11:19 ` Serge Nikulin
[not found] ` <396E156C.A427B893@mvista.com>
0 siblings, 1 reply; 5+ messages in thread
From: Serge Nikulin @ 2000-07-13 11:19 UTC (permalink / raw)
To: cal_erickson, insight
> If you can re-assemble these modules using the -g option you
> should get teh debug information GDB needs. The default is
> option is -ng.
I do use it all the time:
m68k-coff-as -I../../tlbx/GNU/inc -I../../sprt/include -g -gstabs --mri -m68
020 --bitwise-or --disp-size-default-16 --base-size-default-16 --defsym
__GNU__=1 -o accessfrme.o accessfrme.a
Objects do not have path info anyway. But they do have all other debug info
(symbol tables, etc).
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2000-07-14 6:01 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-13 10:29 How to embed path info into assembler sources? Serge Nikulin
2000-07-13 10:57 ` Cal Erickson
2000-07-13 11:19 ` Serge Nikulin
[not found] ` <396E156C.A427B893@mvista.com>
2000-07-13 14:38 ` Serge Nikulin
2000-07-14 6:01 ` Keith Seitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).