This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch gdb]: Fix some DOS-path related issues in gdb


On Friday 04 March 2011 06:12:03 ext Joel Brobecker wrote:
> > Is that use-case even practical?  Who would develop on Windows if they
> > have Linux or Irix?
> 
> I really can't say that this is going to happen frequently...
> But I've seen situations where developers cross compile from
> their Windows desktop and then execute on a server running a Unix-like
> system.  It might make less sense for GNU/Linux (I think that people
> are less scared of it, these days), but could make more sense for
> IRIX - I don't know how easy it is to procure a machine running
> IRIX these days...

Just two data points from an "gdb frontend" perspective:

 - Two weeks ago I had to enable core file handling on Windows which I 
   previously disabled because I assumed it would not be needed. 
   Someone was actually trying to use it. Quote from the bug report:
   (http://bugreports.qt.nokia.com/browse/QTCREATORBUG-3813)
   "I want to use gdb (compiled using Mingw for mips64 target) to 
   debug a machine that dumps core."

 - Today(!) I got a log file containing
    [...]
   GNU gdb (GDB) 7.2
   This GDB was configured as "i686-pc-mingw32".
    [...]
  153-break-insert  -f "\"main.cpp\":47"
  153^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",
    addr="0x004013b8",func="qMain(int, char **)",file="..\\calendar\\main.cpp",
    fullname="C:\\SDK1\\Examples\\4.7\\richtext\\calendar-build-desktop/..\\calendar\\main.cpp",
    line="47",times="0",original-location="\"main.cpp\":47"}
    [...]

  Note the "/.." bit in fullname.

People try to use gdb in a lot of "cross debugging" scenarios nowadays.

Andre'
   


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]