mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-30 14:52:38 -06:00
ide: Fixed problem in PDB debugger
git-svn-id: svn://ultimatepp.org/upp/trunk@7699 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
f54e0000e3
commit
ba4acb2d6d
2 changed files with 3 additions and 6 deletions
|
|
@ -554,7 +554,6 @@ void CodeEditor::OpenNormalFindReplace0(bool replace)
|
|||
if(GetLength() > 1000000)
|
||||
findreplace.incremental <<= false;
|
||||
findreplace.Setup(replace);
|
||||
findreplace.find.SetFocus();
|
||||
findreplace.itext = GetI();
|
||||
findreplace.prev.Show();
|
||||
findreplace.next <<= THISBACK(DoFind);
|
||||
|
|
@ -562,9 +561,9 @@ void CodeEditor::OpenNormalFindReplace0(bool replace)
|
|||
if(!findreplace.IsOpen())
|
||||
InsertFrame(FindFrame(sb), findreplace);
|
||||
WhenOpenFindReplace();
|
||||
findreplace.find.SetFocus();
|
||||
}
|
||||
|
||||
|
||||
void CodeEditor::OpenNormalFindReplace(bool replace)
|
||||
{
|
||||
OpenNormalFindReplace0(replace);
|
||||
|
|
|
|||
|
|
@ -2,8 +2,6 @@
|
|||
|
||||
#ifdef COMPILER_MSC
|
||||
|
||||
#define CPU_REG(sym, context_var, kind, name, flags) { sym, kind, name, flags },
|
||||
|
||||
uint32 Pdb::GetRegister32(const Context& ctx, int sym)
|
||||
{
|
||||
switch(sym) {
|
||||
|
|
@ -30,14 +28,14 @@ const VectorMap<int, Pdb::CpuRegister>& Pdb::GetRegisterList()
|
|||
{
|
||||
static VectorMap<int, CpuRegister> r32;
|
||||
ONCELOCK {
|
||||
#define CPU_REG(sym_, context_var, kind, name_, flags_) { CpuRegister& r = r32.Add(sym_); r.sym = sym_; r.name = name_; r.flags = flags_; }
|
||||
#define CPU_REG(sym_, context_var, kind_, name_, flags_) { CpuRegister& r = r32.Add(sym_); r.sym = sym_; r.kind = kind_; r.name = name_; r.flags = flags_; }
|
||||
#include "i386.cpu"
|
||||
#undef CPU_REG
|
||||
}
|
||||
#ifdef CPU_64
|
||||
static VectorMap<int, CpuRegister> r64;
|
||||
ONCELOCK {
|
||||
#define CPU_REG(sym_, context_var, kind, name_, flags_) { CpuRegister& r = r64.Add(sym_); r.sym = sym_; r.name = name_; r.flags = flags_; }
|
||||
#define CPU_REG(sym_, context_var, kind_, name_, flags_) { CpuRegister& r = r64.Add(sym_); r.sym = sym_; r.kind = kind_; r.name = name_; r.flags = flags_; }
|
||||
#include "amd64.cpu"
|
||||
#undef CPU_REG
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue