|
GDB (xrefs)
|
#include "defs.h"#include "gdbcore.h"#include "target.h"#include "monitor.h"#include "serial.h"#include "symtab.h"#include "command.h"#include "gdbcmd.h"#include "symfile.h"#include <sys/time.h>#include <time.h>#include "objfiles.h"#include "inferior.h"#include <ctype.h>#include "regcache.h"#include "gdb_bfd.h"#include "cli/cli-utils.h"#include <sys/types.h>#include <netdb.h>#include <netinet/in.h>#include <arpa/inet.h>Go to the source code of this file.
Macros | |
| #define | PSW_REGNUM 16 |
| #define | SPI_REGNUM 18 |
| #define | SPU_REGNUM 19 |
| #define | ACCL_REGNUM 22 |
| #define | ACCH_REGNUM 23 |
Functions | |
| static void | m32r_load_section (bfd *abfd, asection *s, void *obj) |
| static int | m32r_load_1 (void *dummy) |
| static void | m32r_load (char *filename, int from_tty) |
| static void | m32r_load_gen (struct target_ops *self, const char *filename, int from_tty) |
| static void | m32r_supply_register (struct regcache *regcache, char *regname, int regnamelen, char *val, int vallen) |
| static void | init_m32r_cmds (void) |
| static void | m32r_open (const char *args, int from_tty) |
| static void | init_mon2000_cmds (void) |
| static void | mon2000_open (const char *args, int from_tty) |
| static void | m32r_upload_command (char *args, int from_tty) |
| void | _initialize_m32r_rom (void) |
Variables | |
| static char * | board_addr |
| static char * | server_addr |
| static char * | download_path |
| static char * | m32r_regnames [] |
| static struct target_ops | m32r_ops |
| static char * | m32r_inits [] = { "\r", NULL } |
| static struct monitor_ops | m32r_cmds |
| static struct target_ops | mon2000_ops |
| static struct monitor_ops | mon2000_cmds |
| initialize_file_ftype | _initialize_m32r_rom |
| #define ACCH_REGNUM 23 |
Definition at line 67 of file m32r-rom.c.
Referenced by m32r_supply_register().
| #define ACCL_REGNUM 22 |
Definition at line 66 of file m32r-rom.c.
Referenced by m32r_supply_register().
| #define PSW_REGNUM 16 |
Definition at line 63 of file m32r-rom.c.
Referenced by m32r_supply_register().
| #define SPI_REGNUM 18 |
Definition at line 64 of file m32r-rom.c.
Referenced by m32r_supply_register().
| #define SPU_REGNUM 19 |
Definition at line 65 of file m32r-rom.c.
Referenced by m32r_supply_register().
| void _initialize_m32r_rom | ( | void | ) |
Definition at line 574 of file m32r-rom.c.
References _, add_com(), add_setshow_string_cmd(), add_target(), board_addr, class_obscure, download_path, init_m32r_cmds(), init_mon2000_cmds(), init_monitor_ops(), m32r_load(), m32r_load_gen(), m32r_open(), m32r_ops, m32r_upload_command(), mon2000_open(), mon2000_ops, server_addr, setlist, showlist, target_ops::to_doc, target_ops::to_load, target_ops::to_longname, target_ops::to_open, and target_ops::to_shortname.
|
static |
Definition at line 311 of file m32r-rom.c.
References monitor_ops::clr_all_break, monitor_ops::clr_break, regrw_cmd::cmd, monitor_ops::cmd_end, memrw_cmd::cmdb, memrw_cmd::cmdl, memrw_cmd::cmdll, memrw_cmd::cmdw, monitor_ops::cont, monitor_ops::dump_registers, monitor_ops::fill, monitor_ops::flags, monitor_ops::getmem, monitor_ops::getreg, monitor_ops::init, monitor_ops::line_term, monitor_ops::load, monitor_ops::loadresp, m32r_cmds, m32r_inits, m32r_ops, m32r_regnames, m32r_supply_register(), monitor_ops::magic, MO_CLR_BREAK_USES_ADDR, MO_REGISTER_VALUE_FIRST, MONITOR_OPS_MAGIC, monitor_ops::prompt, monitor_ops::register_pattern, monitor_ops::regnames, memrw_cmd::resp_delim, regrw_cmd::resp_delim, SERIAL_1_STOPBITS, monitor_ops::set_break, monitor_ops::setmem, monitor_ops::setreg, monitor_ops::step, monitor_ops::stop, monitor_ops::stopbits, monitor_ops::supply_register, monitor_ops::target, memrw_cmd::term, regrw_cmd::term, memrw_cmd::term_cmd, and regrw_cmd::term_cmd.
Referenced by _initialize_m32r_rom().
|
static |
Definition at line 371 of file m32r-rom.c.
References monitor_ops::clr_all_break, monitor_ops::clr_break, regrw_cmd::cmd, monitor_ops::cmd_end, memrw_cmd::cmdb, memrw_cmd::cmdl, memrw_cmd::cmdll, memrw_cmd::cmdw, monitor_ops::cont, monitor_ops::dump_registers, monitor_ops::fill, monitor_ops::flags, monitor_ops::getmem, monitor_ops::getreg, monitor_ops::init, monitor_ops::line_term, monitor_ops::load, monitor_ops::loadresp, m32r_inits, m32r_regnames, m32r_supply_register(), monitor_ops::magic, MO_CLR_BREAK_USES_ADDR, MO_REGISTER_VALUE_FIRST, mon2000_cmds, mon2000_ops, MONITOR_OPS_MAGIC, monitor_ops::prompt, monitor_ops::register_pattern, monitor_ops::regnames, memrw_cmd::resp_delim, regrw_cmd::resp_delim, SERIAL_1_STOPBITS, monitor_ops::set_break, monitor_ops::setmem, monitor_ops::setreg, monitor_ops::step, monitor_ops::stop, monitor_ops::stopbits, monitor_ops::supply_register, monitor_ops::target, memrw_cmd::term, regrw_cmd::term, memrw_cmd::term_cmd, and regrw_cmd::term_cmd.
Referenced by _initialize_m32r_rom().
|
static |
Definition at line 121 of file m32r-rom.c.
References _, catch_errors(), clear_symtab_users(), do_cleanups(), error(), exec_bfd, fputs_filtered(), gdb_bfd_open(), gdb_flush(), gdb_stdout, get_current_regcache(), get_exec_file(), inferior_ptid, m32r_load_1(), make_cleanup_bfd_unref(), monitor_expect(), monitor_expect_prompt(), monitor_printf(), null_ptid, paddress(), print_transfer_performance(), printf_filtered(), regcache_write_pc(), RETURN_MASK_ALL, and target_gdbarch().
Referenced by _initialize_m32r_rom().
|
static |
Definition at line 108 of file m32r-rom.c.
References m32r_load_section().
Referenced by m32r_load().
|
static |
Definition at line 197 of file m32r-rom.c.
References generic_load().
Referenced by _initialize_m32r_rom().
|
static |
Definition at line 75 of file m32r-rom.c.
References fputs_filtered(), gdb_flush(), gdb_stdout, gdbarch_addr_bit(), monitor_expect(), monitor_expect_prompt(), monitor_printf(), paddress(), phex_nz(), printf_filtered(), QUIT, and target_gdbarch().
Referenced by m32r_load_1().
Definition at line 360 of file m32r-rom.c.
References m32r_cmds, and monitor_open().
Referenced by _initialize_m32r_rom().
|
static |
Definition at line 214 of file m32r-rom.c.
References ACCH_REGNUM, ACCL_REGNUM, CBR_REGNUM, gdbarch_sp_regnum(), get_regcache_arch(), m32r_regnames, monitor_supply_register(), gdbarch::num_regs, PSW_REGNUM, regcache_cooked_read_unsigned(), SPI_REGNUM, and SPU_REGNUM.
Referenced by init_m32r_cmds(), and init_mon2000_cmds().
|
static |
Definition at line 426 of file m32r-rom.c.
References _, board_addr, clear_symtab_users(), current_directory, do_cleanups(), download_path, error(), fputs_filtered(), gdb_bfd_open(), gdb_flush(), gdb_stdout, get_current_regcache(), get_exec_file(), inferior_ptid, make_cleanup_bfd_unref(), monitor_expect_prompt(), monitor_printf(), null_ptid, paddress(), print_transfer_performance(), printf_filtered(), regcache_write_pc(), server_addr, skip_spaces(), startswith(), and target_gdbarch().
Referenced by _initialize_m32r_rom().
Definition at line 420 of file m32r-rom.c.
References mon2000_cmds, and monitor_open().
Referenced by _initialize_m32r_rom().
| initialize_file_ftype _initialize_m32r_rom |
|
static |
Definition at line 57 of file m32r-rom.c.
Referenced by _initialize_m32r_rom(), and m32r_upload_command().
|
static |
Definition at line 59 of file m32r-rom.c.
Referenced by _initialize_m32r_rom(), and m32r_upload_command().
|
static |
Definition at line 308 of file m32r-rom.c.
Referenced by init_m32r_cmds(), and m32r_open().
|
static |
Definition at line 306 of file m32r-rom.c.
Referenced by init_m32r_cmds(), and init_mon2000_cmds().
|
static |
Definition at line 304 of file m32r-rom.c.
Referenced by _initialize_m32r_rom(), and init_m32r_cmds().
|
static |
Definition at line 207 of file m32r-rom.c.
Referenced by init_m32r_cmds(), init_mon2000_cmds(), and m32r_supply_register().
|
static |
Definition at line 368 of file m32r-rom.c.
Referenced by init_mon2000_cmds(), and mon2000_open().
|
static |
Definition at line 367 of file m32r-rom.c.
Referenced by _initialize_m32r_rom(), and init_mon2000_cmds().
|
static |
Definition at line 58 of file m32r-rom.c.
Referenced by _initialize_m32r_rom(), and m32r_upload_command().
1.8.10