Mirror of the gdb mailing list
 help / color / mirror / Atom feed
  • * Re: Preparing for the GDB 5.0 / GDB 2000 / GDB2k release
           [not found]   ` <bog9tj5y3.fsf@rtl.cygnus.com>
           [not found]     ` <20000207093417.A10546@lucon.org>
    @ 2000-04-01  0:00     ` Mark Kettenis
      1 sibling, 0 replies; 8+ messages in thread
    From: Mark Kettenis @ 2000-04-01  0:00 UTC (permalink / raw)
      To: kingdon; +Cc: gdb
    
       From: Jim Kingdon <kingdon@redhat.com>
       Date: 07 Feb 2000 09:08:51 -0800
    
       > * Support for unloading of shared libraries.  The current code-base
       >   doesn't really support this.  HJ Lu forwarded some patches that hack
       >   around this, but I don't think they are acceptable.  They introduce
       >   two more (uneccessary) hooks.  Personally I don't fixing this for
       >   GDB 5.0 terribly important.  There isn't that many code out there, that
       >   explicitly unloads shared libs.
    
       As far as I know there is more out there than you might realize.  A
       modern application like mozilla uses dlopen() a lot (feel free to
       flame about whether this tendency is a fad or really useful but that
       isn't the point).  For example see
       http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=5130
    
    Well, if there indeed is a considerable amount of code out there that
    dlcloses its libraries and people are using GDB to debug it, then we
    should raise the priority of fixing this a bit.
    
       I'm hoping to find time to look at this.  Whether or not it is me, I
       hope that we can get some victims ^W contributors working on finding a
       solution rather than merely talking about what was wrong with the
       patch which was sent to this list.
    
    Well, I have looked into this issue (and the more I look into it the
    more I'm convinced that the patch is just a quick hack, and a bad one
    at that) and I think that we simply have to implement unloading of
    shared objects in add_solib, looking at the dynamic linker state and
    such.  I havent figured out yet how this would interact with
    core-dumps and attach/detach.  There is also the problem that solib.c
    is a bit of a maintenance nightmare since it contains some nasty code
    to support both SunOS 4 a.out and SVR4 ELF (SunOS 5) shared objects in
    one file.  So I decided to work on totally splitting out the code for
    ELF shared libs from solib.c.  But that isn't going to lead to very
    quick results...
    
       But I wouldn't ask that this hold up GDB 2000.  It could be a somewhat
       involved process to get a good solution.  IMHO, a release is the time
       to stabilize what is already there, rather than to start hacking away
       to add new stuff.
    
    ...and would potentially destabilize things.
    
       > I think having an "x86 linux native" port with working threads support
       > in GDB 5.0 is very important.
    
       Have you tried GDB from CVS in the last 6 months or so?  I'm not aware
       of any known bugs and Red Hat Linux has been shipping with the code
       which is in CVS for a while (I can offer details if needed).
    
    The current CVS version in combination with glibc from CVS fails the
    thread support tests in the testsuite massively.  I did not have the
    time to look into this though.
    
       > Another problem is that the official maintainer of "x86 linux
       > native" seems to be very busy lately.  I don't blame Jim [Blandy]
       > for "having a life"
    
       Well, I'm likely to get/stay involved since I just told the Red Hat
       Linux people that I'd continue to build the packages for GDB.  If you
       think maintainer bandwidth is what is holding up things like the long
       double one, feel free to see if there is anything I can do to help
       (although I'm not official the way JimB is, at least not yet).
    
    I'd certainly like to put some of my time into improving i386 support
    in GDB, especially since most of this work means improving GDB on the
    Hurd too.  And I hope that the patches I sent in the last few months
    "prove" this commitment.  A speedup in evaluation and/or integration
    of patches would certainly be welcome.  There have been suggestions
    like "write-after-approval" access for more people.  Anyway, I'm sure
    things will be worked out in the end.
    
    Mark
    
    
    ^ permalink raw reply	[flat|nested] 8+ messages in thread
  • [parent not found: <Pine.LNX.4.10.10002071633590.9778-100000@propylaea.anduin.com>]
    * Re: Preparing for the GDB 5.0 / GDB 2000 / GDB2k release
    @ 2000-04-01  0:00 Kevin_Hendricks
      0 siblings, 0 replies; 8+ messages in thread
    From: Kevin_Hendricks @ 2000-04-01  0:00 UTC (permalink / raw)
      To: gdb, patl
    
    Hi,
    
    
    >The SamL/H.J. patches fix the problem, as far as we can tell here.
    >And those patches are not very large.  Is it really so hard to put
    >them in and fix the problem the Right Way later?  The argument "we
    >can't accept every hack" is pretty weak.  You are not being asked to
    >accept every hack, you are being asked to accept a single hack which
    >addresses a very serious problem on a major platform.
    >
    >Just $0.02 from a developer who is tired of manually patching
    >prereleases...
    
    I second that motion whole-heartedly.  
    
    And while you are at it, why not fix gdb to actually work with ppc and actually 
    really and truly support a major platform (ppc) RIGHT_OUT_OF_THE_BOX god forbid!
    
    I am so tired of fighting with non-working gdb on ppc that gdb has become next 
    to useless.  I am now getting hangs with wierd thread errors when debugging 
    programs with Franz Sirl's gdb (and his is the *best* one I have found on ppc so 
    far).
    
    I know this has been addressed before (but never to my satisfaction) but why can 
    patches I submit to the ppc kernel developers, patches to glibc, patches to gcc, 
    patches to xfree86, etc *all* be accepted without any further nonsense and 
    actually get done while all I ever hear from gdb for every patch that comes 
    through the lists is excuses (i.e. one of):
    
     1. it has to be done right and since we don't have time to do it right
         it can't be done (i.e getting working ppc linux support whether 
         integrated with rs600 support or not!)
    
     2. patches need to be in the right FSF format or we can't except them
        (what bullshit)
    
     3. we can't use your patch you have not signed a damn release
        (again why do none of the other FSF project require this).
     
    I *never* hear these from any other project.  
    
    Why is gdb so different?  
    
    Why can't it open up it process of getting patches in?  
    
    Why is gdb development not geared to support Linux (any architecture) in any 
    reasonable manner?  
    
    So now we will have yet another new major gdb release without things working on 
    powerpc (expected!) or even x86 linux???.
    
    
    No wonder people are forking gdb.  It is the only way to get anything 
    accomplished.
    
    Please explain to me why gdb development can't be more like the other major 
    projects out there who actually *gladly* accept patches?
    
    Is this too much to ask?
    
    
    Really?
    
    
    Kevin
    
    BTW: I want to make this one thing *clear*, I *greatly* appreciate all the hard 
    work the gdb maintainers do, the process is simply very very bad and needs to be 
    opened up and fixed like yesterday.
    
    --
    Kevin B. Hendricks
    Associate Professor of Operations and Information Technology
    Richard Ivey School of Business, University of Western Ontario
    London, Ontario  N6A-3K7  CANADA   
    khendricks@ivey.uwo.ca, (519) 661-3874, fax: 519-661-3959
    
    
    ^ permalink raw reply	[flat|nested] 8+ messages in thread
    [parent not found: <200002082018.MAA12871@propylaea.anduin.com>]
    [parent not found: <389EC815.BC34F3E6@cygnus.com>]
    [parent not found: <20000207174307.B12317@lucon.org>]

    end of thread, other threads:[~2000-04-01  0:00 UTC | newest]
    
    Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
    -- links below jump to the message on this page --
         [not found] <389ECBAF.66013B07@cygnus.com>
         [not found] ` <200002071626.RAA18391@landau.wins.uva.nl>
         [not found]   ` <bog9tj5y3.fsf@rtl.cygnus.com>
         [not found]     ` <20000207093417.A10546@lucon.org>
         [not found]       ` <200002071746.MAA22221@devserv.devel.redhat.com>
         [not found]         ` <20000207095901.A10677@lucon.org>
    2000-04-01  0:00           ` Preparing for the GDB 5.0 / GDB 2000 / GDB2k release Andrew Cagney
    2000-04-01  0:00             ` Patrick J. LoPresti
    2000-04-01  0:00     ` Mark Kettenis
         [not found] <Pine.LNX.4.10.10002071633590.9778-100000@propylaea.anduin.com>
    2000-04-01  0:00 ` Mark Kettenis
    2000-04-01  0:00 Kevin_Hendricks
         [not found] <200002082018.MAA12871@propylaea.anduin.com>
    2000-04-01  0:00 ` Daniel Berlin
         [not found] <389EC815.BC34F3E6@cygnus.com>
    2000-04-01  0:00 ` Jason Molenda
         [not found] <20000207174307.B12317@lucon.org>
    2000-04-01  0:00 ` Daniel Berlin
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox