Andreas Schwab
f27a38390b
* config/tc-m68k.c (md_pseudo_table) [OBJ_ELF]: Add .file and
...
.loc.
(md_assemble) [OBJ_ELF]: Call dwarf2_emit_insn before emitting
insn.
* config/tc-m68k.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
2001-07-18 10:25:58 +00:00
Andrew Cagney
bf1bef8f1c
Regenerate using autoconf 2.13.
2001-07-18 06:20:29 +00:00
gdbadmin
ddd9d5896f
*** empty log message ***
2001-07-18 00:00:05 +00:00
Stephane Carrez
84b1e7c7ee
* tuiWin.c: Add missing includes.
...
(_makeVisibleWithNewHeight): Fix call to find_line_pc.
* tuiLayout.c: Add missing includes.
(_initAndMakeWin): Don't put curses in echo mode.
(_extractDisplayStartAddr): Fix calls to find_line_pc.
(_tuiLayout_command): Missing ',' in warning call.
* tuiSourceWin.c (tuiUpdateSourceWindowsWithLine): Fix calls to
find_line_pc.
(tuiSetHasBreakAt): Check for null source file.
2001-07-17 22:22:40 +00:00
Stephane Carrez
7e5a932280
* gdb.base/long_long.exp: Detect size of pointer. Take into
...
account 2-byte pointers when testing for p/a results.
2001-07-17 22:19:49 +00:00
Stephane Carrez
de58f10fe4
* gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
...
and defined to 1K for m68hc11.
(random_data): Reduce table to 1K for embedded platforms (68hc11).
* gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
(sizeof_random_data): New variable to tell the size of the data table;
don't test past this size; always run to main.
2001-07-17 21:47:19 +00:00
Stephane Carrez
0963fc9672
* tuiWin.c (_tuiSetFocus): Replace subsetCompare with subset_compare.
...
* tuiLayout.c (_tuiSetLayoutTo): Likewise.
* tui.c (_tui_vToggle_command): Likewise.
2001-07-17 21:37:18 +00:00
Elena Zannoni
f9eb4b0146
2001-07-17 Elena Zannoni <ezannoni@redhat.com>
...
* Makefile.in (tui-file.o): Update dependencies.
* tui/tui-file.c: Add include of tuiIO.h, for tuiPuts_unfiltered.
2001-07-17 20:22:51 +00:00
Elena Zannoni
d0c8cdfbfd
2001-07-17 Elena Zannoni <ezannoni@redhat.com>
...
* top.c (catch_errors): Convert PTR to void * in parameters list.
(quit_cover): Ditto.
2001-07-17 17:25:14 +00:00
Frank Ch. Eigler
a480121031
* no need to inform sid@sourceware about dejagnu patches.
2001-07-17 15:20:21 +00:00
Matthew Green
5bae9b28a0
* config/tc-i386.c (comment_chars): Don't use '/' as comment start if
...
TE_NetBSD.
(line_comment_chars): Set to '/' if TE_NetBSD.
2001-07-17 09:57:52 +00:00
Stephane Carrez
c46cc7dffe
* tuiRegs.c (tuiDisplayRegistersFrom): Set scrollok to FALSE in
...
each register window.
(tuiCheckRegisterValues): Use REGISTER_RAW_SIZE to obtain the size
of the register to check.
(_tuiRegValueHasChanged): Likewise.
(_tuiRegisterName): Use REGISTER_NAME.
(tui_restore_gdbout): New function.
(_tuiRegisterFormat): Use do_registers_info with gdb_stdout redirected
to a string.
(START_SPECIAL_REGS): Define.
(_tuiGetRegisterRawValue): Use get_saved_register.
(_tuiDisplayRegister): Fix clearing of register window.
2001-07-17 06:44:57 +00:00
Stephane Carrez
e42acc6bba
* tui-file.h (fputs_unfiltered_hook): Remove.
...
* tui-file.c (tui_file_flush): Remove fputs_unfiltered_hook.
(tui_file_fputs): Likewise; simplify
2001-07-17 06:42:58 +00:00
Stephane Carrez
063190b6cb
* source.c (find_source_lines): Remove tui test, must be replaced
...
by appropriate warning hook.
(print_source_lines): Remove tui hacks, must be replaced by cli.
(forward_search_command): Remove tui hacks, can be replaced by
appropriate calls to identify_source_line when tui scrolls.
(reverse_search_command): Likewise.
2001-07-17 06:41:47 +00:00
DJ Delorie
5f16d8553b
* resres.c (write_res_header): Align header size.
...
(res_align_file): Calculate alignment correctly.
2001-07-17 03:14:49 +00:00
Nicholas Duffek
cf759d3bc0
* remote.c (init_remote_ops, init_remote_cisco_ops,
...
init_remote_async_ops): Set to_pid_to_str and
to_extra_thread_info correctly and in the same order as declared
in target.h.
2001-07-17 01:23:44 +00:00
DJ Delorie
95fd336c5c
* rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
...
correct 10).
* resrc.c (write_rc_resource): Likewise.
* windres.h (SUBLANG_SHIFT): Define - as 10.
2001-07-17 01:19:19 +00:00
Andrew Cagney
5b5d0a9784
Update local local copies of config.sub and config.guess.
...
Mention those files in MAINTAINERS.
2001-07-17 00:30:01 +00:00
Andrew Cagney
0caabb7ecb
Revert previous, included more than intended.
2001-07-17 00:27:28 +00:00
gdbadmin
b69e2f0e64
*** empty log message ***
2001-07-17 00:00:03 +00:00
Nicholas Duffek
943b397116
* remote.c (init_remote_ops, init_remote_cisco_ops,
...
init_remote_async_ops): Set to_pid_to_str and
to_extra_thread_info correctly and in the same order as declared
in target.h.
2001-07-16 23:32:14 +00:00
Nicholas Duffek
9ed10b0851
* findvar.c (read_var_value): Apply value_as_pointer() to
...
addresses retrieved from the target for LOC_BASEREG and
LOC_BASEREG_ARG variables.
2001-07-16 22:57:50 +00:00
Stephane Carrez
75fd9bc1ec
* tuiStack.c: Add missing includes.
...
(tuiShowFrameInfo): Don't crash when there is no symbol table
associated with the pc.
* tuiSource.c (_hasBreak): Check for null source file.
* tuiWin.c (tuiRefreshAll): Check for null winList[type].
(_tuiSetFocus): Check for null dataWin.
* tuiGeneralWin.c (refreshAll): Check for null list[type].
2001-07-16 22:13:38 +00:00
Stephane Carrez
a8080b7fbf
* tuiDisassem.c (tuiSetDisassemContent): Use tm_print_insn_info
...
to disassemble in the curses window.
2001-07-16 22:10:07 +00:00
Stephane Carrez
2a5127c4e3
* tui.h: Cleanup to avoid inclusion of curses includes.
...
(TuiGenWinInfo, TuiGenWinInfoPtr): Move from here.
* tuiData.h: To here; include curses includes here.
(setTermHeightTo): Rename of setTermHeight to follow reality.
(setTermWidthTo): Likewise with setTermWidth.
2001-07-16 22:05:02 +00:00
Phil Blundell
9a7f7ba66f
2001-07-16 Philip Blundell <philb@gnu.org>
...
* gas/arm/arm7t.d, gas/arm/inst.d: Tweak expected output for
change to disassembler.
2001-07-16 19:06:09 +00:00
Phil Blundell
4053649742
2001-07-13 Philip Blundell <philb@gnu.org>
...
* arm-dis.c (print_insn_arm): Use decimal for offsets in LDR/STR.
2001-07-16 19:04:31 +00:00
Stephane Carrez
d6f5fea1d2
* gdb.base/return2.exp: return of long long and double fails for
...
68HC11; don't execute these tests on that platform.
* gdb.base/return.exp: Return of a double fails for 68hc11.
2001-07-16 18:49:43 +00:00
Stephane Carrez
c477543d3a
* call-ar-st.exp: Use gdb_skip_float_test to avoid executing
...
tests that print a float.
* call-rt-st.exp: Likewise.
2001-07-16 18:44:23 +00:00
Daniel Jacobowitz
54cfd411af
Makefile.in: Add dependencies on $(CPU_H).
2001-07-16 18:36:37 +00:00
Orjan Friberg
24be5c3496
2001-07-16 Orjan Friberg <orjanf@axis.com>
...
* NEWS: New target CRIS.
2001-07-16 16:02:48 +00:00
Elena Zannoni
314b6fb79a
2001-07-16 Elena Zannoni <ezannoni@redhat.com>
...
* top.c (show_commands): Remove extern decl of history_get, it's
already in readline/history.h.
2001-07-16 15:50:51 +00:00
Elena Zannoni
210661e72f
2001-07-16 Elena Zannoni <ezannoni@redhat.com>
...
* top.c (is_complete_command, init_cmd_lists, init_cli_cmds,
execute_user_command, do_setshow_command, get_prompt, init_proc,
serial_log_command): Remove extern declarations. Include
cli/cli-cmds.h, cli/cli-script.h, cli/cli-setshow.h, serial.h.
* gdbcmd.h (execute_user_command): Remove declaration, it's already
in cli/cli-script.h.
* command.h (do_setshow_command): Remove declaration, it's already
in cli/cli-setshow.h.
* infrun.c: Include "cli/cli-script.h" for execute_user_command.
* Makefile.in (infrun.o): Update dependencies.
(top.o): Ditto.
* cli/cli-setshow.h: Add comment for do_setshow_command.
2001-07-16 14:46:34 +00:00
Eli Zaretskii
2584159ed9
* cli/cli-cmds.c (shell_escape) [GLOBAL_CURDIR]: Condition the
...
call to chdir on this symbol rather than on __DJGPP__.
(CANT_FORK) [__MSDOS__]: Move from here...
* defs.h (CANT_FORK) [__MSDOS__]: ...to here.
(GLOBAL_CURDIR) [__MSDOS__]: Define.
2001-07-16 14:13:06 +00:00
Orjan Friberg
cf54db7985
2001-07-16 Orjan Friberg <orjanf@axis.com>
...
* configure.tgt: Recognise the CRIS architecture.
* config/cris/cris.mt: New file for CRIS target.
* cris-tdep.c: New file for CRIS target.
2001-07-16 08:58:32 +00:00
Orjan Friberg
291349806f
2001-07-16 Orjan Friberg <orjanf@axis.com>
...
* configure.tgt: Recognise the CRIS architecture.
* config/cris/cris.mt: New file for CRIS target.
* cris-tdep.c: New file for CRIS target.
2001-07-16 08:52:41 +00:00
gdbadmin
0a68674243
*** empty log message ***
2001-07-16 00:00:02 +00:00
Elena Zannoni
64cdedadad
2001-07-15 Elena Zannoni <ezannoni@redhat.com>
...
* top.c (quit_cover, float_handler): Move definition up before use.
(gdb_init): Move to end of file, to avoid calls to not yet defined
functions.
Delete prototypes.
2001-07-15 20:45:32 +00:00
Andrew Cagney
2cd58942b9
* serial.h (SERIAL_ASYNC): Delete.
...
(DEPRECATED_SERIAL_FD): Delete.
(SERIAL_DEBUG): Delete.
(SERIAL_DEBUG_P): Delete.
(SERIAL_DRAIN_OUTPUT): Delete.
(SERIAL_FLUSH_OUTPUT): Delete.
(SERIAL_FLUSH_INPUT): Delete.
(SERIAL_SEND_BREAK): Delete.
(SERIAL_RAW): Delete.
(SERIAL_GET_TTY_STATE): Delete.
(SERIAL_SET_TTY_STATE): Delete.
(SERIAL_PRINT_TTY_STATE): Delete.
(SERIAL_NOFLUSH_SET_TTY_STATE): Delete.
(SERIAL_SETBAUDRATE): Delete.
(SERIAL_SETSTOPBITS): Delete.
(SERIAL_CAN_ASYNC_P): Delete.
(SERIAL_IS_ASYNC_P): Delete.
(SERIAL_UN_FDOPEN): Delete.
(SERIAL_READCHAR): Delete.
(SERIAL_CLOSE): Delete.
(SERIAL_FDOPEN): Delete.
(SERIAL_OPEN): Delete.
2001-07-15 20:34:14 +00:00
Andrew Cagney
ea7c478fe2
s/value_ptr/struct value */
2001-07-15 20:10:02 +00:00
H.J. Lu
01467f2afb
2001-07-15 H.J. Lu <hjl@gnu.org>
...
* Makefile.am (po/SRC-POTFILES.in): Use tmp.src instead of tmp.
(po/BLD-POTFILES.in): Use tmp.bld instead of tmp.
* Makefile.in: Regenerate.
2001-07-15 19:33:11 +00:00
Elena Zannoni
d75b5104df
2001-07-15 Elena Zannoni <ezannoni@redhat.com>
...
* top.c (readline_line_completion_function, noop_completer): Move
from here...
* completer.c (readline_line_completion_function, noop_completer):
...to here.
* gdbcmd.h (readline_line_completion_function, noop_completer):
Move declarations from here...
* completer.h (readline_line_completion_function, noop_completer):
...to here.
* corefile.c: Include completer.h.
* source.c: Ditto.
* symfile.c: Ditto.
* Makefile.in: Update dependencies.
2001-07-15 18:57:06 +00:00
Nick Clifton
ed8fee27bc
Add Christian Groessler as maintainer for z8k port.
2001-07-15 10:30:30 +00:00
Eli Zaretskii
150985e3a1
* go32-nat.c (go32_create_inferior): Support command lines longer
...
than 126 characters.
2001-07-15 10:28:13 +00:00
gdbadmin
96fe9e8c46
*** empty log message ***
2001-07-15 00:00:01 +00:00
Stephane Carrez
eca6576c19
* tuiWin.c, tui.c, tuiCommand.c: Use ansi prototype.
...
tuiIO.c, tuiData.c: Likewise.
tuiDataWin.c, tuiDisassem.c: Likewise.
tuiGeneralWin.c, tuiLayout.c: Likewise.
tuiRegs.c, tuiSource.c: Likewise.
tuiSouceWin.c, tuiStack.c: Likewise.
2001-07-14 19:31:09 +00:00
Stephane Carrez
def902788f
* NEWS: New target 68HC11/68HC12.
2001-07-14 19:10:30 +00:00
Stephane Carrez
f377b40658
* tuiWin.c, tuiWin.h, tui.c, tui.h, tuiCommand.c: Add FSF copyright.
...
tuiCommand.h, tuiIO.c, tuiIO.h, tuiData.h, tuiData.c: Likewise.
tuiDataWin.c, tuiDataWin.h, tuiDisassem.c, tuiDisassem.h: Likewise.
tuiGeneralWin.c, tuiGeneralWin.h, tuiLayout.c, tuiLayout.h: Likewise.
tuiRegs.c, tuiRegs.h, tuiSource.c, tuiSource.h: Likewise.
tuiSouceWin.c, tuiSourceWin.h, tuiStack.c, tuiStack.h: Likewise.
2001-07-14 19:01:25 +00:00
Stephane Carrez
37767e423b
* utils.c (query): Remove tui hacks; tui must use the query_hook.
...
* top.c (command_loop): Remove tui insert_mode hacks; don't call
tuiCleanUp because this must be made with atexit by tui.
* symfile.c (symbol_file_command): Remove call to TUIDO
* stack.c (show_and_print_stack_frame_stub): Remove tui check;
not necessary when using the selected frame hooks.
(print_stack_frame_stub): Likewise.
(print_frame_info_base): Likewise.
(print_frame_info): Likewise.
(up_silently_command): Likewise.
(down_silently_command): Likewise.
(show_stack_frame): Likewise for TUIDO.
(select_frame): Likewise.
(select_and_print_frame): Likewise.
(stack_publish_stopped_with_no_frame): Remove.
(select_and_maybe_print_frame): Remove.
* main.c (captured_main): Remove tui_fileopen and tuiInit; tui
must use the initialize ui hook.
* infrun.c (normal_stop): Remove call to TUIDO; tui must use the
selected frame hooks.
* event-top.c (command_handler): Remove tui insert_mode hack.
* defs.h: Remove TUIDO; Only include tui.h.
* breakpoint.c (mention): Remove calls to TUIDO.
(delete_breakpoint): Remove tui hacks; tui must install
the breakpoint hooks.
2001-07-14 18:59:07 +00:00
H.J. Lu
5030876b5d
2001-07-14 H.J. Lu <hjl@gnu.org>
...
* emultempl/elf32.em (output_prev_sec_find): Never return
bfd_abs_section_ptr, bfd_com_section_ptr nor
bfd_und_section_ptr.
2001-07-14 16:36:25 +00:00