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]

Re: [patch] typo in gdb/testsuite/config/gdbserver.exp


Daniel Jacobowitz <drow@false.org>:
> I seem to remember this breaking my local gdbserver setup, i.e. running
> gdbserver on localhost.  It's entirely possible that that only happened
> because I've goofed my board files, though.  I've learned a painful
> amount about writing DejaGNU board files in the last couple of months,
> so I'll try again...

I just looked at that, it took me a few tries to get it to work.
this board file works for me:

    load_generic_config "gdbserver"

    unset_board_info isremote
    set_board_info isremote 0

    set_board_info compiler "[find_gcc]"
    set_board_info gdb,do_reload_on_run 1
    set_board_info gdb,no_hardware_watchpoints 1
    set_board_info noargs 1
    set_board_info sockethost "localhost:"
    set_board_info use_gdb_stub 1
--


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