LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Find Resources
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Openrisc > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: ddr@d...
    Date: Thu, 28 Aug 2003 16:04:10 +0200
    Subject: [openrisc] How to use 'SET' command in GDB?
    Top

    Hello
    
    I'm also eager to know this. I think that it is "set $0xaddress=value"
    When I do this, GDB seems to execute this command, but when I use "x
    address" the memory isn't changed...
    
    Very basic command, that could help a lot!
    
    Many thanks for all replies,
    Dries
    
    ----- Original Message ----- 
    From: "Zhangyong" <zhangyong@n... > 
    To: <openrisc@o... > 
    Date: Thu, 26 Sep 2002 09:45:41 +0800 
    Subject: [openrisc] How to use gdb set connamd ? 
    
    > 
    > 
    > Hi 
    > 
    > On page 2 of or1k/docs/gdb.pdf I know that using the 'SET" 
    > command, I can access register and memory of or1k. 
    > 
    > Because there are not many docs about using gdb 'SET' command, 
    > from some READMEs I only learned using "set $pc=xxx" to set 
    > PC register. 
    >     
    > So how to use 'SET' command to read/write memory of the or1k? 
    > 
    >     Thanks! 
    > 
    >         zhy 
    > 
    
    
    
     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.