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]
Other format: [Raw text]

[PATCH]: Fix breakpoint.c for non SOLIB-ADD platforms


It has been pointed out to me that some of the new code I added for 
pending breakpoint is hidden inside a #ifdef SOLIB_ADD region, yet is 
accessed outside of SOLIB_ADD protected code.  I have checked the 
attached patch in as obvious since it prevents building of gdb on some 
platforms (e.g. sh-elf).
  
The patch involves simply moving a number of the new added functions 
outside of the SOLIB_ADD protected region.  The functions do not 
require such protection.

2004-02-03  Jeff Johnston  <jjohnstn@redhat.com>
                                                                                
        * breakpoint.c (struct captured_parse_breakpoint_args):  Move
        outside of #ifdef SOLIB_ADD region.
        (do_restore_lang_radix_cleanup): Ditto.
        (resolve_pending_breakpoint): Ditto.
                                                                                
-- Jeff J.

Attachment: pbreak.fixpatch
Description: pbreak.fixpatch


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