qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 4614f0: target/xtensa: gdbstub fix register c


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 4614f0: target/xtensa: gdbstub fix register counting
Date: Mon, 26 Nov 2018 03:45:29 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 4614f0f8bd2e40cbc27ab6b9a1fd6244259ade8d
      
https://github.com/qemu/qemu/commit/4614f0f8bd2e40cbc27ab6b9a1fd6244259ade8d
  Author: Max Filippov <address@hidden>
  Date:   2018-11-20 (Tue, 20 Nov 2018)

  Changed paths:
    M target/xtensa/gdbstub.c

  Log Message:
  -----------
  target/xtensa: gdbstub fix register counting

In order to communicate correctly with gdb xtensa gdbstub must provide
expected number of registers in 'g' packet response. xtensa-elf-gdb
expects both nonprivileged and privileged registers. xtensa-linux-gdb
only expects nonprivileged registers. gdb only counts one contiguous
stretch of registers, do the same for the core registers in the
xtensa_count_regs.

With this change qemu-system-xtensa is able to communicate with all
xtensa-elf-gdb versions (versions prior to 8.2 require overlay fixup),
and qemu-xtensa is able to communicate with all xtensa-linux-gdb
versions, except 8.2.

Signed-off-by: Max Filippov <address@hidden>


  Commit: 7da9111e77b9cdb3a927dcd47642b7ffff9de636
      
https://github.com/qemu/qemu/commit/7da9111e77b9cdb3a927dcd47642b7ffff9de636
  Author: Max Filippov <address@hidden>
  Date:   2018-11-20 (Tue, 20 Nov 2018)

  Changed paths:
    M target/xtensa/core-dc232b.c
    M target/xtensa/core-dc232b/gdb-config.inc.c
    M target/xtensa/core-dc233c.c
    M target/xtensa/core-dc233c/gdb-config.inc.c

  Log Message:
  -----------
  target/xtensa: drop num_[core_]regs from dc232b/dc233c configs

Now that xtensa_count_regs does the right thing, remove manual
initialization of these fields from the affected configurations and let
xtensa_finalize_config initialize them. Add XTREG_END to terminate
register lists.

Signed-off-by: Max Filippov <address@hidden>


  Commit: 59b5e9bbea89fa454674b77d365015d2578dfbcf
      
https://github.com/qemu/qemu/commit/59b5e9bbea89fa454674b77d365015d2578dfbcf
  Author: Max Filippov <address@hidden>
  Date:   2018-11-21 (Wed, 21 Nov 2018)

  Changed paths:
    M hw/xtensa/xtfpga.c

  Log Message:
  -----------
  target/xtensa: xtfpga: provide default memory sizes

Provide default RAM sizes for all XTFPGA boards, so that when started
without -m option they do the right thing.

Signed-off-by: Max Filippov <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 895e4897e278572e5265e0333f5e9864be2704a6
      
https://github.com/qemu/qemu/commit/895e4897e278572e5265e0333f5e9864be2704a6
  Author: Max Filippov <address@hidden>
  Date:   2018-11-22 (Thu, 22 Nov 2018)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: add missing xtensa patterns

Signed-off-by: Max Filippov <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: b05730a876e899e8159878ba1c88fe5d1a3e8838
      
https://github.com/qemu/qemu/commit/b05730a876e899e8159878ba1c88fe5d1a3e8838
  Author: Peter Maydell <address@hidden>
  Date:   2018-11-26 (Mon, 26 Nov 2018)

  Changed paths:
    M MAINTAINERS
    M hw/xtensa/xtfpga.c
    M target/xtensa/core-dc232b.c
    M target/xtensa/core-dc232b/gdb-config.inc.c
    M target/xtensa/core-dc233c.c
    M target/xtensa/core-dc233c/gdb-config.inc.c
    M target/xtensa/gdbstub.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/xtensa/tags/20181125-xtensa' into 
staging

xtensa fixes for 3.1:

- fix register counting logic for linux-user gdbserver;
- provide default memory sizes for XTFPGA boards;
- add missing xtensa patterns to MAINTAINTERS.

# gpg: Signature made Sun 25 Nov 2018 23:07:54 GMT
# gpg:                using RSA key 51F9CC91F83FA044
# gpg: Good signature from "Max Filippov <address@hidden>"
# gpg:                 aka "Max Filippov <address@hidden>"
# gpg:                 aka "Max Filippov <address@hidden>"
# Primary key fingerprint: 2B67 854B 98E5 327D CDEB  17D8 51F9 CC91 F83F A044

* remotes/xtensa/tags/20181125-xtensa:
  MAINTAINERS: add missing xtensa patterns
  target/xtensa: xtfpga: provide default memory sizes
  target/xtensa: drop num_[core_]regs from dc232b/dc233c configs
  target/xtensa: gdbstub fix register counting

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/5298f4d67a91...b05730a876e8
      **NOTE:** This service has been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]