Recent Posts

Pages: 1 ... 8 9 [10]
91
SlickEdit® / Re: Need help setting up GBD embedded device cross-compiled
« Last post by JimmieC on March 29, 2021, 10:46:18 pm »
>> when we all rode horses to work
Funny! :)    Before the industrial revolution but after dinasours and the wheel


I see your point that if it runs in VSC it can probably run in SE.

I ignored the warning about the GDB version as you suggested. I setup the File, Socket Addr & Port, & GDB Configuration. Also, I set the timeout to the max of 10 seconds.
I get the error:    "Error starting debugger:  GDB has terminated prematurely"

When I check the remote unit via telnet, it is still listening and waiting.

Just for grins, I tried to connect via Debug->Attach Debugger->Attach to Remote Process (LLDB). This brings up a debug session in SE. Also, in telnet, the remote device shows "Remote debugging from host 192.168.169.2". However, nothing in the SE debug session is working and it exits after 20 seconds or so.

I don't think that it is supposed to work with LLDB, but I tried it on a whim and thought it might offer a clue.

Lastly, I captured this from the DEBUG CONSOLE in VSCode:
GNU gdb (GDB) 7.1
Copyright (C) 2010 Free Software Foundation, Inc.

So, even though my compiler is 4.4.4, it seems the GDB is 7.1. New to Linux, so I don't know if 7.1 is the GDB executable running on Ubuntu, the GDB Server running on the embedded device, or both.

hs2:
Thanks for the suggestion. I will try that after giving up on the current GDB. Not there yet, but I can see it on the horizon.
92
SlickEdit® / Re: Unexpected Capitalization
« Last post by cthomson on March 29, 2021, 10:02:38 pm »
Still no luck. Please post your user.cfg.xml. Maybe I need that.
I will post that file in the morning when I'm back at my computer.
93
SlickEdit® / Re: Unexpected Capitalization
« Last post by cthomson on March 29, 2021, 10:01:38 pm »
What is 'vw_pdi_itemtransactions' color coded as (Identifier or Keyword).  Had you added symbols to your color coding?
I coded it as preprocessor using a few regex expressions. For example, the word following CREATE VIEW or ALTER VIEW will always be the name of a view. I selected preprocessor because it was already the color I wanted and there are no actual preprocessor statements in Microsoft's T-SQL. I did not use identifier or symbols.
94
SlickEdit® / Re: Unable to create code annotation
« Last post by rjpontefract on March 29, 2021, 09:41:32 pm »
Hi, I checked the annotation files as requested.  The project annotation file is as follows:
Code: [Select]
<?xml version="1.0" encoding="UTF-8"?>
<CodeAnnotationData version="1.0" productName="SlickEdit Pro" productVersion="25.0.1.0">
</CodeAnnotationData>

personal.sca has the following:
Code: [Select]
<?xml version="1.0" encoding="utf-8" ?>
<CodeAnnotationData version="1.0" productName="SlickEdit Tools" productVersion="2.0.0">
  <AnnotationDef id="580f3fc2-4747-49a2-8b46-cb500ca28e31" name="Comment" markerColor="-14513374" author="SlickEdit" creationDate="1/31/2007" lastModifiedUser="SlickEdit" lastModifiedDate="1/31/2007" version="1">
    <FieldDef name="Comment" type="Multiline Text Control" index="0">
      <DefaultValue><![CDATA[]]></DefaultValue>
    </FieldDef>
  </AnnotationDef>
  <AnnotationDef id="07546835-9367-4c73-ad6d-9205f9445df1" name="Bug" markerColor="-2818048" author="SlickEdit" creationDate="1/31/2007" lastModifiedUser="SlickEdit" lastModifiedDate="1/31/2007" version="1">
    <FieldDef name="Description" type="Multiline Text Control" index="0">
      <DefaultValue><![CDATA[]]></DefaultValue>
    </FieldDef>
    <FieldDef name="Status" type="Dropdown Control" index="1">
      <PredefinedValue name="OPEN" index="0" />
      <PredefinedValue name="PASSED" index="1" />
      <PredefinedValue name="FAILED" index="2" />
      <PredefinedValue name="DEFERRED" index="3" />
      <PredefinedValue name="NOT A BUG" index="4" />
      <DefaultValue><![CDATA[0]]></DefaultValue>
    </FieldDef>
  </AnnotationDef>
  <AnnotationDef id="895365b3-530b-44a5-a62e-767730b25bc9" name="Review Comment" markerColor="-11534177" author="SlickEdit" creationDate="1/31/2007" lastModifiedUser="SlickEdit" lastModifiedDate="1/31/2007" version="1">
    <FieldDef name="Issue" type="Multiline Text Control" index="0">
      <DefaultValue><![CDATA[]]></DefaultValue>
    </FieldDef>
    <FieldDef name="Resolution" type="Multiline Text Control" index="1">
      <DefaultValue><![CDATA[]]></DefaultValue>
    </FieldDef>
    <FieldDef name="Status" type="Dropdown Control" index="2">
      <PredefinedValue name="OPEN" index="0" />
      <PredefinedValue name="PASSED" index="1" />
      <PredefinedValue name="FAILED" index="2" />
      <PredefinedValue name="DEFERRED" index="3" />
      <PredefinedValue name="NOT A BUG" index="4" />
      <DefaultValue><![CDATA[0]]></DefaultValue>
    </FieldDef>
  </AnnotationDef>
  <AnnotationDef id="f3ee22ce-2305-477d-9732-f23fe7feab94" name="Task" markerColor="-16101890" author="SlickEdit" creationDate="1/31/2007" lastModifiedUser="SlickEdit" lastModifiedDate="1/31/2007" version="1">
    <FieldDef name="Description" type="Multiline Text Control" index="0">
      <DefaultValue><![CDATA[]]></DefaultValue>
    </FieldDef>
    <FieldDef name="Assigned to" type="Multiline Text Control" index="1">
      <DefaultValue><![CDATA[]]></DefaultValue>
    </FieldDef>
    <FieldDef name="Due date" type="Date Control" index="2">
      <DefaultValue><![CDATA[]]></DefaultValue>
    </FieldDef>
    <FieldDef name="Resolved" type="Checkbox Control" index="3">
      <DefaultValue><![CDATA[false]]></DefaultValue>
    </FieldDef>
  </AnnotationDef>
  <AnnotationDef name="Code Snippet" id="D83E3E5F-9EFF-4794-EBBB-FAFC43077A9A" author="SlickEdit" creationDate="8/26/2016" lastModifiedDate="8/26/2016" lastModifiedUser="SlickEdit" version="1">
      <FieldDef name="Summary" type="Text Control" index="0">
          <DefaultValue>
              <![CDATA[]]>
          </DefaultValue>
      </FieldDef>
      <FieldDef name="Comment" type="Multiline Text Control" index="1">
          <DefaultValue>
              <![CDATA[]]>
          </DefaultValue>
      </FieldDef>
      <FieldDef name="Code" type="Multiline Text Control" index="2" ModeName="Auto">
          <DefaultValue>
              <![CDATA[]]>
          </DefaultValue>
      </FieldDef>
  </AnnotationDef>
</CodeAnnotationData>

When I try to create a code annotation, I get the attached dialog with no options for the annotation type and repeated options for the annotation file.

Hope that helps.
95
SlickEdit® / Re: Need help setting up GBD embedded device cross-compiled
« Last post by hs2 on March 29, 2021, 08:39:57 pm »
I think it’s possible to update the cross-gdb. Sure, the build toolchain can sometimes not updated for legacy products for various reasons. But gdb is not directly related to the build toolchain and is usually backwards compatible to legacy debug (dwarf) information.
I’d give it a try to grab a newer cross-gdb.
96
SlickEdit® / Re: Need help setting up GBD embedded device cross-compiled
« Last post by Dennis on March 29, 2021, 08:37:33 pm »
What is the output of "/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/arm-fsl-linux-gnueabi-gdb" -version

Some builds of GDB do not properly identify the GDB version they are based on.  This is something that SlickEdit has checked, historically, because, back in the day, when we all rode horses to work, some versions of GDB did not support the machine interface command set.  If your GDB works with VSCode, it probably is new enough, because the folks who wrote VSCode have never had to deal with early versions of GDB.

Either way, that message is just a warning at this point, as you'll see, your GDB was still added to the list of configurations.
97
SlickEdit® / Re: Unexpected Capitalization
« Last post by Dennis on March 29, 2021, 08:11:07 pm »
What is 'vw_pdi_itemtransactions' color coded as (Identifier or Keyword).  Had you added symbols to your color coding?
98
SlickEdit® / Re: Need help setting up GBD embedded device cross-compiled
« Last post by JimmieC on March 29, 2021, 07:03:15 pm »
Hi Dennis,

Thanks for the primer. Unfortunately, I failed at step 1. I got an error message:
-------------------------------------
"/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/arm-fsl-linux-gnueabi-gdb" does not appear to be a compatible version of GDB.

The required version is GDB 5.1 or greater.
The identified version was "".:  GDB has terminated prematurely
[/size]
--------------------------------------------
It looks like my debugger version is too old. Unforunately, the embedded world has products with long life cycles and updating to match new custom hardware is arduous. I can use SE for editing and keep VSCode for debugging. Darn it.
99
SlickEdit® / Re: Unexpected Capitalization
« Last post by Clark on March 29, 2021, 04:25:11 pm »
Still no luck. Please post your user.cfg.xml. Maybe I need that.
100
SlickEdit® / Re: Unexpected Capitalization
« Last post by cthomson on March 29, 2021, 04:03:11 pm »
I did a little additional checking and found that the capitalization does not happen when I edit the same SQL code in my previous SE version 17.  I think that eliminates changes I may have made to macros since I haven't made any changes in the current version - mostly all I've been doing is syntax coloring configuration and a few keyboard shortcut updates (the other configuration options got imported when I installed the new version).

I wanted table and view names colored in dark red so I set them up as preprocessor (since there is no preprocessor capability in T-SQL).  The coloring works the way I want and I wouldn't think there would be anything special trying to capitalize preprocessor statements (quite the contrary in a language like C/C++). 

I'm just throwing out as much detail as I can think of hoping to help find what's doing it.
Pages: 1 ... 8 9 [10]