Skip to content

Commit

Permalink
FIXED: Sometimes data references aren't displayed correct
Browse files Browse the repository at this point in the history
  • Loading branch information
krater committed Jan 22, 2012
1 parent 2beca97 commit a6c63b2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
3 changes: 0 additions & 3 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@ Bugs/Todo
- LOOP has no references
- Add DMA-Registers for BF561

Rigol:
- BUG: Sometimes data references aren't displayed correct


Patches are welcome :)

4 changes: 4 additions & 0 deletions out.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ void idaapi blackfin_out(void)
{
char string[30]={0};

//fill the registers with the right values for reference...
if(get_max_ascii_length(odi.daddr-4, ASCSTR_C, true)==4)
get_ascii_contents(odi.daddr-4, len, ASCSTR_C, string, sizeof(string));

get_ascii_contents(odi.daddr, len, ASCSTR_C, string, sizeof(string));

if(get_colored_long_name(0, odi.daddr, name,60))
Expand Down
10 changes: 9 additions & 1 deletion reg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,15 @@ static int idaapi notify(processor_t::idp_notify msgid, ...)
{
case processor_t::init:
inf.mf = 0; //ensure little endian!
break;
break;
case processor_t::newprc:
{
/*char cfgfile[QMAXFILE];
get_cfg_filename(cfgfile, sizeof(cfgfile));
if(choose_ioport_device(cfgfile, device, sizeof(device), parse_area_line0))
set_device_name(device, IORESP_ALL);
break;*/
}
case processor_t::make_data:
{
ea_t ea = va_arg(va, ea_t);
Expand Down

0 comments on commit a6c63b2

Please sign in to comment.