Groups | Search | Server Info | Login | Register


Groups > comp.os.os2.programmer.porting > #114

Re: GDB

From Andy Staszko <andy.staszko@ntlworld.com>
Newsgroups comp.os.os2.programmer.porting
Subject Re: GDB
References <Bd1D8ggkpXsj-pn2-QoYGY26dlznK@Tobias> <iu52k7$29n$1@speranza.aioe.org> <4e0b22a3$0$11127$c3e8da3@news.astraweb.com>
Message-ID <mDVRp.21628$wK7.21182@newsfe13.ams2> (permalink)
Organization virginmedia.com
Date 2011-07-09 10:58 +0100

Show all headers | View raw


One way of being able to use newer GDB's is to adopt the
approach used in Watcom:

1. allow GCC to output relocatable ELF's with DWARF2(with some DWARF3 extensions)
    debugging information
2. Update the linker to link these ELF's outputting the linked code, data and bss
    sections into an LX executable and link the debug sections into an ELF.

GBD can then load the LX for execution and load the ELF containing the debug
information for debugging purposes: GDB allows this.

Andy Staszko

Paul Smedley wrote:
> Hi Guys,
> 
> On 06/26/2011 02:03 AM, Dave Yeo wrote:
>> Ruediger Ihle wrote:
>>>
>>> Hi,
>>>
>>> what't the latest version of GDB for OS/2 ? Does it work with the
>>> newer GCCs ?
>>
>> The one that comes with EMX. And no it doesn't work for newer GCC's.
>> Need to use an OS/2 debugger after linking with -Zomf
> 
> I've always thought to try build a newer gdb when I get some free 
> time.... still waiting for the free time tho :P
> 
> Cheers,
> 
> Paul

Back to comp.os.os2.programmer.porting | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

GDB "Ruediger Ihle" <NOSPAM$R.Ihle@S-t.De> - 2011-06-25 13:47 +0000
  Re: GDB Dave Yeo <dave.r.yeo@gmail.com> - 2011-06-25 09:33 -0700
    Re: GDB Paul Smedley <paulDESPAM@DESPAMMsmedley.id.au> - 2011-06-29 22:33 +0930
      Re: GDB Andy Staszko <andy.staszko@ntlworld.com> - 2011-07-09 10:58 +0100
    Re: GDB "Ruediger Ihle" <NO_SPAM_R.Ihle@S-t.De> - 2011-07-03 08:22 +0000
      Re: GDB "Frank Beythien" <Nospam-2011@efbe.prima.de> - 2011-07-03 12:06 +0000
      Re: GDB Dave Yeo <dave.r.yeo@gmail.com> - 2011-07-03 10:57 -0700
        Re: GDB "Lars Erdmann" <lars.erdmann@arcor.de> - 2011-07-03 20:51 +0200

csiph-web