This is the mail archive of the gdb-patches@sources.redhat.com 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]

Re: Simple but crucial bug fix to gdb



> I would like to submit a very simple patch to gdb.
> I would like if possible to avoid legal issues (avoid having to
> submit a form to our legal department) by simply describing the fix,
> which is a diff of only a few characters, rather than sending you a
> source file.

The size of the text you send doesn't make any difference --- it's the
size of the change that matters.  You could have posted an ordinary
patch without legal troubles.

I find it odd that the stabs reader is seeing a function definition
symbol (a descriptor of 'f') before it's seen anything to set up the
psymtab.  Does your object file really have an N_FUN stab (or
whatever) before the first N_SO stab?

If we just ignore the N_FUN, I'm worried that the pst's textlow will
not be set correctly --- that is, I'm not sure it's safe to just
ignore the N_FUN when pst is zero.

Could you post the result of running `objdump --stabs' on your
executable, or object file, if it's not too large or revealing?


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