Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.os.linux.development.apps > #871

Re: Trying to install GEDIT

Path csiph.com!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From David Brown <david.brown@hesbynett.no>
Newsgroups comp.os.linux.development.apps, comp.lang.c
Subject Re: Trying to install GEDIT
Date Sat, 6 Oct 2018 16:14:37 +0200
Organization A noiseless patient Spider
Lines 49
Message-ID <ppag0d$71r$1@dont-email.me> (permalink)
References <pp8fsg$lff$1@dont-email.me> <mIcEZxNuOsug9OQ7L8qu2ayCLM3tv@bongo-ra.co> <pp9p6b$fni$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 8bit
Injection-Date Sat, 6 Oct 2018 14:14:37 -0000 (UTC)
Injection-Info reader02.eternal-september.org; posting-host="66d9c4a554ca1af0ab775f0178a9c7a6"; logging-data="7227"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19nmFjxULmzKH6eWnp7DzeA5b213Id+siM="
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
Cancel-Lock sha1:zSClDS/FV0rylIONqxR/ReEDYwU=
In-Reply-To <pp9p6b$fni$1@dont-email.me>
Content-Language en-GB
Xref csiph.com comp.os.linux.development.apps:871 comp.lang.c:136343

Cross-posted to 2 groups.

Show key headers only | View raw


On 06/10/18 09:45, jacobnavia wrote:
> Le 06/10/2018 à 05:57, Spiros Bousbouras a écrit :
>> Just what the world needs , another text editor
> 
> I started writing the debugger for my linux version of lcc-win. It uses 
> the ptrace interface.
> 
> If I have my own debugger, I could use the same debugging info format as 
> I use under windows or use the "stabs" format, that I generate correctly 
> now.
> 
> If I would use the gnu "gdb" I would have to generate DWARF debug info, 
> what is an horrible MESS!

gdb should be fine with stabs, I think.

Dwarf is the modern format for debugging information because it can 
support far more detail than stabs - things like macro definitions, 
tracking variables as they move between registers, showing structs that 
are partly in registers, variables that have been eliminated or 
transformed by optimisation, etc.  I can well believe that it is a much 
more complex format as it supports those features.

But AFAIUI gdb supports other formats, including stabs.

> 
> And I do want to show the CONTEXT where the program is executing, and 
> for that I need a text editor!
> 
> Besides I want a modern debugger, with automatic variable dispmlay (no 
> longer needed to write "print foo print bar" at each line like in gdb.
> 
> Besides an IDE would be handy to make it easier to use the compiler. I 
> have already one under windows, so I wanted to rewrite a better one 
> under linux.
> 
> 

I fully agree that using an IDE is useful.  Perhaps you could use 
something like Eclipse or Netbeans as the IDE, and talk to the debugger 
in the same way as they talk to gdb?  If your debugger supports the same 
MI interface as gdb, then you could use the existing debugger support in 
those IDEs.  If your debugger has its own methods for communicating with 
the gui, then you might need to make your own plugins - that would, I 
think, mean Java programming, but it would be a smaller project than 
writing everything from scratch.

If you can use gdb, it would be easier - then you can use an existing 
debugger and a range of existing IDEs on many platforms.

Back to comp.os.linux.development.apps | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Trying to install GEDIT jacobnavia <jacob@jacob.remcomp.fr> - 2018-10-05 22:00 +0200
  Re: Trying to install GEDIT Jens Stuckelberger <Jens_Stuckelberger@nowhere.net> - 2018-10-05 20:10 +0000
    Re: Trying to install GEDIT jacobnavia <jacob@jacob.remcomp.fr> - 2018-10-07 18:02 +0200
      Re: Trying to install GEDIT Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2018-10-07 12:31 -0400
      Re: Trying to install GEDIT Melzzzzz <Melzzzzz@zzzzz.com> - 2018-10-07 17:13 +0000
      Re: Trying to install GEDIT Jasen Betts <jasen@xnet.co.nz> - 2018-10-08 02:40 +0000
  Re: Trying to install GEDIT scott@slp53.sl.home (Scott Lurndal) - 2018-10-05 20:15 +0000
    Re: Trying to install GEDIT Jasen Betts <jasen@xnet.co.nz> - 2018-10-06 02:34 +0000
  Re: Trying to install GEDIT Spiros Bousbouras <spibou@gmail.com> - 2018-10-06 03:57 +0000
    Re: Trying to install GEDIT jacobnavia <jacob@jacob.remcomp.fr> - 2018-10-06 09:45 +0200
      Re: Trying to install GEDIT Ian Collins <ian-news@hotmail.com> - 2018-10-06 22:13 +1300
      Re: Trying to install GEDIT David Brown <david.brown@hesbynett.no> - 2018-10-06 16:14 +0200
      Re: Trying to install GEDIT scott@slp53.sl.home (Scott Lurndal) - 2018-10-06 14:53 +0000
        Re: Trying to install GEDIT jacobnavia <jacob@jacob.remcomp.fr> - 2018-10-06 19:42 +0200
  Re: Trying to install GEDIT C W Rose <cwr@seckford.org> - 2018-10-06 20:57 +0100
  Re: Trying to install GEDIT Melzzzzz <Melzzzzz@zzzzz.com> - 2018-10-07 13:48 +0000

csiph-web