1. 07 Jun, 2011 1 commit
  2. 26 May, 2011 1 commit
    • sgjesse@chromium.org's avatar
      MIPS: Added the stop() instruction with same behavior as on Arm simulator. · 64c61072
      sgjesse@chromium.org authored
      The already working watchpoint break mechanism has been extended to handle "stop" instructions, with text messages.
      
      Explanation (also in constants-mips.h):
      On MIPS Simulator breakpoints can have different codes:
      - Breaks between 0 and kMaxWatchpointCode are treated as simple watchpoints, the simulator will run through them and print the registers.
      - Breaks between kMaxWatchpointCode and kMaxStopCode are treated as stop() instructions (see Assembler::stop()).
      - Breaks larger than kMaxStopCode are simple breaks, dropping you into the debugger.
      
      The current values are 31 for kMaxWatchpointCode and 127 for kMaxStopCode.
      From the user's point of view this works the same way as the ARM stop instruction except for the break code usage detailed above.
      
      Ported commits: r5723 (3ba78d24)
      
      BUG=
      TEST=
      
      Review URL: http://codereview.chromium.org//7062014
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8069 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      64c61072
  3. 17 May, 2011 1 commit
  4. 09 May, 2011 1 commit
  5. 28 Mar, 2011 1 commit
  6. 24 Sep, 2010 1 commit
  7. 08 Jun, 2010 1 commit
    • sgjesse@chromium.org's avatar
      More precise break points and stepping when debugging · 634fb915
      sgjesse@chromium.org authored
      Added support for more precise break points when debugging and stepping. To achieve that additional nop instructions are inserted where breaking would otherwise be impossible. The number of nop instructions inserted are sufficient to make place for patching with a call to a debug break code stub. On Intel that is 5 nop's for 32-bit and 13 for 64-bit. Om ARM 3 nop instructions (12 bytes) are required.
      
      In order to avoid inserting nop's in to many places a simple ast checker have been added to check whether there are breakable code in a statement or expression. If it is possible to break in an expression no additional break enabeling code is inserted.
      
      Added break locations to the true and false part of a conditional expression.
      
      Added stepping tests to cover more constructs.
      
      These changes are only in the full compiler.
      
      Changed the default value for the option --debugger in teh d8 shell from true to false. The reason for this is that with --debugger turned on the full compiler will be used for all code in when running d8, which can be unexpeceted.
      
      Review URL: http://codereview.chromium.org/2693002
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4820 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      634fb915
  8. 21 Apr, 2010 1 commit
  9. 04 Feb, 2010 1 commit