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: [RFA] mdebugread.c (psymtab_to_symtab_1): assert that 'fh' is not null


On Mon, 07 Mar 2011 17:43:05 +0100, Tom Tromey wrote:
> >>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
> 
> Jan> (*) In fact I like the crash from the Fedora point of view better as ABRT
> Jan>     (Automatic Bug Reporting Tool) will automatically report it.  In the case
> Jan>     of a failed gdb_assert the user may or may not allow the core dump and
> Jan>     therefore the crash bugreport by ABRT may be suppressed.
> Jan> 	A problem internal to GDB has been detected,
> Jan> 	further debugging may prove unreliable.
> Jan> 	Create a core file of GDB? (y or n) n
> Jan>     This is just FYI and it should not be related to FSF GDB maintenance.
> 
> Then perhaps we should disable this in Fedora, or at least mention ABRT
> in the note.

It is more complicated, it should:
without ABRT:
  create core file: n => nothing happens
  create core file: y => ulimit -c unlimited + crash
with ABRT:
  create core file: n => keep ulimit -c 0 + crash
  create core file: y => ulimit -c unlimited + crash

As ABRT always catches any crash even with ulimit -c 0 but it leaves the
regular core file at currentdir as if no ABRT was running.


Thanks,
Jan


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